-
Notifications
You must be signed in to change notification settings - Fork 247
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
Add support for Azure gen2 VMs #1241
Merged
Merged
Conversation
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
sohankunkerkar
commented
Jul 1, 2021
bgilbert
reviewed
Jul 1, 2021
sohankunkerkar
force-pushed
the
azure-gen2-test
branch
4 times, most recently
from
July 9, 2021 23:19
8caf981
to
bf0bb42
Compare
sohankunkerkar
changed the title
[WIP] Add support for Azure gen2 VMs
Add support for Azure gen2 VMs
Jul 9, 2021
bgilbert
reviewed
Jul 12, 2021
sohankunkerkar
force-pushed
the
azure-gen2-test
branch
7 times, most recently
from
July 13, 2021 20:25
c2a9a80
to
48c7949
Compare
bgilbert
reviewed
Jul 14, 2021
sohankunkerkar
force-pushed
the
azure-gen2-test
branch
from
July 15, 2021 15:19
48c7949
to
dc7c852
Compare
bgilbert
reviewed
Jul 22, 2021
This change adds a blkid API to query block devices based on the particular filesystem.
sohankunkerkar
force-pushed
the
azure-gen2-test
branch
from
July 22, 2021 21:12
dc7c852
to
15beeb9
Compare
bgilbert
reviewed
Jul 23, 2021
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.
This looks better. 👍 The retry logic just needs a bit more adjustment.
sohankunkerkar
force-pushed
the
azure-gen2-test
branch
3 times, most recently
from
July 23, 2021 17:17
f7be440
to
0d3b0a1
Compare
bgilbert
approved these changes
Jul 27, 2021
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.
👍 🎉
Fixes coreos#1194 This change uses the same devicepath for gen1 and gen2 VMs because they can't easily be distinguished at runtime.
Azure was the only user of `DiskByIDDir` and since we're using the different approach to get the device details for azure instances, this code is not required anymore.
sohankunkerkar
force-pushed
the
azure-gen2-test
branch
from
July 28, 2021 02:25
0d3b0a1
to
1cff42c
Compare
This was referenced Aug 17, 2021
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.
Fixes #1194
This patch adds support for Azure gen2 VMs in Ignition. For the safer side, this PR also handles a case where a bunch of block devices has the
FSTYPE
set toudf
, and accordingly, pick the right device that has an ignition config.With gen2 settings: