rancher / os

Tiny Linux distro that runs the entire OS as Docker containers
https://rancher.com/docs/os/v1.x/en/
Apache License 2.0
6.44k stars 656 forks source link

OpenStack: authorized_key not installed as provided in OS_KEYPAIR_NAME #2143

Open sagar-chandarana opened 6 years ago

sagar-chandarana commented 6 years ago

RancherOS Version: v1.1.0

Where are you running RancherOS? (OVH - OpenStack Nova.)

Seems like Rancher doesn't boot up with ssh keys provided from Openstack, it keeps asking for a password on login.

I am specifying OS_KEYPAIR_NAME from Rancher interface while adding a host. Also from docker-machine cli, and it hangs on "Waiting for SSH to be available..."

I tried to login manually, and I get asked for a password for root/rancher/docker all of the users.

Am I missing something?

curx commented 6 years ago

@sagar-chandarana Can you please try to boot the RancherOS Nova instance with configdrive? Currently RancherOS supports OpenStack configdrive option only and the Nova keypair is used by MetadataAgent, see RancherOS Docs , but an WIP exist for OpenStack MetadataAgent #2125 and #2124

sagar-chandarana commented 6 years ago

Docker machine doesn't support configdrive as of now. I am going to wait until this is fixed. Thanks @curx