{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/vagrant-azure/issues/108","repository_url":"https://api.github.com/repos/Azure/vagrant-azure","labels_url":"https://api.github.com/repos/Azure/vagrant-azure/issues/108/labels{/name}","comments_url":"https://api.github.com/repos/Azure/vagrant-azure/issues/108/comments","events_url":"https://api.github.com/repos/Azure/vagrant-azure/issues/108/events","html_url":"https://github.com/Azure/vagrant-azure/issues/108","id":118449226,"number":108,"title":"Error while spinning up","user":{"login":"arimus","id":228394,"avatar_url":"https://avatars.githubusercontent.com/u/228394?v=3","gravatar_id":"","url":"https://api.github.com/users/arimus","html_url":"https://github.com/arimus","followers_url":"https://api.github.com/users/arimus/followers","following_url":"https://api.github.com/users/arimus/following{/other_user}","gists_url":"https://api.github.com/users/arimus/gists{/gist_id}","starred_url":"https://api.github.com/users/arimus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arimus/subscriptions","organizations_url":"https://api.github.com/users/arimus/orgs","repos_url":"https://api.github.com/users/arimus/repos","events_url":"https://api.github.com/users/arimus/events{/privacy}","received_events_url":"https://api.github.com/users/arimus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-23T19:07:18Z","updated_at":"2016-05-12T16:00:32Z","closed_at":null,"body":"Having issues with the azure provider creating a resource group and the cloud service, but then bailing before creating the actual VMs or anything else.  The error I'm getting is below. This is output from a subsequent run, where it had already created the cloudservice, but the error is the same.\r\n\r\nIt seems to die on getting the image (5112500ae3b842c8b9c604889f8753c3__OpenLogic-CentOS-71-20150731), which it has to be finding in some capacity, because I get a different error if I tweak the name.\r\n\r\n1. A more useful error message would be great\r\n2. Any ideas what the problem might be?\r\n\r\nThanks in advance.\r\n\r\n```\r\nimage = get_image(params[:image])\r\n```\r\n\r\nFull trace:\r\n\r\n```\r\nMyMac:test user$ vagrant up --provider=azure\r\nUsing provisioner ansible\r\n==> default: Attempting to read state for testvagrant in testvagrant\r\nBringing machine 'default' up with 'azure' provider...\r\n==> default: Attempting to read state for testvagrant in testvagrant\r\n==> default: Determining OS Type By Image\r\n==> default: OS Type is Linux\r\n==> default: Attempting to read state for testvagrant in testvagrant\r\n==> default: {:vm_name=>\"testvagrant\", :vm_user=>\"vagrant\", :image=>\"5112500ae3b842c8b9c604889f8753c3__OpenLogic-CentOS-71-20150731\", :location=>\"West US\"}\r\n==> default: {:cloud_service_name=>\"testvagrant\", :storage_account_name=>\"testvagrantstorag\", :private_key_file=>\"test.key\", :vm_size=>\"Small\"}\r\n==> default: Add Role? - false\r\nCreating deployment...\r\nCloud service testvagrant already exists. Skipped...\r\nUploading certificate to cloud service testvagrant...\r\n#\r\n:\r\nFailed to create virtual machine : :\r\n/Users/user/.vagrant.d/gems/gems/azure-0.7.0/lib/azure/core/utility.rb:122:in `error_with_exit': Failed to create virtual machine : :  (RuntimeError)\r\n\tfrom /Users/user/.vagrant.d/gems/gems/azure-0.7.0/lib/azure/virtual_machine_management/virtual_machine_management_service.rb:137:in `rescue in create_virtual_machine'\r\n\tfrom /Users/user/.vagrant.d/gems/gems/azure-0.7.0/lib/azure/virtual_machine_management/virtual_machine_management_service.rb:96:in `create_virtual_machine'\r\n\tfrom /Users/user/.vagrant.d/gems/gems/vagrant-azure-1.3.0/lib/vagrant-azure/action/vagrant_azure_service.rb:38:in `method_missing'\r\n\tfrom /Users/user/.vagrant.d/gems/gems/vagrant-azure-1.3.0/lib/vagrant-azure/action/run_instance.rb:98:in `block in call'\r\n\tfrom /Users/user/.vagrant.d/gems/gems/vagrant-azure-1.3.0/lib/vagrant-azure/action/run_instance.rb:71:in `synchronize'\r\n\tfrom /Users/user/.vagrant.d/gems/gems/vagrant-azure-1.3.0/lib/vagrant-azure/action/run_instance.rb:71:in `call'\r\n\tfrom /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'\r\n\tfrom /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:95:in `block in finalize_action'\r\n\tfrom /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'\r\n\tfrom /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'\r\n\tfrom /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/builder.rb:116:in `call'\r\n\tfrom /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/runner.rb:66:in `block in run'\r\n\tfrom /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/util/busy.rb:19:in `busy'\r\n\tfrom /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/runner.rb:66:in `run'\r\n\tfrom /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/builtin/call.rb:53:in `call'\r\n\tfrom /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'\r\n\tfrom /Users/user/.vagrant.d/gems/gems/vagrant-azure-1.3.0/lib/vagrant-azure/action/os_type.rb:29:in `call'\r\n\tfrom /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'\r\n\tfrom /Users/user/.vagrant.d/gems/gems/vagrant-azure-1.3.0/lib/vagrant-azure/action/connect_azure.rb:44:in `call'\r\n\tfrom /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'\r\n\tfrom /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/builtin/config_validate.rb:25:in `call'\r\n\tfrom /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'\r\n\tfrom /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/builtin/handle_box.rb:56:in `call'\r\n\tfrom /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'\r\n\tfrom /Users/user/.vagrant.d/gems/gems/vagrant-triggers-0.5.2/lib/vagrant-triggers/action/trigger.rb:17:in `call'\r\n\tfrom /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'\r\n\tfrom /Users/user/.vagrant.d/gems/gems/vagrant-triggers-0.5.2/lib/vagrant-triggers/action/trigger.rb:17:in `call'\r\n\tfrom /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'\r\n\tfrom /Users/user/.vagrant.d/gems/gems/vagrant-triggers-0.5.2/lib/vagrant-triggers/action/trigger.rb:17:in `call'\r\n\tfrom /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/warden.rb:34:in `call'\r\n\tfrom /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/builder.rb:116:in `call'\r\n\tfrom /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/runner.rb:66:in `block in run'\r\n\tfrom /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/util/busy.rb:19:in `busy'\r\n\tfrom /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/action/runner.rb:66:in `run'\r\n\tfrom /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/machine.rb:214:in `action_raw'\r\n\tfrom /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/machine.rb:191:in `block in action'\r\n\tfrom /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/environment.rb:516:in `lock'\r\n\tfrom /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/machine.rb:178:in `call'\r\n\tfrom /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/machine.rb:178:in `action'\r\n\tfrom /opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/batch_action.rb:82:in `block (2 levels) in run'\r\n\tfrom /opt/vagrant/embedded/gems/gems/logging-1.8.2/lib/logging/diagnostic_context.rb:323:in `call'\r\n\tfrom /opt/vagrant/embedded/gems/gems/logging-1.8.2/lib/logging/diagnostic_context.rb:323:in `block in create_with_logging_context'\r\n```"},"comment":{"url":"https://api.github.com/repos/Azure/vagrant-azure/issues/comments/218803440","html_url":"https://github.com/Azure/vagrant-azure/issues/108#issuecomment-218803440","issue_url":"https://api.github.com/repos/Azure/vagrant-azure/issues/108","id":218803440,"user":{"login":"devigned","id":386473,"avatar_url":"https://avatars.githubusercontent.com/u/386473?v=3","gravatar_id":"","url":"https://api.github.com/users/devigned","html_url":"https://github.com/devigned","followers_url":"https://api.github.com/users/devigned/followers","following_url":"https://api.github.com/users/devigned/following{/other_user}","gists_url":"https://api.github.com/users/devigned/gists{/gist_id}","starred_url":"https://api.github.com/users/devigned/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devigned/subscriptions","organizations_url":"https://api.github.com/users/devigned/orgs","repos_url":"https://api.github.com/users/devigned/repos","events_url":"https://api.github.com/users/devigned/events{/privacy}","received_events_url":"https://api.github.com/users/devigned/received_events","type":"User","site_admin":false},"created_at":"2016-05-12T16:00:31Z","updated_at":"2016-05-12T16:00:31Z","body":"For Linux boxes, I think you will find the 2.0 preview release is much easier to use."}}