Skip to content

Instantly share code, notes, and snippets.

/NoneType Secret

Created July 4, 2015 19:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/0dc18be8ac9d71756caf to your computer and use it in GitHub Desktop.
Save anonymous/0dc18be8ac9d71756caf to your computer and use it in GitHub Desktop.
cloud.profiles.d]# salt-cloud -p sandbox1 kk6 -l trace
[DEBUG ] Reading configuration from /etc/salt/cloud
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Missing configuration file: /etc/salt/cloud.providers
[DEBUG ] Including configuration from '/etc/salt/cloud.providers.d/runabove.conf'
[DEBUG ] Reading configuration from /etc/salt/cloud.providers.d/runabove.conf
[DEBUG ] Missing configuration file: /etc/salt/cloud.profiles
[DEBUG ] Including configuration from '/etc/salt/cloud.profiles.d/runabove.profiles.conf'
[DEBUG ] Reading configuration from /etc/salt/cloud.profiles.d/runabove.profiles.conf
[TRACE ] None of the required configuration sections, 'logstash_udp_handler' and 'logstash_zmq_handler', were found the in the configuration. Not loading the Logstash 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': []
[INFO ] salt-cloud starting
[TRACE ] 'parallels.avail_sizes' has been marked as not supported. Removing from the list of supported cloud functions
/usr/lib/python2.6/site-packages/salt/cloud/clouds/digital_ocean.py:86: DeprecationWarning: The digital_ocean driver is deprecated and will be removed in Salt Beryllium. Please convert your digital ocean provider configs to use the digital_ocean_v2 driver.[DEBUG ] Failed to import clouds joyent:
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/salt/loader.py", line 957, in _load_module
), fn_, fpath, desc)
File "/usr/lib/python2.6/site-packages/salt/cloud/clouds/joyent.py", line 68, in <module>
from Crypto.Signature import PKCS1_v1_5
ImportError: No module named Signature
[DEBUG ] Could not LazyLoad parallels.avail_sizes
[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
[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
[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
[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
[TRACE ] 'rackspace.reboot' has been marked as not supported. Removing from the list of supported cloud functions
[DEBUG ] LazyLoaded rackspace.reboot
[TRACE ] 'openstack.list_locations' has been marked as not supported. Removing from the list of supported cloud functions
[DEBUG ] Could not LazyLoad openstack.list_locations
[TRACE ] 'rackspace.list_locations' has been marked as not supported. Removing from the list of supported cloud functions
[DEBUG ] LazyLoaded rackspace.list_locations
[DEBUG ] Could not LazyLoad openstack.optimize_providers
[DEBUG ] The 'openstack' 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
[DEBUG ] Failed to import clouds joyent:
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/salt/loader.py", line 957, in _load_module
), fn_, fpath, desc)
File "/usr/lib/python2.6/site-packages/salt/cloud/clouds/joyent.py", line 68, in <module>
from Crypto.Signature import PKCS1_v1_5
ImportError: No module named Signature
[DEBUG ] Could not LazyLoad parallels.avail_sizes
[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
[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
[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
[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
[TRACE ] 'rackspace.reboot' has been marked as not supported. Removing from the list of supported cloud functions
[DEBUG ] LazyLoaded rackspace.reboot
[TRACE ] 'openstack.list_locations' has been marked as not supported. Removing from the list of supported cloud functions
[DEBUG ] Could not LazyLoad openstack.list_locations
[TRACE ] 'rackspace.list_locations' has been marked as not supported. Removing from the list of supported cloud functions
[DEBUG ] LazyLoaded rackspace.list_locations
[DEBUG ] OpenStack authenticating using password
[DEBUG ] Generating minion keys for 'kk6'
[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': '2015-07-04T19:25:04.767009'}
[DEBUG ] Sending event - data = {'profile': 'sandbox1', 'event': 'starting create', '_stamp': '2015-07-04T19:25:05.768952', 'name': 'kk6', 'provider': 'runabove:openstack'}
[DEBUG ] OpenStack authenticating using password
[DEBUG ] OpenStack authenticating using password
[ERROR ] There was a profile error: 'NoneType' object is not iterable
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/salt/cloud/cli.py", line 254, in run
self.config.get('names')
File "/usr/lib/python2.6/site-packages/salt/cloud/__init__.py", line 1388, in run_profile
ret[name] = self.create(vm_)
File "/usr/lib/python2.6/site-packages/salt/cloud/__init__.py", line 1241, in create
output = self.clouds[func](vm_)
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 1241, in create
output = self.clouds[func](vm_)
File "/usr/lib/python2.6/site-packages/salt/cloud/clouds/openstack.py", line 698, in create
data, vm_ = request_instance(vm_)
File "/usr/lib/python2.6/site-packages/salt/cloud/clouds/openstack.py", line 536, in request_instance
for n in net['fixed']
TypeError: 'NoneType' object is not iterable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment