HTTPError in contrail-api logs while creating subnets/ports etc. in a VN
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Juniper Openstack |
Fix Committed
|
Medium
|
Prakash Bailkeri |
Bug Description
Build 1.10 2261
I create a VN and a subnet in it. Things go fine.
But on creating the subnet, in the contrail-api log, we see this :
ERROR:vnc_
<pre>Traceback (most recent call last):
File "/usr/lib/
return handler(*args, **kwargs)
File "/usr/lib/
bottle.
File "/usr/lib/
raise HTTPError(code, text)
HTTPError
</pre>
-----------
root@nodec22:
Created a new network:
+------
| Field | Value |
+------
| admin_state_up | True |
| id | 5ff630fb-
| name | net30 |
| router:external | False |
| shared | False |
| status | ACTIVE |
| subnets | |
| tenant_id | d7573cca36ab40b
+------
root@nodec22:
Created a new subnet:
+------
| Field | Value |
+------
| allocation_pools | {"last_ip": "10.1.1.254", "first_ip": "10.1.1.2"} |
| cidr | 10.1.1.0/24 |
| dns_nameservers | |
| enable_dhcp | True |
| gateway_ip | 10.1.1.1 |
| id | e04315bb-
| ip_version | 4 |
| name | |
| network_id | 5ff630fb-
| tenant_id | d7573cca36ab40b
+------
root@nodec22:
contrail-api.log :
===============
(Pdb) 127.0.0.1 - - [2014-07-21 11:50:28] "GET / HTTP/1.1" 200 9385 0.000822
127.0.0.1 - - [2014-07-21 11:50:28] "GET /virtual-
10.204.217.7 - - [2014-07-21 11:50:28] "POST /neutron/network HTTP/1.1" 200 333 0.018494
127.0.0.1 - - [2014-07-21 11:50:28] "GET / HTTP/1.1" 200 9385 0.000783
127.0.0.1 - - [2014-07-21 11:50:28] "GET /virtual-
127.0.0.1 - - [2014-07-21 11:50:28] "GET /virtual-
127.0.0.1 - - [2014-07-21 11:50:28] "POST /useragent-kv HTTP/1.1" 200 157 0.006170
10.204.217.7 - - [2014-07-21 11:50:28] "POST /neutron/subnet HTTP/1.1" 200 120 0.035596
127.0.0.1 - - [2014-07-21 11:50:28] "GET / HTTP/1.1" 200 9385 0.000752
127.0.0.1 - - [2014-07-21 11:50:28] "GET /virtual-
ERROR:vnc_
<pre>Traceback (most recent call last):
File "/usr/lib/
return handler(*args, **kwargs)
File "/usr/lib/
bottle.
File "/usr/lib/
raise HTTPError(code, text)
HTTPError
</pre>
127.0.0.1 - - [2014-07-21 11:50:28] "POST /fqname-to-id HTTP/1.1" 404 192 0.004411
127.0.0.1 - - [2014-07-21 11:50:28] "PUT /virtual-
INFO:api-0:Sending request(xid=1889): GetChildren(
INFO:api-0:Received error(xid=1889) NoNodeError((), {})
INFO:api-0:Sending request(xid=1890): GetData(
INFO:api-0:Received error(xid=1890) NoNodeError((), {})
INFO:api-0:Sending request(xid=1891): Create(
INFO:api-0:Received error(xid=1891) NoNodeError((), {})
INFO:api-0:Sending request(xid=1892): Exists(
INFO:api-0:Sending request(xid=1893): Exists(
INFO:api-0:Sending request(xid=1894): Exists(
INFO:api-0:Received response(xid=1894): ZnodeStat(
INFO:api-0:Sending request(xid=1895): Create(
INFO:api-0:Received response(xid=1895): u'/api-
INFO:api-0:Sending request(xid=1896): Create(
INFO:api-0:Received response(xid=1896): u'/api-
INFO:api-0:Sending request(xid=1897): Create(
INFO:api-0:Received response(xid=1897): u'/api-
INFO:api-0:Sending request(xid=1898): GetData(
INFO:api-0:Received error(xid=1898) NoNodeError((), {})
INFO:api-0:Sending request(xid=1899): GetData(
INFO:api-0:Received error(xid=1899) NoNodeError((), {})
INFO:api-0:Sending request(xid=1900): Create(
INFO:api-0:Received response(xid=1900): u'/api-
127.0.0.1 - - [2014-07-21 11:50:28] "POST /ref-update HTTP/1.1" 200 156 0.210032
127.0.0.1 - - [2014-07-21 11:50:28] "POST /useragent-kv HTTP/1.1" 200 115 0.001593
127.0.0.1 - - [2014-07-21 11:50:28] "POST /useragent-kv HTTP/1.1" 200 115 0.002140
127.0.0.1 - - [2014-07-21 11:50:28] "GET /virtual-
127.0.0.1 - - [2014-07-21 11:50:28] "POST /useragent-kv HTTP/1.1" 200 157 0.001376
10.204.217.7 - - [2014-07-21 11:50:28] "POST /neutron/subnet HTTP/1.1" 200 533 0.262551
INFO:api-0:Sending request(xid=1901): GetData(
INFO:api-0:Received response(xid=1901): ('249aed5f-
INFO:api-0:Sending request(xid=1902): GetData(
INFO:api-0:Received error(xid=1902) NoNodeError((), {})
INFO:api-0:Sending request(xid=1903): GetData(
INFO:api-0:Received response(xid=1903): ('28ca4e35-
information type: | Proprietary → Public |
summary: |
- HTTPError in contrail-api logs while creating subnet in a VN + HTTPError in contrail-api logs while creating subnets/ports etc. in a VN |
fixed by https:/ /review. opencontrail. org/#/c/ 947/