Ask Your Question

Revision history [back]

openstack-nova-compute fails during neutron networking setup

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.api.API linuxnet_interface_driver = nova.network.linux_net.LinuxOVSInterfaceDriver security_group_api = nuetron verbose=true firewall_driver = nova.virt.firewall.NoopFirewallDriver novncproxy_base_url=http://10.0.0.112:6080/vnc_auto.html vncserver_listen=10.0.0.112 vncserver_proxyclient_address=10.0.0.112 vnc_enabled=true [baremetal] [cells] [cinder] [conductor] [ephemeral_storage_encryption] [glance] host=10.0.0.111 [hyperv] [image_file_url] [ironic] [keymgr] [keystone_authtoken] auth_uri = http://10.0.0.111:5000/v2.0 identity_uri = http://10.0.0.111:35357 admin_tenant_name = services admin_user = nova admin_password = nova [libvirt] virt_type=qemu [matchmaker_redis] [matchmaker_ring] [metrics] [neutron] url = http://10.0.0.111:9696 auth_strategy = keystone admin_auth_url = http://10.0.0.111:35357/v2.0 admin_tenant_name = services admin_username = neutron admin_password = neutron [osapi_v3] [rdp] [serial_console] [spice] [ssl] [trusted_computing] [upgrade_levels] [vmware] [xenserver] [zookeeper] [database] connection = mysql://nova:nova@10.0.0.111/nova

openstack-nova-compute fails during neutron networking setup

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

/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) *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) 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

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.api.API linuxnet_interface_driver = nova.network.linux_net.LinuxOVSInterfaceDriver security_group_api = nuetron verbose=true firewall_driver = nova.virt.firewall.NoopFirewallDriver novncproxy_base_url=http://10.0.0.112:6080/vnc_auto.html vncserver_listen=10.0.0.112 vncserver_proxyclient_address=10.0.0.112 vnc_enabled=true [baremetal] [cells] [cinder] [conductor] [ephemeral_storage_encryption] [glance] host=10.0.0.111 [hyperv] [image_file_url] [ironic] [keymgr] [keystone_authtoken] auth_uri = http://10.0.0.111:5000/v2.0 identity_uri = http://10.0.0.111:35357 admin_tenant_name = services admin_user = nova admin_password = nova [libvirt] virt_type=qemu [matchmaker_redis] [matchmaker_ring] [metrics] [neutron] url = http://10.0.0.111:9696 auth_strategy = keystone admin_auth_url = http://10.0.0.111:35357/v2.0 admin_tenant_name = services admin_username = neutron admin_password = neutron [osapi_v3] [rdp] [serial_console] [spice] [ssl] [trusted_computing] [upgrade_levels] [vmware] [xenserver] [zookeeper] [database] connection = mysql://nova:nova@10.0.0.111/nova

mysql://nova:nova@10.0.0.111/nova