Api-Server runs into infinite api calls for neutron port-list

Bug #1438525 reported by Yatin Kumbhare
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenContrail
Incomplete
Undecided
Prakash Bailkeri

Bug Description

The sequence of commands:
$ neutron net-create private
$ neutron subnet-create private 10.0.0.0/24
$ neutron port-create private --fixed-ip ip_address=10.0.0.5

After port-create, api-server logs runs into never ending api calls of following nature.
Require to terminate api-server and after restart, private network is not shown in the output.

192.168.1.10 - - [2015-03-31 10:51:59] "POST /ref-update HTTP/1.1" 200 156 0.025565
192.168.1.10 - - [2015-03-31 10:51:59] "POST /fqname-to-id HTTP/1.1" 200 156 0.003166
192.168.1.10 - - [2015-03-31 10:51:59] "GET /virtual-machine-interface/69a55c1b-9b2e-4627-88a5-d3105562bfd1?exclude_back_refs=True&exclude_children=True HTTP/1.1" 200 1963 0.008825
192.168.1.10 - - [2015-03-31 10:51:59] "GET /virtual-machine-interface/69a55c1b-9b2e-4627-88a5-d3105562bfd1?exclude_back_refs=True&exclude_children=True HTTP/1.1" 200 1963 0.004356
WARNING:billy:contrail-api:Config:0:No Connection: __default__ [SYS_NOTICE]: VncApiError: Pub msg: {'oper': 'UPDATE', 'type': 'virtual-machine-interface', 'uuid': '69a55c1b-9b2e-4627-88a5-d3105562bfd1'}
192.168.1.10 - - [2015-03-31 10:51:59] "PUT /virtual-machine-interface/69a55c1b-9b2e-4627-88a5-d3105562bfd1 HTTP/1.1" 200 287 0.013338
WARNING:billy:contrail-api:Config:0:No Connection: __default__ [SYS_NOTICE]: VncApiError: Pub msg: {'oper': 'UPDATE', 'type': 'virtual-machine-interface', 'uuid': '69a55c1b-9b2e-4627-88a5-d3105562bfd1'}
192.168.1.10 - - [2015-03-31 10:51:59] "POST /ref-update HTTP/1.1" 200 156 0.043240
192.168.1.10 - - [2015-03-31 10:51:59] "POST /fqname-to-id HTTP/1.1" 200 156 0.007212
192.168.1.10 - - [2015-03-31 10:51:59] "GET /virtual-machine-interface/69a55c1b-9b2e-4627-88a5-d3105562bfd1?exclude_back_refs=True&exclude_children=True HTTP/1.1" 200 1963 0.012930
192.168.1.10 - - [2015-03-31 10:51:59] "POST /fqname-to-id HTTP/1.1" 404 186 0.010068
192.168.1.10 - - [2015-03-31 10:51:59] "POST /fqname-to-id HTTP/1.1" 404 186 0.003083
192.168.1.10 - - [2015-03-31 10:51:59] "POST /fqname-to-id HTTP/1.1" 200 156 0.004468
192.168.1.10 - - [2015-03-31 10:51:59] "GET /virtual-machine-interface/69a55c1b-9b2e-4627-88a5-d3105562bfd1?exclude_back_refs=True&exclude_children=True HTTP/1.1" 200 1963 0.010522
192.168.1.10 - - [2015-03-31 10:51:59] "GET /virtual-machine-interface/69a55c1b-9b2e-4627-88a5-d3105562bfd1?exclude_back_refs=True&exclude_children=True HTTP/1.1" 200 1963 0.002982
WARNING:billy:contrail-api:Config:0:No Connection: __default__ [SYS_NOTICE]: VncApiError: Pub msg: {'oper': 'UPDATE', 'type': 'virtual-machine-interface', 'uuid': '69a55c1b-9b2e-4627-88a5-d3105562bfd1'}
192.168.1.10 - - [2015-03-31 10:51:59] "PUT /virtual-machine-interface/69a55c1b-9b2e-4627-88a5-d3105562bfd1 HTTP/1.1" 200 287 0.022499
WARNING:billy:contrail-api:Config:0:No Connection: __default__ [SYS_NOTICE]: VncApiError: Pub msg: {'oper': 'UPDATE', 'type': 'virtual-machine-interface', 'uuid': '69a55c1b-9b2e-4627-88a5-d3105562bfd1'}
192.168.1.10 - - [2015-03-31 10:51:59] "POST /ref-update HTTP/1.1" 200 156 0.008121
192.168.1.10 - - [2015-03-31 10:51:59] "POST /fqname-to-id HTTP/1.1" 200 156 0.003475
192.168.1.10 - - [2015-03-31 10:52:00] "GET /virtual-machine-interface/69a55c1b-9b2e-4627-88a5-d3105562bfd1?exclude_back_refs=True&exclude_children=True HTTP/1.1" 200 1963 0.007042
192.168.1.10 - - [2015-03-31 10:52:00] "GET /virtual-machine-interface/69a55c1b-9b2e-4627-88a5-d3105562bfd1?exclude_back_refs=True&exclude_children=True HTTP/1.1" 200 1963 0.008628
WARNING:billy:contrail-api:Config:0:No Connection: __default__ [SYS_NOTICE]: VncApiError: Pub msg: {'oper': 'UPDATE', 'type': 'virtual-machine-interface', 'uuid': '69a55c1b-9b2e-4627-88a5-d3105562bfd1'}
192.168.1.10 - - [2015-03-31 10:52:00] "PUT /virtual-machine-interface/69a55c1b-9b2e-4627-88a5-d3105562bfd1 HTTP/1.1" 200 287 0.029972
WARNING:billy:contrail-api:Config:0:No Connection: __default__ [SYS_NOTICE]: VncApiError: Pub msg: {'oper': 'UPDATE', 'type': 'virtual-machine-interface', 'uuid': '69a55c1b-9b2e-4627-88a5-d3105562bfd1'}

Tags: config
Pedro Marques (5-roque)
Changed in opencontrail:
assignee: nobody → Prakash Bailkeri (prakashmb)
Revision history for this message
Prakash Bailkeri (prakashmb) wrote :

Can you please provide the details of
1. Contrail version info
2. Setup information (single config node[all in one] or with multiple config nodes)
3. also attach the tar of log file from /var/log/contrail.

Do you see issue after issuing port-list or infinite loop is seen after the port-create itself?

Changed in opencontrail:
status: New → Incomplete
Revision history for this message
Yatin Kumbhare (yatinkumbhare-c) wrote :

1. contrail master branch
2. Single node (Ubntu 14.04 + devstack + contrail)
3. tar file attached

Reproducing steps:
neutron net-list will show private network, if not create network private
if no subnet, create subnet for private network
create port
Restart api-server
After api-server restart, private network will not be listed under neutron net-list
create network private
create subnet
create port
Check api-server logs, this will be in infinite loop

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.