Contrail Ansible Deployer fails in the configure_instances stage

Bug #1765236 reported by Soumil Kulkarni
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R5.0
Fix Released
Critical
Bartosz Kupidura
Trunk
Fix Committed
Critical
Bartosz Kupidura

Bug Description

Traceback from the ansible.log file:

018-04-18 22:55:16,502 p=1528 u=root | ok: [10.0.0.5]
2018-04-18 22:55:16,544 p=1528 u=root | TASK [configure_instances : set vrouter data] ************************************************************************************************************************************
2018-04-18 22:55:16,592 p=1528 u=root | fatal: [10.0.0.10]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'vrouter'\n\nThe error appears to have been in '/root/contrail-ansible-deployer/playbooks/roles/configure_instances/tasks/install_software.yml': line 6, 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: set vrouter data\n ^ here\n"}
2018-04-18 22:55:16,635 p=1528 u=root | fatal: [10.0.0.12]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'vrouter'\n\nThe error appears to have been in '/root/contrail-ansible-deployer/playbooks/roles/configure_instances/tasks/install_software.yml': line 6, 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: set vrouter data\n ^ here\n"}
2018-04-18 22:55:16,722 p=1528 u=root | ok: [10.0.0.7]
2018-04-18 22:55:16,765 p=1528 u=root | fatal: [10.0.0.4]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'vrouter'\n\nThe error appears to have been in '/root/contrail-ansible-deployer/playbooks/roles/configure_instances/tasks/install_software.yml': line 6, 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: set vrouter data\n ^ here\n"}
2018-04-18 22:55:16,809 p=1528 u=root | ok: [10.30.0.6]
2018-04-18 22:55:16,852 p=1528 u=root | ok: [10.20.0.6]
2018-04-18 22:55:16,909 p=1528 u=root | ok: [10.30.0.5]
2018-04-18 22:55:16,956 p=1528 u=root | ok: [10.20.0.5]
2018-04-18 22:55:17,005 p=1528 u=root | ok: [10.0.0.8]
2018-04-18 22:55:17,071 p=1528 u=root | fatal: [10.0.0.11]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'vrouter'\n\nThe error appears to have been in '/root/contrail-ansible-deployer/playbooks/roles/configure_instances/tasks/install_software.yml': line 6, 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: set vrouter data\n ^ here\n"}
2018-04-18 22:55:17,139 p=1528 u=root | fatal: [10.0.0.9]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'vrouter'\n\nThe error appears to have been in '/root/contrail-ansible-deployer/playbooks/roles/configure_instances/tasks/install_software.yml': line 6, 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: set vrouter data\n ^ here\n"}
2018-04-18 22:55:17,172 p=1528 u=root | ok: [10.0.0.6]
2018-04-18 22:55:17,177 p=1528 u=root | fatal: [10.0.0.5]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'vrouter'\n\nThe error appears to have been in '/root/contrail-ansible-deployer/playbooks/roles/configure_instances/tasks/install_software.yml': line 6, 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: set vrouter data\n ^ here\n"}
2018-04-18 22:55:17,207 p=1528 u=root | TASK [configure_instances : debug] ***********************************************************************************************************************************************
2018-04-18 22:55:17,314 p=1528 u=root | ok: [10.0.0.7] => {

Changed in juniperopenstack:
importance: Undecided → Critical
milestone: none → r5.0.0
tags: added: blocker sanityblocker
Ato (amonge)
information type: Proprietary → Public
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/42161
Submitter: Bartosz Kupidura (<email address hidden>)

Revision history for this message
Bartosz Kupidura (zynzel) wrote :

Commit which breaks master (https://github.com/Juniper/contrail-ansible-deployer/commit/7d02a176822187afd7e8bcd000f9dca99424c058) is not available in R5.0

Confirming with author if his commit should be also backported to R5.0.

If no, there is nothing to fix.

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/42161
Committed: http://github.com/Juniper/contrail-ansible-deployer/commit/53c86eb83e948353edc732537b1b4e6322aac521
Submitter: Zuul v3 CI (<email address hidden>)
Branch: master

commit 53c86eb83e948353edc732537b1b4e6322aac521
Author: Bartosz Kupidura <email address hidden>
Date: Thu Apr 19 10:32:15 2018 +0200

Vrouter is not located on every instance

Change-Id: I05804f8df82aa7045a5047bdf6894721882e9db4
Closes-Bug: 1765236

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.