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

vm with custom storage block volume fails to start with: Cannot add un-shared custom storage block volume #530

Closed
hi-ko opened this issue Feb 24, 2024 · 2 comments · Fixed by #529

Comments

@hi-ko
Copy link

hi-ko commented Feb 24, 2024

  • Distribution: Ubuntu
  • Distribution version: 22.04
  • Incus version: 0.6
  • Storage backend in use: zfs

existing vm having a second disk attached fails to start after update to incus version 0.6 with:

Error: Failed start validation for device "c1-swap": Cannot add un-shared custom storage block volume to more than one instance

Steps to reproduce

  1. create and stop vm
  2. create custom storage volume
  3. attach custom storage volume to the created vm
  4. start vm --> fails with above error message
incus storage volume show ssd1 c1-swap
config:
  security.shared: "true"
  size: 8GB
description: ""
name: c1-swap
type: custom
used_by:
- /1.0/instances/c1
location: none
content_type: block
project: default
@stgraber
Copy link
Member

Yeah, already have a fix going through testing.

#529

@hi-ko
Copy link
Author

hi-ko commented Feb 24, 2024

At least you have a working CI with tests 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

2 participants