-
Notifications
You must be signed in to change notification settings - Fork 255
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
stop start issue fix for EnableEncryptionFormatAll #1753
base: ade-singlepass-dev
Are you sure you want to change the base?
stop start issue fix for EnableEncryptionFormatAll #1753
Conversation
|
||
#log to capture lsblk before encryption view. | ||
disk_util.log_lsblk_output() | ||
if public_settings.get(CommonVariables.EncryptionEncryptionOperationKey) == CommonVariables.EnableEncryptionFormatAll: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the incident reported for EncryptFormalAll scenarios only?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, in standard VM resource disk encryption is supported only for EncryptFormalAll scenario. issue has been seen on stop start.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the resource disk still getting encrypted if it is unmounted?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, resource disk got encrypted if EFA is there, irrespective of disk mount.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps, we should consider mounting BEK volume on /bekvolume
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@canfikret yeah, we have been wanting to move it. For new VM's, it is an easy change, but for existing VM's, snapshots/backups/etc we would need to think about a solution that wont break those.
disk_util.log_lsblk_output() | ||
if public_settings.get(CommonVariables.EncryptionEncryptionOperationKey) == CommonVariables.EnableEncryptionFormatAll: | ||
#in case of stop start unmount /mnt to avoid resource disk encryption issues. | ||
disk_util.umount('/mnt') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
where will the resource disk get mounted again?
Have you considered creating a separate mount point for BEK which is not under /mnt? For example, /azure_bek_disk ?
fix for Incident 384350526 : Investigate latency Issues with Compute Instance LROs.
resource disk re-encryption fix for stop start use case.