fab join_custer aborts for adding redhat node to ha cluster
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_
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_distribut
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-
[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.
tags: | added: ha provisioning |
Review in progress for https:/ /review. opencontrail. org/27717
Submitter: Ranjeet R (<email address hidden>)