<html><head>
<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
</head><body style="font-family: Lucida Grande; font-size: 10pt;"
bgcolor="#FFFFFF" text="#000000"><div style="font-size:
10pt;font-family: Lucida Grande;"><span style="font-family: Lucida
Grande;">Yup,<br>our friend smooser prensented it<br><a class="moz-txt-link-freetext" href="http://ubuntu-smoser.blogspot.fr/2010/03/introducing-cloud-inits-cloud-config.html">http://ubuntu-smoser.blogspot.fr/2010/03/introducing-cloud-inits-cloud-config.html</a><br></span><br><blockquote
style="border: 0px none;"
cite="mid:3A8DDB96-90E0-4C9C-9F85-906D9181CFE3@nimbisservices.com"
type="cite"><div style="margin:30px 25px 10px 25px;" class="__pbConvHr"><div
style="display:table;width:100%;border-top:1px solid
#EDEEF0;padding-top:5px"> <div
style="display:table-cell;vertical-align:middle;padding-right:6px;"><img
photoaddress="lorin@nimbisservices.com" photoname="Lorin Hochstein"
src="cid:part1.08040607.00060706@gmail.com" name="postbox-contact.jpg"
height="25px" width="25px"></div> <div
style="display:table-cell;white-space:nowrap;vertical-align:middle;width:100%">
<a moz-do-not-send="true" href="mailto:lorin@nimbisservices.com"
style="color:#737F92
!important;padding-right:6px;font-weight:bold;text-decoration:none
!important;">Lorin Hochstein</a></div> <div
style="display:table-cell;white-space:nowrap;vertical-align:middle;">
<font color="#9FA2A5"><span style="padding-left:6px">23 mai 2012 19:25</span></font></div></div></div><div
style="color:#888888;margin-left:24px;margin-right:24px;"
__pbrmquotes="true" class="__pbConvBody"><br><div><br
class="Apple-interchange-newline"><div><br></div><div>Wow, I never knew
about that package. Are all of those utils compatible with OpenStack?
Are they documented everywhere? Now that we're adding
distribution-specific content to the docs, these are probably worth a
mention in the Ubuntu OpenStack install guide.</div><div><br></div></div><div><div><span
style="border-collapse: separate; color: rgb(0, 0, 0); font-family:
Helvetica; font-style: normal; font-variant: normal; font-weight:
normal; letter-spacing: normal; line-height: normal; orphans: 2;
text-align: -webkit-auto; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing:
0px; -webkit-text-decorations-in-effect: none;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;
font-size: medium; " class="Apple-style-span"><span
style="border-collapse: separate; color: rgb(0, 0, 0); font-family:
Helvetica; font-style: normal; font-variant: normal; font-weight:
normal; letter-spacing: normal; line-height: normal; orphans: 2;
text-align: -webkit-auto; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing:
0px; -webkit-text-decorations-in-effect: none;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;
font-size: medium; " class="Apple-style-span"><div style="word-wrap:
break-word; -webkit-nbsp-mode: space; -webkit-line-break:
after-white-space; "><span style="border-collapse: separate; color:
rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant:
normal; font-weight: normal; letter-spacing: normal; line-height:
normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;
-webkit-border-horizontal-spacing: 0px;
-webkit-border-vertical-spacing: 0px;
-webkit-text-decorations-in-effect: none; -webkit-text-size-adjust:
auto; -webkit-text-stroke-width: 0px; font-size: medium; "
class="Apple-style-span"><div style="word-wrap: break-word;
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Take
care,</div><div><br></div><div>Lorin</div><div>--</div><div>Lorin
Hochstein</div><div>Lead Architect - Cloud Services</div><div>Nimbis
Services, Inc.</div><div><a moz-do-not-send="true"
href="https://www.nimbisservices.com/">www.nimbisservices.com</a></div><div><br></div></div></span><br
class="Apple-interchange-newline"></div></span><br
class="Apple-interchange-newline"></span><br
class="Apple-interchange-newline"></div></div><div>_______________________________________________<br>Mailing
list: <a class="moz-txt-link-freetext" href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>Post to :
<a class="moz-txt-link-abbreviated" href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>Unsubscribe :
<a class="moz-txt-link-freetext" href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>More help :
<a class="moz-txt-link-freetext" href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a><br></div></div><div
style="margin:30px 25px 10px 25px;" class="__pbConvHr"><div
style="display:table;width:100%;border-top:1px solid
#EDEEF0;padding-top:5px"> <div
style="display:table-cell;vertical-align:middle;padding-right:6px;"><img
photoaddress="soren@linux2go.dk" photoname="Soren Hansen"
src="cid:part2.04020808.04020901@gmail.com" name="postbox-contact.jpg"
height="25px" width="25px"></div> <div
style="display:table-cell;white-space:nowrap;vertical-align:middle;width:100%">
<a moz-do-not-send="true" href="mailto:soren@linux2go.dk"
style="color:#737F92
!important;padding-right:6px;font-weight:bold;text-decoration:none
!important;">Soren Hansen</a></div> <div
style="display:table-cell;white-space:nowrap;vertical-align:middle;">
<font color="#9FA2A5"><span style="padding-left:6px">23 mai 2012 00:08</span></font></div></div></div><div
style="color:#888888;margin-left:24px;margin-right:24px;"
__pbrmquotes="true" class="__pbConvBody"><div><!----><br>Ubuntu's
cloud-utils package has a cloud-run-instances utility that does<br>this.
It's not exactly in the do-one-thing-and-do-it-well sort of<br>category,
but perhaps it's just what you need.<br><br></div></div><div
style="margin:30px 25px 10px 25px;" class="__pbConvHr"><div
style="display:table;width:100%;border-top:1px solid
#EDEEF0;padding-top:5px"> <div
style="display:table-cell;vertical-align:middle;padding-right:6px;"><img
photoaddress="lorin@nimbisservices.com" photoname="Lorin Hochstein"
src="cid:part1.08040607.00060706@gmail.com" name="postbox-contact.jpg"
height="25px" width="25px"></div> <div
style="display:table-cell;white-space:nowrap;vertical-align:middle;width:100%">
<a moz-do-not-send="true" href="mailto:lorin@nimbisservices.com"
style="color:#737F92
!important;padding-right:6px;font-weight:bold;text-decoration:none
!important;">Lorin Hochstein</a></div> <div
style="display:table-cell;white-space:nowrap;vertical-align:middle;">
<font color="#9FA2A5"><span style="padding-left:6px">21 mai 2012 23:30</span></font></div></div></div><div
style="color:#888888;margin-left:24px;margin-right:24px;"
__pbrmquotes="true" class="__pbConvBody">Has anybody ever written a
script that grabs the host public key from the instance's console and
updates the .ssh/config/known_hosts file accordingly, instead of
throwing away host key checking? That would be a handy little thing if
it was out there.<br><div><br></div><div apple-content-edited="true">
<span style="border-collapse: separate; color: rgb(0, 0, 0);
font-family: Helvetica; font-style: normal; font-variant: normal;
font-weight: normal; letter-spacing: normal; line-height: normal;
orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform:
none; white-space: normal; widows: 2; word-spacing: 0px;
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing:
0px; -webkit-text-decorations-in-effect: none;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;
font-size: medium; " class="Apple-style-span"><span
style="border-collapse: separate; color: rgb(0, 0, 0); font-family:
Helvetica; font-style: normal; font-variant: normal; font-weight:
normal; letter-spacing: normal; line-height: normal; orphans: 2;
text-align: -webkit-auto; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing:
0px; -webkit-text-decorations-in-effect: none;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;
font-size: medium; " class="Apple-style-span"><div style="word-wrap:
break-word; -webkit-nbsp-mode: space; -webkit-line-break:
after-white-space; "><span style="border-collapse: separate; color:
rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant:
normal; font-weight: normal; letter-spacing: normal; line-height:
normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;
-webkit-border-horizontal-spacing: 0px;
-webkit-border-vertical-spacing: 0px;
-webkit-text-decorations-in-effect: none; -webkit-text-size-adjust:
auto; -webkit-text-stroke-width: 0px; font-size: medium; "
class="Apple-style-span"><div style="word-wrap: break-word;
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Take
care,</div><div><br></div><div>Lorin</div><div>--</div><div>Lorin
Hochstein</div><div>Lead Architect - Cloud Services</div><div>Nimbis
Services, Inc.</div><div><a moz-do-not-send="true"
href="https://www.nimbisservices.com/">www.nimbisservices.com</a></div><div><br></div></div></span></div></span><br
class="Apple-interchange-newline"></span><br
class="Apple-interchange-newline">
</div>
<br><div><br class="Apple-interchange-newline"></div><br><div>_______________________________________________<br>Mailing
list: <a class="moz-txt-link-freetext" href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>Post to :
<a class="moz-txt-link-abbreviated" href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>Unsubscribe :
<a class="moz-txt-link-freetext" href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>More help :
<a class="moz-txt-link-freetext" href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a><br></div></div><div
style="margin:30px 25px 10px 25px;" class="__pbConvHr"><div
style="display:table;width:100%;border-top:1px solid
#EDEEF0;padding-top:5px"> <div
style="display:table-cell;vertical-align:middle;padding-right:6px;"><img
photoaddress="joseph.breu@rackspace.com" photoname="Joe Breu"
src="cid:part4.06010508.05060000@gmail.com"
name="compose-unknown-contact.jpg" height="25px" width="25px"></div> <div
style="display:table-cell;white-space:nowrap;vertical-align:middle;width:100%">
<a moz-do-not-send="true" href="mailto:joseph.breu@rackspace.com"
style="color:#737F92
!important;padding-right:6px;font-weight:bold;text-decoration:none
!important;">Joe Breu</a></div> <div
style="display:table-cell;white-space:nowrap;vertical-align:middle;">
<font color="#9FA2A5"><span style="padding-left:6px">21 mai 2012 12:09</span></font></div></div></div><div
style="color:#888888;margin-left:24px;margin-right:24px;"
__pbrmquotes="true" class="__pbConvBody">
<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
Hi Eric,
<div><br>
</div>
<div>It would appear that the nova user on one of the compute nodes had
at one time cached the SSH host key of the other node and now the key
has changed. You can bypass this by adding the following to
~nova/.ssh/config on both compute nodes:</div>
<div><br>
</div>
<div>
<div>Host *</div>
<div> StrictHostKeyChecking no</div>
<div> UserKnownHostsFile=/dev/null</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div apple-content-edited="true">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space;
-webkit-line-break: after-white-space; ">
<div>---</div>
<div>Joseph Breu</div>
<div>Deployment Engineer</div>
<div>Rackspace Cloud Builders</div>
<div>210-312-3508</div>
</div>
</div>
<br>
<div>
<div>On May 21, 2012, at 11:34 AM, Eric Luo wrote:</div>
<br class="Apple-interchange-newline">
</div>
<br>
</div>
<div>_______________________________________________<br>Mailing list:
<a class="moz-txt-link-freetext" href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>Post to :
<a class="moz-txt-link-abbreviated" href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>Unsubscribe :
<a class="moz-txt-link-freetext" href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>More help :
<a class="moz-txt-link-freetext" href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a><br></div></div><div
style="margin:30px 25px 10px 25px;" class="__pbConvHr"><div
style="display:table;width:100%;border-top:1px solid
#EDEEF0;padding-top:5px"> <div
style="display:table-cell;vertical-align:middle;padding-right:6px;"><img
photoaddress="nextfool@gmail.com" photoname="Eric Luo"
src="cid:part4.06010508.05060000@gmail.com"
name="compose-unknown-contact.jpg" height="25px" width="25px"></div> <div
style="display:table-cell;white-space:nowrap;vertical-align:middle;width:100%">
<a moz-do-not-send="true" href="mailto:nextfool@gmail.com"
style="color:#737F92
!important;padding-right:6px;font-weight:bold;text-decoration:none
!important;">Eric Luo</a></div> <div
style="display:table-cell;white-space:nowrap;vertical-align:middle;">
<font color="#9FA2A5"><span style="padding-left:6px">21 mai 2012 11:34</span></font></div></div></div><div
style="color:#888888;margin-left:24px;margin-right:24px;"
__pbrmquotes="true" class="__pbConvBody">Hello ,all.
<div><br></div><div>I have a two nodes installation . OS1 is the cloud
controller ,and OS2 is a nova-compute node.</div><div>I have a vm (name
as vm1) running on OS1.</div><div>When I use the command <b> nova
migrate vm1 </b></div>
<div><b><br></b></div><div>The dashboard is showing the vm1 as : status
:error ,task :<span
style="color:rgb(51,51,51);font-family:Ubuntu,'Bitstream Vera
Sans','DejaVu
Sans',Tahoma,sans-serif;font-size:13px;line-height:18px;text-align:left">Resize
Prep</span></div>
<div><span style="text-align:left"><font color="#333333" face="Ubuntu,
Bitstream Vera Sans, DejaVu Sans, Tahoma, sans-serif"><span
style="line-height:18px">I tail ed the nova-compute.log in OS1, and
found the following error information while running the </span></font></span><b> nova
migrate vm1 </b>command :</div>
<div><br></div><div><br></div><div>Can someone please explain to me what
does these error mean ,and what's wrong with my config ...</div><div><br></div><div><br></div><div><div><font
color="#ff0000">2012-05-21 17:20:45 ERROR nova.compute.manager
[req-d0f494cb-e9d6-41d2-b6df-6faa432a644d
6ffaaedb60c24f5eb888319e1e387d75 0d7a5a12b6f54aa9bff986bf138bc0b7] Unex </font><span
style="color:rgb(255,0,0)">pected error while running command.</span></div>
<div><font color="#ff0000">Command: ssh 192.168.0.205 mkdir -p
/var/lib/nova/instances/instance-0000000a</font></div><div><font
color="#ff0000">Exit code: 255</font></div><div><font color="#ff0000">Stdout:
''</font></div>
<div><font color="#ff0000">Stderr: 'Host key verification failed.\r\n'.
Setting instance vm_state to ERROR</font></div><div>2012-05-21 17:20:45
ERROR nova.rpc.amqp [req-d0f494cb-e9d6-41d2-b6df-6faa432a644d
6ffaaedb60c24f5eb888319e1e387d75 0d7a5a12b6f54aa9bff986bf138bc0b7]
Exception during message handling</div>
<div>2012-05-21 17:20:45 TRACE nova.rpc.amqp Traceback (most recent call
last):</div><div>2012-05-21 17:20:45 TRACE nova.rpc.amqp File
"/usr/lib/python2.7/dist-packages/nova/rpc/amqp.py", line 252, in
_process_data</div>
<div>2012-05-21 17:20:45 TRACE nova.rpc.amqp rval =
node_func(context=ctxt, **node_args)</div><div>2012-05-21 17:20:45 TRACE
nova.rpc.amqp File
"/usr/lib/python2.7/dist-packages/nova/exception.py", line 114, in
wrapped</div>
<div>2012-05-21 17:20:45 TRACE nova.rpc.amqp return f(*args, **kw)</div><div>2012-05-21
17:20:45 TRACE nova.rpc.amqp File
"/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 153, in
decorated_function</div>
<div>2012-05-21 17:20:45 TRACE nova.rpc.amqp function(self, context,
instance_uuid, *args, **kwargs)</div><div>2012-05-21 17:20:45 TRACE
nova.rpc.amqp File
"/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 177, in
decorated_function</div>
<div>2012-05-21 17:20:45 TRACE nova.rpc.amqp sys.exc_info())</div><div>2012-05-21
17:20:45 TRACE nova.rpc.amqp File "/usr/lib/python2.7/contextlib.py",
line 24, in __exit__</div><div>2012-05-21 17:20:45 TRACE nova.rpc.amqp
self.gen.next()</div>
<div>2012-05-21 17:20:45 TRACE nova.rpc.amqp File
"/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 171, in
decorated_function</div><div>2012-05-21 17:20:45 TRACE nova.rpc.amqp
return function(self, context, instance_uuid, *args, **kwargs)</div>
<div>2012-05-21 17:20:45 TRACE nova.rpc.amqp File
"/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1330,
in resize_instance</div><div>2012-05-21 17:20:45 TRACE nova.rpc.amqp
self._set_instance_error_state(context, instance_uuid)</div>
<div>2012-05-21 17:20:45 TRACE nova.rpc.amqp File
"/usr/lib/python2.7/contextlib.py", line 24, in __exit__</div><div>2012-05-21
17:20:45 TRACE nova.rpc.amqp self.gen.next()</div><div>2012-05-21
17:20:45 TRACE nova.rpc.amqp File
"/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1325,
in resize_instance</div>
<div>2012-05-21 17:20:45 TRACE nova.rpc.amqp instance_type_ref,
self._legacy_nw_info(network_info))</div><div>2012-05-21 17:20:45 TRACE
nova.rpc.amqp File
"/usr/lib/python2.7/dist-packages/nova/exception.py", line 114, in
wrapped</div>
<div>2012-05-21 17:20:45 TRACE nova.rpc.amqp return f(*args, **kw)</div><div>2012-05-21
17:20:45 TRACE nova.rpc.amqp File
"/usr/lib/python2.7/dist-packages/nova/virt/libvirt/connection.py", line
2363, in migrate_disk_and_power_off</div>
<div><font color="#ff0000">2012-05-21 17:20:45 TRACE nova.rpc.amqp
raise e</font></div><div><font color="#ff0000">2012-05-21 17:20:45 TRACE
nova.rpc.amqp ProcessExecutionError: Unexpected error while running
command.</font></div>
<div><font color="#ff0000">2012-05-21 17:20:45 TRACE nova.rpc.amqp
Command: ssh 192.168.0.205 mkdir -p
/var/lib/nova/instances/instance-0000000a</font></div><div><font
color="#ff0000">2012-05-21 17:20:45 TRACE nova.rpc.amqp Exit code: 255</font></div>
<div><font color="#ff0000">2012-05-21 17:20:45 TRACE nova.rpc.amqp
Stdout: ''</font></div><div><font color="#ff0000">2012-05-21 17:20:45
TRACE nova.rpc.amqp Stderr: 'Host key verification failed.\r\n'</font></div>
<div>2012-05-21 17:20:45 TRACE nova.rpc.amqp</div><div>^C</div></div><div><br></div><div><br></div><div><br></div>
<div>_______________________________________________<br>Mailing list:
<a class="moz-txt-link-freetext" href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>Post to :
<a class="moz-txt-link-abbreviated" href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>Unsubscribe :
<a class="moz-txt-link-freetext" href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>More help :
<a class="moz-txt-link-freetext" href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a><br></div></div></blockquote><br><div
class="moz-signature">-- <br><span><span style="font-family: Lucida
Grande;">Nuage & Co - Razique Mahroua <br>
<span style="font-weight: bold;"><a class="moz-txt-link-abbreviated" href="mailto:razique.mahroua@gmail.com">razique.mahroua@gmail.com</a></span></span><span
style="color: rgb(51, 153, 153);"></span><span style="font-family:
monospace;"></span></span><br>
<br>
<div class="moz-signature"><span style="font-family: monospace;">
</span><img src="cid:part6.08030109.06040604@gmail.com" name="image.jpg"
alt=""></div>
<br>
<br>
</div></div></body></html>