nova service-list problem : libxenlight state driver is not active
Hello. I'm trying to install Juno release with Ubuntu 14.10 on 1 x86 machine using virtualbox.
As you see below, There are only 4 services are shown. nova-compute is NOT showed up. moreover, 4 services' state is "down".
root@controller:~# nova service-list
+----+------------------+------------+----------+---------+-------+------------+-----------------+
| Id | Binary | Host | Zone | Status | State | Updated_at | Disabled Reason |
+----+------------------+------------+----------+---------+-------+------------+-----------------+
| 1 | nova-cert | controller | internal | enabled | down | - | - |
| 2 | nova-consoleauth | controller | internal | enabled | down | - | - |
| 3 | nova-scheduler | controller | internal | enabled | down | - | - |
| 4 | nova-conductor | controller | internal | enabled | down | - | - |
+----+------------------+------------+----------+---------+-------+------------+-----------------+
And, I couldn't find socket connection between controller and compute node. I found the connection right after the nova-compute restart at compute node. Socket connection must be down. There's no problem with ping between them.
/var/log/nova/nova-compute.log says :
2014-11-07 11:58:00.566 1421 INFO oslo.messaging._drivers.impl_rabbit [req-cb44e4f4-a58c-455f-8c61-e291550d8a56 ] Connecting to AMQP server on controller:5672
2014-11-07 11:58:03.587 1421 ERROR oslo.messaging._drivers.impl_rabbit [req-cb44e4f4-a58c-455f-8c61-e291550d8a56 ] AMQP server controller:5672 closed the connection. Check login credentials: Socket closed
/var/log/libvirt/libvirtd.log says:
2014-11-07 01:29:53.805+0000: 1391: error : libxlConnectOpen:470 : internal error: libxenlight state driver is not active
2014-11-07 01:29:53.807+0000: 1389: error : virNetSocketReadWire:1527 : End of file while reading data: Input/output error
[/etc/nova/nova.conf at Compute node]
[DEFAULT]
dhcpbridge_flagfile=/etc/nova/nova.conf
dhcpbridge=/usr/bin/nova-dhcpbridge
logdir=/var/log/nova
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
rabbit_host = controller
rabbit_password = root123
auth_strategy = keystone
my_ip = 10.10.3.32
vnc_enabled = True
vncserver_listen = 0.0.0.0
vncserver_proxyclient_address = 10.10.3.32
novncproxy_base_url = http://controller:6080/vnc_auto.html
[keystone_authtoken]
auth_uri = http://controller:5000/v2.0
identity_uri = http://controller:35357
admin_tenant_name = service
admin_user = nova
admin_password = root123
[glance]
host = controller
[/etc/nova/nova-compute.conf at Compute node]
[DEFAULT]
compute_driver=libvirt.LibvirtDriver
[libvirt]
virt_type=qemu
[/etc/nova/nova.conf at Controller node]
[DEFAULT]
dhcpbridge_flagfile=/etc/nova/nova.conf
dhcpbridge=/usr/bin/nova-dhcpbridge
logdir=/var/log/nova
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
rabbit_host = controller
rabbit_password = root123
auth_strategy = keystone
my_ip = 10.10.3.11
vncserver_listen = 10.10.3.11
vncserver_proxyclient_address = 10.10.3.11
[database]
connection = mysql://nova:root123@controller/nova
[keystone_authtoken]
auth_uri = http://controller:5000/v2.0
identity_uri = http://controller:35357
admin_tenant_name = service
admin_user = nova
admin_password = root123
[glance]
host = controller
Do you have any ideas about this problem?
Hi just figured out this issue. it should attribute to rabbit guest account. i tried to create a new account on rabbit server on controller and assign the same permission as guest account. and replace rabbit_userid = USERID rabbit_password = PASSWORD in all nova.conf profiles, then it works