Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provisions Demo.yaml - Zone Issues #149

Open
Doginal opened this issue Jun 6, 2018 · 0 comments
Open

Provisions Demo.yaml - Zone Issues #149

Doginal opened this issue Jun 6, 2018 · 0 comments

Comments

@Doginal
Copy link
Contributor

Doginal commented Jun 6, 2018

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant