Skip to content

Xenserver/XCP-NG Create Instance - Override Root Disk Size #5918

@tsinik-dw

Description

@tsinik-dw
ISSUE TYPE
  • Bug Report
COMPONENT NAME
API, UI
CLOUDSTACK VERSION
4.16.0
CONFIGURATION
OS / ENVIRONMENT

ACS 4.16.0
1 Zone
Cluster A: Two Xenserver 7.0 hosts
Cluster B: Two XCP-NG 8.2 hosts

Each Cluster has each own NFS primary storage

SUMMARY

Override Root Disk Size during Creation of New Instance (based on template) does not work. (same result on Xenserver/XCP-NG)

STEPS TO REPRODUCE
1. Create VM based on ISO with ROOT disk size 20GB
2. Create template from volume 
3. Create new instance based on aforementioned template
4. Override ROOT disk size and set size of 30GB
EXPECTED RESULTS
New instance VM should have Root Disk Size of 30GB
ACTUAL RESULTS
ACS reports that volume is of 30GB size. (DB record in volumes table is 32212254720) but lsblk output is (like) the following:
NAME      SIZE
...
xvda         30G
   xvda1      1G
   xvda2     19G
...

As a workaround we change the DB entry with correct size and then perform a resize.

(Maybe) Related: apache/cloudstack-primate#499

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions