<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix"><br>
Hello Abel,<br>
<br>
Allow 22 port is configured. And key-pair is associated. But from
vm console logs, cloud-init shows below error.<br>
<br>
<small><i>VM Overview:</i><i><br>
</i><i>+++++++++++++++++++++++++++++</i><i><br>
</i><i>Security Groups</i><i><br>
</i><i><br>
</i><i>default</i><i><br>
</i><i><br>
</i><i> ALLOW -1:-1 from 0.0.0.0/0</i><i><br>
</i><i> ALLOW 22:22 from 0.0.0.0/0</i><i><br>
</i><i> ALLOW 1:65535 from 0.0.0.0/0</i><i><br>
</i><i> ALLOW 1:65535 from 0.0.0.0/0</i><i><br>
</i><i> ALLOW -1:255 from 0.0.0.0/0</i><i><br>
</i><i><br>
</i><i>Meta</i><i><br>
</i><i><br>
</i><i>Key Name</i><i><br>
</i><i> shyam_pub</i><i><br>
</i><i>Image Name</i><i><br>
</i><i> ubuntu-precise-21012013</i><i><br>
</i><i>++++++++++++++++++++++++++++</i></small><br>
<br>
<br>
<small><i>+++++++++++ VM console logs ++++++++++++</i><i><br>
</i><i>
cloud-init start running: Wed, 30 Jan 2013 11:21:51 +0000. up
3.33 seconds</i><i><br>
</i><i>
</i><i><br>
</i><i>
2013-01-30 11:22:41,822 - util.py[WARNING]:
'<a class="moz-txt-link-freetext" href="http://169.254.169.254/2009-04-04/meta-data/instance-id">http://169.254.169.254/2009-04-04/meta-data/instance-id</a>'
failed [50/120s]: url error [timed out]</i><i><br>
</i><i>
</i><i><br>
</i><i>
2013-01-30 11:22:43,827 - util.py[WARNING]:
'<a class="moz-txt-link-freetext" href="http://169.254.169.254/2009-04-04/meta-data/instance-id">http://169.254.169.254/2009-04-04/meta-data/instance-id</a>'
failed [52/120s]: url error [[Errno 113] No route to host]</i><i><br>
</i><i>
</i><i><br>
</i><i>
2013-01-30 11:23:34,879 - util.py[WARNING]:
'<a class="moz-txt-link-freetext" href="http://169.254.169.254/2009-04-04/meta-data/instance-id">http://169.254.169.254/2009-04-04/meta-data/instance-id</a>'
failed [103/120s]: url error [timed out]</i><i><br>
</i><i>
</i><i><br>
</i><i>
2013-01-30 11:23:50,896 - util.py[WARNING]:
'<a class="moz-txt-link-freetext" href="http://169.254.169.254/2009-04-04/meta-data/instance-id">http://169.254.169.254/2009-04-04/meta-data/instance-id</a>'
failed [119/120s]: url error [timed out]</i><i><br>
</i><i>
</i><i><br>
</i><i>
2013-01-30 11:23:51,899 - DataSourceEc2.py[CRITICAL]: giving
up on md after 120 seconds</i><i><br>
</i><i>
+++++++++++++++++++++++++++++++++++++++</i></small><br>
<br>
Thanks,<br>
Shyam.<br>
<br>
On Thursday 31 January 2013 12:20 PM, Abel Lopez wrote:<br>
</div>
<blockquote
cite="mid:CALtO1Z+SfT8X2qyoYTGNZw_ZEkv0MfALqh3Vm-z2h-9Jc-k3DQ@mail.gmail.com"
type="cite">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. <span></span><br>
<br>
On Wednesday, January 30, 2013, Shyam Goud wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> Hello,<br>
<br>
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. <br>
<br>
Is the ubuntu cloud image has user name "ubuntu" or "root" ?
Plz let me know what I am missing here. <br>
<br>
+++++++++++++++++++<br>
<i><small><br>
#nova keypair-list</small></i><br>
<small><i>+---------------------+-------------------------------------------------+</i><i><br>
</i><i>| Name |
Fingerprint
|</i><i><br>
</i><i>+---------------------+-------------------------------------------------+</i><i><br>
</i><i>| shyam |
e7:57:1c:d1:76:26:84:50:67:a9:70:41:69:4f:6a:8b |</i><i><br>
</i><i>+---------------------+-------------------------------------------------+</i></small><br>
<br>
<small><i><a moz-do-not-send="true" href="javascript:_e({},
'cvml', 'sgoud@ibuntu:~/.ssh$');" target="_blank">sgoud@ibuntu:~/.ssh$</a>
ssh <a moz-do-not-send="true" href="javascript:_e({},
'cvml', 'ubuntu@10.2.113.133');" target="_blank">ubuntu@10.2.113.133</a>
-v</i><i><br>
</i><i>OpenSSH_6.0p1 Debian-3ubuntu1, OpenSSL 1.0.1c 10 May
2012</i><i><br>
</i><i>debug1: Reading configuration data
/etc/ssh/ssh_config</i><i><br>
</i><i>debug1: /etc/ssh/ssh_config line 19: Applying options
for *</i><i><br>
</i><i>debug1: Connecting to 10.2.113.133 [10.2.113.133]
port 22.</i><i><br>
</i><i>debug1: Connection established.</i><i><br>
</i><i>debug1: identity file /home/sgoud/.ssh/id_rsa type 1</i><i><br>
</i><i>debug1: Checking blacklist file
/usr/share/ssh/blacklist.RSA-2048</i><i><br>
</i><i>debug1: Checking blacklist file
/etc/ssh/blacklist.RSA-2048</i><i><br>
</i><i>debug1: identity file /home/sgoud/.ssh/id_rsa-cert
type -1</i><i><br>
</i><i>debug1: identity file /home/sgoud/.ssh/id_dsa type -1</i><i><br>
</i><i>debug1: identity file /home/sgoud/.ssh/id_dsa-cert
type -1</i><i><br>
</i><i>debug1: identity file /home/sgoud/.ssh/id_ecdsa type
-1</i><i><br>
</i><i>debug1: identity file /home/sgoud/.ssh/id_ecdsa-cert
type -1</i><i><br>
</i><i>debug1: Remote protocol version 2.0, remote software
version OpenSSH_5.9p1 Debian-5ubuntu1</i><i><br>
</i><i>debug1: match: OpenSSH_5.9p1 Debian-5ubuntu1 pat
OpenSSH_5*</i><i><br>
</i><i>debug1: Enabling compatibility mode for protocol 2.0</i><i><br>
</i><i>debug1: Local version string SSH-2.0-OpenSSH_6.0p1
Debian-3ubuntu1</i><i><br>
</i><i>debug1: SSH2_MSG_KEXINIT sent</i><i><br>
</i><i>Connection closed by 10.2.113.133</i></small><br>
+++++++++++++++++++<br>
<br>
Thanks,<br>
Shyam.<br>
</div>
</blockquote>
</blockquote>
<br>
</body>
</html>