Skip to content

Instantly share code, notes, and snippets.

@nesv

nesv/output Secret

Last active August 29, 2015 14:21
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 nesv/b521360925ba592ec934 to your computer and use it in GitHub Desktop.
Save nesv/b521360925ba592ec934 to your computer and use it in GitHub Desktop.
salt-cloud configs
$ sudo salt-cloud -m /etc/salt/cloud.maps.d/test.map
[INFO ] salt-cloud starting
[INFO ] Applying map from '/etc/salt/cloud.maps.d/test.map'.
[INFO ] Starting new HTTPS connection (1): api.digitalocean.com
The following virtual machines are set to be created:
test-01
Proceed? [N/y] y
... proceeding
[INFO ] Calculating dependencies for test-01
[INFO ] Creating Cloud VM test-01
[INFO ] Starting new HTTPS connection (1): api.digitalocean.com
[INFO ] Starting new HTTPS connection (1): api.digitalocean.com
[INFO ] Starting new HTTPS connection (1): api.digitalocean.com
[INFO ] Starting new HTTPS connection (1): api.digitalocean.com
[INFO ] Starting new HTTPS connection (1): api.digitalocean.com
[INFO ] Starting new HTTPS connection (1): api.digitalocean.com
[INFO ] Starting new HTTPS connection (1): api.digitalocean.com
[INFO ] Starting new HTTPS connection (1): api.digitalocean.com
[ERROR ] Error creating test-01 on DIGITAL_OCEAN
The following exception was thrown when trying to run the initial deployment: An error occurred while querying DigitalOcean. HTTP Code: 422 Error: u'{"id":"unprocessable_entity","message":"You specified an invalid image for Droplet creation."}'
[ERROR ] There was a query error: 'bool' object has no attribute 'pop'
# Note, the image ID specified here, is retrieved by running
# $ salt-cloud --list-images=digitalocean
#
digitalocean-ubuntu-14-04-base:
provider: digitalocean
image: 12345678
location: New York 3
private_networking: True
minion:
master: my-salt-master.example.com
digitalocean-ubuntu-512:
extends: digitalocean-ubuntu-14-04-base
size: 512mb
digitalocean-ubuntu-512:
- test-01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment