Skip to content
This repository has been archived by the owner on Sep 26, 2021. It is now read-only.

Failure creating machine on Azure #4236

Open
carcer opened this issue Aug 29, 2017 · 1 comment
Open

Failure creating machine on Azure #4236

carcer opened this issue Aug 29, 2017 · 1 comment

Comments

@carcer
Copy link

carcer commented Aug 29, 2017

I am currently having an issue creating machines on Azure, this has been the case for a few months, but it is now becoming a problem. Issuing the create command with the following ENV, however, it fails all the time, regardless of what the settings are.

export AZURE_RESOURCE_GROUP=hailto
export AZURE_IMAGE=canonical:UbuntuServer:16.04.0-LTS:16.04.201608150
export AZURE_LOCATION=westus
export AZURE_VNET=hailto-development
export AZURE_AVAILABILITY_SET=hailto-development

Fails with the following:

Running pre-create checks...
(hailto-development) Completed machine pre-create checks.
Creating machine...
(hailto-development) Querying existing resource group. name="hailto2"
(hailto-development) Creating resource group. name="hailto2" location="westus"
(hailto-development) Configuring availability set. name="hailto-development"
(hailto-development) Configuring network security group. name="hailto-development-firewall" location="westus"
(hailto-development) Querying if virtual network already exists. name="hailto-development" rg="hailto2" location="westus"
(hailto-development) Creating virtual network. name="hailto-development" rg="hailto2" location="westus"
(hailto-development) Configuring subnet. cidr="192.168.0.0/16" name="docker-machine" vnet="hailto-development"
(hailto-development) Creating public IP address. name="hailto-development-ip" static=false
(hailto-development) Creating network interface. name="hailto-development-nic"
(hailto-development) Creating storage account. name="vhdsz2hboz92zw6katb1o1v8" location="westus" sku=Standard_LRS
(hailto-development) Creating virtual machine. username="docker-user" osImage="canonical:UbuntuServer:16.04.0-LTS:16.04.201608150" name="hailto-development" location="westus" size="Standard_A2"
Waiting for machine to be running, this may take a few minutes...
Detecting operating system of created instance...
Waiting for SSH to be available...
Detecting the provisioner...
Provisioning with ubuntu(systemd)...
Installing Docker...
Copying certs to the local machine directory...
Copying certs to the remote machine...
Setting Docker configuration on the remote daemon...
Error creating machine: Error running provisioning: ssh command error:
command : sudo systemctl -f start docker
err : exit status 1
output : Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.

This is the output of systemctl status docker.service:

docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/docker.service.d
└─10-machine.conf
Active: inactive (dead) (Result: exit-code) since Tue 2017-08-29 13:42:59 UTC; 7min ago
Docs: https://docs.docker.com
Process: 7804 ExecStart=/usr/bin/docker daemon -H tcp://0.0.0.0:2376 -H unix:///var/run/docker.sock --storage-driver aufs --tlsverify --tlscac
Main PID: 7804 (code=exited, status=1/FAILURE)

Aug 29 13:42:59 hailto-development systemd[1]: docker.service: Unit entered failed state.
Aug 29 13:42:59 hailto-development systemd[1]: docker.service: Failed with result 'exit-code'.
Aug 29 13:42:59 hailto-development systemd[1]: docker.service: Service hold-off time over, scheduling restart.
Aug 29 13:42:59 hailto-development systemd[1]: Stopped Docker Application Container Engine.
Aug 29 13:42:59 hailto-development systemd[1]: docker.service: Start request repeated too quickly.
Aug 29 13:42:59 hailto-development systemd[1]: Failed to start Docker Application Container Engine.

@carcer carcer changed the title Failure creating VM on Azure Failure creating machine on Azure Aug 29, 2017
@kassanmoor
Copy link

I guess is related with Machine create fails with latest Docker #4156

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants