Skip to content

Instantly share code, notes, and snippets.

@tateeskew
Created July 8, 2013 17:50
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 tateeskew/5950919 to your computer and use it in GitHub Desktop.
Save tateeskew/5950919 to your computer and use it in GitHub Desktop.
root@saltmaster:/srv/salt# salt-cloud -m /etc/salt/maps/testing-system-single.map -d
[WARNING ] The function 'cloud_config()' defined in '/usr/lib/python2.7/dist-packages/saltcloud/config.py' is not yet using the new 'default_path' argument to `salt.config.load_config()`. As such, the 'SALT_CLOUD_CONFIG' environment variable will be ignored
[WARNING ] The function 'cloud_providers_config()' defined in '/usr/lib/python2.7/dist-packages/saltcloud/config.py' is not yet using the new 'default_path' argument to `salt.config.load_config()`. As such, the 'SALT_CLOUD_PROVIDERS_CONFIG' environment variable will be ignored
[WARNING ] The function 'vm_profiles_config()' defined in '/usr/lib/python2.7/dist-packages/saltcloud/config.py' is not yet using the new 'default_path' argument to `salt.config.load_config()`. As such, the 'SALT_CLOUDVM_CONFIG' environment variable will be ignored
[INFO ] Configuration file path: /etc/salt/master
[INFO ] salt-cloud starting
[INFO ] Applying map from '/etc/salt/maps/testing-system-single.map'.
Traceback (most recent call last):
File "/usr/bin/salt-cloud", line 14, in <module>
main()
File "/usr/bin/salt-cloud", line 10, in main
cloud.run()
File "/usr/lib/python2.7/dist-packages/saltcloud/cli.py", line 193, in run
matching = mapper.delete_map(query='list_nodes')
File "/usr/lib/python2.7/dist-packages/saltcloud/cloud.py", line 839, in delete_map
query_map = self.interpolated_map(query=query)
File "/usr/lib/python2.7/dist-packages/saltcloud/cloud.py", line 822, in interpolated_map
names.remove(vm_name)
KeyError: 'prod-testing-web01'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment