Created
February 12, 2016 19:17
-
-
Save jvestrum/7d95ffa8540b5b3319a0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# salt-cloud -l debug -p azure-centos7 vm003 | |
/usr/lib64/python2.6/site-packages/Crypto/Util/randpool.py:40: RandomPool_DeprecationWarning: This application uses RandomPool, which is BROKEN in older releases. See http://www.pycrypto.org/randpool-broken | |
RandomPool_DeprecationWarning) | |
[DEBUG ] Reading configuration from /etc/salt/cloud | |
[DEBUG ] Reading configuration from /etc/salt/master | |
[DEBUG ] Including configuration from '/etc/salt/master.d/fileserver_backend.conf' | |
[DEBUG ] Reading configuration from /etc/salt/master.d/fileserver_backend.conf | |
[DEBUG ] Including configuration from '/etc/salt/master.d/nodegroups.conf' | |
[DEBUG ] Reading configuration from /etc/salt/master.d/nodegroups.conf | |
[DEBUG ] Including configuration from '/etc/salt/master.d/output.conf' | |
[DEBUG ] Reading configuration from /etc/salt/master.d/output.conf | |
[DEBUG ] Including configuration from '/etc/salt/master.d/pillar.conf' | |
[DEBUG ] Reading configuration from /etc/salt/master.d/pillar.conf | |
[DEBUG ] Including configuration from '/etc/salt/master.d/reactor.conf' | |
[DEBUG ] Reading configuration from /etc/salt/master.d/reactor.conf | |
[DEBUG ] Including configuration from '/etc/salt/master.d/tuning.conf' | |
[DEBUG ] Reading configuration from /etc/salt/master.d/tuning.conf | |
[DEBUG ] Using cached minion ID from /etc/salt/minion_id: hpc-beta-mensae.mmm.com | |
[DEBUG ] Missing configuration file: /etc/salt/cloud.providers | |
[DEBUG ] Including configuration from '/etc/salt/cloud.providers.d/azure.conf' | |
[DEBUG ] Reading configuration from /etc/salt/cloud.providers.d/azure.conf | |
[DEBUG ] Missing configuration file: /etc/salt/cloud.profiles | |
[DEBUG ] Including configuration from '/etc/salt/cloud.profiles.d/azure.conf' | |
[DEBUG ] Reading configuration from /etc/salt/cloud.profiles.d/azure.conf | |
[DEBUG ] Configuration file path: /etc/salt/cloud | |
[WARNING ] Insecure logging configuration detected! Sensitive data may be logged. | |
[INFO ] salt-cloud starting | |
[DEBUG ] Could not LazyLoad parallels.avail_sizes | |
[DEBUG ] LazyLoaded parallels.avail_locations | |
[DEBUG ] LazyLoaded proxmox.avail_sizes | |
[DEBUG ] Could not LazyLoad saltify.destroy | |
[DEBUG ] Could not LazyLoad saltify.avail_sizes | |
[DEBUG ] Could not LazyLoad saltify.avail_images | |
[DEBUG ] Could not LazyLoad saltify.avail_locations | |
[DEBUG ] LazyLoaded rackspace.reboot | |
[DEBUG ] LazyLoaded openstack.list_locations | |
[DEBUG ] LazyLoaded rackspace.list_locations | |
[DEBUG ] Could not LazyLoad azure.optimize_providers | |
[DEBUG ] The 'azure' cloud driver is unable to be optimized. | |
[DEBUG ] Could not LazyLoad parallels.avail_sizes | |
[DEBUG ] LazyLoaded parallels.avail_locations | |
[DEBUG ] LazyLoaded proxmox.avail_sizes | |
[DEBUG ] Could not LazyLoad saltify.destroy | |
[DEBUG ] Could not LazyLoad saltify.avail_sizes | |
[DEBUG ] Could not LazyLoad saltify.avail_images | |
[DEBUG ] Could not LazyLoad saltify.avail_locations | |
[DEBUG ] LazyLoaded rackspace.reboot | |
[DEBUG ] LazyLoaded openstack.list_locations | |
[DEBUG ] LazyLoaded rackspace.list_locations | |
[DEBUG ] Failed to execute 'azure.list_nodes()' while querying for running nodes: 'name' | |
Traceback (most recent call last): | |
File "/usr/lib/python2.6/site-packages/salt/cloud/__init__.py", line 2335, in run_parallel_map_providers_query | |
cloud.clouds[data['fun']]() | |
File "/usr/lib64/python2.6/contextlib.py", line 34, in __exit__ | |
self.gen.throw(type, value, traceback) | |
File "/usr/lib/python2.6/site-packages/salt/utils/context.py", line 42, in func_globals_inject | |
yield | |
File "/usr/lib/python2.6/site-packages/salt/cloud/__init__.py", line 2335, in run_parallel_map_providers_query | |
cloud.clouds[data['fun']]() | |
File "/usr/lib/python2.6/site-packages/salt/cloud/clouds/msazure.py", line 226, in list_nodes | |
ret[node][prop] = nodes[node][prop] | |
KeyError: 'name' | |
[DEBUG ] Generating minion keys for 'vm003' | |
[DEBUG ] MasterEvent PUB socket URI: ipc:///var/run/salt/master/master_event_pub.ipc | |
[DEBUG ] MasterEvent PULL socket URI: ipc:///var/run/salt/master/master_event_pull.ipc | |
[DEBUG ] Sending event - data = {'profile': 'azure-centos7', 'event': 'starting create', '_stamp': '2016-02-12T19:15:38.244721', 'name': 'vm003', 'provider': 'azure-trial:azure'} | |
[INFO ] Creating Cloud VM vm003 | |
[DEBUG ] vm_kwargs: {'system_config': <azure.servicemanagement.models.LinuxConfigurationSet object at 0x250c210>, 'deployment_slot': 'production', 'role_size': 'Small', 'deployment_name': 'vm004', 'service_name': 'vm004', 'role_name': 'vm003', 'network_config': <azure.servicemanagement.models.ConfigurationSet object at 0x250c110>, 'os_virtual_hard_disk': <azure.servicemanagement.models.OSVirtualHardDisk object at 0x250c310>, 'label': 'vm003'} | |
[DEBUG ] MasterEvent PUB socket URI: ipc:///var/run/salt/master/master_event_pub.ipc | |
[DEBUG ] MasterEvent PULL socket URI: ipc:///var/run/salt/master/master_event_pull.ipc | |
[DEBUG ] Sending event - data = {'_stamp': '2016-02-12T19:15:38.302752', 'service_kwargs': {'service_name': 'vm004', 'label': 'vm003', 'location': 'Central US', 'description': 'vm003'}, 'event': 'requesting instance', 'vm_kwargs': {'deployment_slot': 'production', 'role_size': 'Small', 'deployment_name': 'vm004', 'service_name': 'vm004', 'label': 'vm003', 'role_name': 'vm003'}} | |
[DEBUG ] vm_kwargs: {'system_config': <azure.servicemanagement.models.LinuxConfigurationSet object at 0x250c210>, 'deployment_slot': 'production', 'role_size': 'Small', 'deployment_name': 'vm004', 'service_name': 'vm004', 'role_name': 'vm003', 'network_config': <azure.servicemanagement.models.ConfigurationSet object at 0x250c110>, 'os_virtual_hard_disk': <azure.servicemanagement.models.OSVirtualHardDisk object at 0x250c310>, 'label': 'vm003'} | |
[DEBUG ] Cloud service already exists | |
[ERROR ] Error creating vm003 on Azure. | |
The Virtual Machine could not be created. If you are using an already existing Cloud Service, make sure you set up the `port` variable corresponding to the SSH port exists and that the port number is not already in use. | |
The following exception was thrown when trying to run the initial deployment: | |
Not Found | |
<Error xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Code>ResourceNotFound</Code><Message>The hosted service does not exist.</Message></Error> | |
Traceback (most recent call last): | |
File "/usr/lib/python2.6/site-packages/salt/cloud/clouds/msazure.py", line 579, in create | |
result = conn.create_virtual_machine_deployment(**vm_kwargs) | |
File "/usr/lib/python2.6/site-packages/azure/servicemanagement/servicemanagementservice.py", line 1377, in create_virtual_machine_deployment | |
async=True) | |
File "/usr/lib/python2.6/site-packages/azure/servicemanagement/servicemanagementclient.py", line 382, in _perform_post | |
response = self.perform_post(path, body, x_ms_version) | |
File "/usr/lib/python2.6/site-packages/azure/servicemanagement/servicemanagementclient.py", line 224, in perform_post | |
response = self._perform_request(request) | |
File "/usr/lib/python2.6/site-packages/azure/servicemanagement/servicemanagementclient.py", line 339, in _perform_request | |
return _management_error_handler(ex) | |
File "/usr/lib/python2.6/site-packages/azure/servicemanagement/servicemanagementclient.py", line 417, in _management_error_handler | |
return _general_error_handler(http_error) | |
File "/usr/lib/python2.6/site-packages/azure/servicemanagement/_common_error.py", line 34, in _general_error_handler | |
raise AzureHttpError(message, http_error.status) | |
AzureMissingResourceHttpError: Not Found | |
<Error xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Code>ResourceNotFound</Code><Message>The hosted service does not exist.</Message></Error> | |
Error: There was a profile error: Failed to deploy VM |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
azure-centos7: | |
provider: azure-trial | |
image: '5112500ae3b842c8b9c604889f8753c3__OpenLogic-CentOS-71-20150731' | |
size: 'Small' | |
location: 'Central US' | |
ssh_username: myname | |
ssh_password: mypass | |
slot: production | |
media_link: 'https://mystgaccount.blob.core.windows.net/vhds' | |
# service_name: vestrum-vm003 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
azure-trial: | |
driver: azure | |
subscription_id: a-bunch-of-digits | |
certificate_path: /etc/salt/azure.pem | |
# Set up the location of the salt master | |
# | |
minion: | |
master: mymaster.mycompany.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment