Try to unmount all data volumes before turning off swap
@@ -73,6 +73,7 @@ class UnmountOldrootState(OSEncryptionState):
service = splitted[0]
self.command_executor.Execute('service {0} restart'.format(service))
+ self.command_executor.Execute('umount -a')
self.command_executor.Execute('swapoff -a', True)
self.bek_util.umount_azure_passhprase(self.encryption_config, force=True)
