<div dir="ltr"><div class="gmail_extra">Thanks.</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">I would be more concerned about the SIOCDELRT error above. Do you try to manually remove a network route at bootup ? Seems like the 'route del' is failing because the route is not already existing.<br>
<br></div></blockquote><div>I am not doing doing anything that I am aware of. <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"><br>As already said, you absolutely need VNC support for investigating. Could you please fix your VNC setup which is incorrect ?</div></blockquote></div><br>But VNC works fine. Its just that it VM hangs on the boot up it wont come to the log in prompt, I can't log into it. :(</div>
<div class="gmail_extra"><br><div class="gmail_quote">On 20 February 2013 13:46, Sylvain Bauza <span dir="ltr"><<a href="mailto:sylvain.bauza@digimind.com" target="_blank">sylvain.bauza@digimind.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div>Le 20/02/2013 14:04, Chathura M.
Sarathchandra Magurawalage a écrit :<br>
</div><div class="im">
<blockquote type="cite">
<div dir="ltr">
<div>There are apparently two instances running in the
compute node but nova just see only one. Probably when I have
deleted an instance earlier it had not deleted the instance
properly.</div>
<div><br>
</div>
<div>root@controller:~# nova list</div>
<div>+--------------------------------------+--------+--------+-------------------+</div>
<div>| ID | Name | Status |
Networks |</div>
<div>+--------------------------------------+--------+--------+-------------------+</div>
<div>| 42e18cd5-de6f-4181-b238-320fe37ef6f1 | master | ACTIVE |
demo-net=10.5.5.3 |</div>
<div>+--------------------------------------+--------+--------+-------------------+</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div>virsh -c qemu+ssh://root@computenode/system list</div>
<div>root@computenode's password: </div>
<div> Id Name State</div>
<div>----------------------------------------------------</div>
<div> 14 instance-0000002c running</div>
<div> 18 instance-0000001e running</div>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
</blockquote>
<br></div>
You should have seen at 'sudo virsh list --all', plus looking at
/etc/libvirt/qemu/*.xml to check how many instances were defined.<br>
I do suspect also that for some reason (probably nova-compute down),
a clean-up of 00002c probably didn't work. Anyway, this is fixed as
you mention.<br>
<br>
<br>
<blockquote type="cite">
<div dir="ltr"><div class="im">
<div>Then I have deleted all instances and created a
new one. But still cant ping or ssh the new VM.</div>
<br>
</div><div class="im"><div>
<div>
<div> <interface type='bridge'></div>
<div> <mac address='fa:16:3e:a2:6e:02'/></div>
<div> <source bridge='qbrff8933bf-ba'/></div>
<div> <model type='virtio'/></div>
<div> <filterref
filter='nova-instance-instance-00000035-fa163ea26e02'></div>
<div> <parameter name='DHCPSERVER'
value='10.5.5.2'/></div>
<div> <parameter name='IP' value='10.5.5.3'/></div>
<div> <parameter name='PROJMASK'
value='255.255.255.0'/></div>
<div> <parameter name='PROJNET'
value='10.5.5.0'/></div>
<div> </filterref></div>
<div> <address type='pci' domain='0x0000' bus='0x00'
slot='0x03' function='0x0'\</div>
<div>/></div>
<div> </interface></div>
</div>
<div><br>
</div>
</div>
</div></div>
</blockquote><div class="im">
<blockquote type="cite">
<div dir="ltr">
<div>
<div>Starting network...</div>
<div class="gmail_extra">
<div>udhcpc (v1.18.5) started</div>
<div>Sending discover...</div>
<div>Sending select for 10.5.5.3...</div>
<div>Lease of 10.5.5.3 obtained, lease time 120</div>
<div>deleting routers</div>
<div>
route: SIOCDELRT: No such process</div>
<div>adding dns 8.8.8.8</div>
<br>
</div>
</div>
</div>
</blockquote>
<br>
<br></div>
The DHCP reply is correctly received by the instance from the
network node to the compute node. This is not a network issue (at
least for IP assignation).<br>
I would be more concerned about the SIOCDELRT error above. Do you
try to manually remove a network route at bootup ? Seems like the
'route del' is failing because the route is not already existing.<br>
<br>
<br>
As already said, you absolutely need VNC support for investigating.
Could you please fix your VNC setup which is incorrect ?<div class="im"><br>
<br>
<blockquote type="cite">
<div dir="ltr">
<div>
<div>
<div> <graphics type='vnc' port='-1' autoport='yes'
listen='0.0.0.0' keymap='en-u\</div>
<div>s'></div>
<div> <listen type='address' address='0.0.0.0'/></div>
<div> </graphics></div>
</div>
</div>
</div>
</blockquote>
<br></div>
Try in nova-compute.conf :<br>
vncserver_proxyclient_address=<compute node mgmt IP><br>
vncserver_listen=<compute node mgmt IP><br>
and in nova.conf :<br>
novncproxy_base_url=<a>http://</a><controler node mgmt
IP>:6080/vnc_auto.html<br>
<br>
and restart nova-compute. <br><div class="im">
<br>
<br>
<br>
<blockquote type="cite">
<div dir="ltr">
<div>
<div class="gmail_extra">
<div class="gmail_quote">On 20 February 2013 11:57, Sylvain
Bauza <span dir="ltr"><<a href="mailto:sylvain.bauza@digimind.com" target="_blank">sylvain.bauza@digimind.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div>Could you please paste :<br>
- /etc/libvirt/qemu/<your_instance_id>.xml <br>
- ip a show vnet0<br>
- brctl show<br>
<br>
Sounds like your virtual device is not created.
Could you please launch a new VM and paste
/var/log/nova/nova-compute.log ?<br>
<br>
Thanks,<br>
-Sylvain<br>
<br>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</blockquote>
<br>
</div></div>
</blockquote></div><br></div></div>