Facing error on openstack queen neutron installation: Failed to contact the endpoint at http://controller:9696 for discovery. Fallback to using that endpoint as the base url.

asked 2019-03-17 16:17:46 -0500

Naveed gravatar image

updated 2019-03-21 13:47:13 -0500

I am doing openstack queen installation i follow this tutorial for openstack queen installation:

https://docs.openstack.org/install-guide/openstack-services.html (https://docs.openstack.org/install-gu...)

I am installing this on KVM guest i have 2 nodes contoller and compute, glance, keystone , nova successfully install with verification but when i am installing neutron and trying to verifying with typing this command

openstack extension list --network

It will give me this error error :

Failed to contact the endpoint at http://controller:9696 for discovery. Fallback to using that endpoint as the base url. Failed to contact the endpoint at http://controller:9696 for discovery. Fallback to using that endpoint as the base url. Failed to retrieve extensions list from Network API

So tell me what is the issue and how i can check log file for this error.

In that case i install dashboard but when i select on network options it shows this error notification:

Error: Unable to check if network availability zone extension is supported

Error: Unable to check if DHCP agent scheduler extension is supported

Error: Network list can not be retrieved.

So i am facing these kind of issues please some one help me to sort out this issue

When i check the neutron server status it shows this output:

~$ service neutron-server status

● neutron-server.service - OpenStack Neutron Server
   Loaded: loaded (/lib/systemd/system/neutron-server.service; enabled; vendor preset: enabled)
   Active: failed (Result: start-limit-hit) since Sat 2019-03-16 18:39:07 EDT; 1 day 19h ago
 Main PID: 23838 (code=exited, status=1/FAILURE)

Mar 16 18:39:07 controller systemd[1]: neutron-server.service: Service hold-off time over, scheduling restart.
Mar 16 18:39:07 controller systemd[1]: Stopped OpenStack Neutron Server.
Mar 16 18:39:07 controller systemd[1]: neutron-server.service: Start request repeated too quickly.
Mar 16 18:39:07 controller systemd[1]: Failed to start OpenStack Neutron Server.
Mar 16 18:39:07 controller systemd[1]: neutron-server.service: Unit entered failed state.
Mar 16 18:39:07 controller systemd[1]: neutron-server.service: Failed with result 'start-limit-hit'.
Mar 16 18:46:10 controller systemd[1]: [/lib/systemd/system/neutron-server.service:12] Runtime directory is not valid, ignoring assignment: neutron lock/neutron
Mar 16 18:46:10 controller systemd[1]: [/lib/systemd/system/neutron-server.service:13] Unknown lvalue 'CacheDirectory' in section 'Service'
Mar 16 18:46:10 controller systemd[1]: [/lib/systemd/system/neutron-server.service:12] Runtime directory is not valid, ignoring assignment: neutron lock/neutron
Mar 16 18:46:10 controller systemd[1]: [/lib/systemd/system/neutron-server.service:13] Unknown lvalue 'CacheDirectory' in section 'Service'

root@controller:~# cat /lib/systemd/system/neutron-server.service
[Unit]
Description=OpenStack Neutron Server
After=mysql.service postgresql.service rabbitmq-server.service keystone.service
[Service]
User=neutron
Group=neutron
Type=simple
WorkingDirectory=~
RuntimeDirectory=neutron

root@controller:~# cat /var/log/neutron/neutron-linuxbridge-agent.log 2019-03-21 09:51:18.414 4229 ERROR neutron.plugins.ml2.drivers.agent._common_agent Traceback (most recent call last): 2019-03-21 09:51:18.414 4229 ERROR neutron.plugins.ml2.drivers.agent._common_agent File ... (more)

edit retag flag offensive close merge delete

Comments

This either means that the Neutron Server, which receives API requests, is not running on host controller, or access to port 9696 on host controller is blocked or otherwise impossible.

Check if the Neutron Server is running. If yes, you need to find out why you can't communicate with it.

Bernd Bausch gravatar imageBernd Bausch ( 2019-03-17 17:50:24 -0500 )edit

Well, obviously something is wrong with the systemd unit file. What does it contain?

Update the question rather than writing an answer. Use the “101010” button to format code so that it is readable.

Bernd Bausch gravatar imageBernd Bausch ( 2019-03-18 16:51:41 -0500 )edit

Ok thanks for this

Naveed gravatar imageNaveed ( 2019-03-19 07:19:37 -0500 )edit

In my case each controller node has 2 network interface one is macvtap bridge and other is Default NAT mode, so in first inerface i use macvtap bridge ip for host controller 172.16.0.159 so is there any issue when using macvtap bridge .

Naveed gravatar imageNaveed ( 2019-03-19 08:26:04 -0500 )edit

Perhaps there is, but I don’t know. The systemd error, however, has nothing to do with the two interfaces.

Bernd Bausch gravatar imageBernd Bausch ( 2019-03-19 08:46:23 -0500 )edit