0 0 Share PDF

UCP install fails on Azure at step 17

Article ID: KB001056


When attempting to install UCP for the first time to a VM in the Azure cloud - it fails during with an error during the process referencing step 17 of 35 The installer exits and the installation is stuck - it cannot be resumed

INFO[0063] Step 17 of 35: [Deploy Kubernetes API Server]
FATA[0063] unable to run install step "Deploy Kubernetes API Server": unable to reconcile state of Kubernetes API Server component: unable to reconcile container state: unable to create container ucp-kube-apiserver: Error response from daemon: invalid mount config for type "bind": bind source path does not exist: /etc/kubernetes/azure.json
FATA[0293] container ucp-installer exited with 1

Root Cause

The /etc/kubernetes/azure.json file is missing


To recover and proceed with the installation, you'll need to remove the existing stuck install and then create the azure.json file.

  1. Manually remove the stuck UCP install :
docker swarm leave --force
docker rm $(docker ps -a -q)
docker system prune -a
docker secret rm ucp-auth-key
  1. Create the /etc/kubernetes folder and place the azure.json file in it
  • Example and details here: https://docs.docker.com/ee/ucp/admin/install/cloudproviders/install-on-azure/#azure-configuration-file
  1. Resume the Installation


UCP on Azure documentation: https://docs.docker.com/ee/ucp/admin/install/cloudproviders/install-on-azure/

Uninstall UCP: https://docs.docker.com/v17.09/datacenter/ucp/2.2/guides/admin/install/uninstall/