Closed sureshanaparti closed 2 years ago
@sureshanaparti As I remember, the volume is Allocated state when vm is reinstalled. When vm is started, the volume will be allocated to pool and switch to Ready state
@sureshanaparti the root volume being in Allocated state when a stopped VM is reinstalled is probably the right behaviour and I have verified the same in older versions of ACS - behviour is consistent. It gets to Ready state on start of the VM. Also, a running VM when reinstalled has its root volume correctly marked as Ready.
The Root Volume is Created and Ready after VM started and VM is booting, seems to be the expected behavior. Thanks @weizhouapache @Pearl1594. Closing this ticket.
Root volume is Allocated state after Reinstall/Restore VM, in Stopped state (Checked with VM deployed in shared and local storage pools).
ISSUE TYPE
COMPONENT NAME
CLOUDSTACK VERSION
OS / ENVIRONMENT
MS: CentOS 7 + Hypervisor: KVM + Storage: NFS, Local
SUMMARY
Reinstall/Restore operation of a Stopped VM (deployed in shared and local storage pool) succeeded, but the ROOT volume is in Allocated state.
Logs =>
VM in Local Pool: DB =>
VM in Shared Pool:
STEPS TO REPRODUCE
EXPECTED RESULTS
Reinstall VM should succeed with all volumes in Ready state. If fails, should throw relevant error.
ACTUAL RESULTS
Reinstall VM succeeds with Root volume in Allocated state.