Commit 01a8d300 authored by Petr Pudlak's avatar Petr Pudlak
Browse files

Don't synchronize the configuration on DropECReservations



The call doesn't modify the configuration state, only the reservations.
And after moving reservations to WConfd, the reservations state will be
locked just internally by WConfd.

Since this method is called at the end of any job in mcpu, synchronizing
the configuration caused it to be updated in WConfd, even if the job was
read-only.
In particular, "gnt-cluster verify" with multiple node groups often
failed because of this, when verifying configuration consistency.
Signed-off-by: default avatarPetr Pudlak <pudlak@google.com>
Reviewed-by: default avatarKlaus Aehlig <aehlig@google.com>
parent 63324095
......@@ -3225,7 +3225,6 @@ class ConfigWriter(object):
for rm in self._all_rms:
rm.DropECReservations(ec_id)
@_ConfigSync()
def DropECReservations(self, ec_id):
self._UnlockedDropECReservations(ec_id)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment