# "Waiting for SSH to be available" message

**URL:** <https://forums.suse.com/t/waiting-for-ssh-to-be-available-message/37022>\
**Category:** SUSE Rancher Prime\
**Created:** [February 17, 2022, 4:51pm UTC](https://forums.suse.com/t/waiting-for-ssh-to-be-available-message/37022 "2022-02-17T16:51:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![caatclaudia](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/caatclaudia/32/8632_2.png) [@caatclaudia](https://forums.suse.com/u/caatclaudia)\
**Post date:** [February 17, 2022, 4:51pm UTC](https://forums.suse.com/t/waiting-for-ssh-to-be-available-message/37022/1 "2022-02-17T16:51:37Z")

</div>

Rancher version: v.2.6.3  
Installation option:

- Helm version: v3.8.0
- k3s version: v1.22.6+k3s1  
Openstack:
- Microstack Installation - version ussuri, Revision 245

I want to integrate OpenStack Cloud Provider in the Rancher interface. To do that in the Drivers tab (on Rancher Interface) I enabled the option " _OpenStack_ ".  
Then, I created a " _Node Template_ " with the following options:

```auto
authURL: https://XX:5000/v3
availabilityZone: nova
domainId: default
flavorId: 1
floatingipPool: XX
imageName: cirros
ipVersion: 4
keypairName: <keyPair to SSH to the instance>
netId: <network "test" ID>
password: XX
privateKeyFile: <content of XX.pem>
region: XX
secGroups: default
sshPort: 22
sshUser: <user to OpenStack machine>
tenantId: XX
userDomainId: default
username: admin

```

Then, I created a Cluster with “ _RKE1_ ” and OpenStack options. I selected Node Template that I have created and options “etcd”, “Control Plane” and “Worker”. In " _Cluster Options_ ", I selected " _External_ " in the Cloud Provider field and edit the YAML to introduce the following configuration:

```auto
cloud_provider:
 name: openstack
 openstackCloudProvider:
    global:
      username: admin
      password: XX
      auth-url: https://XX:5000/v3
      tenant-id: XX
      domain-id: default
    load_balancer:
      subnet-id: XX
    block_storage:
      ignore-volume-az: true
    route:
      router-id: XX
bastion_host:
  port: '22'
  ssh_agent_auth: true
  user: <User of instance>

```

When I clicked on "_Create_ " and verified on " _Provisioning Log_ " in the Cluster, this is the output:

![image](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/0/0043e762a6adaf4fce2668cdc88bf390466f9b36.png)

In Rancher Interface, the " _Provisioning Log_ " shows the message " _Waiting for SSH to be available…_ ".

---

<div class="post-metadata">

**Author:** ![gmocellin](https://avatars.discourse-cdn.com/v4/letter/g/5fc32e/32.png) [@gmocellin](https://forums.suse.com/u/gmocellin)\
**Post date:** [March 4, 2022, 9:30am UTC](https://forums.suse.com/t/waiting-for-ssh-to-be-available-message/37022/2 "2022-03-04T09:30:10Z")

</div>

Hello !

I also try to deploy a Kubernetes cluster in an OpenStack Project, with a private network, throught a bastion host.  
Without success.  
Like I posted in [Rancher 2.3.5, Openstack and Bastion/Jump hosts](https://forums.suse.com/t/rancher-2-3-5-openstack-and-bastion-jump-hosts/16762)

When I copy/paste the bastion section in the cluster config in the Rancher Web UI, the ssh\_key element is removed…

I don’t konw if it the only reason why it doesn’t work, but that’s all I can see.

Does someone knows if there are logs somwhere ? The Provisoning Logs tab is empty in the Web UI.

---

<div class="post-metadata">

**Author:** ![caatclaudia](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/caatclaudia/32/8632_2.png) [@caatclaudia](https://forums.suse.com/u/caatclaudia)\
**Post date:** [March 4, 2022, 9:53am UTC](https://forums.suse.com/t/waiting-for-ssh-to-be-available-message/37022/3 "2022-03-04T09:53:33Z")

</div>

Hi.

At the moment this problem is already advanced (my problem was that my Rancher server didn’t have the IP route to the network inside OpenStack). But this integration between Rancher and OpenStack is not clear and in my case I still have problems and not a successful integration.  
But you could see this link: [Deploying Rancher On OpenStack - vkhitrin.com](https://blog.vkhitrin.com/deploying-rancher-on-openstack/)

In cluster config is normal that password rancher and ssh key content will don’t appear, since they are sensitive information.

You should check the routing between networks and also if your cluster config is correct.

The logs you can see:  
Logs openstack: Find nova.log file

Logs Rancher  
Ref.: [Rancher Docs: Logging](https://rancher.com/docs/rancher/v2.6/en/troubleshooting/logging/)  
_#kubectl -n cattle-system logs -l app=rancher -c rancher_  
_#kubectl logs -n cattle-system_

---

<div class="post-metadata">

**Author:** ![gmocellin](https://avatars.discourse-cdn.com/v4/letter/g/5fc32e/32.png) [@gmocellin](https://forums.suse.com/u/gmocellin)\
**Post date:** [March 4, 2022, 2:06pm UTC](https://forums.suse.com/t/waiting-for-ssh-to-be-available-message/37022/4 "2022-03-04T14:06:03Z")

</div>

Strange, the cluster I tried to create is not there anymore, I have deleted it.  
But I see logs from rancher trying to connect to a cluster :

```auto
2022/03/04 10:46:12 [ERROR] Failed to handling tunnel request from 10.42.1.99:49818: response 401: failed authentication
2022/03/04 10:46:13 [ERROR] Failed to handling tunnel request from 10.42.1.99:52124: response 400: cluster not found
2022/03/04 10:46:15 [ERROR] Failed to dial steve aggregation server: websocket: bad handshake
2022/03/04 10:45:57 [ERROR] Failed to dial steve aggregation server: websocket: bad handshake

```
