Receiving error NetworkNotFoundClient

asked 2019-02-13 21:51:56 -0500

mevry gravatar image

updated 2019-02-20 14:10:38 -0500

After attempting to launch an initial cirros image on a self-service network, I am receiving the following error:

Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'neutronclient.common.exceptions.NetworkNotFoundClient'> (HTTP 500) (Request-ID: req-533cf5f6-24e6-4f70-84f1-9094646f12e0)

Truncated output from nova-api.log:

2019-02-13 19:23:17.990 8201 ERROR nova.api.openstack.wsgi [req-533cf5f6-24e6-4f70-84f1-9094646f12e0 572a94b58e7c476b87027a8e1efe81d
3 2ded1e03b20f4866bf0a590e9a21e353 - default default] Unexpected exception in API method: NetworkNotFoundClient: Network 958824f7-cb
f7-41b3-9700-d7c24860fa82 could not be found.
Neutron server returns request_ids: ['req-7fab9e94-633b-4b82-bf5d-84fd000d1eaf']
2019-02-13 19:23:17.990 8201 ERROR nova.api.openstack.wsgi Traceback (most recent call last):
2019-02-13 19:23:17.990 8201 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/api/openstack/wsgi.py", lin
e 801, in wrapped
2019-02-13 19:23:17.990 8201 ERROR nova.api.openstack.wsgi     return f(*args, **kwargs)
2019-02-13 19:23:17.990 8201 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py"
, line 110, in wrapper

...
<truncated>
...

2019-02-13 19:23:17.990 8201 ERROR nova.api.openstack.wsgi     ret = obj(*args, **kwargs)
2019-02-13 19:23:17.990 8201 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 269, in _handle_fault_response
2019-02-13 19:23:17.990 8201 ERROR nova.api.openstack.wsgi     exception_handler_v20(status_code, error_body)
2019-02-13 19:23:17.990 8201 ERROR nova.api.openstack.wsgi   File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 93, in exception_handler_v20
2019-02-13 19:23:17.990 8201 ERROR nova.api.openstack.wsgi     request_ids=request_ids)
**2019-02-13 19:23:17.990 8201 ERROR nova.api.openstack.wsgi NetworkNotFoundClient: Network 958824f7-cbf7-41b3-9700-d7c24860fa82 could not be found.**
2019-02-13 19:23:17.990 8201 ERROR nova.api.openstack.wsgi Neutron server returns request_ids: ['req-7fab9e94-633b-4b82-bf5d-84fd000d1eaf']
2019-02-13 19:23:17.990 8201 ERROR nova.api.openstack.wsgi
2019-02-13 19:23:17.992 8201 INFO nova.api.openstack.wsgi [req-533cf5f6-24e6-4f70-84f1-9094646f12e0 572a94b58e7c476b87027a8e1efe81d3 2ded1e03b20f4866bf0a590e9a21e353 - default default] HTTP exception thrown: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'neutronclient.common.exceptions.NetworkNotFoundClient'>
2019-02-13 19:23:17.993 8201 INFO nova.osapi_compute.wsgi.server [req-533cf5f6-24e6-4f70-84f1-9094646f12e0 572a94b58e7c476b87027a8e1efe81d3 2ded1e03b20f4866bf0a590e9a21e353 - default default] 192.168.10.4 "POST /v2.1/servers HTTP/1.1" status: 500 len: 660 time: 3.3069739
2019-02-13 19:28:17.592 8205 INFO nova.osapi_compute.wsgi.server [req-a5cf6263-5bee-4627-980b-1f55e48eb8c0 572a94b58e7c476b87027a8e1efe81d3 2ded1e03b20f4866bf0a590e9a21e353 - default default] 192.168.10.4 "GET /v2.1/os-services HTTP/1.1" status: 200 len: 1339 time: 0.8909991

Does anyone know what causes this error or how to address it?

Output & Configuration:

# openstack network show 958824f7-cbf7-41b3-9700-d7c24860fa82
+---------------------------+--------------------------------------+
| Field                     | Value                                |
+---------------------------+--------------------------------------+
| admin_state_up            | UP                                   |
| availability_zone_hints   |                                      |
| availability_zones        | nova                                 |
| created_at                | 2019-02-13T19:26:54Z                 |
| description               |                                      |
| dns_domain                | None                                 |
| id                        | 958824f7-cbf7-41b3-9700-d7c24860fa82 |
| ipv4_address_scope        | None                                 |
| ipv6_address_scope        | None                                 |
| is_default                | None                                 |
| is_vlan_transparent       | None                                 |
| mtu                       | 1450                                 |
| name                      | selfservice                          |
| port_security_enabled     | True                                 |
| project_id                | 2ded1e03b20f4866bf0a590e9a21e353     |
| provider:network_type     | vxlan                                |
| provider:physical_network | None                                 |
| provider:segmentation_id  | 31                                   |
| qos_policy_id             | None                                 |
| revision_number           | 2                                    |
| router:external           | Internal                             |
| segments                  | None                                 |
| shared                    | False                                |
| status                    | ACTIVE                               |
| subnets                   | d8f3c6cf-b9f0-4668-ba07-4fc8bcd2abcc |
| tags                      |                                      |
| updated_at                | 2019-02-13T19:29:03Z ...
(more)
edit retag flag offensive close merge delete

Comments

Either your neutron config or the neutron section in the nova config(s) (more likely) is probably wrong. Can you verify if the network id actually exists? Run openstack network show 958824f7-cbf7-41b3-9700-d7c24860fa82 and paste the output. Also check neutron logs for more hints.

eblock gravatar imageeblock ( 2019-02-14 08:01:39 -0500 )edit

I've added the output of the requested command. I looked in the neutron logs on the controller and only noticed some 404 entries. I've also included the [neutron] section of the nova.conf file. I noticed that some auth_url entries omit v3 for keystone api. Would this cause a problem?

mevry gravatar imagemevry ( 2019-02-14 14:38:06 -0500 )edit

What about neutron linuxbridge-agent logs from compute node? Can you check them, too? According to the docs the v3 entries are not required anymore, so I don't see that as a potential problem.

eblock gravatar imageeblock ( 2019-02-18 02:42:25 -0500 )edit

The only entries from linuxbridge-agent.log on compute01 seem to correspond with security rule updates on that node, although I'm not sure what its updating since there aren't any bridges on that node anyway.

mevry gravatar imagemevry ( 2019-02-19 21:37:56 -0500 )edit

I appreciate all the help you have given me, but I think we are going to attempt an OSA deployment. I tested openstack-ansible in a virtual environment and it worked as expected.

mevry gravatar imagemevry ( 2019-02-19 21:40:04 -0500 )edit