-
Notifications
You must be signed in to change notification settings - Fork 65
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
Failure to deploy Redis (Yes, I've read the FAQ) #33
Comments
I would recommend to file bugs in launchpad https://bugs.launchpad.net/juniperopenstack/?orderby=-id&start=0 ) And it would be good to see your instances.yaml |
I first tried the suggested "easy way" By commenting out some conditionals, I progressed further until hitting docker-py/docker python incompatibility bug, which, as far as I remember was fixed by:
Then I went on with orchestrator=openstack and was able to successfully deploy Contrail (even with Ansible=2.7.5). There are a couple of takes:
So, the original issue is still there -
|
TASK [install_contrail : create /etc/contrail/redis] **************************************************************************** task path: /root/contrail-ansible-deployer/playbooks/roles/install_contrail/tasks/create_redis.yml:2 fatal: [192.168.0.xx]: FAILED! => { "msg": "The conditional check 'roles[instance_name].webui is defined or roles[instance_name].analytics is defined' failed. The error was: error while evaluating conditional (roles[instance_name].webui is defined or roles[instance_name].analytics is defined): 'dict object' has no attribute u'bms1'\n\nThe error appears to have been in '/root/contrail-ansible-deployer/playbooks/roles/install_contrail/tasks/create_redis.yml': line 2, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n---\n- name: create /etc/contrail/redis\n ^ here\n"
[user@somewhere]# ansible --version ansible 2.4.2.0 config file = /home/user/contrail-ansible-deployer/ansible.cfg configured module search path = [u'/home/user/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /bin/ansible python version = 2.7.5 (default, Jul 13 2018, 13:06:57) [GCC 4.8.5 20150623 (Red Hat 4.8.5-28)]
Uhm, what version do you recommend now?
P.S Docker, K8S, Kolla, hundreds of states + Ansible bugs - this is gonna be fun.
The text was updated successfully, but these errors were encountered: