namespaces 'haproxy' and 'vrouter' are empty after re-deploying cluster

Bug #1433574 reported by Dennis Dmitriev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Confirmed
High
Vladimir Sharshov

Bug Description

The base test case described in https://bugs.launchpad.net/fuel/+bug/1425945

Scenario:
1) Add nodes to a cluster (nova-flat): 3 controller, 2 compute, 1 cinder
2) Deploy cluster
3) Remove cinder and one of controller nodes; Add a new node and assign the 'controller+cinder' node to it.
4) Deploy cluster

Expected result: Deploy was successful.
Actual result: Deploy failed by timeout; cinder and one of controller nodes are removed from cluster, but a new node with the role 'controller+cinder' is in 'provisioned' state: http://paste.openstack.org/show/193093/

During waiting for provisioning, the Primary Controller lost all namespaces:
root@node-1:~# # ip netns list
root@node-1:~#

But vip__management was still pointing to the node-1:
root@node-1:~# crm_mon -1 | grep vip__management
 vip__management_vrouter (ocf::fuel:ns_IPaddr2): Started node-1.test.domain.local
 vip__management (ocf::fuel:ns_IPaddr2): Started node-1.test.domain.local

After deploy failed, namespaces appeared:
root@node-1:~# ip netns list
haproxy
vrouter

But there is no IP configured inside the namespaces:
root@node-1:~# # ip netns exec vrouter ifconfig
root@node-1:~# # ip netns exec haproxy ifconfig
root@node-1:~#

For example, the same namespaces on the node-2 are OK:
http://paste.openstack.org/show/193095/

The cluster remains non-functional after the failed action.

Revision history for this message
Dennis Dmitriev (ddmitriev) wrote :
Changed in fuel:
importance: Undecided → High
status: New → Confirmed
importance: High → Medium
assignee: Fuel Library Team (fuel-library) → Oleksiy Molchanov (omolchanov)
Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
Oleksiy Molchanov (omolchanov) wrote :

The initial problem is not in netns I suppose, primary controller was not triggered for redeploy. So new controller is waiting for it and fails.

http://paste.openstack.org/show/193093/

Changed in fuel:
assignee: Oleksiy Molchanov (omolchanov) → Fuel Python Team (fuel-python)
importance: Medium → High
status: In Progress → Confirmed
Dmitry Pyzhov (dpyzhov)
tags: added: feature-redeployment
removed: pacemaker
Changed in fuel:
assignee: Fuel Python Team (fuel-python) → Vladimir Sharshov (vsharshov)
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.