Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error for bamboo-haproy #1

Open
mihai-satmarean opened this issue Nov 14, 2014 · 2 comments
Open

error for bamboo-haproy #1

mihai-satmarean opened this issue Nov 14, 2014 · 2 comments

Comments

@mihai-satmarean
Copy link

When building the environment we get this error:
TASK: [bamboo-haproxy | Build bamboo image] ***********************************
failed: [100.0.10.102] => {"failed": true, "parsed": false}
SUDO-SUCCESS-gygrgcpeatjghxdfsyqbeefhjlvjjmra
Traceback (most recent call last):
File "/home/vagrant/.ansible/tmp/ansible-tmp-1415895628.48-91606373400347/docker", line 2419, in
main()
File "/home/vagrant/.ansible/tmp/ansible-tmp-1415895628.48-91606373400347/docker", line 802, in main
manager.start_containers(deployed_containers)
File "/home/vagrant/.ansible/tmp/ansible-tmp-1415895628.48-91606373400347/docker", line 661, in start_containers
self.client.start(i['Id'], **params)
TypeError: start() got an unexpected keyword argument 'network_mode'

FATAL: all hosts have already failed -- aborting

Otherwise, great work and thank you!

@theclaymethod
Copy link
Owner

I'll take a look. I temporarily disabled it since it added quite a bit to the provisioning time, and I wanted to get HDFS and spark running, so something may have broken along the way.

Thanks!

@theclaymethod
Copy link
Owner

Figured out that the issue was related to comma injection in the ENV variable for Docker Containers.
So the original env: BAMBOO_ZK_HOST={{zk_servers_noproto}} due to the way the env is split on commas: http://comments.gmane.org/gmane.comp.sysutils.ansible/12118

The fix is currently in the dev branch of ansible. I am looking for a workaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants