Skip to content

2014.1.0 RC1 :: salt-cloud / salt bootstrap issue #9587

Closed

Description

@JasonSwindle

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

Activity

  1. UtahDave commented on Jan 6, 2014

    @UtahDave
    Contributor

    @s0undt3ch or @techhat do either of you have any ideas on this one?

  2. s0undt3ch commented on Jan 6, 2014

    @s0undt3ch
    Contributor

    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 debug and paste the full output? Omitting any sensible data of course...

  3. UtahDave commented on Jan 6, 2014

    @UtahDave
    Contributor

    @JasonSwindle do you have libcloud installed?

  4. s0undt3ch commented on Jan 6, 2014

    @s0undt3ch
    Contributor

    If he has not, we need to make it fail...

  5. JasonSwindle commented on Jan 6, 2014

    @JasonSwindle
    ContributorAuthor

    @UtahDave Yes, python-libcloud was installed. :)

    @s0undt3ch Here you go:

    root@dev-iad3-salt-master:~# salt-cloud --map=/srv/map/development --parallel -l debug
    [DEBUG   ] Missing configuration file: /etc/salt/cloud
    [DEBUG   ] Reading configuration from /etc/salt/master
    [DEBUG   ] Missing configuration file: /etc/salt/cloud.providers
    [DEBUG   ] Including configuration from '/etc/salt/cloud.providers.d/openstack.conf'
    [DEBUG   ] Reading configuration from /etc/salt/cloud.providers.d/openstack.conf
    [DEBUG   ] Missing configuration file: /etc/salt/cloud.profiles
    [DEBUG   ] Including configuration from '/etc/salt/cloud.profiles.d/openstack.conf'
    [DEBUG   ] Reading configuration from /etc/salt/cloud.profiles.d/openstack.conf
    [DEBUG   ] loading log_handlers in ['/var/cache/salt/master/extmods/log_handlers', '/usr/lib/python2.7/dist-packages/salt/log/handlers']
    [DEBUG   ] Skipping /var/cache/salt/master/extmods/log_handlers, it is not a directory
    [DEBUG   ] Configuration file path: /etc/salt/master
    [INFO    ] salt-cloud starting
    [DEBUG   ] loading cloud in ['/var/cache/salt/master/extmods/clouds', '/usr/lib/python2.7/dist-packages/salt/cloud/clouds']
    [DEBUG   ] Skipping /var/cache/salt/master/extmods/clouds, it is not a directory
    [DEBUG   ] There is no Nova cloud provider configuration available. Not loading module.
    [DEBUG   ] There is no Rackspace cloud provider configuration available. Not loading module.
    [DEBUG   ] There is no Parallels cloud provider configuration available. Not loading module.
    [DEBUG   ] The SoftLayer Python Library needs to be installed in ordere to use the SoftLayer salt.cloud module. See: https://pypi.python.org/pypi/SoftLayer
    [DEBUG   ] There is no Linode cloud provider configuration available. Not loading module.
    [DEBUG   ] There is no Joyent cloud provider configuration available. Not loading module.
    [DEBUG   ] There is no AWS cloud provider configuration available. Not loading module
    [DEBUG   ] There is no CloudStack cloud provider configuration available. Not loading module.
    [DEBUG   ] There is no GoGrid cloud provider configuration available. Not loading module.
    [DEBUG   ] The 'botocore' library is not installed. The libcloud AWS support will be loaded instead.
    [DEBUG   ] There is no IBM SCE cloud provider configuration available. Not loading module.
    [DEBUG   ] Loading Openstack cloud module
    [DEBUG   ] There is no GCE cloud provider configuration available. Not loading module.
    [DEBUG   ] The SoftLayer Python Library needs to be installed in ordere to use the SoftLayer HW salt.cloud module. See: https://pypi.python.org/pypi/SoftLayer
    [DEBUG   ] There is no Digital Ocean cloud provider configuration available. Not loading module.
    [DEBUG   ] There is no EC2 cloud provider configuration available. Not loading module
    [DEBUG   ] 'parallels.avail_sizes' has been marked as not supported. Removing from the list of supported cloud functions
    [DEBUG   ] 'parallels.avail_locations' has been marked as not supported. Removing from the list of supported cloud functions
    [DEBUG   ] 'saltify.destroy' has been marked as not supported. Removing from the list of supported cloud functions
    [DEBUG   ] 'saltify.avail_sizes' has been marked as not supported. Removing from the list of supported cloud functions
    [DEBUG   ] 'saltify.avail_images' has been marked as not supported. Removing from the list of supported cloud functions
    [DEBUG   ] 'saltify.avail_locations' has been marked as not supported. Removing from the list of supported cloud functions
    [DEBUG   ] 'rackspace.reboot' has been marked as not supported. Removing from the list of supported cloud functions
    [INFO    ] Applying map from '/srv/map/development'.
    [DEBUG   ] loading cloud in ['/var/cache/salt/master/extmods/clouds', '/usr/lib/python2.7/dist-packages/salt/cloud/clouds']
    [DEBUG   ] Skipping /var/cache/salt/master/extmods/clouds, it is not a directory
    [DEBUG   ] There is no Nova cloud provider configuration available. Not loading module.
    [DEBUG   ] There is no Rackspace cloud provider configuration available. Not loading module.
    [DEBUG   ] There is no Parallels cloud provider configuration available. Not loading module.
    [DEBUG   ] The SoftLayer Python Library needs to be installed in ordere to use the SoftLayer salt.cloud module. See: https://pypi.python.org/pypi/SoftLayer
    [DEBUG   ] There is no Linode cloud provider configuration available. Not loading module.
    [DEBUG   ] There is no Joyent cloud provider configuration available. Not loading module.
    [DEBUG   ] There is no AWS cloud provider configuration available. Not loading module
    [DEBUG   ] There is no CloudStack cloud provider configuration available. Not loading module.
    [DEBUG   ] There is no GoGrid cloud provider configuration available. Not loading module.
    [DEBUG   ] The 'botocore' library is not installed. The libcloud AWS support will be loaded instead.
    [DEBUG   ] There is no IBM SCE cloud provider configuration available. Not loading module.
    [DEBUG   ] Loading Openstack cloud module
    [DEBUG   ] There is no GCE cloud provider configuration available. Not loading module.
    [DEBUG   ] The SoftLayer Python Library needs to be installed in ordere to use the SoftLayer HW salt.cloud module. See: https://pypi.python.org/pypi/SoftLayer
    [DEBUG   ] There is no Digital Ocean cloud provider configuration available. Not loading module.
    [DEBUG   ] There is no EC2 cloud provider configuration available. Not loading module
    [DEBUG   ] 'parallels.avail_sizes' has been marked as not supported. Removing from the list of supported cloud functions
    [DEBUG   ] 'parallels.avail_locations' has been marked as not supported. Removing from the list of supported cloud functions
    [DEBUG   ] 'saltify.destroy' has been marked as not supported. Removing from the list of supported cloud functions
    [DEBUG   ] 'saltify.avail_sizes' has been marked as not supported. Removing from the list of supported cloud functions
    [DEBUG   ] 'saltify.avail_images' has been marked as not supported. Removing from the list of supported cloud functions
    [DEBUG   ] 'saltify.avail_locations' has been marked as not supported. Removing from the list of supported cloud functions
    [DEBUG   ] 'rackspace.reboot' has been marked as not supported. Removing from the list of supported cloud functions
    [DEBUG   ] OpenStack authenticating using password
    [WARNING ] /usr/lib/python2.7/dist-packages/libcloud/httplib_ssl.py:57: UserWarning: SSL certificate verification is disabled, this can pose a security risk. For more information how to enable the SSL certificate verification, please visit the libcloud documentation.
      warnings.warn(libcloud.security.VERIFY_SSL_DISABLED_MSG)
    
    The following virtual machines are set to be created:
      dev-iad3-redis-n001.example.com
    
    Proceed? [N/y] y
    ... proceeding
    [INFO    ] Calculating dependencies for dev-iad3-redis-n001.example.com
    [DEBUG   ] Got execution order 0 for dev-iad3-redis-n001.example.com
    [DEBUG   ] No make_master found in map
    [INFO    ] Since parallel deployment is in use, ssh console output is disabled. All ssh output will be logged though
    [DEBUG   ] loading cloud in ['/var/cache/salt/master/extmods/clouds', '/usr/lib/python2.7/dist-packages/salt/cloud/clouds']
    [DEBUG   ] Skipping /var/cache/salt/master/extmods/clouds, it is not a directory
    [DEBUG   ] There is no Nova cloud provider configuration available. Not loading module.
    [DEBUG   ] There is no Rackspace cloud provider configuration available. Not loading module.
    [DEBUG   ] There is no Parallels cloud provider configuration available. Not loading module.
    [DEBUG   ] The SoftLayer Python Library needs to be installed in ordere to use the SoftLayer salt.cloud module. See: https://pypi.python.org/pypi/SoftLayer
    [DEBUG   ] There is no Linode cloud provider configuration available. Not loading module.
    [DEBUG   ] There is no Joyent cloud provider configuration available. Not loading module.
    [DEBUG   ] There is no AWS cloud provider configuration available. Not loading module
    [DEBUG   ] There is no CloudStack cloud provider configuration available. Not loading module.
    [DEBUG   ] There is no GoGrid cloud provider configuration available. Not loading module.
    [DEBUG   ] The 'botocore' library is not installed. The libcloud AWS support will be loaded instead.
    [DEBUG   ] There is no IBM SCE cloud provider configuration available. Not loading module.
    [DEBUG   ] Loading Openstack cloud module
    [DEBUG   ] There is no GCE cloud provider configuration available. Not loading module.
    [DEBUG   ] The SoftLayer Python Library needs to be installed in ordere to use the SoftLayer HW salt.cloud module. See: https://pypi.python.org/pypi/SoftLayer
    [DEBUG   ] There is no Digital Ocean cloud provider configuration available. Not loading module.
    [DEBUG   ] There is no EC2 cloud provider configuration available. Not loading module
    [DEBUG   ] 'parallels.avail_sizes' has been marked as not supported. Removing from the list of supported cloud functions
    [DEBUG   ] 'parallels.avail_locations' has been marked as not supported. Removing from the list of supported cloud functions
    [DEBUG   ] 'saltify.destroy' has been marked as not supported. Removing from the list of supported cloud functions
    [DEBUG   ] 'saltify.avail_sizes' has been marked as not supported. Removing from the list of supported cloud functions
    [DEBUG   ] 'saltify.avail_images' has been marked as not supported. Removing from the list of supported cloud functions
    [DEBUG   ] 'saltify.avail_locations' has been marked as not supported. Removing from the list of supported cloud functions
    [DEBUG   ] 'rackspace.reboot' has been marked as not supported. Removing from the list of supported cloud functions
    [DEBUG   ] Generating minion keys for 'dev-iad3-redis-n001.example.com'
    [DEBUG   ] SaltEvent PUB socket URI: ipc:///var/run/salt/master/master_event_pub.ipc
    [DEBUG   ] SaltEvent PULL socket URI: ipc:///var/run/salt/master/master_event_pull.ipc
    [INFO    ] Creating Cloud VM dev-iad3-redis-n001.example.com
    [DEBUG   ] OpenStack authenticating using password
    [WARNING ] /usr/lib/python2.7/dist-packages/libcloud/httplib_ssl.py:57: UserWarning: SSL certificate verification is disabled, this can pose a security risk. For more information how to enable the SSL certificate verification, please visit the libcloud documentation.
      warnings.warn(libcloud.security.VERIFY_SSL_DISABLED_MSG)
    
    [DEBUG   ] SaltEvent PUB socket URI: ipc:///var/run/salt/master/master_event_pub.ipc
    [DEBUG   ] SaltEvent PULL socket URI: ipc:///var/run/salt/master/master_event_pull.ipc
    [DEBUG   ] Waiting for VM IP. Giving up in 00:10:00
    [DEBUG   ] OpenStack authenticating using password
    [DEBUG   ] Loaded node data for dev-iad3-redis-n001.example.com:
    {'id': 'eacb2540-b15f-411d-bb97-0a37033963c9',
     'image': None,
     'private_ips': [],
     'public_ips': [],
     'size': None,
     'state': 'PENDING'}
    [DEBUG   ] Waiting for VM IP. Giving up in 00:09:50
    [DEBUG   ] OpenStack authenticating using password
    [DEBUG   ] Loaded node data for dev-iad3-redis-n001.example.com:
    {'id': 'eacb2540-b15f-411d-bb97-0a37033963c9',
     'image': None,
     'private_ips': [],
     'public_ips': [],
     'size': None,
     'state': 'PENDING'}
    [DEBUG   ] Waiting for VM IP. Giving up in 00:09:40
    [DEBUG   ] OpenStack authenticating using password
    [DEBUG   ] Loaded node data for dev-iad3-redis-n001.example.com:
    {'id': 'eacb2540-b15f-411d-bb97-0a37033963c9',
     'image': None,
     'private_ips': ['<<SNIP>>'],
     'public_ips': ['<<SNIP>>', '<<SNIP>>'],
     'size': None,
     'state': 'PENDING'}
    [DEBUG   ] Waiting for VM IP. Giving up in 00:09:30
    [DEBUG   ] OpenStack authenticating using password
    [DEBUG   ] Loaded node data for dev-iad3-redis-n001.example.com:
    {'id': 'eacb2540-b15f-411d-bb97-0a37033963c9',
     'image': None,
     'private_ips': ['<<SNIP>>'],
     'public_ips': ['<<SNIP>>', '<<SNIP>>'],
     'size': None,
     'state': 'PENDING'}
    [DEBUG   ] Waiting for VM IP. Giving up in 00:09:20
    [DEBUG   ] OpenStack authenticating using password
    [DEBUG   ] Loaded node data for dev-iad3-redis-n001.example.com:
    {'id': 'eacb2540-b15f-411d-bb97-0a37033963c9',
     'image': None,
     'private_ips': ['<<SNIP>>'],
     'public_ips': ['<<SNIP>>', '<<SNIP>>'],
     'size': None,
     'state': 'PENDING'}
    [DEBUG   ] Waiting for VM IP. Giving up in 00:09:10
    [DEBUG   ] OpenStack authenticating using password
    [DEBUG   ] Loaded node data for dev-iad3-redis-n001.example.com:
    {'id': 'eacb2540-b15f-411d-bb97-0a37033963c9',
     'image': None,
     'private_ips': ['<<SNIP>>'],
     'public_ips': ['<<SNIP>>', '<<SNIP>>'],
     'size': None,
     'state': 'PENDING'}
    [DEBUG   ] Waiting for VM IP. Giving up in 00:09:00
    [DEBUG   ] OpenStack authenticating using password
    [DEBUG   ] Loaded node data for dev-iad3-redis-n001.example.com:
    {'id': 'eacb2540-b15f-411d-bb97-0a37033963c9',
     'image': None,
     'private_ips': ['<<SNIP>>'],
     'public_ips': ['<<SNIP>>', '<<SNIP>>'],
     'size': None,
     'state': 'PENDING'}
    [DEBUG   ] Waiting for VM IP. Giving up in 00:08:50
    [DEBUG   ] OpenStack authenticating using password
    [DEBUG   ] Loaded node data for dev-iad3-redis-n001.example.com:
    {'id': 'eacb2540-b15f-411d-bb97-0a37033963c9',
     'image': None,
     'private_ips': ['<<SNIP>>'],
     'public_ips': ['<<SNIP>>', '<<SNIP>>'],
     'size': None,
     'state': 'PENDING'}
    [DEBUG   ] Waiting for VM IP. Giving up in 00:08:40
    [DEBUG   ] OpenStack authenticating using password
    [DEBUG   ] Loaded node data for dev-iad3-redis-n001.example.com:
    {'id': 'eacb2540-b15f-411d-bb97-0a37033963c9',
     'image': None,
     'private_ips': ['<<SNIP>>'],
     'public_ips': ['<<SNIP>>', '<<SNIP>>'],
     'size': None,
     'state': 'PENDING'}
    [DEBUG   ] Waiting for VM IP. Giving up in 00:08:30
    [DEBUG   ] OpenStack authenticating using password
    [DEBUG   ] Loaded node data for dev-iad3-redis-n001.example.com:
    {'id': 'eacb2540-b15f-411d-bb97-0a37033963c9',
     'image': None,
     'private_ips': ['<<SNIP>>'],
     'public_ips': ['<<SNIP>>', '<<SNIP>>'],
     'size': None,
     'state': 'PENDING'}
    [DEBUG   ] Waiting for VM IP. Giving up in 00:08:20
    [DEBUG   ] OpenStack authenticating using password
    [DEBUG   ] Loaded node data for dev-iad3-redis-n001.example.com:
    {'id': 'eacb2540-b15f-411d-bb97-0a37033963c9',
     'image': None,
     'private_ips': ['<<SNIP>>'],
     'public_ips': ['<<SNIP>>', '<<SNIP>>'],
     'size': None,
     'state': 'PENDING'}
    [DEBUG   ] Waiting for VM IP. Giving up in 00:08:10
    [DEBUG   ] OpenStack authenticating using password
    [DEBUG   ] Loaded node data for dev-iad3-redis-n001.example.com:
    {'id': 'eacb2540-b15f-411d-bb97-0a37033963c9',
     'image': None,
     'private_ips': ['<<SNIP>>'],
     'public_ips': ['<<SNIP>>', '<<SNIP>>'],
     'size': None,
     'state': 'PENDING'}
    [DEBUG   ] Waiting for VM IP. Giving up in 00:08:00
    [DEBUG   ] OpenStack authenticating using password
    [DEBUG   ] Loaded node data for dev-iad3-redis-n001.example.com:
    {'id': 'eacb2540-b15f-411d-bb97-0a37033963c9',
     'image': None,
     'private_ips': ['<<SNIP>>'],
     'public_ips': ['<<SNIP>>', '<<SNIP>>'],
     'size': None,
     'state': 'PENDING'}
    [DEBUG   ] Waiting for VM IP. Giving up in 00:07:50
    [DEBUG   ] OpenStack authenticating using password
    [DEBUG   ] Loaded node data for dev-iad3-redis-n001.example.com:
    {'id': 'eacb2540-b15f-411d-bb97-0a37033963c9',
     'image': None,
     'private_ips': ['<<SNIP>>'],
     'public_ips': ['<<SNIP>>', '<<SNIP>>'],
     'size': None,
     'state': 'PENDING'}
    [DEBUG   ] Waiting for VM IP. Giving up in 00:07:40
    [DEBUG   ] OpenStack authenticating using password
    [DEBUG   ] Loaded node data for dev-iad3-redis-n001.example.com:
    {'id': 'eacb2540-b15f-411d-bb97-0a37033963c9',
     'image': None,
     'private_ips': ['<<SNIP>>'],
     'public_ips': ['<<SNIP>>', '<<SNIP>>'],
     'size': None,
     'state': 'PENDING'}
    [DEBUG   ] Waiting for VM IP. Giving up in 00:07:30
    [DEBUG   ] OpenStack authenticating using password
    [DEBUG   ] Loaded node data for dev-iad3-redis-n001.example.com:
    {'id': 'eacb2540-b15f-411d-bb97-0a37033963c9',
     'image': None,
     'private_ips': ['<<SNIP>>'],
     'public_ips': ['<<SNIP>>', '<<SNIP>>'],
     'size': None,
     'state': 'RUNNING'}
    [DEBUG   ] VM is now running
    [DEBUG   ] Using IP address <<SNIP>>
    [DEBUG   ] Using root as SSH username
    [DEBUG   ] Logging into SSH using password
    [DEBUG   ] Running root commands using sudo
    [INFO    ] Rendering deploy script: /etc/salt/cloud.deploy.d/bootstrap-salt.sh
    [DEBUG   ] SaltEvent PUB socket URI: ipc:///var/run/salt/master/master_event_pub.ipc
    [DEBUG   ] SaltEvent PULL socket URI: ipc:///var/run/salt/master/master_event_pull.ipc
    [DEBUG   ] Deploying <<SNIP>> at 1389035691.0
    [DEBUG   ] Attempting connection to host <<SNIP>> on port 22
    [DEBUG   ] SSH port 22 on <<SNIP>> is available
    [DEBUG   ] Using <<SNIP>> as the password
    [DEBUG   ] Attempting to authenticate as root (try 1 of 15)
    [DEBUG   ] SSH command: 'ssh -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -oControlPath=none root@<<SNIP>> date'
    [DEBUG   ] Using <<SNIP>> as the password
    [DEBUG   ] Attempting to authenticate as root (try 2 of 15)
    [DEBUG   ] SSH command: 'ssh -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -oControlPath=none root@<<SNIP>> date'
    [DEBUG   ] Using <<SNIP>> as the password
    [DEBUG   ] Attempting to authenticate as root (try 3 of 15)
    [DEBUG   ] SSH command: 'ssh -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -oControlPath=none root@<<SNIP>> date'
    [DEBUG   ] Using <<SNIP>> as the password
    [DEBUG   ] Attempting to authenticate as root (try 4 of 15)
    [DEBUG   ] SSH command: 'ssh -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -oControlPath=none root@<<SNIP>> date'
    [DEBUG   ] Using <<SNIP>> as the password
    [DEBUG   ] Attempting to authenticate as root (try 5 of 15)
    [DEBUG   ] SSH command: 'ssh -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -oControlPath=none root@<<SNIP>> date'
    [DEBUG   ] Using <<SNIP>> as the password
    [DEBUG   ] Attempting to authenticate as root (try 6 of 15)
    [DEBUG   ] SSH command: 'ssh -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -oControlPath=none root@<<SNIP>> date'
    [DEBUG   ] Using <<SNIP>> as the password
    [DEBUG   ] Attempting to authenticate as root (try 7 of 15)
    [DEBUG   ] SSH command: 'ssh -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -oControlPath=none root@<<SNIP>> date'
    [DEBUG   ] Using <<SNIP>> as the password
    [DEBUG   ] Attempting to authenticate as root (try 8 of 15)
    [DEBUG   ] SSH command: 'ssh -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -oControlPath=none root@<<SNIP>> date'
    [DEBUG   ] Using <<SNIP>> as the password
    [DEBUG   ] Attempting to authenticate as root (try 9 of 15)
    [DEBUG   ] SSH command: 'ssh -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -oControlPath=none root@<<SNIP>> date'
    [DEBUG   ] Using <<SNIP>> as the password
    [DEBUG   ] Attempting to authenticate as root (try 10 of 15)
    [DEBUG   ] SSH command: 'ssh -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -oControlPath=none root@<<SNIP>> date'
    [DEBUG   ] Using <<SNIP>> as the password
    [DEBUG   ] Attempting to authenticate as root (try 11 of 15)
    [DEBUG   ] SSH command: 'ssh -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -oControlPath=none root@<<SNIP>> date'
    [DEBUG   ] Using <<SNIP>> as the password
    [DEBUG   ] Attempting to authenticate as root (try 12 of 15)
    [DEBUG   ] SSH command: 'ssh -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -oControlPath=none root@<<SNIP>> date'
    [DEBUG   ] Using <<SNIP>> as the password
    [DEBUG   ] Attempting to authenticate as root (try 13 of 15)
    [DEBUG   ] SSH command: 'ssh -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -oControlPath=none root@<<SNIP>> date'
    [DEBUG   ] Using <<SNIP>> as the password
    [DEBUG   ] Attempting to authenticate as root (try 14 of 15)
    [DEBUG   ] SSH command: 'ssh -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -oControlPath=none root@<<SNIP>> date'
    [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-redis-n001.example.com
    [INFO    ] Created Cloud VM 'dev-iad3-redis-n001.example.com'
    [DEBUG   ] 'dev-iad3-redis-n001.example.com' VM creation details:
    {'_uuid': None,
     'driver': <libcloud.compute.drivers.openstack.OpenStack_1_1_NodeDriver object at 0x311f110>,
     'extra': {'created': '2014-01-06T19:12:16Z',
               'flavorId': '4',
               'hostId': '',
               'imageId': '23b564c9-c3e6-49f9-bc68-86c7a9ab5018',
               'key_name': None,
               'metadata': {},
               'password': '<<SNIP>>',
               'tenantId': '<<SNIP>>',
               'updated': '2014-01-06T19:12:16Z',
               'uri': '<<SNIP>>'},
     'id': 'eacb2540-b15f-411d-bb97-0a37033963c9',
     'image': None,
     'name': 'dev-iad3-redis-n001.example.com',
     'private_ips': [],
     'public_ips': ['<<SNIP>>', '<<SNIP>>'],
     'size': None,
     'state': 3}
    [DEBUG   ] SaltEvent PUB socket URI: ipc:///var/run/salt/master/master_event_pub.ipc
    [DEBUG   ] SaltEvent PULL socket URI: ipc:///var/run/salt/master/master_event_pull.ipc
    [DEBUG   ] loading output in ['/var/cache/salt/master/extmods/output', '/usr/lib/python2.7/dist-packages/salt/output']
    [DEBUG   ] Skipping /var/cache/salt/master/extmods/output, it is not a directory
    [DEBUG   ] Loaded no_out as virtual quiet
    [DEBUG   ] Loaded json_out as virtual json
    [DEBUG   ] Loaded yaml_out as virtual yaml
    [DEBUG   ] Loaded pprint_out as virtual pprint
    dev-iad3-redis-n001.example.com:
        ----------
        _uuid:
            None
        driver:
            <libcloud.compute.drivers.openstack.OpenStack_1_1_NodeDriver object at 0x311f110>
        extra:
            ----------
            created:
                2014-01-06T19:12:16Z
            flavorId:
                4
            hostId:
    
            imageId:
                23b564c9-c3e6-49f9-bc68-86c7a9ab5018
            key_name:
                None
            metadata:
                ----------
            password:
                <<SNIP>>
            tenantId:
                <<SNIP>>
            updated:
                2014-01-06T19:12:16Z
            uri:
                <<SNIP>>
        id:
            eacb2540-b15f-411d-bb97-0a37033963c9
        image:
            None
        name:
            dev-iad3-redis-n001.example.com
        private_ips:
        public_ips:
            - <<SNIP>>
            - <<SNIP>>
        size:
            None
        state:
            3
    
  6. techhat commented on Jan 6, 2014

    @techhat
    Contributor

    @s0undt3ch could this be VT-related?

  7. JasonSwindle commented on Jan 6, 2014

    @JasonSwindle
    ContributorAuthor

    I can confirm that

    ssh -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -oControlPath=none root@<<SNIP>> date
    

    will work with the password in the log as it is trying to fail.

  8. s0undt3ch commented on Jan 7, 2014

    @s0undt3ch
    Contributor

    @JasonSwindle the minions being bootstrapped are Ubuntu 12.04.3 LTS?
    The rackspace image name is "Ubuntu 12.04 LTS (Precise Pangolin)"?

  9. JasonSwindle commented on Jan 7, 2014

    @JasonSwindle
    ContributorAuthor

    Correct, here is my cloud.profiles.d if this helps. :)

    /etc/salt/cloud.profiles.d/openstack.conf
    openstack_2GB:
        provider: openstack_config
        size: 2GB Standard Instance
        image: Ubuntu 12.04 LTS (Precise Pangolin)
    
  10. JasonSwindle commented on Jan 12, 2014

    @JasonSwindle
    ContributorAuthor

    Howdy,

    Any movement on this, or anything I need to do to test / try? :)

    Thanks!
    Jason

  11. JasonSwindle commented on Jan 12, 2014

    @JasonSwindle
    ContributorAuthor

    I tested on Public Cloud Standard and Performance nodes. It just spams the SSH connections, 1 - 15, and then fails.

    Jason

  12. techhat commented on Jan 14, 2014

    @techhat
    Contributor

    @JasonSwindle would you mind rolling back to 028d25a and testing for me?

  13. techhat commented on Jan 15, 2014

    @techhat
    Contributor

    @s0undt3ch it doesn't look like #9757 fixes this particular issue, but rolling back to 028d25a does clear it up.

  14. s0undt3ch commented on Jan 15, 2014

    @s0undt3ch
    Contributor

    #9759 this might help to get more info.

  15. s0undt3ch commented on Jan 16, 2014

    @s0undt3ch
    Contributor

    tagging @abemusic

    I'm able to trigger this issue.... investigating.

  16. s0undt3ch commented on Jan 16, 2014

    @s0undt3ch
    Contributor

    Fixed by #9778

  17. added
    RIoT
    on Jun 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    RIoTSalt-Cloudbugseverity-medium

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions