provision hangs on error in /contrail-ansible-internal/playbooks/roles/contrail/lb/tasks/haproxy.yml

Bug #1691963 reported by wenqing liang
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R4.0
Fix Committed
Critical
Hari Prasad Killi
Trunk
Fix Committed
Critical
Hari Prasad Killi

Bug Description

r4.0-7 mitaka

SM provision of 14.04.5 cluster failed on computes.

+---------+---------------------+------------+-------------------+
| id | status | ip_address | mac_address |
+---------+---------------------+------------+-------------------+
| server9 | provision_failed | 10.0.0.12 | 02:DB:44:58:F7:2D |
| server3 | provision_completed | 10.0.0.6 | 02:24:EF:25:3C:D3 |
| server7 | provision_completed | 10.0.0.10 | 02:16:EE:83:F2:3B |
| server5 | provision_completed | 10.0.0.8 | 02:49:03:93:A2:69 |
| server8 | provision_failed | 10.0.0.11 | 02:81:CF:4A:00:50 |
| server6 | provision_completed | 10.0.0.9 | 02:7F:7B:A2:17:6A |
| server1 | provision_completed | 10.0.0.4 | 02:E8:C8:30:5E:9B |
| server2 | provision_completed | 10.0.0.5 | 02:ED:D6:64:92:F9 |
| server4 | provision_completed | 10.0.0.7 | 02:4E:10:E2:02:77 |

+---------+--------------------------------------------------------------------------+
| id | roles |
+---------+--------------------------------------------------------------------------+
| server9 | [u'contrail-compute'] |
| server3 | [u'openstack'] |
| server7 | [u'contrail-lb'] |
| server5 | [u'contrail-controller', u'contrail-analytics', u'contrail-analyticsdb'] |
| server8 | [u'contrail-compute'] |
| server6 | [u'contrail-controller', u'contrail-analytics', u'contrail-analyticsdb'] |
| server1 | [u'openstack'] |
| server2 | [u'openstack'] |
| server4 | [u'contrail-controller', u'contrail-analytics', u'contrail-analyticsdb'] |

#229 full ha (14.04), with 1691919 patch, provision fails on compute:
"2017-05-19 06:54:39,132-INFO-sm_ansible_callback.py:43-append(): fatal: [10.0.0.11]: FAILED! => {"attempts": 180, "changed": false, "content": "", "failed": true, "msg": "Status code was not [200]: Request failed: <urlopen error [Errno 111] Connection refused>", "redirected": false, "status": -1, "url": "http://10.10.0.10:8082"}"

TASK [contrail/lb : Set the haproxy tor agent output] **************************
fatal: [localhost]: FAILED! => {"failed": true, "msg": "The conditional check 'haproxy_toragent_stanza.stdout != ''' failed. The error was: error while evaluating conditional (haproxy_toragent_stanza.stdout != ''): 'dict object' has no attribute 'stdout'\n\nThe error appears to have been in '/contrail-ansible-internal/playbooks/roles/contrail/lb/tasks/haproxy.yml': line 17, 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 the haproxy tor agent output\n ^ here\n"}
 to retry, use: --limit @/contrail-ansible-internal/playbooks/contrail_lb.retry

PLAY RECAP *********************************************************************
localhost : ok=23 changed=3 unreachable=0 failed=1

wenqing liang (wliang)
information type: Proprietary → Public
tags: added: vrouter
Jeba Paulaiyan (jebap)
tags: added: sanity
Revision history for this message
Hari Prasad Killi (haripk) wrote :
Revision history for this message
Hari Prasad Killi (haripk) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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