Skip to content

UI - Unable to create VM from ISO with custom disk offering #6447

@zap51

Description

@zap51
ISSUE TYPE
  • Bug Report
COMPONENT NAME
UI
CLOUDSTACK VERSION
4.17.0.0
CONFIGURATION
KVM, Advanced zone with no security groups
Primary Storage - RBD
Secondary Storage - NFS
OS / ENVIRONMENT
Management - Ubuntu Server 20.04; Hypervisor nodes - Ubuntu Server 20.04 LTS
Hypervisor - KVM
SUMMARY

UI throws the below error when trying to create a VM from the ISO, and only when selecting the "Custom" disk offering.

image

STEPS TO REPRODUCE
  1. Download any ISO into the secondary storage.

image

  1. Create a Virtual Machine from the ISO and choose disk offering with "Custom Disk Size".

image

image

  1. Select any other details like Networks, SSH Key pairs etc., and click "Launch Instance".

image

  1. The error appears in the notification section.

image

The Disk Offering specifications is the below.

image

EXPECTED RESULTS
The Virtual Machine to get created with user-specified disk size.
ACTUAL RESULTS

Threw

VM Creation failed. Volume size: -1GB is out of allowed range. Max: 1024 Min:1

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions