[openstack-dev] [Openstack-operators] Password less SSH to ubuntu VM
Shyam Goud
shyam.todeti at oneconvergence.com
Thu Jan 31 07:12:34 UTC 2013
Hello Abel,
Allow 22 port is configured. And key-pair is associated. But from vm
console logs, cloud-init shows below error.
/VM Overview://
//+++++++++++++++++++++++++++++//
//Security Groups//
//
//default//
//
// ALLOW -1:-1 from 0.0.0.0/0//
// ALLOW 22:22 from 0.0.0.0/0//
// ALLOW 1:65535 from 0.0.0.0/0//
// ALLOW 1:65535 from 0.0.0.0/0//
// ALLOW -1:255 from 0.0.0.0/0//
//
//Meta//
//
//Key Name//
// shyam_pub//
//Image Name//
// ubuntu-precise-21012013//
//++++++++++++++++++++++++++++/
/+++++++++++ VM console logs ++++++++++++//
//cloud-init start running: Wed, 30 Jan 2013 11:21:51 +0000. up 3.33
seconds//
////
//2013-01-30 11:22:41,822 - util.py[WARNING]:
'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed
[50/120s]: url error [timed out]//
////
//2013-01-30 11:22:43,827 - util.py[WARNING]:
'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed
[52/120s]: url error [[Errno 113] No route to host]//
////
//2013-01-30 11:23:34,879 - util.py[WARNING]:
'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed
[103/120s]: url error [timed out]//
////
//2013-01-30 11:23:50,896 - util.py[WARNING]:
'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed
[119/120s]: url error [timed out]//
////
//2013-01-30 11:23:51,899 - DataSourceEc2.py[CRITICAL]: giving up on md
after 120 seconds//
//+++++++++++++++++++++++++++++++++++++++/
Thanks,
Shyam.
On Thursday 31 January 2013 12:20 PM, Abel Lopez wrote:
> The default ubuntu UEC images use "ubuntu" as the user. Check your
> console logs to ensure that your key is there. Also make sure your
> security group rules allow port 22.
>
> On Wednesday, January 30, 2013, Shyam Goud wrote:
>
> Hello,
>
> I imported my ssh pub-key to openstack via Horizon web interface's
> access&security option. And launched VM with it. But haven't
> succeeded ssh to the VM.
>
> Is the ubuntu cloud image has user name "ubuntu" or "root" ? Plz
> let me know what I am missing here.
>
> +++++++++++++++++++
> /
> #nova keypair-list/
> /+---------------------+-------------------------------------------------+//
> //| Name | Fingerprint |//
> //+---------------------+-------------------------------------------------+//
> //| shyam |
> e7:57:1c:d1:76:26:84:50:67:a9:70:41:69:4f:6a:8b |//
> //+---------------------+-------------------------------------------------+/
>
> /sgoud at ibuntu:~/.ssh$ <javascript:_e({}, 'cvml',
> 'sgoud at ibuntu:~/.ssh$');> ssh ubuntu at 10.2.113.133
> <javascript:_e({}, 'cvml', 'ubuntu at 10.2.113.133');> -v//
> //OpenSSH_6.0p1 Debian-3ubuntu1, OpenSSL 1.0.1c 10 May 2012//
> //debug1: Reading configuration data /etc/ssh/ssh_config//
> //debug1: /etc/ssh/ssh_config line 19: Applying options for *//
> //debug1: Connecting to 10.2.113.133 [10.2.113.133] port 22.//
> //debug1: Connection established.//
> //debug1: identity file /home/sgoud/.ssh/id_rsa type 1//
> //debug1: Checking blacklist file /usr/share/ssh/blacklist.RSA-2048//
> //debug1: Checking blacklist file /etc/ssh/blacklist.RSA-2048//
> //debug1: identity file /home/sgoud/.ssh/id_rsa-cert type -1//
> //debug1: identity file /home/sgoud/.ssh/id_dsa type -1//
> //debug1: identity file /home/sgoud/.ssh/id_dsa-cert type -1//
> //debug1: identity file /home/sgoud/.ssh/id_ecdsa type -1//
> //debug1: identity file /home/sgoud/.ssh/id_ecdsa-cert type -1//
> //debug1: Remote protocol version 2.0, remote software version
> OpenSSH_5.9p1 Debian-5ubuntu1//
> //debug1: match: OpenSSH_5.9p1 Debian-5ubuntu1 pat OpenSSH_5*//
> //debug1: Enabling compatibility mode for protocol 2.0//
> //debug1: Local version string SSH-2.0-OpenSSH_6.0p1 Debian-3ubuntu1//
> //debug1: SSH2_MSG_KEXINIT sent//
> //Connection closed by 10.2.113.133/
> +++++++++++++++++++
>
> Thanks,
> Shyam.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130131/9976d9b8/attachment.html>
More information about the OpenStack-dev
mailing list