neutron error juno (centos7)

asked 2015-07-27 13:42:04 -0500

Anario gravatar image

updated 2015-07-27 18:01:18 -0500

[root@controller neutron]# systemctl start neutron-server.service
Job for neutron-server.service failed. See 'systemctl status neutron-server.service' and 'journalctl -xn' for details.

This is my server log from neutron. any idea ?

[root@controller neutron]# neutron-debug -v
DEBUG: keystoneclient.session REQ: curl -i -X GET http://controller:35357/v2.0 -H "Accept: application/json" -H "User-Agent: python-keystoneclient"
DEBUG: keystoneclient.session RESP: [200] {'date': 'Mon, 27 Jul 2015 22:17:38 GMT', 'vary': 'X-Auth-Token', 'content-length': '421', 'content-type': 'application/json', 'connection': 'keep-alive'}
RESP BODY: {"version": {"status": "stable", "updated": "2014-04-17T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v2.0+json"}, {"base": "application/xml", "type": "application/vnd.openstack.identity-v2.0+xml"}], "id": "v2.0", "links": [{"href": "http://controller:35357/v2.0/", "rel": "self"}, {"href": "http://docs.openstack.org/", "type": "text/html", "rel": "describedby"}]}}

ERROR: neutronclient.shell You must provide a config file for bridge - either --config-file or env[NEUTRON_TEST_CONFIG_FILE]
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/neutronclient/shell.py", line 666, in run
    self.initialize_app(remainder)
  File "/usr/lib/python2.7/site-packages/neutron/debug/shell.py", line 69, in initialize_app
    _("You must provide a config file for bridge -"
CommandError: You must provide a config file for bridge - either --config-file or env[NEUTRON_TEST_CONFIG_FILE]
Traceback (most recent call last):
  File "/usr/bin/neutron-debug", line 10, in <module>
    sys.exit(main())
  File "/usr/lib/python2.7/site-packages/neutron/debug/shell.py", line 87, in main
    argv or sys.argv[1:])
  File "/usr/lib/python2.7/site-packages/neutronclient/shell.py", line 666, in run
    self.initialize_app(remainder)
  File "/usr/lib/python2.7/site-packages/neutron/debug/shell.py", line 69, in initialize_app
    _("You must provide a config file for bridge -"
neutronclient.common.exceptions.CommandError: You must provide a config file for bridge - either --config-file or env[NEUTRON_TEST_CONFIG_FILE]

/var/log/neutron-server.log

    2015-07-27 10:39:03.002 27688 INFO neutron.common.config [-] Logging enabled!
    2015-07-27 10:39:03.009 27688 INFO neutron.common.config [-] Config paste file: /usr/share/neutron/api-paste.ini
    2015-07-27 10:39:03.135 27688 INFO neutron.manager [-] Loading core plugin: m12
    2015-07-27 10:39:03.136 27688 ERROR neutron.service [-] Unrecoverable error: please check log for details.
    2015-07-27 10:39:03.136 27688 TRACE neutron.service Traceback (most recent call last):
    2015-07-27 10:39:03.136 27688 TRACE neutron.service   File "/usr/lib/python2.7/site-packages/neutron/service.py", line 102, in serve_wsgi
    2015-07-27 10:39:03.136 27688 TRACE neutron.service     service.start()
    2015-07-27 10:39:03.136 27688 TRACE neutron.service   File "/usr/lib/python2.7/site-   packages/neutron/service.py", line 73, in start
    2015-07-27 10:39:03.136 27688 TRACE neutron.service     self.wsgi_app = _run_wsgi(self.app_name)
    2015-07-27 10:39:03.136 27688 TRACE neutron.service   File "/usr/lib/python2.7/site-packages/neutron/service.py", line 168, in _run_wsgi
    2015-07-27 10:39:03.136 27688 TRACE neutron.service     app = config.load_paste_app(app_name)
    2015-07-27 10:39:03.136 27688 TRACE neutron.service   File "/usr/lib/python2.7/site-  packages/neutron/common/config.py", line 183 ...
(more)
edit retag flag offensive close merge delete

Comments

Hi , restart rabbitmq server once,then try restarting neutron server using commands,

systemctl restart rabbitmq-server.service systemctl restart neutron-server.service

Praveen N gravatar imagePraveen N ( 2015-07-29 02:58:39 -0500 )edit

It didn't help.

Anario gravatar imageAnario ( 2015-07-29 12:50:18 -0500 )edit

Check the status of rabbitmq with systemctl status rabbitmq-server.service

Praveen N gravatar imagePraveen N ( 2015-07-29 14:22:28 -0500 )edit

Rabbit server work

 Loaded: loaded (/usr/lib/systemd/system/rabbitmq-server.service; enabled)
   Active: active (running) since Wed 2015-07-29 11:54:51 PDT; 5h 21min ago
Anario gravatar imageAnario ( 2015-07-29 19:17:59 -0500 )edit