vrouter inactive after delete and add back Compute node

Bug #1535956 reported by Sarath
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
Trunk
Fix Committed
Critical
Thilak Raj

Bug Description

After delete and add-back the compute node, the vrouter not up on the compute node.

Thilak debugged my setup and found the issue is due to "/etc/init/supervisor-vrouter.override" getting created during delete of compute node. We verified when deleting this file and do add-back, it went fine... So, the issue is due to this.

Topology
##########

3 controllers (( Openstack + Contrail )
3 computes

>> After delete & add-back,

root@a5d11e10:~#
root@a5d11e10:~# contrail-status
== Contrail vRouter ==
supervisor-vrouter: inactive (disabled on boot)
unix:///tmp/supervisord_vrouter.sockno

root@a5d11e10:~#

contrail-version
Package Version Build-ID | Repo | Package Name
-------------------------------------- ------------------------------ ----------------------------------
contrail-fabric-utils 3.0-2697 2697
contrail-lib 3.0-2697 2697
contrail-nodemgr 3.0-2697 2697
contrail-nova-vif 3.0-2697 2697
contrail-openstack-vrouter 3.0-2697 2697
contrail-setup 3.0-2697 2697
contrail-utils 3.0-2697 2697
contrail-vrouter-3.13.0-40-generic 3.0-2697 2697
contrail-vrouter-agent 3.0-2697 2697
contrail-vrouter-common 3.0-2697 2697
contrail-vrouter-init 3.0-2697 2697
contrail-vrouter-utils 3.0-2697 2697
nova-common 1:2014.2.3-0ubuntu1~cloud0.3contrail2697
nova-compute 1:2014.2.3-0ubuntu1~cloud0.3contrail2697
nova-compute-kvm 1:2014.2.3-0ubuntu1~cloud0.3contrail2697
nova-compute-libvirt 1:2014.2.3-0ubuntu1~cloud0.3contrail2697
python-contrail 3.0-2697 2697
python-contrail-vrouter-api 3.0-2697 2697
python-neutronclient 1:2.3.8-0ubuntu1~cloud0.2contrail2697
python-nova 1:2014.2.3-0ubuntu1~cloud0.3contrail2697
python-opencontrail-vrouter-netns 3.0-2697 2697
root@a5d11e09:~#

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

Review in progress for https://review.opencontrail.org/17062
Submitter: Thilak Raj (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/17062
Committed: http://github.org/Juniper/contrail-puppet/commit/d7c1050849b20a7d3077e5ac2e0f2dc708351460
Submitter: Zuul
Branch: master

commit d7c1050849b20a7d3077e5ac2e0f2dc708351460
Author: tsurendra <email address hidden>
Date: Tue Feb 9 17:32:21 2016 -0800

Closes-Bug: #1535956
vrouter inactive after delete and add back Compute node

Issue:
service enable= false
was creating an override file while uninstalling roles.
as a result when the same role is added it doesnt start on boot.

Fix:
remove service enable = false as we are removing the packages when
we uninstall and the init scripts.

Testing:
1)remove and add roles to the same machine.

Change-Id: I239d14f06957db15298db406df49ea142ad51800

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

Review in progress for https://review.opencontrail.org/17246
Submitter: Dheeraj Gautam (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/17246
Committed: http://github.org/Juniper/contrail-puppet/commit/ea90ae502e55b3b9fbcb2ace4f7ae2ee9d77e387
Submitter: Zuul
Branch: master

commit ea90ae502e55b3b9fbcb2ace4f7ae2ee9d77e387
Author: Dheeraj Gautam <email address hidden>
Date: Mon Feb 15 08:18:22 2016 -0800

SM-Uninstall: use reboot resource for compute

Closes-bug: #1535956

Changing to puppetlab reboot from old reboot. The old rebbot was depending on
exec.

TESTING:
1. add 4 nodes with 3 computes, reimaged and provisioned
2. removed compute from 1 node and provisioned again. verified compute is
removed and vhost0 is removed and system was rebooted

Change-Id: I1b5cc6790f5c8896c80bb3f751a6cc35fc773b53

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.