Ask Your Question
0

openstack-nova-compute fails during neutron networking setup

asked 2015-03-26 13:25:37 -0600

updated 2015-03-26 14:09:23 -0600

dbaxps gravatar image

Hi All,

I am getting below error when I am setting up compute node for networking (neutron)

[root@compute nova]# systemctl status openstack-nova-compute
openstack-nova-compute.service - OpenStack Nova Compute Server
   Loaded: loaded (/usr/lib/systemd/system/openstack-nova-compute.service; enabled)
   Active: failed (Result: start-limit) since Fri 2015-03-27 00:04:19 BTT; 18min ago
 Main PID: 25981 (code=exited, status=1/FAILURE)
   CGroup: /system.slice/openstack-nova-compute.service

excerpts from /var/log/nova/nova-compute.log 

2015-03-27 00:04:18.221 25972 INFO nova.openstack.common.periodic_task [-] Skipping periodic task_periodic_update_dns because its interval is negative
2015-03-27 00:04:18.222 25972 CRITICAL nova [-] ValueError: Empty module name
2015-03-27 00:04:18.222 25972 TRACE nova Traceback (most recent call last):
2015-03-27 00:04:18.222 25972 TRACE nova   File "/usr/bin/nova-compute", line 10, in <module>
2015-03-27 00:04:18.222 25972 TRACE nova     sys.exit(main())
2015-03-27 00:04:18.222 25972 TRACE nova   File "/usr/lib/python2.7/site-packages/nova/cmd/compute.py", line 72, in main
2015-03-27 00:04:18.222 25972 TRACE nova     db_allowed=CONF.conductor.use_local)
2015-03-27 00:04:18.222 25972 TRACE nova   File "/usr/lib/python2.7/site-packages/nova/service.py", line 275, in create
2015-03-27 00:04:18.222 25972 TRACE nova     db_allowed=db_allowed)
2015-03-27 00:04:18.222 25972 TRACE nova   File "/usr/lib/python2.7/site-packages/nova/service.py", line 148, in __init__
2015-03-27 00:04:18.222 25972 TRACE nova     self.manager = manager_class(host=self.host, *args, **kwargs)
2015-03-27 00:04:18.222 25972 TRACE nova   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 604, in __init__
2015-03-27 00:04:18.222 25972 TRACE nova     self.network_api = network.API()
2015-03-27 00:04:18.222 25972 TRACE nova   File "/usr/lib/python2.7/site-packages/nova/network/__init__.py", line 39, in API
2015-03-27 00:04:18.222 25972 TRACE nova     return cls()
2015-03-27 00:04:18.222 25972 TRACE nova   File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 142, in __init__
2015-03-27 00:04:18.222 25972 TRACE nova     openstack_driver.get_openstack_security_group_driver())
2015-03-27 00:04:18.222 25972 TRACE nova   File "/usr/lib/python2.7/site-packages/nova/network/security_group/openstack_driver.py", line 41, in get_openstack_security_group_driver
2015-03-27 00:04:18.222 25972 TRACE nova     return importutils.import_object(CONF.security_group_api)
2015-03-27 00:04:18.222 25972 TRACE nova   File "/usr/lib/python2.7/site-packages/nova/openstack/common/importutils.py", line 38, in import_object
2015-03-27 00:04:18.222 25972 TRACE nova     return import_class(import_str)(*args, **kwargs)
2015-03-27 00:04:18.222 25972 TRACE nova   File "/usr/lib/python2.7/site-packages/nova/openstack/common/importutils.py", line 27, in import_class
2015-03-27 00:04:18.222 25972 TRACE nova     __import__(mod_str)
2015-03-27 00:04:18.222 25972 TRACE nova ValueError: Empty module name
2015-03-27 00:04:18.222 25972 TRACE nova


[root@compute nova]# grep ^[^#] /etc/nova/nova.conf
[DEFAULT]
rabbit_host=10.0.0.111
rabbit_password=guest
rpc_backend=rabbit
my_ip=10.0.0.112
enabled_apis=ec2,osapi_compute
auth_strategy=keystone
network_api_class = nova.network.neutronv2 ...
(more)
edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
1

answered 2015-03-26 14:13:16 -0600

dbaxps gravatar image

Try fix this

security_group_api = nuetron
edit flag offensive delete link more
0

answered 2015-04-28 06:02:46 -0600

nihal gravatar image

updated 2015-04-28 06:09:14 -0600

hello,i have the same problem ,would you please help me ,,when i,tape "nova service-list" ,,nova-compute doesn't appear . " My nova-compute.log contains: ERROR oslo.messaging._drivers.impl_rabbit [-] AMQP server localhost:5672 is unreachable.

what could be the problem?

edit flag offensive delete link more
0

answered 2015-03-27 01:31:15 -0600

oops .. thx a lot dbaxps..

I made a typo ..

I have corrected it and fixed it .. :)

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-03-26 13:25:37 -0600

Seen: 350 times

Last updated: Apr 28 '15