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

Problem in gen_configs() in deploy.py #168

Open
lmiroslaw opened this issue Feb 27, 2018 · 1 comment
Open

Problem in gen_configs() in deploy.py #168

lmiroslaw opened this issue Feb 27, 2018 · 1 comment

Comments

@lmiroslaw
Copy link

when calling ./deploy.py acs postdeploy I get

File "./deploy.py", line 826, in gen_configs
config["api_servers"] = "https://"+config["kubernetes_master_node"][0]+":"+str(config["k8sAPIport"])

The reason is the empty config["kubernetes_master_node"][0]. I could perhaps fill in missing values but need more info on the structure of the config. What exactly is stored in
config["kubernetes_master_node"] = Nodes (line 646)?

This way I could try to fix the connection problem:

Checking configurations 'kubernetes_master_node' = '[]'
Checking configurations 'kubernetes_master_ssh_user' = 'dlwsadmin'
Checking configurations 'api_servers' = 'https://clusterdl-clusterdlresgrp-3d8900mgmt.westeurope.cloudapp.azure.com:1443'
Checking configurations 'etcd_user' = 'dlwsadmin'
Checking configurations 'etcd_node' = '[]'
Checking configurations 'etcd_endpoints' = ''
Checking configurations 'ssh_cert' = './deploy/sshkey/id_rsa'
Checking configurations 'pod_ip_range' = '10.2.0.0/16'
Checking configurations 'kubernetes_docker_image' = 'mlcloudreg.westus.cloudapp.azure.com:5000/dlworkspace/hyperkube:v1.7.5'
Checking configurations 'service_cluster_ip_range' = '10.3.0.0/16'
./
./macvlan
./dhcp
./loopback
./ptp
./ipvlan
./bridge
./tuning
./noop
./host-local
./cnitool
./flannel
lost connection
lost connection
lost connection
lost connection

@sanjeevm0
Copy link
Contributor

I am able to repro the issue and will fix this soon.

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

2 participants