Created
April 9, 2013 06:20
-
-
Save jcockhren/5343370 to your computer and use it in GitHub Desktop.
error with new config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- /etc/salt/cloud.providers --- | |
do: | |
client_key: mykey | |
api_key: somelongkey | |
provider: digital_ocean | |
--- /etc/salt/cloud.profiles --- | |
ubuntu_do: | |
provider: do | |
image: Ubuntu 12.04 x32 Server | |
size: 512MB | |
script: Ubuntu | |
location: New York 1 | |
minion: | |
master: salt.example.com | |
--- command below --- | |
salt-cloud -p ubuntu_do test | |
---- Error below ---- | |
[INFO ] Loaded configuration file: /etc/salt/master | |
[INFO ] salt-cloud starting | |
[INFO ] Creating Cloud VM test | |
[INFO ] Rendering deploy script: /usr/local/lib/python2.7/dist-packages/saltcloud/deploy/Ubuntu.sh | |
[ERROR ] Failed to create VM test. Configuration value None needs to be set | |
Traceback (most recent call last): | |
File "/usr/local/lib/python2.7/dist-packages/saltcloud/cloud.py", line 467, in create | |
output = self.clouds['{0}.create'.format(self.provider(vm_))](vm_) | |
File "/usr/local/lib/python2.7/dist-packages/saltcloud/clouds/digital_ocean.py", line 229, in create | |
'ssh_key_name', vm_, __opts__, search_global=False | |
File "/usr/local/lib/python2.7/dist-packages/saltcloud/clouds/digital_ocean.py", line 429, in get_keyid | |
keyid = keypairs[keyname]['id'] | |
KeyError: None | |
test: | |
---------- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment