Skip to content

system.vm.public.ip.reservation.mode.strictness not honored during initial Cluster creation #4263

@rvalle

Description

@rvalle
ISSUE TYPE
  • Bug Report
COMPONENT NAME
management
CLOUDSTACK VERSION
4.14
CONFIGURATION

ACS 4.14, Ubuntu 18, KVM, Advanced Networking, Local Primary Storage.

OS / ENVIRONMENT
SUMMARY

I did configure ip reservation strictness set to true, but forgot to create an IP range for system vms.
I create a new cluster, and it starts, System VMs are generated with Public IPs despite the setting.
When I attempt to restart the System VMs later on, I get Insufficient capacity exception.

STEPS TO REPRODUCE
configure system.vm.public.ip.reservation.mode.strictness =true
create a zone,
create networks
create traffic types
ip ranges (do not create any range for system IPs)
create pod, cluster
enable zone
enable networks
add hosts,

I am using this ansible playbook: https://pastebin.com/z40KKhEt

EXPECTED RESULTS
cluster creation should fail, or SVMs should report insuficient capacity
ACTUAL RESULTS
cluster was created and SVMs assigned public IPs despite setting
when attempting to recreate the SVMs, insuficient capacity is reported. 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions