Skip to content

Instantly share code, notes, and snippets.

@ndobbs
Last active October 2, 2016 23:17
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 ndobbs/af347cdc2627392d8c7d35abbb538030 to your computer and use it in GitHub Desktop.
Save ndobbs/af347cdc2627392d8c7d35abbb538030 to your computer and use it in GitHub Desktop.
salt-cloud vmware
salt-cloud -m /etc/salt/cloud.profiles.d/vmware.conf
[ERROR ] An un-handled exception was caught by salt's global exception handler:
AttributeError: 'str' object has no attribute 'setdefault'
Traceback (most recent call last):
File "/usr/bin/salt-cloud", line 10, in <module>
salt_cloud()
File "/usr/lib/python2.7/dist-packages/salt/scripts.py", line 442, in salt_cloud
client.run()
File "/usr/lib/python2.7/dist-packages/salt/cloud/cli.py", line 94, in run
mapper = salt.cloud.Map(self.config)
File "/usr/lib/python2.7/dist-packages/salt/cloud/__init__.py", line 1664, in __init__
self.rendered_map = self.read()
File "/usr/lib/python2.7/dist-packages/salt/cloud/__init__.py", line 1826, in read
overrides.setdefault('name', name)
AttributeError: 'str' object has no attribute 'setdefault'
Traceback (most recent call last):
File "/usr/bin/salt-cloud", line 10, in <module>
salt_cloud()
File "/usr/lib/python2.7/dist-packages/salt/scripts.py", line 442, in salt_cloud
client.run()
File "/usr/lib/python2.7/dist-packages/salt/cloud/cli.py", line 94, in run
mapper = salt.cloud.Map(self.config)
File "/usr/lib/python2.7/dist-packages/salt/cloud/__init__.py", line 1664, in __init__
self.rendered_map = self.read()
File "/usr/lib/python2.7/dist-packages/salt/cloud/__init__.py", line 1826, in read
overrides.setdefault('name', name)
AttributeError: 'str' object has no attribute 'setdefault'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment