When trying to provision demo.yaml, the zone is not set correctly.
It is defaulting to None and is not set before madcore tries to run kops create cluster the result is zone is always None --zones None
Line 121 in madcore.py is not run before KOPS command, meaning the zone is never set.
It seems to work as expected if sett.set_zone() is within if args.provision: I added to my madcore.py file as line 97 and provisions starts to work again.
From:
if args.provision:
sett.set_clusterfile()
sett.save_settings_file()
sett.load_clusterfile()
prov = provision.Provision(sett)
prov.start()
return
To:
if args.provision:
sett.set_clusterfile()
sett.save_settings_file()
sett.load_clusterfile()
sett.set_zone()
prov = provision.Provision(sett)
prov.start()
return
When trying to provision demo.yaml, the zone is not set correctly.
It is defaulting to None and is not set before madcore tries to run
kops create clusterthe result is zone is always None--zones NoneLine 121 in madcore.py is not run before KOPS command, meaning the zone is never set.
It seems to work as expected if
sett.set_zone()is withinif args.provision:I added to my madcore.py file as line 97 and provisions starts to work again.From:
To: