[ovs-discuss] Error to launch the new instances

Dan Wendlandt dan at nicira.com
Fri Jan 13 07:10:02 UTC 2012


Hi Marcos,

ovs-vsctl should be added to the sudoers file with the NOPASSWD option as
described on the launchpad Quantum answers site:
https://answers.launchpad.net/quantum/+question/184536

This email list is for issues specific to OVS itself, but not the OpenStack
Quantum plugin built using OVS.  Questions that require an understanding on
OpenStack should be posted to the launchpad site.   Thanks,

Dan

On Thu, Jan 12, 2012 at 12:46 PM, Marcos Corvalan <
marcos.corvalan at mercadolibre.com> wrote:

> Hi All :
> I send this mail to tell You that I try to launch the instances in my
> openstack server with openvswitch + nova + quantum
> But I can see this error:
>
> euca-describe-instances:
> ESERVATION r-8ow45rrv meli default
> INSTANCE i-00000009 ami-00000003 4.4.4.8 4.4.4.8 pending 0 m1.small
> 2012-01-12T19:45:50Z nova aki-00000002 ari-00000001
>
> And my logs :
> /var/log/nova/nova-compute.log:
> 2012-01-12 14:45:53,375 ERROR nova.exception [-] Uncaught exception
> (nova.exception): TRACE: Traceback (most recent call last):
> (nova.exception): TRACE:   File
> "/usr/lib/python2.6/dist-packages/nova/exception.py", line 98, in wrapped
> (nova.exception): TRACE:     return f(*args, **kw)
> (nova.exception): TRACE:   File
> "/usr/lib/python2.6/dist-packages/nova/virt/libvirt/connection.py", line
> 597, in spawn
> (nova.exception): TRACE:     block_device_info=block_device_info)
> (nova.exception): TRACE:   File
> "/usr/lib/python2.6/dist-packages/nova/virt/libvirt/connection.py", line
> 1164, in to_xml
> (nova.exception): TRACE:     block_device_info)
> (nova.exception): TRACE:   File
> "/usr/lib/python2.6/dist-packages/nova/virt/libvirt/connection.py", line
> 1062, in _prepare_xml_info
> (nova.exception): TRACE:     nics.append(self.vif_driver.plug(instance,
> network, mapping))
> (nova.exception): TRACE:   File
> "/usr/lib/python2.6/dist-packages/nova/virt/libvirt/vif.py", line 121, in
> plug
> (nova.exception): TRACE:     run_as_root=True)
> (nova.exception): TRACE:   File
> "/usr/lib/python2.6/dist-packages/nova/utils.py", line 188, in execute
> (nova.exception): TRACE:     cmd=' '.join(cmd))
> (nova.exception): TRACE: ProcessExecutionError: Unexpected error while
> running command.
> (nova.exception): TRACE: Command: sudo ovs-vsctl -- --may-exist add-port
> br-int tap19b1e87c-ff -- set Interface tap19b1e87c-ff
> external-ids:iface-id=19b1e87c-ffac-4fcb-ace3-525dd92d3e40 -- set Interface
> tap19b1e87c-ff external-ids:iface-status=active -- set Interface
> tap19b1e87c-ff external-ids:attached-mac=02:16:3e:6a:88:78
> (nova.exception): TRACE: Exit code: 1
> (nova.exception): TRACE: Stdout: ''
> (nova.exception): TRACE: Stderr: 'sudo: no tty present and no askpass
> program specified\n'
> (nova.exception): TRACE:
>
> I can see my ifconfig like this:
> br-int    Link encap:Ethernet  HWaddr 00:25:90:1f:b5:b0
>           inet addr:172.16.167.23  Bcast:172.16.167.255  Mask:255.255.255.0
>           inet6 addr: fe80::3c02:64ff:fe18:c942/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:7312 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:6542 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:2639936 (2.6 MB)  TX bytes:638569 (638.5 KB)
>
> eth0      Link encap:Ethernet  HWaddr 00:25:90:1f:b5:b0
>           inet6 addr: fe80::225:90ff:fe1f:b5b0/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:16800 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:10518 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000
>           RX bytes:4157792 (4.1 MB)  TX bytes:1192344 (1.1 MB)
>           Interrupt:28 Memory:fbce0000-fbd00000
>
> lo        Link encap:Local Loopback
>           inet addr:127.0.0.1  Mask:255.0.0.0
>           inet6 addr: ::1/128 Scope:Host
>           UP LOOPBACK RUNNING  MTU:16436  Metric:1
>           RX packets:28379 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:28379 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:19395498 (19.3 MB)  TX bytes:19395498 (19.3 MB)
>
> tapc132dccb-d5 Link encap:Ethernet  HWaddr 86:be:26:79:8e:8f
>           inet6 addr: fe80::84be:26ff:fe79:8e8f/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:0 errors:0 dropped:6 overruns:0 carrier:0
>           collisions:0 txqueuelen:500
>           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
>
> And my ovs-vsctl:
> # ovs-vsctl show
> 336ec1f8-38ad-422f-b813-8b6c24d8bb0b
>     Bridge br-int
>         Port br-int
>             Interface br-int
>                 type: internal
>         Port "eth0"
>             Interface "eth0"
>     Bridge "br0"
>         Port "br0"
>             Interface "br0"
>                 type: internal
>     Bridge "f6bc01cc-3e49-4"
>         Port "f6bc01cc-3e49-4"
>             Interface "f6bc01cc-3e49-4"
>                 type: internal
>
> Anything help that you can tell will be very usefully for me.
> Since now thanks a lot.
>
> --
> Saludos/Regards
>
> Marcos Corvalan
> Infraestructura IT
> Mercadolibre.com
> Arias 3751 - 7 piso Capital Federal | Buenos Aires
> Argentina | CP 1430 | Tel +54 11 4640-8000 Ext 8426
> email marcos.corvalan| msn marcoscorvalan_04 at hotmail.com
> Mobile : +54 11 37701933
>
>
> _______________________________________________
> discuss mailing list
> discuss at openvswitch.org
> http://openvswitch.org/mailman/listinfo/discuss
>
>


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dan Wendlandt
Nicira Networks: www.nicira.com
twitter: danwendlandt
~~~~~~~~~~~~~~~~~~~~~~~~~~~
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20120112/57589784/attachment.html>


More information about the discuss mailing list