-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
ISSUE TYPE
- Bug Report
COMPONENT NAME
Virtual Router VM / service offering / shared storage
CLOUDSTACK VERSION
4.18
CONFIGURATION
Advanced Zone with NFS primary Storage.
OS / ENVIRONMENT
Ubuntu Focal Fossa
SUMMARY
When overprovisioning factors are > 1, the virtual router vm for a new zone is not able to boot and ends up in a kernel panic while trying to mount the root volume.
By default a local storage service offering is picked for the router.
If an id of a service offering that uses shared storage is specified in the global settings under router.service.offering it is ignored.
Somehow the Volumes attached to the working system and router vms (when overprovisioning == 1) are not accessible via the UI and lead to 404.
Taking a look at the db entry they look like:
id: 26
account_id: 1
domain_id: 1
pool_id: 4
last_pool_id: NULL
instance_id: 21
device_id: 0
name: ROOT-21
uuid: 29537b97-e6d1-484b-9e06-92cd905ead8e
size: 5242880000
folder: NULL
path: 29537b97-e6d1-484b-9e06-92cd905ead8e
pod_id: NULL
data_center_id: 4
iscsi_name: NULL
host_ip: NULL
volume_type: ROOT
pool_type: NULL
disk_offering_id: 12
template_id: 3
first_snapshot_backup_uuid: NULL
recreatable: 1
created: 2023-04-10 11:51:38
attached: NULL
updated: 2023-04-10 11:51:40
removed: NULL
state: Ready
chain_info: NULL
update_count: 2
disk_type: NULL
vm_snapshot_chain_size: NULL
iso_id: NULL
display_volume: 1
format: QCOW2
min_iops: NULL
max_iops: NULL
hv_ss_reserve: NULL
provisioning_type: thin
external_uuid: NULL
passphrase_id: NULL
encrypt_format: NULL
The disk offering for the volume is type "shared".
In addition there is a second primary storage that was setup by accident, always comes up again (after disabling), but has no visible resources attached to it.
STEPS TO REPRODUCE
Set overprovisioning to > 1 and create a new VPC.
EXPECTED RESULTS
The virtual router vm should use the shared storage offering and boot.
ACTUAL RESULTS
It ends up ina kernel panic mounting the root volume.