Skip to content
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

lxc storage volume edit should fail when editing snapshots #14423

Open
MggMuggins opened this issue Nov 8, 2024 · 0 comments
Open

lxc storage volume edit should fail when editing snapshots #14423

MggMuggins opened this issue Nov 8, 2024 · 0 comments
Assignees

Comments

@MggMuggins
Copy link
Contributor

I suspect that snapshot volumes cannot have their configuration changed (although I haven't confirmed it). The following command should probably fail and print an error.

Steps to reproduce

storage volume edit opens the editor, and returns 0 regardless of the changes made in the yaml:

$ lxc storage volume edit default virtual-machine/vm1/snap0
$ echo $?
0

None of the changes made during the edit are persisted (lxc storage volume show virtual-machine/vm1/snap0).

@MggMuggins MggMuggins self-assigned this Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant