Skip to content

Instantly share code, notes, and snippets.

@dginther
Created September 22, 2014 13:30
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 dginther/1d50d95f8d4f778c3c60 to your computer and use it in GitHub Desktop.
Save dginther/1d50d95f8d4f778c3c60 to your computer and use it in GitHub Desktop.
[ERROR ] There was a profile error: Dict object expected, not "'thing.atpay.com has been created at 10.35.187.158'".
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/saltcloud/cli.py", line 279, in run
self.config.get('names')
File "/usr/local/lib/python2.7/dist-packages/saltcloud/cloud.py", line 662, in run_profile
ret[name] = self.create(vm_)
File "/usr/local/lib/python2.7/dist-packages/saltcloud/cloud.py", line 594, in create
output = self.clouds[func](vm_)
File "/usr/local/lib/python2.7/dist-packages/saltcloud/clouds/ec2.py", line 892, in create
deployed = saltcloud.utils.deploy_script(**deploy_kwargs)
File "/usr/local/lib/python2.7/dist-packages/saltcloud/utils/__init__.py", line 637, in deploy_script
'{0} has been created at {1}'.format(name, host), 'salt-cloud'
File "/usr/lib/pymodules/python2.7/salt/utils/event.py", line 313, in fire_event
raise ValueError('Dict object expected, not "{0!r}".'.format(data))
ValueError: Dict object expected, not "'thing.atpay.com has been created at 10.35.187.158'".
@dginther
Copy link
Author

base_ec2_private:
  provider: my-ec2-east-private-ips
  image: ami-864d84ee
  size: c3.xlarge
  ssh_username: ubuntu
  tag: {'Environment': 'production', 'Role': 'app_server'}
  sync_after_install: grains

@dginther
Copy link
Author

Salt: 2014.1.10
Python: 2.7.3 (default, Feb 27 2014, 19:58:35)
Jinja2: 2.6
M2Crypto: 0.21.1
msgpack-python: 0.1.10
msgpack-pure: Not Installed
pycrypto: 2.4.1
PyYAML: 3.10
PyZMQ: 13.0.0
ZMQ: 3.2.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment