MaaS: DHCP iprange fix: use dynamic, not reserved 33/39633/1
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Fri, 18 Aug 2017 21:09:06 +0000 (23:09 +0200)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Fri, 18 Aug 2017 21:09:06 +0000 (23:09 +0200)
Without the 'type' parameter set to 'dynamic', MaaS was configured
to reserve the IP range instead of allocating it dynamically.

This led to IP exhaustion warnings in MaaS dashboard, as well as
wrongful IP allocation.

Change-Id: I1f2b90bf4cd2393cfab6d4bc17771cef009701c0
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/infra/maas.yml

index a7a502f..b2813f9 100644 (file)
@@ -40,6 +40,7 @@ parameters:
           iprange:
             start: 192.168.11.5
             end: 192.168.11.250
+            type: dynamic
       machines:
         kvm01:
           interface: