Skip to content

Waiting for SSH service #91

@jgrill

Description

@jgrill

CentOS 6.6; ChefDK > 0.4.0; kitchen-openstack 1.8.1

We've tried every version of ChefDK greater than 0.4.0 (including the latest 0.7.0) with kitchen-openstack 1.8.1 and experience a failure to detect SSH service on remote VM.

(server ready)
       Attaching floating IP from <net04_ext> pool
       Attaching floating IP <172.26.4.188>
       Waiting for SSH service on 172.26.4.188:22, retrying in 3 seconds
       Waiting for SSH service on 172.26.4.188:22, retrying in 3 seconds
       Waiting for SSH service on 172.26.4.188:22, retrying in 3 seconds
       Waiting for SSH service on 172.26.4.188:22, retrying in 3 seconds
      [truncated for brevity]
       Waiting for SSH service on 172.26.4.188:22, retrying in 3 seconds
       Waiting for SSH service on 172.26.4.188:22, retrying in 3 seconds
       Waiting for SSH service on 172.26.4.188:22, retrying in 3 seconds
$$$$$$ [SSH] connection failed, terminating (#<Net::SSH::AuthenticationFailed: Authentication failed for user cloud-user@172.26.4.188>)
>>>>>> ------Exception-------
>>>>>> Class: Kitchen::ActionFailed
>>>>>> Message: Failed to complete #create action: [SSH session could not be established]

Downgrading to ChefDK 0.4.0 and rerunning the same operation works just fine. Not sure if it helps to know this, but I can edit the .kitchen/default-centos-66.yml and modify the last action and ssh key and kitchen login will work, which leads me to believe it's just a problem with initially detecting the ssh service.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions