Cluster nodes showing provision_issued though provision completed

Bug #1717577 reported by wenqing liang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R4.0
Fix Committed
High
Ramprakash R
Trunk
Fix Committed
High
Ramprakash R

Bug Description

r4.0.1.0-58 newton

+----------+---------------------+------------+-------------------+
| id | status | ip_address | mac_address |
+----------+---------------------+------------+-------------------+
| server4 | provision_completed | 10.0.0.7 | 02:68:C4:4A:E5:86 |
| server3 | provision_issued | 10.0.0.6 | 02:14:82:71:C0:11 |
| server2 | provision_issued | 10.0.0.5 | 02:F9:C5:33:E5:8D |
| server6 | provision_completed | 10.0.0.9 | 02:17:F3:9F:67:11 |
| server10 | provision_completed | 10.0.0.13 | 02:ED:39:E1:02:EB |
| server9 | provision_completed | 10.0.0.12 | 02:59:AF:E3:C8:82 |
| server5 | provision_completed | 10.0.0.8 | 02:8F:3B:58:45:D6 |
| server1 | provision_issued | 10.0.0.4 | 02:63:F1:37:11:1F |
| server7 | provision_completed | 10.0.0.10 | 02:0E:5E:9B:4B:80 |
| server8 | provision_completed | 10.0.0.11 | 02:2E:55:74:31:02 |
+----------+---------------------+------------+-------------------+

            "provision_role_sequence": "{'completed': [(u'server2', 'keepalived', '2017_09_15__04_39_55'), (u'server1', 'keepalived', '2017_09_15__04_39_58'), (u'server3', 'keepalived', '2017_09_15__04_39_59'), (u'server2', 'haproxy', '2017_09_15__04_40_27'), (u'server1', 'haproxy', '2017_09_15__04_40_30'), (u'server3', 'haproxy', '2017_09_15__04_40_34'), (u'server2', 'openstack', '2017_09_15__04_42_02'), (u'server1', 'openstack', '2017_09_15__04_42_09'), (u'server3', 'openstack', '2017_09_15__04_44_36'), (u'server3', 'pre_exec_vnc_galera', '2017_09_15__04_45_39'), (u'server2', 'pre_exec_vnc_galera', '2017_09_15__04_46_36'), (u'server1', 'pre_exec_vnc_galera', '2017_09_15__04_47_34'), (u'server3', 'post_exec_vnc_galera', '2017_09_15__04_47_47'), (u'server2', 'post_exec_vnc_galera', '2017_09_15__04_48_18'), (u'server1', 'post_exec_vnc_galera', '2017_09_15__04_48_50'), (u'server3', 'post_provision', '2017_09_15__04_49_22'), (u'server2', 'post_provision', '2017_09_15__04_49_23'), (u'server1', 'post_provision', '2017_09_15__04_49_24')], 'steps': []}",

Jeba Paulaiyan (jebap)
tags: added: sanityblocker
removed: sanity
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R4.0

Review in progress for https://review.opencontrail.org/35646
Submitter: Ramprakash R (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/35646
Committed: http://github.com/Juniper/contrail-server-manager/commit/00a55e6eccb10e3dc7d97b676a8f52c6e2f2abd9
Submitter: Zuul (<email address hidden>)
Branch: R4.0

commit 00a55e6eccb10e3dc7d97b676a8f52c6e2f2abd9
Author: Ramprakash Ram Mohan <email address hidden>
Date: Fri Sep 15 12:18:44 2017 -0700

Status shows "provision_issued" even when provision has completed

This will happen on openstack nodes that are provisioned using puppet because
provision status is being updated on all servers under the cluster just before
starting Ansible playbooks as part of updating the "provisioned_id" variable.
Fix is not to update status and only provisioned_id for the servers.

Change-Id: If47879740ed21a0dc6217b12a3ab58d5f13537ee
Closes-bug: #1717577

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

Review in progress for https://review.opencontrail.org/35669
Submitter: Ramprakash R (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/35669
Committed: http://github.com/Juniper/contrail-server-manager/commit/96106cbda2763f54bc40554cafc8502f7a2d5c29
Submitter: Zuul (<email address hidden>)
Branch: master

commit 96106cbda2763f54bc40554cafc8502f7a2d5c29
Author: Ramprakash Ram Mohan <email address hidden>
Date: Fri Sep 15 12:18:44 2017 -0700

Status shows "provision_issued" even when provision has completed

This will happen on openstack nodes that are provisioned using puppet because
provision status is being updated on all servers under the cluster just before
starting Ansible playbooks as part of updating the "provisioned_id" variable.
Fix is not to update status and only provisioned_id for the servers.

Change-Id: If47879740ed21a0dc6217b12a3ab58d5f13537ee
Closes-bug: #1717577
(cherry picked from commit 00a55e6eccb10e3dc7d97b676a8f52c6e2f2abd9)

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.