Skip to content

Commit

Permalink
CA-346590: log when activating flag removed
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Syms <mark.syms@citrix.com>
  • Loading branch information
MarkSymsCtx committed Oct 12, 2020
1 parent a18b2ee commit 8571bfe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/blktap2.py
Original file line number Diff line number Diff line change
Expand Up @@ -1662,6 +1662,8 @@ def _activate_locked(self, sr_uuid, vdi_uuid, options):
vdi_ref = self._session.xenapi.VDI.get_by_uuid(vdi_uuid)
self._session.xenapi.VDI.remove_from_sm_config(
vdi_ref, 'activating')
util.SMlog("Removed activating flag")


# Link result to backend/
self.BackendLink.from_uuid(sr_uuid, vdi_uuid).mklink(dev_path)
Expand Down

0 comments on commit 8571bfe

Please sign in to comment.