Sometimes create member is failing with SubnetNotFound

Bug #1630903 reported by ank
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Group Based Policy UI
New
Undecided
ank

Bug Description

Exception:

DEBUG:openstack_dashboard.api.neutron:subnet_get(): subnetid=8a72f5bd-757e-400d-96e1-11dc07b4546a, params={}
Mon Oct 03 12:27:12.119843 2016 :error pid 26958:tid 139894956619520 DEBUG:neutronclient.client:
Mon Oct 03 12:27:12.120062 2016 :error pid 26958:tid 139894956619520 REQ: curl -i https://192.168.20.10:9696//v2.0/subnets/8a72f5bd-757e-400d-96e1-11dc07b4546a.json -X GET -H "User-Agent: python-neutronclient" -H "X-Auth-Token: cb97deecdbdf4f0489ab69f1e963ce7e"
Mon Oct 03 12:27:12.120205 2016 :error pid 26958:tid 139894956619520
Mon Oct 03 12:27:12.191976 2016 :error pid 26958:tid 139894956619520 DEBUG:neutronclient.client:RESP:404
{'date': 'Mon, 03 Oct 2016 21:01:32 GMT', 'content-length': '135', 'content-type': 'application/json; charset=UTF-8', 'x-openstack-request-id': 'req-787fc5e2-e4f0-4f47-b5d5-3231d37d543c'}
{"NeutronError": {"message": "Subnet 8a72f5bd-757e-400d-96e1-11dc07b4546a could not be found", "type": "SubnetNotFound", "detail": ""}}
Mon Oct 03 12:27:12.192301 2016 :error pid 26958:tid 139894956619520
Mon Oct 03 12:27:12.194805 2016 :error pid 26958:tid 139894956619520 DEBUG:neutronclient.v2_0.client:Error message: {"NeutronError": {"message": "Subnet 8a72f5bd-757e-400d-96e1-11dc07b4546a could not be found", "type": "SubnetNotFound", "detail": ""}}
Mon Oct 03 12:27:12.196110 2016 :error pid 26958:tid 139894956619520 ERROR:gbpui.panels.policytargets.workflows:Subnet 8a72f5bd-757e-400d-96e1-11dc07b4546a could not be found
Mon Oct 03 12:27:12.201158 2016 :error pid 26958:tid 139894956619520 ERROR:horizon.exceptions:Not Found: Subnet 8a72f5bd-757e-400d-96e1-11dc07b4546a could not be found
Mon Oct 03 12:27:12.201541 2016 :error pid 26958:tid 139894956619520 Traceback (most recent call last):
Mon Oct 03 12:27:12.201739 2016 :error pid 26958:tid 139894956619520 File "/usr/share/cusapp/.venv/lib/python2.7/site-packages/gbpui/panels/policytargets/workflows.py", line 585, in handle
Mon Oct 03 12:27:12.201846 2016 :error pid 26958:tid 139894956619520 subnet = api.neutron.subnet_get(request, subnet_id)
Mon Oct 03 12:27:12.201928 2016 :error pid 26958:tid 139894956619520 File "/usr/share/cusapp/.venv/lib/python2.7/site-packages/openstack_dashboard/api/neutron.py", line 682, in subnet_get
Mon Oct 03 12:27:12.201937 2016 :error pid 26958:tid 139894956619520 **params).get('subnet')
Mon Oct 03 12:27:12.201941 2016 :error pid 26958:tid 139894956619520 File "/usr/share/cusapp/.venv/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 99, in with_params
Mon Oct 03 12:27:12.202014 2016 :error pid 26958:tid 139894956619520 ret = self.function(instance, *args, **kwargs)
Mon Oct 03 12:27:12.203596 2016 :error pid 26958:tid 139894956619520 File "/usr/share/cusapp/.venv/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 555, in show_subnet
Mon Oct 03 12:27:12.206656 2016 :error pid 26958:tid 139894956619520 return self.get(self.subnet_path % (subnet), params=_params)
Mon Oct 03 12:27:12.207077 2016 :error pid 26958:tid 139894956619520 File "/usr/share/cusapp/.venv/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 290, in get
Mon Oct 03 12:27:12.207299 2016 :error pid 26958:tid 139894956619520 headers=headers, params=params)
Mon Oct 03 12:27:12.207310 2016 :error pid 26958:tid 139894956619520 File "/usr/share/cusapp/.venv/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 267, in retry_request
Mon Oct 03 12:27:12.207316 2016 :error pid 26958:tid 139894956619520 headers=headers, params=params)
Mon Oct 03 12:27:12.207320 2016 :error pid 26958:tid 139894956619520 File "/usr/share/cusapp/.venv/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 208, in do_request
Mon Oct 03 12:27:12.207324 2016 :error pid 26958:tid 139894956619520 self._handle_fault_response(status_code, replybody)
Mon Oct 03 12:27:12.207328 2016 :error pid 26958:tid 139894956619520 File "/usr/share/cusapp/.venv/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 182, in _handle_fault_response
Mon Oct 03 12:27:12.207338 2016 :error pid 26958:tid 139894956619520 exception_handler_v20(status_code, des_error_body)
Mon Oct 03 12:27:12.209139 2016 :error pid 26958:tid 139894956619520 File "/usr/share/cusapp/.venv/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 67, in exception_handler_v20
Mon Oct 03 12:27:12.209202 2016 :error pid 26958:tid 139894956619520 status_code=status_code)
Mon Oct 03 12:27:12.210193 2016 :error pid 26958:tid 139894956619520 NotFound: Subnet 8a72f5bd-757e-400d-96e1-11dc07b4546a could not be found
Mon Oct 03 12:27:12.250103 2016 :error pid 26956:tid 139894931441408 DEBUG:gbpui.client:gbpclient connection created using token "cb97deecdbdf4f0489ab69f1e963ce7e" and url "https://192.168.20.10:9696/"
Mon Oct 03 12:27:12.250840 2016 :error pid 26956:tid 139894931441408 DEBUG:gbpui.client:user_id=c9b1460926494416a767acbbf24af47f, tenant_id=1cab087752e247309573fcb28cfe671b
Mon Oct 03 12:27:12.271191 2016 :error pid 26956:tid 139894931441408 DEBUG:neutronclient.client:

ank (ank.b)
Changed in group-based-policy-ui:
assignee: nobody → ank (ank.b)
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.