MaaS: Disable network discovery 47/39647/1
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Fri, 18 Aug 2017 23:18:02 +0000 (01:18 +0200)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Fri, 18 Aug 2017 23:18:02 +0000 (01:18 +0200)
In case nodes are already powered on and have an IP in the same
range as the new MaaS DHCP one (e.g. from a previous deploy),
MaaS API will reject the subnet creation due to overlapping
addresses. Try to work around this by disabling network discovery.

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

index b2813f9..cebcb90 100644 (file)
@@ -29,7 +29,7 @@ parameters:
         disk_erase_with_secure_erase: false
         dnssec_validation: 'no'
         enable_third_party_drivers: true
-        network_discovery: 'enabled'
+        network_discovery: 'disabled'
         default_min_hwe_kernel: 'hwe-16.04'
       subnets:
 # TODO: parametrize address root (192.168.11), fabric-2, dhcp start/end?