ansible-deployer bails out during init of heat engine

Bug #1760510 reported by Senthilnathan Murugappan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
Trunk
Fix Released
Critical
Andrey Pavlov

Bug Description

2018-04-01 10:51:19,685 p=5445 u=root | TASK [heat : Running opencontrail init contrail for heat engine] *****************************************************************************************************************************************
2018-04-01 10:51:23,028 p=5445 u=root | fatal: [10.84.7.36]: FAILED! => {"changed": true, "msg": "Container exited with non-zero return code 1"}
2018-04-01 10:51:23,031 p=5445 u=root | to retry, use: --limit @/tmp/ansible.TYzWAq_contrail/contrail-ansible-deployer/playbooks/install_contrail.retry

2018-04-01 10:51:23,031 p=5445 u=root | PLAY RECAP ***********************************************************************************************************************************************************************************************
2018-04-01 10:51:23,032 p=5445 u=root | 10.84.7.36 : ok=241 changed=21 unreachable=0 failed=1
2018-04-01 10:51:23,032 p=5445 u=root | localhost : ok=6 changed=2 unreachable=0 failed=0

Need to remove "set -e" https://github.com/Juniper/contrail-container-builder/blob/master/containers/openstack/heat-init/entrypoint.sh#L3

since `read` calls in /common.sh returns exitcode 1 even on a successful read since it had hit the EOF

FYI, from read manual
` The return code is zero, unless end-of-file is encountered `

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/41276
Submitter: Senthilnathan Murugappan (<email address hidden>)

Revision history for this message
Andrey Pavlov (apavlov-e) wrote :
Revision history for this message
Jeba Paulaiyan (jebap) wrote :

41274 is merged
41276 is abandoned

Vinod Nair (vinodnair)
information type: Proprietary → Public
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.