fab join_custer aborts for adding redhat node to ha cluster

Bug #1654151 reported by wenqing liang
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.0
Fix Committed
High
Ranjeet R
R3.0.3.x
Fix Committed
High
Ranjeet R
R3.1
Fix Committed
High
Ranjeet R
R3.2
Fix Committed
High
Ranjeet R
Trunk
Fix Committed
High
Ranjeet R

Bug Description

fab joing_cluster of a new redhat node to be a new control node in a ha cluster aborted failing to restart haproxy.service:

2017-01-04 11:38:18:976471: Time synced in the nodes, Proceeding to install/provision.
2017-01-04 11:38:18:999303:
2017-01-04 11:38:19:017749: INFO:
2017-01-04 11:38:19:017749: Openstack and cfgm nodes are same, No need for contrail_internal_vip to be specified in testbed.py.
2017-01-04 11:38:19:017846: Contrail HA setup - Adding %s to existing cluster root@10.84.29.35
2017-01-04 11:38:19:018112: [root@10.84.29.35] sudo: python -c 'from platform import linux_distribution; print linux_distribution()'
2017-01-04 11:38:19:018567: [root@10.84.29.35] out: ('Red Hat Enterprise Linux Server', '7.2', 'Maipo')
2017-01-04 11:38:19:087560: [root@10.84.29.35] out:
2017-01-04 11:38:19:087862:
2017-01-04 11:38:19:088178: [root@10.84.29.35] sudo: service haproxy restart
2017-01-04 11:38:19:088457: [root@10.84.29.35] out: Redirecting to /bin/systemctl restart haproxy.service
2017-01-04 11:38:19:187284: [root@10.84.29.35] out: Failed to restart haproxy.service: Unit haproxy.service failed to load: No such file or directory.
2017-01-04 11:38:19:187517: [root@10.84.29.35] out:
2017-01-04 11:38:19:187859:

2017-01-04 11:38:19:188266: Fatal error: sudo() received nonzero return code 6 while executing!
2017-01-04 11:38:19:188266:
2017-01-04 11:38:19:188266: Requested: service haproxy restart
2017-01-04 11:38:19:188266: Executed: sudo -S -p 'sudo password:' /bin/bash -l -c "service haproxy restart"
2017-01-04 11:38:19:188266:
2017-01-04 11:38:19:188346: Aborting.
2017-01-04 11:38:19:188346: 2017-01-04 11:38:19:188132: Disconnecting from 10.84.29.35... done.
2017-01-04 11:38:19:302827: root@cmbu-vse2100-1:~/store/fabric-utils#

[root@b7s35 contrail_packages]# service haproxy status
Redirecting to /bin/systemctl status haproxy.service
* haproxy.service
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)
[root@b7s35 contrail_packages]#

Understood from Ranjeet that join_cluster is only supported on Ubuntu systems and HA is supported only in Ubuntu and not in Red Hat distribution.

Jeba Paulaiyan (jebap)
tags: added: ha provisioning
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

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

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

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

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.0.3.x

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

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

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

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

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

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

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

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

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

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

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

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.0.3.x

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

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

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

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

Review in progress for https://review.opencontrail.org/27752
Submitter: Ranjeet 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/27752
Committed: http://github.org/Juniper/contrail-provisioning/commit/b4f1e0d63b54fca698f7192cf76d0f653de8447a
Submitter: Zuul (<email address hidden>)
Branch: R3.1

commit b4f1e0d63b54fca698f7192cf76d0f653de8447a
Author: Ranjeet R <email address hidden>
Date: Mon Jan 9 00:22:55 2017 -0800

Fixes: fab join_cluster aborts for adding redhat node to ha cluster
Fixing the call to modify zookeeper config to the wrapper call due to
another code change which cchanged the signature of the call
Fixing code to generate user/password for ifmap server.
Closes-Bug: 1654151

Change-Id: I88b6ff851a4ae732dd32ababeb16a01eba2e2bb0

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/27753
Committed: http://github.org/Juniper/contrail-fabric-utils/commit/79a59ab6668fd0a4ea5297659e4b466de543f33d
Submitter: Zuul (<email address hidden>)
Branch: R3.1

commit 79a59ab6668fd0a4ea5297659e4b466de543f33d
Author: Ranjeet R <email address hidden>
Date: Mon Jan 9 00:25:33 2017 -0800

Fixes: fab join_cluster aborts for adding redhat node to ha cluster
Enabling join_cluster if the contrail_internal_vip is present in testbed.
Closes-Bug: 1654151

Change-Id: Iee240b65765d87e09cd5579a38a448c7dd201cf3

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/27750
Committed: http://github.org/Juniper/contrail-provisioning/commit/e9e97feada59df85124e9e89d9093ea3cfaae3f5
Submitter: Zuul (<email address hidden>)
Branch: R3.0

commit e9e97feada59df85124e9e89d9093ea3cfaae3f5
Author: Ranjeet R <email address hidden>
Date: Mon Jan 9 00:11:49 2017 -0800

Fixes: fab join_cluster aborts for adding redhat node to ha cluster

Fixing the call to modify zookeeper config to the wrapper call due
to another code change which cchanged the signature of the call

