hacluster losing vip grp primitive following upgrade

Bug #1396246 reported by Edward Hope-Morley
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
charmhelpers (Juju Charms Collection)
Fix Released
High
Edward Hope-Morley
cinder (Juju Charms Collection)
Fix Released
High
Edward Hope-Morley
glance (Juju Charms Collection)
Fix Released
High
Edward Hope-Morley
keystone (Juju Charms Collection)
Fix Released
High
Edward Hope-Morley
neutron-api (Juju Charms Collection)
Fix Released
High
Edward Hope-Morley
nova-cloud-controller (Juju Charms Collection)
Fix Released
High
Edward Hope-Morley
openstack-dashboard (Juju Charms Collection)
Fix Released
High
Edward Hope-Morley
swift-proxy (Juju Charms Collection)
Fix Released
High
Edward Hope-Morley

Bug Description

When upgrading an existing deployment oh haclustered charms, the vip group primitive seems to get lost so the charms never find a leader (since they generally use the group primitive as a means of checking who is leader).

Tags: openstack cts

Related branches

Revision history for this message
Edward Hope-Morley (hopem) wrote :

I don;t have any further info right now so will have to see if I can reproduced this before confirming.

Revision history for this message
Edward Hope-Morley (hopem) wrote :

OK I think i see the problem here. The logic in the charms for is_elected_leader goes:

is clustered? and does grp resource exist?

If False then not leader. The problem here is that if you reboot the entire cluster there will be a short window where each unit will have:

is_clustered=True
grp_resource_exist=False

So a simple workaround here would be to allow for a re-query in the case where we are clustered but the grp resource does not yet exist since if all units fail to elect a leader the cluster will likely fail in all cases.

Changed in hacluster (Juju Charms Collection):
assignee: nobody → Edward Hope-Morley (hopem)
importance: Undecided → High
status: New → In Progress
Changed in charmhelpers (Juju Charms Collection):
status: New → In Progress
importance: Undecided → High
assignee: nobody → Edward Hope-Morley (hopem)
Changed in charmhelpers (Juju Charms Collection):
status: In Progress → Fix Committed
affects: hacluster (Juju Charms Collection) → nova-cloud-controller (Juju Charms Collection)
affects: quantum-gateway (Juju Charms Collection) → cinder (Juju Charms Collection)
Changed in nova-cloud-controller (Juju Charms Collection):
status: In Progress → New
Changed in cinder (Juju Charms Collection):
importance: Undecided → High
Changed in keystone (Juju Charms Collection):
importance: Undecided → High
Changed in openstack-dashboard (Juju Charms Collection):
importance: Undecided → High
Changed in swift-proxy (Juju Charms Collection):
importance: Undecided → High
Changed in nova-cloud-controller (Juju Charms Collection):
assignee: Edward Hope-Morley (hopem) → nobody
affects: glance (Ubuntu) → glance (Juju Charms Collection)
Changed in glance (Juju Charms Collection):
importance: Undecided → High
Changed in neutron-api (Juju Charms Collection):
importance: Undecided → High
Changed in cinder (Juju Charms Collection):
status: New → In Progress
Changed in glance (Juju Charms Collection):
status: New → In Progress
Changed in keystone (Juju Charms Collection):
status: New → In Progress
Changed in neutron-api (Juju Charms Collection):
status: New → In Progress
Changed in nova-cloud-controller (Juju Charms Collection):
status: New → In Progress
Changed in openstack-dashboard (Juju Charms Collection):
status: New → In Progress
Changed in swift-proxy (Juju Charms Collection):
status: New → In Progress
Changed in cinder (Juju Charms Collection):
assignee: nobody → Edward Hope-Morley (hopem)
Changed in glance (Juju Charms Collection):
assignee: nobody → Edward Hope-Morley (hopem)
Changed in neutron-api (Juju Charms Collection):
assignee: nobody → Edward Hope-Morley (hopem)
Changed in openstack-dashboard (Juju Charms Collection):
assignee: nobody → Edward Hope-Morley (hopem)
Changed in swift-proxy (Juju Charms Collection):
assignee: nobody → Edward Hope-Morley (hopem)
Changed in nova-cloud-controller (Juju Charms Collection):
assignee: nobody → Edward Hope-Morley (hopem)
Changed in keystone (Juju Charms Collection):
assignee: nobody → Edward Hope-Morley (hopem)
Changed in cinder (Juju Charms Collection):
status: In Progress → Fix Committed
Changed in glance (Juju Charms Collection):
status: In Progress → Fix Committed
Changed in keystone (Juju Charms Collection):
status: In Progress → Fix Committed
Changed in neutron-api (Juju Charms Collection):
status: In Progress → Fix Committed
Changed in nova-cloud-controller (Juju Charms Collection):
status: In Progress → Fix Committed
Changed in openstack-dashboard (Juju Charms Collection):
status: In Progress → Fix Committed
Changed in swift-proxy (Juju Charms Collection):
status: In Progress → Fix Committed
James Page (james-page)
Changed in nova-cloud-controller (Juju Charms Collection):
milestone: none → 15.01
Changed in charmhelpers (Juju Charms Collection):
milestone: none → 15.01
Changed in swift-proxy (Juju Charms Collection):
milestone: none → 15.01
Changed in keystone (Juju Charms Collection):
milestone: none → 15.01
Changed in openstack-dashboard (Juju Charms Collection):
milestone: none → 15.01
Changed in cinder (Juju Charms Collection):
milestone: none → 15.01
Changed in glance (Juju Charms Collection):
milestone: none → 15.01
Changed in neutron-api (Juju Charms Collection):
milestone: none → 15.01
James Page (james-page)
Changed in nova-cloud-controller (Juju Charms Collection):
status: Fix Committed → Fix Released
Changed in charmhelpers (Juju Charms Collection):
status: Fix Committed → Fix Released
Changed in swift-proxy (Juju Charms Collection):
status: Fix Committed → Fix Released
Changed in keystone (Juju Charms Collection):
status: Fix Committed → Fix Released
Changed in openstack-dashboard (Juju Charms Collection):
status: Fix Committed → Fix Released
Changed in cinder (Juju Charms Collection):
status: Fix Committed → Fix Released
Changed in glance (Juju Charms Collection):
status: Fix Committed → Fix Released
Changed in neutron-api (Juju Charms Collection):
status: Fix Committed → Fix Released
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.