Skip to content

ImportVm in Basic zone fails #11799

@rajujith

Description

@rajujith

problem

While importing QCOW2 image from shared Storage for KVM in a basic zone, CloudStack is unable to allocate a free IP in the guest network resulting in the import failure. This is due to the incorrect calculation of free IP address during import.

versions

ACS 4.21

The steps to reproduce the bug

1.Deploy a basic zone with guest network having a small guest IP range compared to the guest CIDR
2.Import QCOW2 image from shared storage
3.Import operation typically fails since the IP calculated for the NIC is based on CIDR not based on the guest IP range
...

What to do about it?

IP allocation method needs to be fixed to allow importing VM.

Image

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions