Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Neutron server stuck

Hi All,

Im setting two VM inside virtualbox in MAC to test the 2 node setup for openstack using this webpage https://docs.openstack.org/newton/install-guide-rdo/neutron-controller-install.html as guideline.

All the steps are good except when I try to start the neutron-server.service, it is failed with logs below

‚óŹ neutron-server.service - OpenStack Neutron Server Loaded: loaded (/usr/lib/systemd/system/neutron-server.service; enabled; vendor preset: disabled) Active: failed (Result: start-limit) since Fri 2017-10-20 09:31:49 +08; 1min 16s ago Process: 7549 ExecStart=/usr/bin/neutron-server --config-file /usr/share/neutron/neutron-dist.conf --config-dir /usr/share/neutron/server --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugin.ini --config-dir /etc/neutron/conf.d/common --config-dir /etc/neutron/conf.d/neutron-server --log-file /var/log/neutron/server.log (code=exited, status=1/FAILURE) Main PID: 7549 (code=exited, status=1/FAILURE)

Oct 20 09:31:49 localhost.localdomain systemd[1]: neutron-server.service: main process exited, code=exited, status=1/FAILURE Oct 20 09:31:49 localhost.localdomain systemd[1]: Failed to start OpenStack Neutron Server. Oct 20 09:31:49 localhost.localdomain systemd[1]: Unit neutron-server.service entered failed state. Oct 20 09:31:49 localhost.localdomain systemd[1]: neutron-server.service failed. Oct 20 09:31:49 localhost.localdomain systemd[1]: neutron-server.service holdoff time over, scheduling restart. Oct 20 09:31:49 localhost.localdomain systemd[1]: start request repeated too quickly for neutron-server.service Oct 20 09:31:49 localhost.localdomain systemd[1]: Failed to start OpenStack Neutron Server. Oct 20 09:31:49 localhost.localdomain systemd[1]: Unit neutron-server.service entered failed state. Oct 20 09:31:49 localhost.localdomain systemd[1]: neutron-server.service failed.

