<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div style="RIGHT: auto"><SPAN style="RIGHT: auto">Thanks Brad.  Quantum 2012-1-e4 works fine.<BR>[python-quantumclient-2012.1~e4.tar.gz , quantum-2012.1~e4.tar.gz]<BR>[configuration: <BR>Trying to integrate Diablo openstack (on natty) with Quantum 2012-1-e4<BR>1 controller node that runs nova-compute/nova-api/nova-volume/nova-network/openvswitch/ openvswitch agent<BR>1 quantum node on a different server - runs just quantum server<BR>I was successfully able to launch VMs using HA network mode. I am trying to look at the capabilities of quantum]<BR>]<BR style="RIGHT: auto">I was able to launch a VM. I see tap interface getting created. However, I am not able to ping or ssh to the ip address of the VM. <BR>When I do euca-get-console-output  i-00000006, I see that dhcp is not leasiing the ip address.</SPAN></div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto">stty: /dev/console<BR>udhcpc (v1.17.2) started<BR>Sending discover...<BR>Sending discover...<BR>Sending discover...<BR>No lease, forking to background<BR>starting DHCP forEthernet interface eth0  [  OK  ]<BR>cloud-setup: checking <A href="http://169.254.169.254/2009-04-04/meta-data/instance-id">http://169.254.169.254/2009-04-04/meta-data/instance-id</A><BR>wget: can't connect to remote host (169.254.169.254): Network is unreachable<BR>cloud-setup: failed 1/30: up 16.63. request failed<BR>wget: can't connect to remote host (169.254.169.254): Network is unreachable<BR>cloud-setup: failed 2/30: up 17.78. request failed<BR>wget: can't connect to remote host (169.254.169.254): Network is unreachable</SPAN></div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto">I do not see 2 instances of dnsmasq running. </SPAN></div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto">My nova.conf is</SPAN></div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto">--dhcpbridge_flagfile=/etc/nova/nova.conf<BR>--dhcpbridge=/usr/bin/nova-dhcpbridge<BR>--logdir=/var/log/nova<BR>--state_path=/var/lib/nova<BR>--lock_path=/var/lock/nova<BR>--flagfile=/etc/nova/nova-compute.conf<BR>--force_dhcp_release=True<BR>--use_deprecated_auth<BR>--verbose</SPAN></div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto">--sql_connection=mysql://novadbadmin:novasecret@192.168.198.59/nova</SPAN></div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto">--daemonize<BR>--s3_host=192.168.198.59<BR>--rabbit_host=192.168.198.59<BR>--cc_host=192.168.198.59<BR>--ospi_host=192.168.198.59<BR>--ec2_host=192.168.198.59<BR>--ec2_url=http://192.168.198.59:8773/services/Cloud<BR>--nova_url=http://192.168.198.59:8774/v1.1/</SPAN></div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto">--FAKE_subdomain=ec2<BR>--routing_source_ip=192.168.198.59<BR>--glance_api_servers=192.168.198.59:9292<BR>--image_service=nova.image.glance.GlanceImageService<BR>--iscsi_ip_prefix=192.168.<BR>--my_ip=192.168.198.59</SPAN></div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto"># Quantum configuration<BR>--network_manager=nova.network.quantum.manager.QuantumManager<BR>--quantum_connection_host=192.168.198.55<BR>--quantum_connection_port=9696<BR>--quantum_use_dhcp=True<BR>--libvirt_ovs_integration_bridge=br-int<BR>--libvirt_vif_type=ethernet<BR>--libvirt_vif_driver=nova.virt.libvirt.vif.LibvirtOpenVswitchDriver<BR>--linuxnet_interface_driver=nova.network.linux_net.LinuxOVSInterfaceDriver<BR>--libvirt_type=qemu<BR>--public_interface=eth0<BR>--flat_interface=eth1<BR>--fixed_range=192.168.4.0/24<BR>--network_size=256<BR>--flat_network_bridge=br-int<BR>--quantum_default_tenant_id=tenant2</SPAN></div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto">Is there is anything missing/incorrect in the config?</SPAN></div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto">br-int    Link encap:Ethernet  HWaddr 08:00:27:59:a9:13<BR>          inet6 addr: fe80::a00:27ff:fe59:a913/64 Scope:Link<BR>          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1<BR>          RX packets:0 errors:0 dropped:0 overruns:0 frame:0<BR>          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0<BR>          collisions:0 txqueuelen:0<BR>          RX bytes:0 (0.0 B)  TX bytes:468 (468.0 B)</SPAN></div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto">eth0      Link encap:Ethernet  HWaddr 08:00:27:c9:65:2a<BR>          inet addr:192.168.198.59  Bcast:192.168.198.255  Mask:255.255.255.0<BR>          inet6 addr: fe80::a00:27ff:fec9:652a/64 Scope:Link<BR>          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1<BR>          RX packets:6371 errors:0 dropped:0 overruns:0 frame:0<BR>          TX packets:5997 errors:0 dropped:0 overruns:0 carrier:0<BR>          collisions:0 txqueuelen:1000<BR>          RX bytes:454103 (454.1 KB)  TX bytes:823909 (823.9 KB)</SPAN></div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto">eth1      Link encap:Ethernet  HWaddr 08:00:27:59:a9:13<BR>          inet6 addr: fe80::a00:27ff:fe59:a913/64 Scope:Link<BR>          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1<BR>          RX packets:0 errors:0 dropped:0 overruns:0 frame:0<BR>          TX packets:12 errors:0 dropped:0 overruns:0 carrier:0<BR>          collisions:0 txqueuelen:1000<BR>          RX bytes:0 (0.0 B)  TX bytes:936 (936.0 B)</SPAN></div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto">eth2      Link encap:Ethernet  HWaddr 08:00:27:71:24:4f<BR>          inet addr:10.0.4.15  Bcast:10.0.4.255  Mask:255.255.255.0<BR>          inet6 addr: fe80::a00:27ff:fe71:244f/64 Scope:Link<BR>          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1<BR>          RX packets:50 errors:0 dropped:0 overruns:0 frame:0<BR>          TX packets:193 errors:0 dropped:0 overruns:0 carrier:0<BR>          collisions:0 txqueuelen:1000<VAR id=yui-ie-cursor></VAR><BR>          RX bytes:10322 (10.3 KB)  TX bytes:16884 (16.8 KB)</SPAN></div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto">lo        Link encap:Local Loopback<BR>          inet addr:127.0.0.1  Mask:255.0.0.0<BR>          inet6 addr: ::1/128 Scope:Host<BR>          UP LOOPBACK RUNNING  MTU:16436  Metric:1<BR>          RX packets:30378 errors:0 dropped:0 overruns:0 frame:0<BR>          TX packets:30378 errors:0 dropped:0 overruns:0 carrier:0<BR>          collisions:0 txqueuelen:0<BR>          RX bytes:22825402 (22.8 MB)  TX bytes:22825402 (22.8 MB)</SPAN></div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto">tap4ec75ca1-60 Link encap:Ethernet  HWaddr 52:0b:53:b8:bf:44<BR>          inet6 addr: fe80::500b:53ff:feb8:bf44/64 Scope:Link<BR>          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1<BR>          RX packets:360 errors:0 dropped:0 overruns:0 frame:0<BR>          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0<BR>          collisions:0 txqueuelen:500<BR>          RX bytes:114456 (114.4 KB)  TX bytes:468 (468.0 B)</SPAN></div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto">virbr0    Link encap:Ethernet  HWaddr fe:8a:10:f4:24:83<BR>          inet addr:192.168.122.1  Bcast:192.168.122.255  Mask:255.255.255.0<BR>          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1<BR>          RX packets:0 errors:0 dropped:0 overruns:0 frame:0<BR>          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0<BR>          collisions:0 txqueuelen:0<BR>          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)</SPAN></div><SPAN style="RIGHT: auto">
<div style="RIGHT: auto"><BR>Thanks in advance for the help.</div>
<div style="RIGHT: auto">-Jay<BR style="RIGHT: auto" class=yui-cursor></div></SPAN>
<div><BR></div>
<DIV style="FONT-FAMILY: times new roman, new york, times, serif; FONT-SIZE: 12pt">
<DIV style="FONT-FAMILY: times new roman, new york, times, serif; FONT-SIZE: 12pt">
<DIV dir=ltr><FONT size=2 face=Arial>
<DIV style="BORDER-BOTTOM: #ccc 1px solid; BORDER-LEFT: #ccc 1px solid; PADDING-BOTTOM: 0px; LINE-HEIGHT: 0; MARGIN: 5px 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; HEIGHT: 0px; FONT-SIZE: 0px; BORDER-TOP: #ccc 1px solid; BORDER-RIGHT: #ccc 1px solid; PADDING-TOP: 0px" class=hr contentEditable=false readonly="true"></DIV><B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> Brad Hall <brad@nicira.com><BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> jay_s_b <jay_s_b@yahoo.com> <BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Monday, March 5, 2012 1:28 PM<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> Re: [Openstack] quantum list-net list_port throwing exception status code 500<BR></FONT></DIV><BR>I'm using the trunk (with devstack) and it works fine.. I don't think<BR>the trunk is far off from the 4 tarball.  Maybe you should upgrade to<BR>e4 and try that out.<BR><BR>Thanks,<BR>Brad<BR><BR>On Mon, Mar 5, 2012 at 12:48
 PM, jay_s_b <<A href="mailto:jay_s_b@yahoo.com" ymailto="mailto:jay_s_b@yahoo.com">jay_s_b@yahoo.com</A>> wrote:<BR>> Hi Brad,<BR>> I am using OpenVSwitch plugin. However, ovs-vswitchd.log does not show much.<BR>> Launching the VM did not reach that far and<BR>> stopped beforehand due to status error code 500. I have copied the log below<BR>> in case.<BR>> Thanks,<BR>> -Jay<BR>><BR>> Here is my nova-network log that has captured quantum-server reply :<BR>> 2012-03-05 05:04:28,369 DEBUG nova.network.quantum.manager [-] network<BR>> allocations for instance 14 from (pid=1015) allocate_for_instance<BR>> /usr/lib/python2.7/dist-packages/nova/network/quantum/manager.py:142<BR>> 2012-03-05 05:04:28,388 DEBUG nova.network.quantum.quantum_connection [-]<BR>> Connecting interface fe0af003-023b-480a-91da-84ed339ef1d4 to net<BR>> 07979e30-c0c1-47df-85ed-f8d3adb21a7f for tenant2 from (pid=1015)<BR>>
 create_and_attach_port<BR>> /usr/lib/python2.7/dist-packages/nova/network/quantum/quantum_connection.py:84<BR>> 2012-03-05 05:04:28,388 DEBUG nova.network.quantum.quantum_connection [-]<BR>> Quantum Client Request:<BR>> POST<BR>> /v1.0/tenants/tenant2/networks/07979e30-c0c1-47df-85ed-f8d3adb21a7f/ports.json<BR>>  from (pid=1015) do_request<BR>> /usr/lib/python2.7/dist-packages/nova/network/quantum/client.py:176<BR>> 2012-03-05 05:04:28,388 DEBUG nova.network.quantum.quantum_connection [-]<BR>> {"port": {"state": "ACTIVE"}} from (pid=1015) do_request<BR>> /usr/lib/python2.7/dist-packages/nova/network/quantum/client.py:178<BR>> 2012-03-05 05:04:28,395 DEBUG nova.network.quantum.quantum_connection [-]<BR>> Quantum Client Reply (code = 202) :<BR>>  {"port": {"id": "a3220832-368d-4785-841e-2f884deb41d5"}} from (pid=1015)<BR>> do_request<BR>>
 /usr/lib/python2.7/dist-packages/nova/network/quantum/client.py:187<BR>> 2012-03-05 05:04:28,396 DEBUG nova.network.quantum.quantum_connection [-]<BR>> Quantum Client Request:<BR>> PUT<BR>> /v1.0/tenants/tenant2/networks/07979e30-c0c1-47df-85ed-f8d3adb21a7f/ports/a3220832-368d-4785-841e-2f884deb41d5/attachment.json<BR>>  from (pid=1015) do_request<BR>> /usr/lib/python2.7/dist-packages/nova/network/quantum/client.py:176<BR>> 2012-03-05 05:04:28,396 DEBUG nova.network.quantum.quantum_connection [-]<BR>> {"attachment": {"id": "fe0af003-023b-480a-91da-84ed339ef1d4"}} from<BR>> (pid=1015) do_request<BR>> /usr/lib/python2.7/dist-packages/nova/network/quantum/client.py:178<BR>> 2012-03-05 05:04:28,407 DEBUG nova.network.quantum.quantum_connection [-]<BR>> Quantum Client Reply (code = 204) :<BR>>   from (pid=1015) do_request<BR>> /usr/lib/python2.7/dist-packages/nova/network/quantum/client.py:187<BR>>
 2012-03-05 05:04:28,613 DEBUG nova.network.quantum.quantum_connection [-]<BR>> Quantum Client Request:<BR>> GET /v1.0/tenants/tenant2/networks.json<BR>>  from (pid=1015) do_request<BR>> /usr/lib/python2.7/dist-packages/nova/network/quantum/client.py:176<BR>> 2012-03-05 05:04:28,617 DEBUG nova.network.quantum.quantum_connection [-]<BR>> Quantum Client Reply (code = 500) :<BR>><BR>>  Traceback (most recent call last):<BR>>   File<BR>> "/usr/local/lib/python2.7/dist-packages/eventlet-0.9.16-py2.7.egg/eventlet/wsgi.py",<BR>> line 336, in handle_one_response<BR>>     result = self.application(self.environ, start_response)<BR>>   File<BR>> "/usr/local/lib/python2.7/dist-packages/Paste-1.7.5.1-py2.7.egg/paste/urlmap.py",<BR>> line 203, in __call__<BR>>     return app(environ, start_response)<BR>>   File<BR>>
 "/usr/local/lib/python2.7/dist-packages/WebOb-1.2b3-py2.7.egg/webob/dec.py",<BR>> line 144, in __call__<BR>>     return resp(environ, start_response)<BR>>   File<BR>> "/usr/local/lib/python2.7/dist-packages/Routes-1.12.3-py2.7.egg/routes/middleware.py",<BR>> line 131, in __call__<BR>>     response = self.app(environ, start_response)<BR>>   File<BR>> "/usr/local/lib/python2.7/dist-packages/WebOb-1.2b3-py2.7.egg/webob/dec.py",<BR>> line 144, in __call__<BR>>     return resp(environ, start_response)<BR>>   File<BR>> "/usr/local/lib/python2.7/dist-packages/WebOb-1.2b3-py2.7.egg/webob/dec.py",<BR>> line 144, in __call__<BR>>     return resp(environ, start_response)<BR>>   File<BR>> "/usr/local/lib/python2.7/dist-packages/Routes-1.12.3-py2.7.egg/routes/middleware.py",<BR>> line 131, in __call__<BR>>     response
 = self.app(environ, start_response)<BR>>   File<BR>> "/usr/local/lib/python2.7/dist-packages/WebOb-1.2b3-py2.7.egg/webob/dec.py",<BR>> line 144, in __call__<BR>>     return resp(environ, start_response)<BR>>   File<BR>> "/usr/local/lib/python2.7/dist-packages/WebOb-1.2b3-py2.7.egg/webob/dec.py",<BR>> line 130, in __call__<BR>>     resp = self.call_func(req, *args, **self.kwargs)<BR>>   File<BR>> "/usr/local/lib/python2.7/dist-packages/WebOb-1.2b3-py2.7.egg/webob/dec.py",<BR>> line 195, in call_func<BR>>     return self.func(req, *args, **kwargs)<BR>>   File<BR>> "/usr/local/lib/python2.7/dist-packages/quantum-2012.1-py2.7.egg/quantum/wsgi.py",<BR>> line 747, in __call__<BR>>     action_result = self.dispatch(request, action, args)<BR>>   File<BR>>
 "/usr/local/lib/python2.7/dist-packages/quantum-2012.1-py2.7.egg/quantum/wsgi.py",<BR>> line 779, in dispatch<BR>>     return controller_method(request=request, **action_args)<BR>>   File<BR>> "/usr/local/lib/python2.7/dist-packages/quantum-2012.1-py2.7.egg/quantum/api/api_common.py",<BR>> line 104, in the_func<BR>>     return func(*args, **kwargs)<BR>>   File<BR>> "/usr/local/lib/python2.7/dist-packages/quantum-2012.1-py2.7.egg/quantum/api/networks.py",<BR>> line 99, in index<BR>>     return self._items(request, tenant_id)<BR>>   File<BR>> "/usr/local/lib/python2.7/dist-packages/quantum-2012.1-py2.7.egg/quantum/api/networks.py",<BR>> line 80, in _items<BR>>     filter_opts.update(request.str_GET)<BR>>   File<BR>> "/usr/local/lib/python2.7/dist-packages/WebOb-1.2b3-py2.7.egg/webob/descriptors.py",<BR>> line 116, in
 fget<BR>>     warn()<BR>>   File<BR>> "/usr/local/lib/python2.7/dist-packages/WebOb-1.2b3-py2.7.egg/webob/descriptors.py",<BR>> line 113, in warn<BR>>     3<BR>>   File<BR>> "/usr/local/lib/python2.7/dist-packages/WebOb-1.2b3-py2.7.egg/webob/util.py",<BR>> line 51, in warn_deprecation<BR>>     raise DeprecationWarning(text)<BR>> DeprecationWarning: The attribute None is deprecated: disabled starting<BR>> WebOb 1.2, use GET instead<BR>>  from (pid=1015) do_request<BR>> /usr/lib/python2.7/dist-packages/nova/network/quantum/client.py:187<BR>> 2012-03-05 05:04:28,617 ERROR nova.rpc [-] Exception during message handling<BR>> (nova.rpc): TRACE: Traceback (most recent call last):<BR>> (nova.rpc): TRACE:   File<BR>> "/usr/lib/python2.7/dist-packages/nova/rpc/impl_kombu.py", line 620, in<BR>> _process_data<BR>> (nova.rpc):
 TRACE:     rval = node_func(context=ctxt, **node_args)<BR>> (nova.rpc): TRACE:   File<BR>> "/usr/lib/python2.7/dist-packages/nova/network/quantum/manager.py", line<BR>> 180, in allocate_for_instance<BR>> (nova.rpc): TRACE:     instance_type_id, host)<BR>> (nova.rpc): TRACE:   File<BR>> "/usr/lib/python2.7/dist-packages/nova/network/quantum/manager.py", line<BR>> 207, in get_instance_nw_info<BR>> (nova.rpc): TRACE:     vif['uuid'])<BR>> (nova.rpc): TRACE:   File<BR>> "/usr/lib/python2.7/dist-packages/nova/network/quantum/quantum_connection.py",<BR>> line 117, in get_port_by_attachment<BR>> (nova.rpc): TRACE:     net_list_resdict =<BR>> self.client.list_networks(tenant=tenant_id)<BR>> (nova.rpc): TRACE:   File<BR>> "/usr/lib/python2.7/dist-packages/nova/network/quantum/client.py", line
 81,<BR>> in with_params<BR>> (nova.rpc): TRACE:     ret = self.func(instance, *args)<BR>> (nova.rpc): TRACE:   File<BR>> "/usr/lib/python2.7/dist-packages/nova/network/quantum/client.py", line 239,<BR>> in list_networks<BR>> (nova.rpc): TRACE:     return self.do_request("GET", self.networks_path)<BR>> (nova.rpc): TRACE:   File<BR>> "/usr/lib/python2.7/dist-packages/nova/network/quantum/client.py", line 202,<BR>> in do_request<BR>> (nova.rpc): TRACE:     % locals()))<BR>> (nova.rpc): TRACE: QuantumServerException: Server 500 error: Traceback (most<BR>> recent call last):<BR>> (nova.rpc): TRACE:   File<BR>> "/usr/local/lib/python2.7/dist-packages/eventlet-0.9.16-py2.7.egg/eventlet/wsgi.py",<BR>> line 336, in handle_one_response<BR>> (nova.rpc): TRACE:     result =
 self.application(self.environ,<BR>> start_response)<BR>> (nova.rpc): TRACE:   File<BR>> "/usr/local/lib/python2.7/dist-packages/Paste-1.7.5.1-py2.7.egg/paste/urlmap.py",<BR>> line 203, in __call__<BR>> (nova.rpc): TRACE:     return app(environ, start_response)<BR>> (nova.rpc): TRACE:   File<BR>> "/usr/local/lib/python2.7/dist-packages/WebOb-1.2b3-py2.7.egg/webob/dec.py",<BR>> line 144, in __call__<BR>> (nova.rpc): TRACE:     return resp(environ, start_response)<BR>> (nova.rpc): TRACE:   File<BR>> "/usr/local/lib/python2.7/dist-packages/Routes-1.12.3-py2.7.egg/routes/middleware.py",<BR>> line 131, in __call__<BR>> (nova.rpc): TRACE:     response = self.app(environ, start_response)<BR>> (nova.rpc): TRACE:   File<BR>> "/usr/local/lib/python2.7/dist-packages/WebOb-1.2b3-py2.7.egg/webob/dec.py",<BR>> line 144, in
 __call__<BR>> (nova.rpc): TRACE:     return resp(environ, start_response)<BR>> (nova.rpc): TRACE:   File<BR>> "/usr/local/lib/python2.7/dist-packages/WebOb-1.2b3-py2.7.egg/webob/dec.py",<BR>> line 144, in __call__<BR>> (nova.rpc): TRACE:     return resp(environ, start_response)<BR>> (nova.rpc): TRACE:   File<BR>> "/usr/local/lib/python2.7/dist-packages/Routes-1.12.3-py2.7.egg/routes/middleware.py",<BR>> line 131, in __call__<BR>> (nova.rpc): TRACE:     response = self.app(environ, start_response)<BR>> (nova.rpc): TRACE:   File<BR>> "/usr/local/lib/python2.7/dist-packages/WebOb-1.2b3-py2.7.egg/webob/dec.py",<BR>> line 144, in __call__<BR>> (nova.rpc): TRACE:     return resp(environ, start_response)<BR>> (nova.rpc): TRACE:   File<BR>>
 "/usr/local/lib/python2.7/dist-packages/WebOb-1.2b3-py2.7.egg/webob/dec.py",<BR>> line 130, in __call__<BR>> (nova.rpc): TRACE:     resp = self.call_func(req, *args, **self.kwargs)<BR>> (nova.rpc): TRACE:   File<BR>> "/usr/local/lib/python2.7/dist-packages/WebOb-1.2b3-py2.7.egg/webob/dec.py",<BR>> line 195, in call_func<BR>> (nova.rpc): TRACE:     return self.func(req, *args, **kwargs)<BR>> (nova.rpc): TRACE:   File<BR>> "/usr/local/lib/python2.7/dist-packages/quantum-2012.1-py2.7.egg/quantum/wsgi.py",<BR>> line 747, in __call__<BR>> (nova.rpc): TRACE:     action_result = self.dispatch(request, action, args)<BR>> (nova.rpc): TRACE:   File<BR>> "/usr/local/lib/python2.7/dist-packages/quantum-2012.1-py2.7.egg/quantum/wsgi.py",<BR>> line 779, in dispatch<BR>> (nova.rpc): TRACE:     return
 controller_method(request=request,<BR>> **action_args)<BR>> (nova.rpc): TRACE:   File<BR>> "/usr/local/lib/python2.7/dist-packages/quantum-2012.1-py2.7.egg/quantum/api/api_common.py",<BR>> line 104, in the_func<BR>> (nova.rpc): TRACE:     return func(*args, **kwargs)<BR>> (nova.rpc): TRACE:   File<BR>> "/usr/local/lib/python2.7/dist-packages/quantum-2012.1-py2.7.egg/quantum/api/networks.py",<BR>> line 99, in index<BR>> (nova.rpc): TRACE:     return self._items(request, tenant_id)<BR>> (nova.rpc): TRACE:   File<BR>> "/usr/local/lib/python2.7/dist-packages/quantum-2012.1-py2.7.egg/quantum/api/networks.py",<BR>> line 80, in _items<BR>> (nova.rpc): TRACE:     filter_opts.update(request.str_GET)<BR>> (nova.rpc): TRACE:   File<BR>>
 "/usr/local/lib/python2.7/dist-packages/WebOb-1.2b3-py2.7.egg/webob/descriptors.py",<BR>> line 116, in fget<BR>> (nova.rpc): TRACE:     warn()<BR>> (nova.rpc): TRACE:   File<BR>> "/usr/local/lib/python2.7/dist-packages/WebOb-1.2b3-py2.7.egg/webob/descriptors.py",<BR>> line 113, in warn<BR>> (nova.rpc): TRACE:     3<BR>> (nova.rpc): TRACE:   File<BR>> "/usr/local/lib/python2.7/dist-packages/WebOb-1.2b3-py2.7.egg/webob/util.py",<BR>> line 51, in warn_deprecation<BR>> (nova.rpc): TRACE:     raise DeprecationWarning(text)<BR>> (nova.rpc): TRACE: DeprecationWarning: The attribute None is deprecated:<BR>> disabled starting WebOb 1.2, use GET instead<BR>> (nova.rpc): TRACE:<BR>> (nova.rpc): TRACE:<BR>> 2012-03-05 05:04:28,618 ERROR nova.rpc [-] Returning exception Server 500<BR>> error: Traceback (most recent call last):<BR>>
   File<BR>> "/usr/local/lib/python2.7/dist-packages/eventlet-0.9.16-py2.7.egg/eventlet/wsgi.py",<BR>> line 336, in handle_one_response<BR>>     result = self.application(self.environ, start_response)<BR>>   File<BR>> "/usr/local/lib/python2.7/dist-packages/Paste-1.7.5.1-py2.7.egg/paste/urlmap.py",<BR>> line 203, in __call__<BR>>     return app(environ, start_response)<BR>>   File<BR>> "/usr/local/lib/python2.7/dist-packages/WebOb-1.2b3-py2.7.egg/webob/dec.py",<BR>> line 144, in __call__<BR>>     return resp(environ, start_response)<BR>>   File<BR>> "/usr/local/lib/python2.7/dist-packages/Routes-1.12.3-py2.7.egg/routes/middleware.py",<BR>> line 131, in __call__<BR>>     response = self.app(environ, start_response)<BR>>   File<BR>> "/usr/local/lib/python2.7/dist-packages/WebOb-1.2b3-py2.7.egg/webob/dec.py",<BR>> line
 144, in __call__<BR>>     return resp(environ, start_response)<BR>>   File<BR>> "/usr/local/lib/python2.7/dist-packages/WebOb-1.2b3-py2.7.egg/webob/dec.py",<BR>> line 144, in __call__<BR>>     return resp(environ, start_response)<BR>>   File<BR>> "/usr/local/lib/python2.7/dist-packages/Routes-1.12.3-py2.7.egg/routes/middleware.py",<BR>> line 131, in __call__<BR>>     response = self.app(environ, start_response)<BR>>   File<BR>> "/usr/local/lib/python2.7/dist-packages/WebOb-1.2b3-py2.7.egg/webob/dec.py",<BR>> line 144, in __call__<BR>>     return resp(environ, start_response)<BR>>   File<BR>> "/usr/local/lib/python2.7/dist-packages/WebOb-1.2b3-py2.7.egg/webob/dec.py",<BR>> line 130, in __call__<BR>>     resp = self.call_func(req, *args, **self.kwargs)<BR>>   File<BR>>
 "/usr/local/lib/python2.7/dist-packages/WebOb-1.2b3-py2.7.egg/webob/dec.py",<BR>> line 195, in call_func<BR>>     return self.func(req, *args, **kwargs)<BR>>   File<BR>> "/usr/local/lib/python2.7/dist-packages/quantum-2012.1-py2.7.egg/quantum/wsgi.py",<BR>> line 747, in __call__<BR>>     action_result = self.dispatch(request, action, args)<BR>>   File<BR>> "/usr/local/lib/python2.7/dist-packages/quantum-2012.1-py2.7.egg/quantum/wsgi.py",<BR>> line 779, in dispatch<BR>>     return controller_method(request=request, **action_args)<BR>>   File<BR>> "/usr/local/lib/python2.7/dist-packages/quantum-2012.1-py2.7.egg/quantum/api/api_common.py",<BR>> line 104, in the_func<BR>>     return func(*args, **kwargs)<BR>>   File<BR>> "/usr/local/lib/python2.7/dist-packages/quantum-2012.1-py2.7.egg/quantum/api/networks.py",<BR>> line 99, in
 index<BR>>     return self._items(request, tenant_id)<BR>>   File<BR>> "/usr/local/lib/python2.7/dist-packages/quantum-2012.1-py2.7.egg/quantum/api/networks.py",<BR>> line 80, in _items<BR>>     filter_opts.update(request.str_GET)<BR>>   File<BR>> "/usr/local/lib/python2.7/dist-packages/WebOb-1.2b3-py2.7.egg/webob/descriptors.py",<BR>> line 116, in fget<BR>>     warn()<BR>>   File<BR>> "/usr/local/lib/python2.7/dist-packages/WebOb-1.2b3-py2.7.egg/webob/descriptors.py",<BR>> line 113, in warn<BR>>     3<BR>>   File<BR>> "/usr/local/lib/python2.7/dist-packages/WebOb-1.2b3-py2.7.egg/webob/util.py",<BR>> line 51, in warn_deprecation<BR>>       raise DeprecationWarning(text)<BR>> DeprecationWarning: The attribute None is deprecated: disabled starting<BR>> WebOb 1.2, use GET instead<BR>>  to
 caller<BR>> 2012-03-05 05:04:28,618 ERROR nova.rpc [-] ['Traceback (most recent call<BR>> last):\n', '  File<BR>> "/usr/lib/python2.7/dist-packages/nova/rpc/impl_kombu.py", line 620, in<BR>> _process_data\n    rval = node_func(context=ctxt, **node_args)\n', '  File<BR>> "/usr/lib/python2.7/dist-packages/nova/network/quantum/manager.py", line<BR>> 180, in allocate_for_instance\n    instance_type_id, host)\n', '  File<BR>> "/usr/lib/python2.7/dist-packages/nova/network/quantum/manager.py", line<BR>> 207, in get_instance_nw_info\n    vif[\'uuid\'])\n', '  File<BR>> "/usr/lib/python2.7/dist-packages/nova/network/quantum/quantum_connection.py",<BR>> line 117, in get_port_by_attachment\n    net_list_resdict =<BR>> self.client.list_networks(tenant=tenant_id)\n', '  File<BR>> "/usr/lib/python2.7/dist-packages/nova/network/quantum/client.py",
 line 81,<BR>> in with_params\n    ret = self.func(instance, *args)\n', '  File<BR>> "/usr/lib/python2.7/dist-packages/nova/network/quantum/client.py", line 239,<BR>> in list_networks\n    return self.do_request("GET", self.networks_path)\n',<BR>> '  File "/usr/lib/python2.7/dist-packages/nova/network/quantum/client.py",<BR>> line 202, in do_request\n    % locals()))\n', 'QuantumServerException:<BR>> Server 500 error: Traceback (most recent call last):\n  File<BR>> "/usr/local/lib/python2.7/dist-packages/eventlet-0.9.16-py2.7.egg/eventlet/wsgi.py",<BR>> line 336, in handle_one_response\n    result =<BR>> self.application(self.environ, start_response)\n  File<BR>> "/usr/local/lib/python2.7/dist-packages/Paste-1.7.5.1-py2.7.egg/paste/urlmap.py",<BR>> line 203, in __call__\n    return app(environ, start_response)\n 
 File<BR>> "/usr/local/lib/python2.7/dist-packages/WebOb-1.2b3-py2.7.egg/webob/dec.py",<BR>> line 144, in __call__\n    return resp(environ, start_response)\n  File<BR>> "/usr/local/lib/python2.7/dist-packages/Routes-1.12.3-py2.7.egg/routes/middleware.py",<BR>> line 131, in __call__\n    response = self.app(environ, start_response)\n<BR>> File<BR>> "/usr/local/lib/python2.7/dist-packages/WebOb-1.2b3-py2.7.egg/webob/dec.py",<BR>> line 144, in __call__\n    return resp(environ, start_response)\n  File<BR>> "/usr/local/lib/python2.7/dist-packages/WebOb-1.2b3-py2.7.egg/webob/dec.py",<BR>> line 144, in __call__\n    return resp(environ, start_response)\n  File<BR>> "/usr/local/lib/python2.7/dist-packages/Routes-1.12.3-py2.7.egg/routes/middleware.py",<BR>> line 131, in __call__\n    response = self.app(environ, start_response)\n<BR>>
 File<BR>> "/usr/local/lib/python2.7/dist-packages/WebOb-1.2b3-py2.7.egg/webob/dec.py",<BR>> line 144, in __call__\n    return resp(environ, start_response)\n  File<BR>> "/usr/local/lib/python2.7/dist-packages/WebOb-1.2b3-py2.7.egg/webob/dec.py",<BR>> line 130, in __call__\n    resp = self.call_func(req, *args,<BR>> **self.kwargs)\n  File<BR>> "/usr/local/lib/python2.7/dist-packages/WebOb-1.2b3-py2.7.egg/webob/dec.py",<BR>> line 195, in call_func\n    return self.func(req, *args, **kwargs)\n  File<BR>> "/usr/local/lib/python2.7/dist-packages/quantum-2012.1-py2.7.egg/quantum/wsgi.py",<BR>> line 747, in __call__\n    action_result = self.dispatch(request, action,<BR>> args)\n  File<BR>> "/usr/local/lib/python2.7/dist-packages/quantum-2012.1-py2.7.egg/quantum/wsgi.py",<BR>> line 779, in dispatch\n    return
 controller_method(request=request,<BR>> **action_args)\n  File<BR>> "/usr/local/lib/python2.7/dist-packages/quantum-2012.1-py2.7.egg/quantum/api/api_common.py",<BR>> line 104, in the_func\n    return func(*args, **kwargs)\n  File<BR>> "/usr/local/lib/python2.7/dist-packages/quantum-2012.1-py2.7.egg/quantum/api/networks.py",<BR>> line 99, in index\n    return self._items(request, tenant_id)\n  File<BR>> "/usr/local/lib/python2.7/dist-packages/quantum-2012.1-py2.7.egg/quantum/api/networks.py",<BR>> line 80, in _items\n    filter_opts.update(request.str_GET)\n  File<BR>> "/usr/local/lib/python2.7/dist-packages/WebOb-1.2b3-py2.7.egg/webob/descriptors.py",<BR>> line 116, in fget\n    warn()\n  File<BR>> "/usr/local/lib/python2.7/dist-packages/WebOb-1.2b3-py2.7.egg/webob/descriptors.py",<BR>> line 113, in warn\n    3\n 
 File<BR>> "/usr/local/lib/python2.7/dist-packages/WebOb-1.2b3-py2.7.egg/webob/util.py",<BR>> line 51, in warn_deprecation\n    raise<BR>> DeprecationWarning(text)\nDeprecationWarning: The attribute None is<BR>> deprecated: disabled starting WebOb 1.2, use GET instead\n\n']<BR>><BR>> Mar 05 04:28:01|00001|vlog|INFO|opened log file<BR>> /var/log/openvswitch/ovs-vswitchd.log<BR>> Mar 05 04:28:01|00002|reconnect|INFO|unix:/var/run/openvswitch/db.sock:<BR>> connecting...<BR>> Mar 05 04:28:01|00003|reconnect|INFO|unix:/var/run/openvswitch/db.sock:<BR>> connected<BR>> Mar 05 04:28:01|00004|ofproto|INFO|using datapath ID 0000002320a01c2e<BR>> Mar 05 04:28:01|00005|bridge|INFO|created bridge br-int on system@dp0<BR>> Mar 05 04:28:01|00006|bridge|INFO|created port eth1 on bridge br-int<BR>> Mar 05 04:28:01|00007|bridge|INFO|created port br-int on bridge br-int<BR>> Mar 05
 04:28:01|00008|ofproto|INFO|datapath ID changed to 000008002759a913<BR>> Mar 05 05:03:24|00009|ofp_util|INFO|normalization changed ofp_match,<BR>> details:<BR>> Mar 05 05:03:24|00010|ofp_util|INFO| pre: wildcards=  0x3820ff<BR>> in_port=65534  dl_src=00:00:00:00:00:00  dl_dst=00:00:00:00:00:00<BR>> dl_vlan=    0  dl_vlan_pcp=  0  dl_type=     0  nw_tos=   0  nw_proto=   0<BR>> nw_src=         0  nw_dst=         0  tp_src=    0  tp_dst=    0<BR>> Mar 05 05:03:24|00011|ofp_util|INFO|post: wildcards=  0x3fffff<BR>> in_port=65534  dl_src=00:00:00:00:00:00  dl_dst=00:00:00:00:00:00<BR>> dl_vlan=    0  dl_vlan_pcp=  0  dl_type=     0 
 nw_tos=   0  nw_proto=   0<BR>> nw_src=         0  nw_dst=         0  tp_src=    0  tp_dst=    0<BR>> Mar 05 05:03:24|00012|ofp_util|INFO|normalization changed ofp_match,<BR>> details:<BR>> Mar 05 05:03:24|00013|ofp_util|INFO| pre: wildcards=  0x3820ff<BR>> in_port=65534  dl_src=00:00:00:00:00:00  dl_dst=00:00:00:00:00:00<BR>> dl_vlan=    0  dl_vlan_pcp=  0  dl_type=     0  nw_tos=   0  nw_proto=   0<BR>> nw_src=         0  nw_dst=         0  tp_src=    0  tp_dst=    0<BR>> Mar 05 05:03:24|00014|ofp_util|INFO|post: wildcards=  0x3fffff<BR>>
 in_port=65534  dl_src=00:00:00:00:00:00  dl_dst=00:00:00:00:00:00<BR>> dl_vlan=    0  dl_vlan_pcp=  0  dl_type=     0  nw_tos=   0  nw_proto=   0<BR>> nw_src=         0  nw_dst=         0  tp_src=    0  tp_dst=    0<BR>><BR>><BR>> From: Brad Hall <<A href="mailto:brad@nicira.com" ymailto="mailto:brad@nicira.com">brad@nicira.com</A>><BR>> To: jay_s_b <<A href="mailto:jay_s_b@yahoo.com" ymailto="mailto:jay_s_b@yahoo.com">jay_s_b@yahoo.com</A>><BR>> Sent: Monday, March 5, 2012 11:39 AM<BR>> Subject: Re: [Openstack] quantum list-net list_port throwing exception<BR>> status code 500<BR>><BR>> Hi Jay,<BR>><BR>> What plugin are you using?  Do you have any logs from the plugin or<BR>> quantum
 server output?<BR>><BR>> Thanks,<BR>> Brad<BR>><BR>> On Mon, Mar 5, 2012 at 10:26 AM, jay_s_b <<A href="mailto:jay_s_b@yahoo.com" ymailto="mailto:jay_s_b@yahoo.com">jay_s_b@yahoo.com</A>> wrote:<BR>>> Hello,<BR>>> Using quantum :essex-3-2012-1 version<BR>>> [python-quantumclient-2012.1 and quantum-2012.1]<BR>>> I created network/port/interface successfully using<BR>>> create_net/create_port/plug_iface.<BR>>> However, list_nets and list_ports commands always return exception status<BR>>> code 500. [Because of this error VM that is launched is<BR>>> stuck with pending state]. show_net and show_port work fine. I am not sure<BR>>> if this is a bug. Is there a workaround?<BR>>><BR>>> /usr/local/bin/quantum list_nets tenant2<BR>>> Traceback (most recent call last):<BR>>>   File "./quantum", line 9, in <module><BR>>>    
 load_entry_point('python-quantumclient==2012.1', 'console_scripts',<BR>>> 'quantum')()<BR>>>   File<BR>>><BR>>> "/usr/local/lib/python2.7/dist-packages/quantum-2012.1-py2.7.egg/quantum/client/cli.py",<BR>>> line 164, in                 main<BR>>>     commands[cmd]["func"](client, *args)<BR>>>   File<BR>>><BR>>> "/usr/local/lib/python2.7/dist-packages/quantum-2012.1-py2.7.egg/quantum/client/cli_lib.py",<BR>>> line 165,                 in list_nets<BR>>>     res = client.list_networks()<BR>>>   File<BR>>><BR>>> "/usr/local/lib/python2.7/dist-packages/quantum-2012.1-py2.7.egg/quantum/client/__init__.py",<BR>>> line
 58,                 in with_params<BR>>>     ret = self.function(instance, *args)<BR>>>   File<BR>>><BR>>> "/usr/local/lib/python2.7/dist-packages/quantum-2012.1-py2.7.egg/quantum/client/__init__.py",<BR>>> line 259                , in list_networks<BR>>>     return self.do_request("GET", self.networks_path)<BR>>>   File<BR>>><BR>>> "/usr/local/lib/python2.7/dist-packages/quantum-2012.1-py2.7.egg/quantum/client/__init__.py",<BR>>> line 207                , in do_request<BR>>>     raise ex<BR>>> Exception: [{'status_code': 500, 'message': ''}]<BR>>> localadmin@quantum:/usr/local/bin$ ./quantum
 list_ports tenant2<BR>>> 07979e30-c0c1-47df-85ed-f8d3adb21a7f<BR>>> Exception:<type 'exceptions.Exception'> - [{'status_code': 500, 'message':<BR>>> ''}]<BR>>> Command failed with error code: 500<BR>>> Error message:<missing><BR>>> mysql> select * from networks;<BR>>><BR>>> +--------------------------------------+-----------+----------+-----------+<BR>>> | uuid                                 | tenant_id | name     | op_status<BR>>> |<BR>>><BR>>> +--------------------------------------+-----------+----------+-----------+<BR>>> | 07979e30-c0c1-47df-85ed-f8d3adb21a7f | tenant2   | testnet2 | UP<BR>>> |<BR>>><BR>>>
 +--------------------------------------+-----------+----------+-----------+<BR>>> mysql> select * from ports;<BR>>><BR>>> +--------------------------------------+--------------------------------------+--------------------------------------+--------+-----------+<BR>>> | uuid                                 |<BR>>> network_id                           | interface_id<BR>>> | state  | op_status |<BR>>><BR>>> +--------------------------------------+--------------------------------------+--------------------------------------+--------+-----------+<BR>>> | fe9c24c6-4691-482e-90ef-5cd1245f9a3d |<BR>>>
 07979e30-c0c1-47df-85ed-f8d3adb21a7f |<BR>>> 51e8b007-af9f-49bf-a830-63d2ba7c4347<BR>>> | ACTIVE | DOWN      |<BR>>> Thanks,<BR>>> -Jay<BR>>><BR>>> _______________________________________________<BR>>> Mailing list: <A href="https://launchpad.net/~openstack" target=_blank>https://launchpad.net/~openstack</A><BR>>> Post to     : <A href="mailto:openstack@lists.launchpad.net" ymailto="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</A><BR>>> Unsubscribe : <A href="https://launchpad.net/~openstack" target=_blank>https://launchpad.net/~openstack</A><BR>>> More help   : <A href="https://help.launchpad.net/ListHelp" target=_blank>https://help.launchpad.net/ListHelp</A><BR>>><BR>><BR>><BR><BR><BR></DIV></DIV></div></body></html>