Reprovision command fails for contrail-kolla provisioning

Bug #1754742 reported by Soumil Kulkarni on 2018-03-09
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Won't Fix
Critical
Ramprakash R
R5.0
Won't Fix
Critical
Ramprakash R
Trunk
Won't Fix
Critical
Ramprakash R

Bug Description

I issued the ansible-playbook command for deploying contrail and kolla containers after which I got one error. I patched my ansible code for the bug and issued a reprovision again.

Tracebacks:

2018-03-09 19:40:20,751 p=21094 u=root | PLAY RECAP ***********************************************************************************************************************************************************************
2018-03-09 19:40:20,751 p=21094 u=root | 10.0.0.4 : ok=319 changed=38 unreachable=0 failed=1
2018-03-09 19:40:20,751 p=21094 u=root | 10.0.0.5 : ok=127 changed=25 unreachable=0 failed=0
2018-03-09 19:40:20,751 p=21094 u=root | 10.0.0.6 : ok=44 changed=12 unreachable=0 failed=0
2018-03-09 19:40:20,752 p=21094 u=root | 10.0.0.7 : ok=44 changed=12 unreachable=0 failed=0
2018-03-09 19:40:20,752 p=21094 u=root | 10.20.0.5 : ok=56 changed=11 unreachable=0 failed=1
2018-03-09 19:40:20,752 p=21094 u=root | 10.30.0.5 : ok=56 changed=11 unreachable=0 failed=1
2018-03-09 19:40:20,752 p=21094 u=root | localhost : ok=7 changed=4 unreachable=1 failed=0
"/var/log/ansible.log" 9182L, 1519578C

******************************************
2018-03-09 19:02:41,283 p=21094 u=root | ok: [10.20.0.5] => (item=00-global)
2018-03-09 19:02:41,354 p=21094 u=root | ok: [10.30.0.5] => (item=00-global)
2018-03-09 19:02:41,369 p=21094 u=root | ok: [10.0.0.5] => (item=00-global)
2018-03-09 19:02:41,487 p=21094 u=root | failed: [10.20.0.5] (item=01-syslog) => {"changed": false, "item": "01-syslog", "msg": "AnsibleUndefinedVariable: 'dict object' has no attribute 'ipv4'"}
2018-03-09 19:02:41,495 p=21094 u=root | failed: [10.30.0.5] (item=01-syslog) => {"changed": false, "item": "01-syslog", "msg": "AnsibleUndefinedVariable: 'dict object' has no attribute 'ipv4'"}
2018-03-09 19:02:42,346 p=21094 u=root | ok: [10.0.0.5] => (item=01-syslog)
2018-03-09 19:02:42,360 p=21094 u=root | ok: [10.20.0.5] => (item=02-mariadb)
2018-03-09 19:02:42,393 p=21094 u=root | ok: [10.30.0.5] => (item=02-mariadb)
2018-03-09 19:02:43,247 p=21094 u=root | ok: [10.0.0.5] => (item=02-mariadb)
2018-03-09 19:02:43,255 p=21094 u=root | ok: [10.20.0.5] => (item=03-rabbitmq)
2018-03-09 19:02:43,259 p=21094 u=root | ok: [10.30.0.5] => (item=03-rabbitmq)
2018-03-09 19:02:44,148 p=21094 u=root | ok: [10.0.0.5] => (item=03-rabbitmq)
2018-03-09 19:02:44,168 p=21094 u=root | TASK [common : Copying over fluentd ouput config files] ********************************************************************************

2018-03-09 19:37:51,568 p=21094 u=root | skipping: [10.0.0.6]
2018-03-09 19:37:51,569 p=21094 u=root | skipping: [10.0.0.7]
2018-03-09 19:37:51,597 p=21094 u=root | skipping: [10.0.0.5]
2018-03-09 19:39:07,489 p=21094 u=root | fatal: [10.0.0.4]: FAILED! => {"changed": false, "errors": [], "module_stderr": "", "module_stdout": "", "msg": "Error starting project UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=70)"}
2018-03-09 19:39:07,519 p=21094 u=root | TASK [install_contrail : create /etc/contrail/analytics] *******************************************************************************

Changed in juniperopenstack:
milestone: none → r5.0.0
Jeba Paulaiyan (jebap) on 2018-03-09
tags: added: ansible blocker provisioning
Jeba Paulaiyan (jebap) on 2018-03-15
tags: added: hot-case jtac
tags: removed: hot-case jtac
Jeba Paulaiyan (jebap) on 2018-03-20
summary: - Reporvision command fails for contrail-kolla provisioning
+ Reprovision command fails for contrail-kolla provisioning
tags: removed: blocker
Vineet Gupta (vineetrf) on 2018-03-26
tags: added: releasenote
Jeba Paulaiyan (jebap) on 2018-04-25
information type: Proprietary → Public
Ramprakash R (ramprakash) wrote :

Reprovision is not supported by the upstream kolla playbooks. In case you need to run a retrovision, openstack needs to be cleaned up before issuing provision once again by running the following script from inside the contrail-kolla-ansible directory:

./tools/kolla-ansible -i ./ansible/inventory/my_inventory --passwords ./etc/kolla/passwords.yml --configdir ./etc/kolla/ destroy --yes-i-really-really-mean-it

Changed in juniperopenstack:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers