Skip to content
This repository was archived by the owner on Jun 11, 2026. It is now read-only.
This repository was archived by the owner on Jun 11, 2026. It is now read-only.

Problem in gen_configs() in deploy.py #168

Open

Description

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

Activity

  1. sanjeevm0 commented on Feb 27, 2018

    @sanjeevm0
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions