Skip to content

tests: Adds LUKS migration-key workflow#463

Open
claudiubelu wants to merge 2 commits into
cloudbase:masterfrom
claudiubelu:integration-test-update-luks
Open

tests: Adds LUKS migration-key workflow#463
claudiubelu wants to merge 2 commits into
cloudbase:masterfrom
claudiubelu:integration-test-update-luks

Conversation

@claudiubelu

Copy link
Copy Markdown
Member

Move OS morphing helpers (write_os_image_to_disk, make_luks_device, path_exists_on_device, etc.) into a dedicated osmorphing_utils module.

Refactored utils to use a context manager, simplifying the code.

Simulate pre-migration flow: add migration key via volume master key, pass only the migration passphrase to Coriolis.

Move OS morphing helpers (write_os_image_to_disk, make_luks_device,
path_exists_on_device, etc.) into a dedicated osmorphing_utils module.

Refactored utils to use a context manager, simplifying the code.
Simulate real pre-migration flow: add migration key via volume master
key, pass only the migration passphrase to Coriolis.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant