Project and AZ handling optimizations, Network preparations for OS and CBT error handling via full-copy on cutover - #171
Open
Michael (Jormodn) wants to merge 10 commits into
Open
Project and AZ handling optimizations, Network preparations for OS and CBT error handling via full-copy on cutover#171Michael (Jormodn) wants to merge 10 commits into
Michael (Jormodn) wants to merge 10 commits into
Conversation
Signed-off-by: Michael Ulrich <michael.ulrich@netcologne-its.de>
…me or uuid Signed-off-by: Michael Ulrich <michael.ulrich@netcologne-its.de>
… on default project to mount volume correctly Signed-off-by: Michael Ulrich <michael.ulrich@netcologne-its.de>
Signed-off-by: Michael Ulrich <michael.ulrich@netcologne-its.de>
Signed-off-by: Michael Ulrich <michael.ulrich@netcologne-its.de>
Signed-off-by: Michael Ulrich <michael.ulrich@netcologne-its.de>
Signed-off-by: Michael Ulrich <michael.ulrich@netcologne-its.de>
…c to interface name Signed-off-by: Michael Ulrich <michael.ulrich@netcologne-its.de>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces several improvements and new features to the migration tool, focusing on OpenStack project scoping, network interface name preservation, and enhanced error handling for Changed Block Tracking (CBT). The changes add new command-line flags, improve context handling, and ensure more robust and flexible migrations.
OpenStack Project and Availability Zone Handling:
--project) to migrate into, with logic to handle both project names and UUIDs and to maintain a separate compute client for volume attachment operations in the source project (ClientSet.LocalCompute). [1] [2] [3] [4]--volume-availability-zoneflag to allow specifying a different availability zone for volumes, overriding the general server availability zone if set. [1] [2] [3]Network Interface Name Preservation:
--fix-nic-namesflag and associated logic to inject udev rules into the guest VM, ensuring VMware interface names (e.g.,ens192) are preserved after migration to OpenStack. This includes a new method to generate and inject the appropriate udev rules usingvirt-customize. [1] [2] [3] [4] [5]Changed Block Tracking (CBT) Handling:
--no-cbtflag to allow migrations to proceed even if CBT is not enabled, with appropriate warnings and fallback to full copy mode. Improved error handling and signaling for CBT-related issues. [1] [2] [3] [4] [5]Environment and Library Path Handling:
LD_LIBRARY_PATHis set fornbdkitinvocation, ensuring it is passed directly to the command environment rather than set globally. [1] [2]Internal Refactoring and Utility Additions:
isUUIDfor project ID detection and improved TLS configuration handling for OpenStack clients. [1] [2]These changes collectively improve the tool's flexibility, reliability, and compatibility with a broader range of OpenStack and VMware environments.
These changes and this summary are supported by Claude Code. ;-)