2017-10-20 09:31:49.520 7549 ERROR neutron File "/usr/lib/python2.7/site-packages/neutron/common/config.py", line 125, in load_paste_app 2017-10-20 09:31:49.520 7549 ERROR neutron app = loader.load_app(app_name) 2017-10-20 09:31:49.520 7549 ERROR neutron File "/usr/lib/python2.7/site-packages/oslo_service/wsgi.py", line 353, in load_app 2017-10-20 09:31:49.520 7549 ERROR neutron return deploy.loadapp("config:%s" % self.config_path, name=name) 2017-10-20 09:31:49.520 7549 ERROR neutron File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 247, in loadapp 2017-10-20 09:31:49.520 7549 ERROR neutron return loadobj(APP, uri, name=name, *kw) 2017-10-20 09:31:49.520 7549 ERROR neutron File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 272, in loadobj 2017-10-20 09:31:49.520 7549 ERROR neutron return context.create() 2017-10-20 09:31:49.520 7549 ERROR neutron File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 710, in create 2017-10-20 09:31:49.520 7549 ERROR neutron return self.object_type.invoke(self) 2017-10-20 09:31:49.520 7549 ERROR neutron File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 144, in invoke 2017-10-20 09:31:49.520 7549 ERROR neutron *context.local_conf) 2017-10-20 09:31:49.520 7549 ERROR neutron File "/usr/lib/python2.7/site-packages/paste/deploy/util.py", line 55, in fix_call 2017-10-20 09:31:49.520 7549 ERROR neutron val = callable(args, *kw) 2017-10-20 09:31:49.520 7549 ERROR neutron File "/usr/lib/python2.7/site-packages/paste/urlmap.py", line 25, in urlmap_factory 2017-10-20 09:31:49.520 7549 ERROR neutron app = loader.get_app(app_name, global_conf=global_conf) 2017-10-20 09:31:49.520 7549 ERROR neutron File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 350, in get_app 2017-10-20 09:31:49.520 7549 ERROR neutron name=name, global_conf=global_conf).create() 2017-10-20 09:31:49.520 7549 ERROR neutron File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 710, in create 2017-10-20 09:31:49.520 7549 ERROR neutron return self.object_type.invoke(self) 2017-10-20 09:31:49.520 7549 ERROR neutron File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 144, in invoke 2017-10-20 09:31:49.520 7549 ERROR neutron *context.local_conf) 2017-10-20 09:31:49.520 7549 ERROR neutron File "/usr/lib/python2.7/site-packages/paste/deploy/util.py", line 55, in fix_call 2017-10-20 09:31:49.520 7549 ERROR neutron val = callable(args, *kw) 2017-10-20 09:31:49.520 7549 ERROR neutron File "/usr/lib/python2.7/site-packages/neutron/auth.py", line 71, in pipeline_factory 2017-10-20 09:31:49.520 7549 ERROR neutron app = loader.get_app(pipeline[-1]) 2017-10-20 09:31:49.520 7549 ERROR neutron File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 350, in get_app 2017-10-20 09:31:49.520 7549 ERROR neutron name=name, global_conf=global_conf).create() 2017-10-20 09:31:49.520 7549 ERROR neutron File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 710, in create 2017-10-20 09:31:49.520 7549 ERROR neutron return self.object_type.invoke(self) 2017-10-20 09:31:49.520 7549 ERROR neutron File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 146, in invoke 2017-10-20 09:31:49.520 7549 ERROR neutron return fix_call(context.object, context.global_conf, *context.local_conf) 2017-10-20 09:31:49.520 7549 ERROR neutron File "/usr/lib/python2.7/site-packages/paste/deploy/util.py", line 55, in fix_call 2017-10-20 09:31:49.520 7549 ERROR neutron val = callable(args, *kw) 2017-10-20 09:31:49.520 7549 ERROR neutron File "/usr/lib/python2.7/site-packages/neutron/api/v2/router.py", line 72, in factory 2017-10-20 09:31:49.520 7549 ERROR neutron return cls(local_config) 2017-10-20 09:31:49.520 7549 ERROR neutron File "/usr/lib/python2.7/site-packages/neutron/api/v2/router.py", line 76, in init 2017-10-20 09:31:49.520 7549 ERROR neutron plugin = manager.NeutronManager.get_plugin() 2017-10-20 09:31:49.520 7549 ERROR neutron File "/usr/lib/python2.7/site-packages/neutron/manager.py", line 244, in get_plugin 2017-10-20 09:31:49.520 7549 ERROR neutron return weakref.proxy(cls.get_instance().plugin) 2017-10-20 09:31:49.520 7549 ERROR neutron File "/usr/lib/python2.7/site-packages/neutron/manager.py", line 238, in get_instance 2017-10-20 09:31:49.520 7549 ERROR neutron cls._create_instance() 2017-10-20 09:31:49.520 7549 ERROR neutron File "/usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py", line 271, in inner 2017-10-20 09:31:49.520 7549 ERROR neutron return f(args, *kwargs) 2017-10-20 09:31:49.520 7549 ERROR neutron File "/usr/lib/python2.7/site-packages/neutron/manager.py", line 224, in _create_instance 2017-10-20 09:31:49.520 7549 ERROR neutron cls._instance = cls() 2017-10-20 09:31:49.520 7549 ERROR neutron File "/usr/lib/python2.7/site-packages/neutron/manager.py", line 117, in init 2017-10-20 09:31:49.520 7549 ERROR neutron raise Exception(msg) 2017-10-20 09:31:49.520 7549 ERROR neutron Exception: Neutron core_plugin not configured!

ml2.ini [ml2]

#

From neutron.ml2 #

List of network type driver entrypoints to be loaded from the neutron.ml2.type_drivers namespace. (list value) type_drivers = local,flat,vlan,gre,vxlan,geneve type_drivers = flat,vlan,vxlan tenant_network_types = vxlan mechanism_drivers = linuxbridge, l2population extension_drivers = port_security

[ml2_type_flat]

#

From neutron.ml2 #

List of physical_network names with which flat networks can be created. Use default '*' to allow flat networks with arbitrary physical_network names. Use an empty list to disable flat networks. (list value) flat_networks = public

[ml2_type_vxlan] vni_ranges = 1:1000

[securitygroup]

enable_ipset = True

May I know any idea or pointers on this?