-
Notifications
You must be signed in to change notification settings - Fork 19
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
feat(migrate): add support to correct blockdevices in spc before migration #53
feat(migrate): add support to correct blockdevices in spc before migration #53
Conversation
migration Signed-off-by: shubham <[email protected]>
Signed-off-by: shubham <[email protected]>
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.
Provided few comments
- it also fixes the idempotent nature of the job when adding annotation to spc Signed-off-by: shubham <[email protected]>
Signed-off-by: shubham <[email protected]>
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.
Provided few comments
Signed-off-by: shubham <[email protected]>
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.
Provided few comments
Signed-off-by: shubham <[email protected]>
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.
provided few comments
Signed-off-by: shubham <[email protected]>
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.
changes are good
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.
/lgtm
Signed-off-by: shubham [email protected]
This PR adds support for auto-correction of blockdevices in SPC before migration.
This case occurs if the underlying disks used are virtual disk and the spc was created in a version prior to 2.0.0 (the blockdevice issue was fixed in 2.0.0 release)
The changes make the migration job intelligent enough to find out the renamed blockdevices and update those in CSP and SPC before proceeding with the migration.
Local test performed:
Tested the following scenario for devlink based bds:
Tested the following scenarios for path based bds:
Scenario 1:
Scenario 2:
Scenario 3:
The spc and csp were updated with the correct blockdevices and job was successful.