{"action":"created","issue":{"url":"https://api.github.com/repos/profitbricks/docker-machine-driver-profitbricks/issues/12","repository_url":"https://api.github.com/repos/profitbricks/docker-machine-driver-profitbricks","labels_url":"https://api.github.com/repos/profitbricks/docker-machine-driver-profitbricks/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/profitbricks/docker-machine-driver-profitbricks/issues/12/comments","events_url":"https://api.github.com/repos/profitbricks/docker-machine-driver-profitbricks/issues/12/events","html_url":"https://github.com/profitbricks/docker-machine-driver-profitbricks/issues/12","id":164031442,"number":12,"title":"Can't find image when creating DC","user":{"login":"zimoony","id":5462143,"avatar_url":"https://avatars.githubusercontent.com/u/5462143?v=3","gravatar_id":"","url":"https://api.github.com/users/zimoony","html_url":"https://github.com/zimoony","followers_url":"https://api.github.com/users/zimoony/followers","following_url":"https://api.github.com/users/zimoony/following{/other_user}","gists_url":"https://api.github.com/users/zimoony/gists{/gist_id}","starred_url":"https://api.github.com/users/zimoony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zimoony/subscriptions","organizations_url":"https://api.github.com/users/zimoony/orgs","repos_url":"https://api.github.com/users/zimoony/repos","events_url":"https://api.github.com/users/zimoony/events{/privacy}","received_events_url":"https://api.github.com/users/zimoony/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-06T09:09:48Z","updated_at":"2016-07-06T16:39:10Z","closed_at":"2016-07-06T16:39:10Z","body":"I try to execute the following command:\r\ndocker-machine create --driver profitbricks --profitbricks-cores \"2\" --profitbricks-disk-size \"5\" --profitbricks-location \"de/fra\" --profitbricks-username \"<username>\" --profitbricks-password \"<pass>\" <test-dev-server>\r\n\r\nThe error coming back is:\r\nRunning pre-create checks…\r\nError with pre-create check: \"The image Ubuntu-16.04 de/fra does not exist.“\r\n\r\nI also tried adding --profitbricks-disk-type \"HDD\" and --profitbricks-image \"Ubuntu-16.04-LTS-server-2016-07-01\" using the image name from the API (https://api.profitbricks.com/rest/v2/images/217f013b-3f4a-11e6-91c6-52540005ab80). It should be available in location \"de/fra\". It worked 1 week ago.\r\n\r\nThe error coming back is:\r\nRunning pre-create checks…\r\nError with pre-create check: \"The image Ubuntu-16.04-LTS-server-2016-07-01 de/fra does not exist.“"},"comment":{"url":"https://api.github.com/repos/profitbricks/docker-machine-driver-profitbricks/issues/comments/230831083","html_url":"https://github.com/profitbricks/docker-machine-driver-profitbricks/issues/12#issuecomment-230831083","issue_url":"https://api.github.com/repos/profitbricks/docker-machine-driver-profitbricks/issues/12","id":230831083,"user":{"login":"jasminSPC","id":8327751,"avatar_url":"https://avatars.githubusercontent.com/u/8327751?v=3","gravatar_id":"","url":"https://api.github.com/users/jasminSPC","html_url":"https://github.com/jasminSPC","followers_url":"https://api.github.com/users/jasminSPC/followers","following_url":"https://api.github.com/users/jasminSPC/following{/other_user}","gists_url":"https://api.github.com/users/jasminSPC/gists{/gist_id}","starred_url":"https://api.github.com/users/jasminSPC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasminSPC/subscriptions","organizations_url":"https://api.github.com/users/jasminSPC/orgs","repos_url":"https://api.github.com/users/jasminSPC/repos","events_url":"https://api.github.com/users/jasminSPC/events{/privacy}","received_events_url":"https://api.github.com/users/jasminSPC/received_events","type":"User","site_admin":false},"created_at":"2016-07-06T16:39:10Z","updated_at":"2016-07-06T16:39:10Z","body":"I just ran the following without any issues: \r\n```\r\n$ docker-machine create -d profitbricks --profitbricks-disk-type \"HDD\" and --profitbricks-image \"Ubuntu-16.04-LTS-server-2016-07-01\" test\r\nInvalid command line. Found extra arguments [--profitbricks-image Ubuntu-16.04-LTS-server-2016-07-01 test]\r\nJasmins-MacBook-Pro:~ jasmin$ docker-machine create -d profitbricks  --profitbricks-image Ubuntu-16.04-LTS-server-2016-07-01 test\r\nRunning pre-create checks...\r\nCreating machine...\r\n(test) Datacenter Created\r\n(test) Server Created\r\n(test) Volume Created\r\n(test) Attached a volume to a server.\r\n(test) LAN Created\r\n(test) IP Block Reserved\r\n(test) NIC created\r\n(test) Updated server's boot image\r\nWaiting for machine to be running, this may take a few minutes...\r\nDetecting operating system of created instance...\r\nWaiting for SSH to be available...\r\nDetecting the provisioner...\r\nProvisioning with ubuntu(systemd)...\r\nInstalling Docker...\r\nCopying certs to the local machine directory...\r\nCopying certs to the remote machine...\r\nSetting Docker configuration on the remote daemon...\r\nChecking connection to Docker...\r\nDocker is up and running!\r\nTo see how to connect your Docker Client to the Docker Engine running on this virtual machine, run: docker-machine env test\r\n$ docker-machine ls\r\nNAME      ACTIVE   DRIVER         STATE     URL                          SWARM   DOCKER    ERRORS\r\ndefault   -        virtualbox     Stopped                                        Unknown   \r\ntest      -        profitbricks   Running   tcp://158.222.103.155:2376           v1.11.2 \r\n```\r\nThis is what I see in DCD:\r\n![image](https://cloud.githubusercontent.com/assets/8327751/16626294/8b6a3c5e-43a8-11e6-8bb7-e0b5f86a2822.png)\r\n\r\nI also ran this:\r\n\r\n```\r\n$ docker-machine create --driver profitbricks --profitbricks-cores 2 --profitbricks-disk-size 5 --profitbricks-location de/fra --profitbricks-image Ubuntu-16.04-LTS-server-2016-07-01  tst\r\nRunning pre-create checks...\r\nCreating machine...\r\n(tst) Datacenter Created\r\n(tst) Server Created\r\n(tst) Volume Created\r\n(tst) Attached a volume to a server.\r\n(tst) LAN Created\r\n(tst) IP Block Reserved\r\n(tst) NIC created\r\n(tst) Updated server's boot image\r\nWaiting for machine to be running, this may take a few minutes...\r\nDetecting operating system of created instance...\r\nWaiting for SSH to be available...\r\nDetecting the provisioner...\r\nProvisioning with ubuntu(systemd)...\r\nInstalling Docker...\r\nCopying certs to the local machine directory...\r\nCopying certs to the remote machine...\r\nSetting Docker configuration on the remote daemon...\r\nChecking connection to Docker...\r\nDocker is up and running!\r\nTo see how to connect your Docker Client to the Docker Engine running on this virtual machine, run: docker-machine env tst\r\n$ docker-machine ls\r\nNAME      ACTIVE   DRIVER         STATE     URL                         SWARM   DOCKER    ERRORS\r\ndefault   -        virtualbox     Stopped                                       Unknown   \r\ntst       -        profitbricks   Running   tcp://157.97.111.135:2376           v1.11.2   \r\n```\r\n![image](https://cloud.githubusercontent.com/assets/8327751/16626353/c37e4ac2-43a8-11e6-8a23-b50a526b0d51.png)\r\n\r\nWe will keep an eye on this just to make sure this doesn't repeat."}}
{"actor":{"display_login":"jasminSPC"}}