Created
July 21, 2017 20:06
-
-
Save WN1188/738b31b73688dafa9ba76537c2bc0b42 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
$ sudo salt-cloud -p my-gce-profile gce-instance -l trace | |
[DEBUG ] Reading configuration from /etc/salt/cloud | |
[DEBUG ] Reading configuration from /etc/salt/master | |
[DEBUG ] Using cached minion ID from /etc/salt/minion_id: salt.naveja.net | |
[DEBUG ] Missing configuration file: /etc/salt/cloud.providers | |
[DEBUG ] Including configuration from '/etc/salt/cloud.providers.d/do.conf' | |
[DEBUG ] Reading configuration from /etc/salt/cloud.providers.d/do.conf | |
[DEBUG ] Including configuration from '/etc/salt/cloud.providers.d/gce.conf' | |
[DEBUG ] Reading configuration from /etc/salt/cloud.providers.d/gce.conf | |
[DEBUG ] Missing configuration file: /etc/salt/cloud.profiles | |
[DEBUG ] Including configuration from '/etc/salt/cloud.profiles.d/dev-profiles.conf' | |
[DEBUG ] Reading configuration from /etc/salt/cloud.profiles.d/dev-profiles.conf | |
[DEBUG ] Including configuration from '/etc/salt/cloud.profiles.d/gce.conf' | |
[DEBUG ] Reading configuration from /etc/salt/cloud.profiles.d/gce.conf | |
[DEBUG ] Including configuration from '/etc/salt/cloud.profiles.d/prod-profiles.conf' | |
[DEBUG ] Reading configuration from /etc/salt/cloud.profiles.d/prod-profiles.conf | |
[DEBUG ] Including configuration from '/etc/salt/cloud.profiles.d/stage-profiles.conf' | |
[DEBUG ] Reading configuration from /etc/salt/cloud.profiles.d/stage-profiles.conf | |
[TRACE ] None of the required configuration sections, 'logstash_udp_handler' and 'logstash_zmq_handler', were found in the configuration. Not loading the Logstash logging handlers module. | |
[TRACE ] The required configuration section, 'fluent_handler', was not found the in the configuration. Not loading the fluent logging handlers module. | |
[DEBUG ] Configuration file path: /etc/salt/cloud | |
[TRACE ] Trying pysss.getgrouplist for 'root' | |
[TRACE ] Trying generic group list for 'root' | |
[TRACE ] Group list for user 'root': '[]' | |
[WARNING ] Insecure logging configuration detected! Sensitive data may be logged. | |
[INFO ] salt-cloud starting | |
[TRACE ] 'parallels.avail_sizes' has been marked as not supported. Removing from the list of supported cloud functions | |
[TRACE ] Error loading clouds.virtualbox: The virtualbox driver cannot be loaded: 'vboxapi' is not installed. | |
[DEBUG ] Could not LazyLoad parallels.avail_sizes: 'parallels' __virtual__ returned False | |
[TRACE ] 'parallels.avail_locations' has been marked as not supported. Removing from the list of supported cloud functions | |
[DEBUG ] LazyLoaded parallels.avail_locations | |
[TRACE ] 'proxmox.avail_sizes' has been marked as not supported. Removing from the list of supported cloud functions | |
[DEBUG ] LazyLoaded proxmox.avail_sizes | |
[TRACE ] 'saltify.destroy' has been marked as not supported. Removing from the list of supported cloud functions | |
[DEBUG ] Could not LazyLoad saltify.destroy: 'saltify.destroy' is not available. | |
[TRACE ] 'saltify.avail_sizes' has been marked as not supported. Removing from the list of supported cloud functions | |
[DEBUG ] Could not LazyLoad saltify.avail_sizes: 'saltify.avail_sizes' is not available. | |
[TRACE ] 'saltify.avail_images' has been marked as not supported. Removing from the list of supported cloud functions | |
[DEBUG ] Could not LazyLoad saltify.avail_images: 'saltify.avail_images' is not available. | |
[TRACE ] 'saltify.avail_locations' has been marked as not supported. Removing from the list of supported cloud functions | |
[DEBUG ] Could not LazyLoad saltify.avail_locations: 'saltify.avail_locations' is not available. | |
[TRACE ] 'rackspace.reboot' has been marked as not supported. Removing from the list of supported cloud functions | |
[DEBUG ] Could not LazyLoad rackspace.reboot: 'rackspace.reboot' is not available. | |
[TRACE ] 'openstack.list_locations' has been marked as not supported. Removing from the list of supported cloud functions | |
[DEBUG ] LazyLoaded openstack.list_locations | |
[TRACE ] 'rackspace.list_locations' has been marked as not supported. Removing from the list of supported cloud functions | |
[DEBUG ] Could not LazyLoad rackspace.list_locations: 'rackspace.list_locations' is not available. | |
[DEBUG ] Could not LazyLoad gce.optimize_providers: 'gce.optimize_providers' is not available. | |
[DEBUG ] The 'gce' cloud driver is unable to be optimized. | |
[DEBUG ] Could not LazyLoad digital_ocean.optimize_providers: 'digital_ocean.optimize_providers' is not available. | |
[DEBUG ] The 'digital_ocean' cloud driver is unable to be optimized. | |
[TRACE ] 'parallels.avail_sizes' has been marked as not supported. Removing from the list of supported cloud functions | |
[TRACE ] 'parallels.avail_sizes' has been marked as not supported. Removing from the list of supported cloud functions | |
[TRACE ] Error loading clouds.virtualbox: The virtualbox driver cannot be loaded: 'vboxapi' is not installed. | |
[DEBUG ] Could not LazyLoad parallels.avail_sizes: 'parallels' __virtual__ returned False | |
[TRACE ] 'parallels.avail_locations' has been marked as not supported. Removing from the list of supported cloud functions | |
[DEBUG ] LazyLoaded parallels.avail_locations | |
[TRACE ] 'proxmox.avail_sizes' has been marked as not supported. Removing from the list of supported cloud functions | |
[TRACE ] Error loading clouds.virtualbox: The virtualbox driver cannot be loaded: 'vboxapi' is not installed. | |
[DEBUG ] LazyLoaded proxmox.avail_sizes | |
[TRACE ] 'saltify.destroy' has been marked as not supported. Removing from the list of supported cloud functions | |
[DEBUG ] Could not LazyLoad saltify.destroy: 'saltify.destroy' is not available. | |
[TRACE ] 'saltify.avail_sizes' has been marked as not supported. Removing from the list of supported cloud functions | |
[DEBUG ] Could not LazyLoad saltify.avail_sizes: 'saltify.avail_sizes' is not available. | |
[TRACE ] 'saltify.avail_images' has been marked as not supported. Removing from the list of supported cloud functions | |
[DEBUG ] Could not LazyLoad parallels.avail_sizes: 'parallels' __virtual__ returned False | |
[TRACE ] 'parallels.avail_locations' has been marked as not supported. Removing from the list of supported cloud functions | |
[DEBUG ] LazyLoaded parallels.avail_locations | |
[TRACE ] 'proxmox.avail_sizes' has been marked as not supported. Removing from the list of supported cloud functions | |
[DEBUG ] LazyLoaded proxmox.avail_sizes | |
[TRACE ] 'saltify.destroy' has been marked as not supported. Removing from the list of supported cloud functions | |
[DEBUG ] Could not LazyLoad saltify.avail_images: 'saltify.avail_images' is not available. | |
[TRACE ] 'saltify.avail_locations' has been marked as not supported. Removing from the list of supported cloud functions | |
[DEBUG ] Could not LazyLoad saltify.avail_locations: 'saltify.avail_locations' is not available. | |
[DEBUG ] Could not LazyLoad saltify.destroy: 'saltify.destroy' is not available. | |
[TRACE ] 'saltify.avail_sizes' has been marked as not supported. Removing from the list of supported cloud functions | |
[DEBUG ] Could not LazyLoad saltify.avail_sizes: 'saltify.avail_sizes' is not available. | |
[TRACE ] 'rackspace.reboot' has been marked as not supported. Removing from the list of supported cloud functions | |
[DEBUG ] Could not LazyLoad rackspace.reboot: 'rackspace.reboot' is not available. | |
[TRACE ] 'saltify.avail_images' has been marked as not supported. Removing from the list of supported cloud functions | |
[DEBUG ] Could not LazyLoad saltify.avail_images: 'saltify.avail_images' is not available. | |
[TRACE ] 'openstack.list_locations' has been marked as not supported. Removing from the list of supported cloud functions | |
[DEBUG ] LazyLoaded openstack.list_locations | |
[TRACE ] 'rackspace.list_locations' has been marked as not supported. Removing from the list of supported cloud functions | |
[DEBUG ] Could not LazyLoad rackspace.list_locations: 'rackspace.list_locations' is not available. | |
[TRACE ] 'saltify.avail_locations' has been marked as not supported. Removing from the list of supported cloud functions | |
[DEBUG ] Could not LazyLoad saltify.avail_locations: 'saltify.avail_locations' is not available. | |
[TRACE ] 'rackspace.reboot' has been marked as not supported. Removing from the list of supported cloud functions | |
[DEBUG ] Could not LazyLoad rackspace.reboot: 'rackspace.reboot' is not available. | |
[TRACE ] 'openstack.list_locations' has been marked as not supported. Removing from the list of supported cloud functions | |
[DEBUG ] LazyLoaded openstack.list_locations | |
[TRACE ] 'rackspace.list_locations' has been marked as not supported. Removing from the list of supported cloud functions | |
[DEBUG ] Could not LazyLoad rackspace.list_locations: 'rackspace.list_locations' is not available. | |
Please Go to the following URL and sign in: | |
https://accounts.google.com/o/oauth2/auth?scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fcompute+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fdevstorage.full_control+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fndev.clouddns.readwrite&state=Libcloud+Request&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&response_type=code&client_id=salt-master%40salt-cloud-169602.iam.gserviceaccount.com | |
[DEBUG ] Failed to execute 'gce.list_nodes()' while querying for running nodes: EOF when reading a line | |
Traceback (most recent call last): | |
File "/usr/lib/python2.7/dist-packages/salt/cloud/__init__.py", line 2395, in run_parallel_map_providers_query | |
cloud.clouds[data['fun']]() | |
File "/usr/lib/python2.7/dist-packages/salt/cloud/libcloudfuncs.py", line 451, in list_nodes | |
conn = get_conn() # pylint: disable=E0602 | |
File "/usr/lib/python2.7/dist-packages/salt/cloud/clouds/gce.py", line 188, in get_conn | |
gce = driver(email, private_key, project=project) | |
File "/usr/lib/python2.7/dist-packages/libcloud/compute/drivers/gce.py", line 1052, in __init__ | |
super(GCENodeDriver, self).__init__(user_id, key, **kwargs) | |
File "/usr/lib/python2.7/dist-packages/libcloud/common/base.py", line 1103, in __init__ | |
self.connection = self.connectionCls(*args, **conn_kwargs) | |
File "/usr/lib/python2.7/dist-packages/libcloud/compute/drivers/gce.py", line 97, in __init__ | |
**kwargs) | |
File "/usr/lib/python2.7/dist-packages/libcloud/common/google.py", line 668, in __init__ | |
self._init_oauth2(**kwargs) | |
File "/usr/lib/python2.7/dist-packages/libcloud/common/google.py", line 800, in _init_oauth2 | |
self.oauth2_token = self.oauth2_conn.get_new_token() | |
File "/usr/lib/python2.7/dist-packages/libcloud/common/google.py", line 425, in get_new_token | |
code = self.get_code() | |
File "/usr/lib/python2.7/dist-packages/libcloud/common/google.py", line 413, in get_code | |
code = raw_input('Enter Code: ') | |
EOFError: EOF when reading a line | |
[DEBUG ] https://api.digitalocean.com/v2/droplets/?page=1&per_page=200 | |
Enter Code: [DEBUG ] Generating minion keys for 'gce-instance' | |
Please Go to the following URL and sign in: | |
https://accounts.google.com/o/oauth2/auth?scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fcompute+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fdevstorage.full_control+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fndev.clouddns.readwrite&state=Libcloud+Request&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&response_type=code&client_id=salt-master%40salt-cloud-169602.iam.gserviceaccount.com | |
Enter Code: | |
[ERROR ] There was a profile error: 'Invalid authorization response, please check your credentials and time drift.' | |
Traceback (most recent call last): | |
File "/usr/lib/python2.7/dist-packages/salt/cloud/cli.py", line 284, in run | |
self.config.get('names') | |
File "/usr/lib/python2.7/dist-packages/salt/cloud/__init__.py", line 1461, in run_profile | |
ret[name] = self.create(vm_) | |
File "/usr/lib/python2.7/dist-packages/salt/cloud/__init__.py", line 1291, in create | |
output = self.clouds[func](vm_) | |
File "/usr/lib/python2.7/dist-packages/salt/cloud/clouds/gce.py", line 2180, in create | |
node_info = request_instance(vm_) | |
File "/usr/lib/python2.7/dist-packages/salt/cloud/clouds/gce.py", line 2085, in request_instance | |
conn = get_conn() | |
File "/usr/lib/python2.7/dist-packages/salt/cloud/clouds/gce.py", line 188, in get_conn | |
gce = driver(email, private_key, project=project) | |
File "/usr/lib/python2.7/dist-packages/libcloud/compute/drivers/gce.py", line 1052, in __init__ | |
super(GCENodeDriver, self).__init__(user_id, key, **kwargs) | |
File "/usr/lib/python2.7/dist-packages/libcloud/common/base.py", line 1103, in __init__ | |
self.connection = self.connectionCls(*args, **conn_kwargs) | |
File "/usr/lib/python2.7/dist-packages/libcloud/compute/drivers/gce.py", line 97, in __init__ | |
**kwargs) | |
File "/usr/lib/python2.7/dist-packages/libcloud/common/google.py", line 668, in __init__ | |
self._init_oauth2(**kwargs) | |
File "/usr/lib/python2.7/dist-packages/libcloud/common/google.py", line 800, in _init_oauth2 | |
self.oauth2_token = self.oauth2_conn.get_new_token() | |
File "/usr/lib/python2.7/dist-packages/libcloud/common/google.py", line 433, in get_new_token | |
return self._token_request(token_request) | |
File "/usr/lib/python2.7/dist-packages/libcloud/common/google.py", line 360, in _token_request | |
raise GoogleAuthError('Invalid authorization response, please ' | |
GoogleAuthError: 'Invalid authorization response, please check your credentials and time drift.' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment