<div dir="ltr">Hi Mark,<div><br></div><div style>Thanks for your answer.</div><div style><br></div><div style>What I noticed is that this issue happens only when I try to start a <span class="" style>VM</span> from a <span class="" style>bootable</span> volume. I created the colume with </div>
<div style>cinder create --image-id __image_id__ volume_name.</div><div style><br></div><div style>I don't see it when I boot a <span class="" style>VM</span> from an image in glance (nova boot --image __image_id__ --flavor __flavor_id__ <span class="" style>vm</span>_name). </div>
<div style>Which runs just fine. I can ping and ssh into the <span class="" style>VM</span>. But this is ephemeral boot and I want to be able to boot on a </div><div style>persistent volume so that the application won't lose data from previous session. And you are right, I can see nova-compute </div>
<div style>getting around nbd module in this case.</div><div style><br></div><div style>I followed the instructions in this paragraph (<a href="http://docs">http://docs</a>.<span class="" style>openstack</span>.org/grizzly/<span class="" style>openstack</span>-compute/admin/content/instance-creation.html#boot_from_volume) but without success until now.</div>
<div style><br></div><div style>Did you manage to boot from a volume? If <span class="" style>nbd</span> is not the right module to use then what else should I use to boot a VM from </div><div style>a persistent volume?</div>
<div style><br></div><div style>Thanks for your help,</div><div style>Amine.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, May 3, 2013 at 3:49 PM, Mark Lehrer <span dir="ltr"><<a href="mailto:mark@tpsit.com" target="_blank">mark@tpsit.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
After loading nbd module in compute node, I continued trying to boot from a<br>
bootable cinder volume but this is what I see in nova-compute.log.<br>
</blockquote>
<br></div>
I am not using Cinder so maybe this isn't an option for you, but my<br>
recommendation is to blacklist the "nbd" module altogether, and remove<br>
the nbd option from the nova-compute upstart init file.  It is a neat<br>
protocol but it has not been nearly reliable enough to use on my<br>
system.<br>
<br>
nova-compute is able to work around the missing nbd module (with<br>
glance at least), and it cut my image create and snapshot times<br>
drastically in addition to reducing the launch & snapshot failures.<span class="HOEnZb"><font color="#888888"><br>
<br>
Mark<br>
</font></span></blockquote></div><br></div>