Skip to content

Commit 45a9179

Browse files
NambrokMarkSymsCtx
authored andcommitted
fix: remove flag gc_no_space from SR sm-config
The message OpaqueRef in the SR sm-config was not removed, causing to try to remove it multiple time and failing. Signed-off-by: Damien Thenot <damien.thenot@vates.tech>
1 parent efabcc9 commit 45a9179

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

libs/sm/cleanup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1620,6 +1620,7 @@ def check_no_space_candidates(self):
16201620
candidate.setConfig(VDI.DB_GC_NO_SPACE, msg_id)
16211621
elif msg_id is not None:
16221622
# Everything was coalescable, remove the message
1623+
xapi_session.xenapi.SR.remove_from_sm_config(self.xapi.srRef, VDI.DB_GC_NO_SPACE)
16231624
xapi_session.xenapi.message.destroy(msg_id)
16241625

16251626
def clear_no_space_msg(self, vdi):

0 commit comments

Comments
 (0)