Neutron-server failed to start

asked 2015-12-09 06:28:07 -0600

Ali Solangi gravatar image

updated 2015-12-10 11:13:45 -0600

Hi, I am working on OpenStack integration with ACI, but getting nuetron-server problem to start. here is the details

     [root@juno-controller-ali ~(keystone_admin)]# **openstack-service status neutron**
        neutron-dhcp-agent (pid 27958) is active
        neutron-l3-agent (pid 27956) is active
        neutron-metadata-agent (pid 27966) is active
        neutron-openvswitch-agent (pid 27986) is active
        **neutron-server (pid 0) is failed**

        **systemctl start neutron-server.service**
        ob for neutron-server.service failed. See 'systemctl status neutron-server.service' and 'journalctl -xn' for details.

        root@juno-controller-ali ~(keystone_admin)]# journalctl -xn
        Dec 09 07:00:15 juno-controller-ali sudo[24718]: neutron : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/neutron-rootwrap /etc/neutron/rootwrap.conf ovs-ofctl dump-flo
        Dec 09 07:00:17 juno-controller-ali sudo[24721]: neutron : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/neutron-rootwrap /etc/neutron/rootwrap.conf ovs-ofctl dump-flo
        Dec 09 07:00:19 juno-controller-ali sudo[24724]: neutron : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/neutron-rootwrap /etc/neutron/rootwrap.conf ovs-ofctl dump-flo
        Dec 09 07:00:21 juno-controller-ali sudo[24729]: neutron : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/neutron-rootwrap /etc/neutron/rootwrap.conf ovs-ofctl dump-flo
        Dec 09 07:00:23 juno-controller-ali sudo[24732]: neutron : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/neutron-rootwrap /etc/neutron/rootwrap.conf ovs-ofctl dump-flo
        Dec 09 07:00:25 juno-controller-ali sudo[24735]: neutron : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/neutron-rootwrap /etc/neutron/rootwrap.conf ovs-ofctl dump-flo
        Dec 09 07:00:25 juno-controller-ali cinder-volume[2272]: 2015-12-09 07:00:25.859 2892 WARNING **cinder.volume.manager [-] Unable to update stats, LVMISCSIDriver -2.0.0  d
        Dec 09 07:00:25 juno-controller-ali cinder-volume[2272]: 2015-12-09 07:00:25.860 2892 WARNING cinder.volume.manager [-] Unable to update volume replication status, LVMI**
        Dec 09 07:00:27 juno-controller-ali sudo[24738]: neutron : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/neutron-rootwrap /etc/neutron/rootwrap.conf ovs-ofctl dump-flo
        Dec 09 07:00:29 juno-controller-ali sudo[24741]: neutron : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/neutron-rootwrap /etc/neutron/rootwrap.conf ovs-ofctl dump-flo

        [root@juno-controller-ali ~(keystone_admin)]# neutron agent-list
        Unable to establish connection to http://10.3.1.175:9696/v2.0/agents.json

        [root@juno-controller-ali ~(keystone_admin)]# **tail -f /var/log/neutron/server.log**
        2015-12-09 07:06:23.336 25418 TRACE neutron   File "/usr/lib/python2.7/site-packages/requests/models.py", line 802, in json
        2015-12-09 07:06:23.336 25418 TRACE neutron     return json.loads(self.text, **kwargs)
        2015-12-09 07:06:23.336 25418 TRACE neutron   File "/usr/lib64/python2.7/site-packages/simplejson/__init__.py", line 488, in loads
        2015-12-09 07:06:23.336 25418 TRACE neutron     return _default_decoder.decode(s)
        2015-12-09 07:06:23.336 25418 TRACE neutron   File "/usr/lib64/python2.7/site-packages/simplejson/decoder.py", line 370, in decode
        2015-12-09 07:06:23.336 25418 TRACE neutron     obj, end = self.raw_decode(s)
        2015-12-09 07:06:23.336 25418 TRACE neutron   File "/usr/lib64/python2.7/site-packages/simplejson/decoder.py", line 389, in raw_decode
        2015-12-09 07:06:23.336 25418 TRACE neutron     return self.scan_once(s, idx=_w(s, idx).end())
        2015-12-09 07:06:23.336 25418 TRACE neutron JSONDecodeError: Expecting value: line 1 column 1 (char 0)
        2015-12-09 07:06 ...
(more)
edit retag flag offensive close merge delete

Comments

Restart rabbitmq-server and then restart neutron-server. Sometimes rabbitmq is the problem why neutron wont start. Regards

Eduardo Gonzalez gravatar imageEduardo Gonzalez ( 2015-12-09 07:03:52 -0600 )edit

Thanks Eduardo, I have restarted rabbitmq and neutron-server also but no luck.. I have edited question plz look its bottom now. regards

Ali Solangi gravatar imageAli Solangi ( 2015-12-09 07:43:17 -0600 )edit

have you made any changes to ml2 configuration. Also that first neutron error sounds like possible db issue. Can you run this inside of mysql db and post output show table status from neutron where Name like "ml2%";

omar-munoz gravatar imageomar-munoz ( 2015-12-09 12:08:14 -0600 )edit

and output of ovs-vsctl show

omar-munoz gravatar imageomar-munoz ( 2015-12-09 12:09:03 -0600 )edit

Thanks omar, you are right I have made some changes in ML2 drivers, i have edited my question, you can see in the bottom, out put of show table status from neutron where Name like "ml2%"; and ovs-vsctl show.... sorry for output, it'z offcourse difficult to drill down

Ali Solangi gravatar imageAli Solangi ( 2015-12-09 12:38:12 -0600 )edit

2 answers

Sort by ยป oldest newest most voted
0

answered 2015-12-10 05:15:24 -0600

RHK gravatar image

updated 2015-12-10 05:24:37 -0600

Check the Rabbit-MQ (AMQP) server is running or not. If you found any thing wrong in rabbitmq, restart rabbitmq server and then neutron services in a proper order.

Double check the neutron.conf file.

edit flag offensive delete link more

Comments

Thanks RHK, I have checked rabbitmq server, its running, my neutron files for the connectivity of Openstack to APIC is in the bottom of question u can review it, there may be mistake.

Ali Solangi gravatar imageAli Solangi ( 2015-12-10 06:08:06 -0600 )edit
0

answered 2015-12-11 07:56:32 -0600

Ali Solangi gravatar image

updated 2015-12-11 07:57:55 -0600

I have found some thing suspicious, when ever I edit /etc/neutron/plugins/ml2/ml2_conf.ini file and set mechanism_drivers as a "cisco_apic" then Nuetron-server goes down and start triggering same logs.. as mentioned in question.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-12-09 06:28:07 -0600

Seen: 2,661 times

Last updated: Dec 11 '15