Fixing code to generate user/password for ifmap server.

Change-Id: I8d25ec56c7c2575def58848b50b47eaa4401c0e7
Closes-Bug: 1654151

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/27717
Committed: http://github.org/Juniper/contrail-fabric-utils/commit/dcf07c091fc51be3fabbb9198922b1160a38a26f
Submitter: Zuul (<email address hidden>)
Branch: master

commit dcf07c091fc51be3fabbb9198922b1160a38a26f
Author: Ranjeet R <email address hidden>
Date: Fri Jan 6 04:40:24 2017 -0800

Fixes: fab join_custer aborts for adding redhat node to ha cluster

Enabling join_cluster if the contrail_internal_vip is present
in testbed.

Change-Id: I0801619f54798a1f5a2863ccf82e43c2e78caf22
Closes-Bug: 1654151

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

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

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/28060
Submitter: Ranjeet 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/28059
Committed: http://github.org/Juniper/contrail-provisioning/commit/dddb0fb88ddd9663b309525624d9e65ee0d41cfe
Submitter: Zuul (<email address hidden>)
Branch: R3.2

commit dddb0fb88ddd9663b309525624d9e65ee0d41cfe
Author: Ranjeet R <email address hidden>
Date: Fri Jan 20 05:40:55 2017 -0800

Fixes: fab join_cluster aborts for adding redhat node to ha cluster

Fixing the call to modify zookeeper config to the wrapper call due
to another code change which cchanged the signature of the call

Change-Id: I02f7ff69c3963f2892a737ce53d3dbcee8409987
Closes-Bug: 1654151

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/27718
Committed: http://github.org/Juniper/contrail-provisioning/commit/5db312af4f4f56f4ec9f35d5e15fe3fb0ca22a8d
Submitter: Zuul (<email address hidden>)
Branch: master

commit 5db312af4f4f56f4ec9f35d5e15fe3fb0ca22a8d
Author: Ranjeet R <email address hidden>
Date: Fri Jan 6 05:03:15 2017 -0800

Fixes: fab join_cluster aborts for adding redhat node to ha cluster

Fixing the call to modify zookeeper config to the wrapper call
due to code change.

Change-Id: Ic2c64be4698dc35d02bc5d9e36a53b9cd26923c7
Closes-Bug: 1654151

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/27751
Committed: http://github.org/Juniper/contrail-fabric-utils/commit/69ecbaa2a24e11f205eddaeb9a77c5069f9b21f0
Submitter: Zuul (<email address hidden>)
Branch: R3.0

commit 69ecbaa2a24e11f205eddaeb9a77c5069f9b21f0
Author: Ranjeet R <email address hidden>
Date: Mon Jan 9 00:14:25 2017 -0800

Fixes: fab join_cluster aborts for adding redhat node to ha cluster

Enabling join_cluster if the contrail_internal_vip is present in testbed.

Change-Id: I1dee19666f5e1a2c754747ee41c731a166262793
Closes-Bug: 1654151

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/28060
Committed: http://github.org/Juniper/contrail-fabric-utils/commit/873be372df65a38c033b4d3a6bd33ea9e04fc15c
Submitter: Zuul (<email address hidden>)
Branch: R3.2

commit 873be372df65a38c033b4d3a6bd33ea9e04fc15c
Author: Ranjeet R <email address hidden>
Date: Fri Jan 20 05:46:49 2017 -0800

Fixes: fab join_cluster aborts for adding redhat node to ha cluster

Enabling join_cluster if the contrail_internal_vip is present in testbed.

Change-Id: Ibbf4e92e1d0d4cd776d5d12bab38c4b21ba93b73
Closes-Bug: 1654151

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/27735
Committed: http://github.org/Juniper/contrail-fabric-utils/commit/22c5de28b8cd6600f18a1a283422b3a9dc4fe9ba
Submitter: Zuul (<email address hidden>)
Branch: R3.0.3.x

commit 22c5de28b8cd6600f18a1a283422b3a9dc4fe9ba
Author: Ranjeet R <email address hidden>
Date: Fri Jan 6 22:01:25 2017 -0800

Fixes: fab join_cluster aborts for adding redhat node to ha cluster

Enabling join_cluster if the contrail_internal_vip is present in testbed.

Change-Id: Ib5b4198d3e31ca59d27c4fdeea8ce2ed7dd2d2fb
Closes-Bug: 1654151

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/27734
Committed: http://github.org/Juniper/contrail-provisioning/commit/2648b1f6d57f1c49e98ee8c1f2b1539a367c4911
Submitter: Zuul (<email address hidden>)
Branch: R3.0.3.x

commit 2648b1f6d57f1c49e98ee8c1f2b1539a367c4911
Author: Ranjeet R <email address hidden>
Date: Fri Jan 6 21:57:03 2017 -0800

Fixes: fab join_cluster aborts for adding redhat node to ha cluster

Fixing the call to modify zookeeper config to the wrapper call
due to another code change which cchanged the signature of the call

Fixing code to generate user/password for ifmap server.

Change-Id: Ie8c8d48ab6aa0550d57dc305cd3d51e91a0da02f
Closes-Bug: 1654151

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.