Last active
August 4, 2020 04:15
-
-
Save akhilerm/cb9cfff929bff00efaa0d3f70d25a116 to your computer and use it in GitHub Desktop.
This file contains 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
Flowchart for local pv upgrade | |
NOTE: Does not support upgrade of localPV rawblock | |
For Cstor, the same flowchart as below applies, but instead of using FSUUID annotation, partition table UUID | |
annotation will be used. |
@kmova, There will be slight change in design for checking with FSUUID, found a bug when testing with multiple virtual devices:
- 2 virtual devices are connected to the node, One is claimed and one unclaimed.
- NDM is upgraded to latest version
- Node is rebooted and devices swap their path
- The above design updates the incorrect blockdevice , because it first finds a device with matching legacy UUID.
Solution:
Even after getting matching legacy UUID , a check for partitionuuid or fsuuid need to be done.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
BlockDevice (gptuuid)
BlockDevice (legacy virtual) + unclaimed ( unchanged properties)
BlockDevice (legacy virtual) + unclaimed (changed properties)
BlockDevice (legacy unique) + unclaimed (changed properties)
BlockDevice (legacy virtual) + claimed (unchanged properties)
BlockDevice (legacy virtual) + claimed + w/ fs
BlockDevice (legacy virtual) + claimed + raw
BlockDevice (legacy virtual) + claimed (changed properties)
BlockDevice (legacy unique) + claimed
BlockDevice (legacy virtual or unique) + released and unchanged properties
BlockDevice (legacy virtual or unique) + released and changed properties