<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Le 20/02/2013 14:04, Chathura M.
      Sarathchandra Magurawalage a écrit :<br>
    </div>
    <blockquote
cite="mid:CAHw8T_Ldq3=TZaGhBUX4AQCoQfoG-Z_rdeS3_EMXb4FXgbqhbQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div style="">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>
    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
cite="mid:CAHw8T_Ldq3=TZaGhBUX4AQCoQfoG-Z_rdeS3_EMXb4FXgbqhbQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div style="">Then I have deleted all instances and created a
          new one. But still cant ping or ssh the new VM.</div>
        <br>
        <div style="">
          <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>
    </blockquote>
    <blockquote
cite="mid:CAHw8T_Ldq3=TZaGhBUX4AQCoQfoG-Z_rdeS3_EMXb4FXgbqhbQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div style="">
          <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>
    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 ?<br>
    <br>
    <blockquote
cite="mid:CAHw8T_Ldq3=TZaGhBUX4AQCoQfoG-Z_rdeS3_EMXb4FXgbqhbQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div style="">
          <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>
    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 class="moz-txt-link-freetext" href="http://">http://</a><controler node mgmt
    IP>:6080/vnc_auto.html<br>
    <br>
    and restart nova-compute. <br>
    <br>
    <br>
    <br>
    <blockquote
cite="mid:CAHw8T_Ldq3=TZaGhBUX4AQCoQfoG-Z_rdeS3_EMXb4FXgbqhbQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div style="">
          <div class="gmail_extra">
            <div class="gmail_quote">On 20 February 2013 11:57, Sylvain
              Bauza <span dir="ltr"><<a moz-do-not-send="true"
                  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>
  </body>
</html>