Repository navigation
Closed
Labels
RIoTRelates to integration with cloud providers, hypervisors, API-based services, etc.Salt-Cloudbugbroken, incorrect, or confusing behaviorseverity-medium3rd level, incorrect or bad functionality, confusing and lacks a work around
Milestone
Description
Howdy,
When trying to deploy using Salt-Cloud I am getting:
[ERROR ] Failed to deploy and start Salt on Cloud VM dev-iad3-util-n001.example.com
I have tried salt-cloud -u to update / install salt bootstrap, and sadly the error still happens.
Cloud Map File
openstack_2GB:
## Redis
- dev-iad3-redis-n001.example.com:
log_level: debug
script: bootstrap-salt
script_args: -c /tmp/
grains:
env: dev
newrelic_env: development
datacenter: iad
node_type: redis
## Load Balancer
- dev-iad3-lb-n001.example.com:
log_level: debug
script: bootstrap-salt
script_args: -c /tmp/
grains:
env: dev
newrelic_env: development
datacenter: iad
node_type: lb
## Web Heads
- dev-iad3-web-n001.example.com:
log_level: debug
script: bootstrap-salt
script_args: -c /tmp/
grains:
env: dev
newrelic_env: development
datacenter: iad
node_type: web
## Postgres
- dev-iad3-postgres-n001.example.com:
log_level: debug
script: bootstrap-salt
script_args: -c /tmp/
grains:
env: dev
newrelic_env: development
datacenter: iad
node_type: postgres
## Barman / Logstash / Kibana Node
- dev-iad3-util-n001.example.com:
log_level: debug
script: bootstrap-salt
script_args: -c /tmp/
grains:
env: dev
newrelic_env: development
datacenter: iad
node_type: util
Salt Version Report
salt --versions-report
Salt: 2014.1.0rc1
Python: 2.7.3 (default, Sep 26 2013, 20:03:06)
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
OS
Distributor ID: Ubuntu
Description: Ubuntu 12.04.3 LTS
Release: 12.04
Codename: precise
Part of debug log
[DEBUG ] Using <<SNIP>> as the password
[DEBUG ] Attempting to authenticate as root (try 15 of 15)
[DEBUG ] SSH command: 'ssh -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -oControlPath=none root@<<SNIP>> date'
[ERROR ] Failed to deploy and start Salt on Cloud VM dev-iad3-util-n001.example.com
[INFO ] Created Cloud VM 'dev-iad3-util-n001.example.com'
[DEBUG ] 'dev-iad3-util-n001.example.com' VM creation details:
{'_uuid': None,
'driver': <libcloud.compute.drivers.openstack.OpenStack_1_1_NodeDriver object at 0x1dce110>,
'extra': {'created': '2014-01-06T16:56:26Z',
'flavorId': '4',
'hostId': '',
'imageId': '23b564c9-c3e6-49f9-bc68-86c7a9ab5018',
'key_name': None,
'metadata': {},
'password': '<<SNIP>>',
'tenantId': '<<SNIP>>',
'updated': '2014-01-06T16:56:26Z',
'uri': '<<SNIP>>'},
'id': '6058c1d5-3418-40f8-934a-bc102c44aca0',
'image': None,
'name': 'dev-iad3-util-n001.example.com',
'private_ips': [],
'public_ips': ['<<SNIP>>', '<<SNIP>>'],
'size': None,
'state': 3}
Thanks,
Jason
Metadata
Metadata
Assignees
Labels
RIoTRelates to integration with cloud providers, hypervisors, API-based services, etc.Salt-Cloudbugbroken, incorrect, or confusing behaviorseverity-medium3rd level, incorrect or bad functionality, confusing and lacks a work around
Activity
UtahDave commentedon Jan 6, 2014
@s0undt3ch or @techhat do either of you have any ideas on this one?
s0undt3ch commentedon Jan 6, 2014
Well, first things first.
None of the script settings need to be set on your map file, the script you're using is the default one, and the script args setting you're using get's populated by salt-cloud, unless, you really have issues with it's default value.
Now, could you please just try to boostrap one VM with
salt-cloud -l debugand paste the full output? Omitting any sensible data of course...UtahDave commentedon Jan 6, 2014
@JasonSwindle do you have libcloud installed?
s0undt3ch commentedon Jan 6, 2014
If he has not, we need to make it fail...
JasonSwindle commentedon Jan 6, 2014
@UtahDave Yes, python-libcloud was installed. :)
@s0undt3ch Here you go:
techhat commentedon Jan 6, 2014
@s0undt3ch could this be VT-related?
JasonSwindle commentedon Jan 6, 2014
I can confirm that
will work with the password in the log as it is trying to fail.
s0undt3ch commentedon Jan 7, 2014
@JasonSwindle the minions being bootstrapped are Ubuntu 12.04.3 LTS?
The rackspace image name is "Ubuntu 12.04 LTS (Precise Pangolin)"?
JasonSwindle commentedon Jan 7, 2014
Correct, here is my cloud.profiles.d if this helps. :)
/etc/salt/cloud.profiles.d/openstack.conf
JasonSwindle commentedon Jan 12, 2014
Howdy,
Any movement on this, or anything I need to do to test / try? :)
Thanks!
Jason
JasonSwindle commentedon Jan 12, 2014
I tested on Public Cloud Standard and Performance nodes. It just spams the SSH connections, 1 - 15, and then fails.
Jason
techhat commentedon Jan 14, 2014
@JasonSwindle would you mind rolling back to 028d25a and testing for me?
techhat commentedon Jan 15, 2014
@s0undt3ch it doesn't look like #9757 fixes this particular issue, but rolling back to 028d25a does clear it up.
s0undt3ch commentedon Jan 15, 2014
#9759 this might help to get more info.
s0undt3ch commentedon Jan 16, 2014
tagging @abemusic
I'm able to trigger this issue.... investigating.
s0undt3ch commentedon Jan 16, 2014
Fixed by #9778