Comments (5)
from bamboo.
How to set BAMBOO_ZK_HOST?
from bamboo.
it would be the same format:
zk://username:password@host1:port1,host2:port2,.../path
from bamboo.
I have set BAMBOO_ZK_HOST=dcos:[email protected]:2181,172.24.4.113:2181,172.24.4.114:2181 ,
but it still shows "zk: not authenticated".
- set -ex
- export HA_PORT=20011
- dockerize -template /opt/bamboo/config/haproxy.tmplt.cfg.dockerize:/opt/bamboo/config/haproxy_template.cfg
- cat /opt/bamboo/config/haproxy_template.cfg
- cat /opt/bamboo/config/haproxy.tmplt.cfg.bamboo
- export HAPROXY_STATS_USERNAME=admin
- export HAPROXY_STATS_PASSWORD=admin
- export HAPROXY_STATS_ENDPOINT=/haproxy_stats
- export HAPROXY_PORT=20011
- export HAPROXY_STATS_PORT=9001
- /usr/local/sbin/haproxy -f /etc/haproxy/haproxy.cfg -p /var/run/haproxy.pid
[WARNING] 290/124510 (13) : config : log format ignored for frontend 'http-stats' since it has no log address.
[WARNING] 290/124510 (13) : config : log format ignored for frontend 'http-in' since it has no log address.
[WARNING] 290/124510 (13) : stats socket will not work as expected in multi-process mode (nbproc > 1), you should force process binding globally using 'stats bind-process' or per socket using the 'process' attribute.
[WARNING] 290/124510 (13) : Proxy 'http-stats': in multi-process mode, stats will be limited to process assigned to the current request. - /opt/bamboo/bamboo -config=/opt/bamboo/config/production.json -bind=:8001
2017/10/18 12:45:10 Using environment override MARATHON_ENDPOINT=http://172.24.4.112:8081,http://172.24.4.113:8081,http://172.24.4.114:8081
2017/10/18 12:45:10 Using environment override MARATHON_USER=dcos
2017/10/18 12:45:10 Using environment override MARATHON_PASSWORD=dcos
2017/10/18 12:45:10 Environment variable not set: MARATHON_USE_EVENT_STREAM
2017/10/18 12:45:10 Using environment override BAMBOO_ENDPOINT=http://172.24.4.112:8001
2017/10/18 12:45:10 Using environment override BAMBOO_ZK_HOST=dcos:[email protected]:2181,172.24.4.113:2181,172.24.4.114:2181
2017/10/18 12:45:10 Using environment override BAMBOO_ZK_PATH=/bamboo8081
2017/10/18 12:45:10 Environment variable not set: STATSD_ENABLED
2017/10/18 12:45:10 Starting update loop
2017/10/18 12:45:10 bamboo_startup => 2017-10-18T12:45:10+08:00
2017/10/18 12:45:10 Queuing an haproxy update.
panic: zk: not authenticated
from bamboo.
I find there is a TODO list in bamboo/configuration/zookeeper.go .
package configuration
import (
"strings"
"time"
)
/*
Zookeeper configuration set
*/
type Zookeeper struct {
// comma separated host:port connection strings set
Host string
// zookeeper path
Path string
// Delay n seconds to report change event
ReportingDelay int64
// TODO: authentication parameters for zookeeper
}
func (zk Zookeeper) Delay() time.Duration {
return time.Duration(zk.ReportingDelay) * time.Second
}
func (zk Zookeeper) ConnectionString() []string {
return strings.Split(zk.Host, ",")
}
from bamboo.
Related Issues (20)
- Support Ip per container HOT 2
- How to support the dynamic ip and port for web container by bamboo HOT 2
- Docker images not building deb packages HOT 3
- Getting 503 when restarting application HOT 5
- Event streaming API messages not handled correctly
- The latest version of mesos and marathon are supported ? HOT 2
- Mesos/Marathon integration test Container
- Document httpclose HOT 1
- 8125 port write: connection refused HOT 2
- Failed to update HAProxy configuration HOT 1
- how can i access my app
- How about metrics? HOT 2
- Enable support for marathon task_killing state HOT 2
- Support systemd in deb package HOT 1
- Question: Per-service HAProxy templates HOT 1
- Event subscription broken when using Marathon version >=1.5.0 HOT 3
- ACL for similar service
- Docker container not reading haproxy template path HOT 1
- Should use portDefinitions instead of servicePorts
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bamboo.