-
Notifications
You must be signed in to change notification settings - Fork 935
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
Attach VM root volumes as disk devices #14532
Open
MggMuggins
wants to merge
23
commits into
canonical:main
Choose a base branch
from
MggMuggins:jira-2160/attach-vm-root-as-disk
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
1ca71a1
api: Add `instance_root_volume_attachment`
MggMuggins 219e2c9
doc/explanation/storage: Fix wording
MggMuggins 7050d26
lxd/storage: Allow `security.shared` for virtual-machine volumes
MggMuggins 2b1c544
lxd/instance/instancetype: Update instance config key docs
MggMuggins b5845e1
doc: `make update-metadata`
MggMuggins 72a49ee
lxd/storage: Allow parsing virtual-machine/* volumes as disk sources
MggMuggins f721d36
lxd/device/disk: Use correct storage volume name
MggMuggins f6f24b7
lxc: Allow virtual-machine volumes in `storage volume attach`
MggMuggins 5f313ba
lxc/storage_volume: Parse source during detach
MggMuggins 4feac36
lxd/storage: Detect root disk devices when determining if a volume is…
MggMuggins a113b89
lxd/device/disk: Allow vm root attachments with security.protection.s…
MggMuggins 1b4a1e0
lxd/device/disk: Prevent instances attaching their own root volumes
MggMuggins 637cd65
lxd: Correctly report vm volume used-by
MggMuggins 01ef29c
lxd/instance/drivers: Prevent removing security.protection.start...
MggMuggins 7d95dd6
lxd/storage: Refactor security.shared check
MggMuggins b3b4536
lxd/storage: Check disabling security.shared on virtual-machine volumes
MggMuggins 566ed5c
lxd/storage: Remove unneeded VolumeDBGet
MggMuggins c579ad9
lxd/instance/drivers: Implement checkRootVolumeNotInUse
MggMuggins 8768a9f
lxd/instance/drivers: Ensure root volume not in use before VM delete
MggMuggins 06cd2f5
lxd/instance/drivers: Ensure root volume not in use before VM rename
MggMuggins ec63f58
doc: Add root volume attachment to storage volume how-to
MggMuggins d1a0200
doc: `make i18n`
MggMuggins 1abeebf
lxd/storage: Fix linter errors
MggMuggins File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -303,6 +303,7 @@ uptime | |
URI | ||
URIs | ||
userspace | ||
UUIDs | ||
vCPU | ||
vCPUs | ||
VDPA | ||
|
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
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.
If I unserstood the scope of this PR correctly, this should state
virtual machines
instead ofinstances
ascontainer
volumes won't be available for attaching.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.
I was hoping to avoid needing two extensions to refer to the same change; I'll defer to @tomponline here
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.
Fine by me then
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.
it depends if the container root disk attachment lands before the next release after this Pr is merged.