Make pacemaker commit really ensurable

Bug #1281592 reported by Vladimir Kuklin
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Won't Fix
High
Fuel Library (Deprecated)

Bug Description

We need to rewrite pacemaker libraries to check
* if committed data was really committed by rereading CIB
* if all resources were committed to the cluster configuration
* it still can be committed, if CIB was changed between shadow create and shadow commit.

Revision history for this message
Vladimir Kuklin (vkuklin) wrote :
Revision history for this message
Vladimir Kuklin (vkuklin) wrote :

This is also true for cs_shadow resources.

Changed in fuel:
status: New → Confirmed
importance: Undecided → High
importance: High → Medium
Revision history for this message
Sergey Vasilenko (xenolog) wrote :

I think we should implement part of cs_shadow in cs_primitive. If no early-created shadow given.
This guarantees us creating shadow cib directly before creating resource.

Revision history for this message
Bogdan Dobrelya (bogdando) wrote :

I agree, it might be a god point, to auto-create shadow CIB, if its name has been referenced by any Corosync entity in corresponding provider (Sergey probably is talking about cs_resource, not cs_primitive).
The similar to some programming languages automatically declare undeclared variables instead of raising an errors...

Changed in fuel:
importance: Medium → Critical
description: updated
Changed in fuel:
importance: Critical → Medium
Changed in fuel:
milestone: 5.0 → 5.1
Revision history for this message
Bogdan Dobrelya (bogdando) wrote :

Looks like we could just get rid of cs_commit/cs_shadow instead of trying to make it able to fix merge conflicts for shadow cib on fly (would be a waste of time, I believe), see https://bugs.launchpad.net/fuel/+bug/1283062/comments/7

Changed in fuel:
importance: Medium → Low
Revision history for this message
Andrew Woodward (xarses) wrote :

Upping to high as there are a couple of duplicates pointed here

Changed in fuel:
importance: Low → High
Revision history for this message
Bogdan Dobrelya (bogdando) wrote :

According to https://review.openstack.org/#/c/101242/ we will remove all cs_shadow and cs_commit from puppet manifests, so this issue should be set to won't fix or invalid

Changed in fuel:
status: Confirmed → Invalid
Revision history for this message
Dmitry Borodaenko (angdraug) wrote :

I think Won't Fix is a more correct status since we plan to implement a different solution (described by https://blueprints.launchpad.net/fuel/+spec/ha-pacemaker-improvements) that makes this bug as originally defined irrelevant.

Changed in fuel:
status: Invalid → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.