Skip to content

can't start vm when reattaching root volume #6492

@bugoff

Description

@bugoff
ISSUE TYPE
  • Bug Report
COMPONENT NAME
API
CLOUDSTACK VERSION
4.17.0.0
CONFIGURATION
OS / ENVIRONMENT
SUMMARY

when you migrate a root disk to a new vm which already has a root disk, it is migrated as a datadisk, when you migrate the disk back to the original vm, you are not able to start the instance because there is no root disk found.

STEPS TO REPRODUCE
create a new vm, detach the root volume and attach it to another vm.
Reattach the volume to the original vm and try to start it.
EXPECTED RESULTS
the vm should start or i should be able to to change the volume_type
ACTUAL RESULTS
error:
Unable to prepare volumes for vm as ROOT volume is missing

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions