When installing UCP for the first time to a VM located in the Azure cloud, installation fails with an error during the process referencing step 28 of 35. The installer exits and the installation may be stuck and does not resume.
... INFO Step 28 of 35: [Install Kubernetes Compose Plugin] FATA unable to run install step "Install Kubernetes Compose Plugin": unable to wait for Kubernetes Compose Plugin to be running: context deadline exceeded FATA container ucp-installer exited with 1
A Public instead of Private IP and was used in the UCP
install command. The install process can't reach the node's local ports because it has to traverse an Internet route to the Public IP.
Remove the already installed components that are now stuck, and then re-run the UCP install command with the correct Private IP for the UCP host address
- 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
- Re-run the UCP install command - with the correct
docker container run --rm -it \ --name ucp \ --volume /var/run/docker.sock:/var/run/docker.sock \ docker/ucp:3.2.3 install \ --host-address <ucp-ip> \ --pod-cidr <ip-address-range> \ --cloud-provider Azure \ --interactive