nova-compute service shuts down immidiately after firing up and all previous suggested solutions have failed.

asked 2016-06-04 11:50:07 -0500

Hi,

I am unable to start nova-compute service on the compute node

 GNU nano 2.2.6                           File: /etc/nova/nova-compute.conf                                                             

[DEFAULT]
compute_driver=nova.virt.libvirt.LibvirtDriver
[libvirt]
virt_type=kvm


  GNU nano 2.2.6                              File: /etc/nova/nova.conf                                                                  

[DEFAULT]
dhcpbridge_flagfile=/etc/nova/nova.conf
dhcpbridge=/usr/bin/nova-dhcpbridge
state_path=/var/lib/nova
lock_path=/var/lock/nova
force_dhcp_release=True
libvirt_use_virtio_for_bridges=True
verbose=True
ec2_private_dns_show_ip=True
api_paste_config=/etc/nova/api-paste.ini
enabled_apis=ec2,osapi_compute,metadata
rpc_backend=rabbit
auth_strategy = keystone
my_ip=192.168.42.191
use_neutron = True
firewall_driver = nova.virt.firewall.NoopFirewallDriver

[oslo_messaging_rabbit]
rabbit_host = controller
rabbit_userid = openstack
rabbit_password = <>

[keystone_authtoken]
auth_uri = http://controller:5000
auth_url = http://controller:35357
memcached_servers = controller:11211
auth_type = password
project_domain_name = default
user_domain_name = default
project_name = service
username = nova
password = <>

[vnc]
enabled = True
vncserver_listen = 0.0.0.0
vncserver_proxyclient_address = $my_ip
novncproxy_base_url = http://controller:6080/vnc_auto.html

[glance]
api_servers = http://controller:9292

[oslo_concurrency]
lock_path = /var/lib/nova/tmp

[neutron]
url = http://controller:9696
auth_url = http://controller:35357
auth_type = password
project_domain_name = default
user_domain_name = default
region_name = RegionOne
project_name = service
username = neutron
password = <>

The log on the rabbitMQ server on the controller looks as follows:

=INFO REPORT==== 4-Jun-2016::12:12:56 ===
accepting AMQP connection <0.864.0> (192.168.42.219:58686 -> 192.168.42.219:5672)

=INFO REPORT==== 4-Jun-2016::12:12:56 ===
accepting AMQP connection <0.875.0> (192.168.42.219:58688 -> 192.168.42.219:5672)

=WARNING REPORT==== 4-Jun-2016::12:12:56 ===
closing AMQP connection <0.853.0> (192.168.42.191:59262 -> 192.168.42.219:5672):
connection_closed_abruptly

=WARNING REPORT==== 4-Jun-2016::12:12:56 ===
closing AMQP connection <0.836.0> (192.168.42.191:59260 -> 192.168.42.219:5672):
connection_closed_abruptly

The nova-compute.log read the following error which I am not able to resolve

2016-06-03 18:01:02.084 939 WARNING oslo_config.cfg [req-05756bed-bbd2-4f15-9e44-b1b208032b0e - - - - -] Option "api_paste_config" from $
2016-06-03 18:01:02.092 939 INFO nova.service [-] Starting compute node (version 13.0.1)
2016-06-03 18:01:02.097 939 INFO nova.virt.libvirt.driver [-] Connection event '1' reason 'None'
2016-06-03 18:01:02.124 939 WARNING nova.virt.libvirt.driver [req-86fab858-be86-417e-95e2-9cab657f166c - - - - -] Cannot update service $
2016-06-03 18:01:02.124 939 ERROR nova.virt.libvirt.driver Traceback (most recent call last):
2016-06-03 18:01:02.124 939 ERROR nova.virt.libvirt.driver   File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 3230, in _set_host$
2016-06-03 18:01:02.124 939 ERROR nova.virt.libvirt.driver     service = objects.Service.get_by_compute_host(ctx, CONF.host)
2016-06-03 18:01:02.124 939 ERROR nova.virt.libvirt.driver   File "/usr/local/lib/python2.7/dist-packages/oslo_versionedobjects/base.py"$
2016-06-03 18:01:02.124 939 ERROR nova.virt.libvirt.driver     args, kwargs)
2016-06-03 18:01:02.124 939 ERROR nova.virt.libvirt.driver   File "/opt/stack/nova/nova/conductor/rpcapi.py", line 236, in object_class_$
2016-06-03 18:01:02.124 939 ERROR nova.virt.libvirt.driver     args=args, kwargs=kwargs)
2016-06-03 18:01:02.124 939 ERROR nova.virt.libvirt.driver   File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/client.py",$
2016-06-03 18 ...
(more)
edit retag flag offensive close merge delete