Ask Your Question
2

Why is nova-compute showing XXX

asked 2013-11-14 09:23:51 -0500

decede gravatar image

updated 2014-01-22 15:12:28 -0500

Evgeny gravatar image

Hello, I'm running Debian Wheezy and following the guide with a Neutron Per-tenant routers with private networks setup. I've tried to combine the network and management node into one controller.

When I run nova-manage service list I see:

Binary           Host               Zone             Status     State  Updated_At
nova-conductor   controller         internal         enabled    :-)    2013-11-14 14:55:51
nova-cert        controller         internal         enabled    :-)    2013-11-14 14:55:51
nova-consoleauth controller         internal         enabled    :-)    2013-11-14 14:55:51
nova-scheduler   controller         internal         enabled    :-)    2013-11-14 14:55:51
nova-compute     computenode00      nova             enabled    XXX    2013-11-14 06:25:14
nova-cert        computenode00      internal         enabled    :-)    2013-11-14 14:55:52

I can get the following output from ssh root@controller date; ssh root@computenode00 date:

Thu Nov 14 15:28:45 GMT 2013
Thu Nov 14 15:28:45 GMT 2013

So NTP seems to be working.

Config Files Controller /etc/nova.conf:

[DEFAULT]
my_ip = 10.0.0.182
sql_connection = mysql://nova-common:NovaMYSQLpass@localhost/novadb
enabled_apis = ec2,osapi_compute,metadata
log_file = nova.log
log_dir = /var/log/nova
verbose = true
state_path=/var/lib/nova
lock_path=/var/lock/nova
rootwrap_config=/etc/nova/rootwrap.conf
auth_strategy=keystone
rabbit_host = localhost
rabbit_userid = guest
rabbit_password = rabbitpass
rpc_backend = nova.openstack.common.rpc.impl_kombu
network_api_class=nova.network.neutronv2.api.API
security_group_api = neutron
libvirt_vif_driver=nova.virt.libvirt.vif.LibvirtHybirdOVSBridgeDriver
linuxnet_interface_driver=nova.network.linux_net.LinuxOVSInterfaceDriver
firewall_driver=nova.virt.firewall.NoopFirewallDriver
libvirt_use_virtio_for_bridges=True
neutron_url=http://127.0.0.1:9696
neutron_auth_strategy=keystone
neutron_admin_tenant_name=admin
neutron_admin_username=admin
neutron_admin_password=adminKeystonePass
neutron_admin_auth_url=http://127.0.0.1:35357/v2.0
service_neutron_metadata_proxy=True
vnc_enabled=false
vncserver_listen=0.0.0.0
vnc_keymap="en-us"
[conductor]
[cells]
[baremetal]
[vmware]
[spice]
html5proxy_base_url=http://127.0.0.1:6082/spice_auto.html
server_listen=0.0.0.0
server_proxyclient_address=$my_ip
enabled=true

Nova configs fromt he compute note are as follows:

Compute node /etc/nova.conf

[DEFAULT]
my_ip = 10.0.0.11
sql_connection = mysql://nova-common:NovaMYSQLpass@10.0.0.182/novadb
enabled_apis = metadata
verbose=true
state_path=/var/lib/nova
lock_path=/var/lock/nova
rootwrap_config=/etc/nova/rootwrap.conf
auth_strategy=keystone
rabbit_host = 10.0.0.182
rabbit_userid = guest
rabbit_password = rabbitpass
rpc_backend = nova.openstack.common.rpc.impl_kombu
glance_host=10.0.0.182
glance_port=9292
glance_protocol=http
network_api_class=nova.network.neutronv2.api.API
security_group_api = neutron
libvirt_vif_driver=nova.virt.libvirt.vif.LibvirtHybirdOVSBridgeDriver
linuxnet_interface_driver=nova.network.linux_net.LinuxOVSInterfaceDriver
firewall_driver=nova.virt.firewall.NoopFirewallDriver
libvirt_use_virtio_for_bridges=True
neutron_url=http://10.0.0.182:9696
neutron_auth_strategy=keystone
neutron_admin_tenant_name=admin
neutron_admin_username=admin
neutron_admin_password=adminKeystonePass
neutron_admin_auth_url=http://10.0.0.182:35357/v2.0
service_neutron_metadata_proxy=True
vnc_enabled=false
vncserver_listen=0.0.0.0
vnc_keymap="en-us"
[conductor]
[cells]
[baremetal]
[vmware]
[spice]
html5proxy_base_url=http://127.0.0.1:6082/spice_auto.html
server_listen=0.0.0.0
server_proxyclient_address=10.0.0.11
enabled=true

Compute node /etc/nova-compute.conf

[DEFAULT]
compute_driver=libvirt.LibvirtDriver
libvirt_type=kvm
libvirt_ovs_bridge=br-int
libvirt_vif_type=ethernet
libvirt_vif_driver=nova.virt.libvirt.vif.LibvirtHybridOVSBridgeDriver
libvirt_use_virtio_for_bridges=True

Log files I can't see anything odd when I restart the nova-compute service with debuging on:

2013-11-14 15:00:47.737 4583 DEBUG nova.servicegroup.api [-] ServiceGroup driver defined as an instance of db __new__ /usr/lib/python2.7/dist-packages/nova/servicegroup/api ...
(more)
edit retag flag offensive close merge delete

Comments

So there are never any further messages in nova-compute.log after "Connected to AMQP server on 10.0.0.182:5672" ? Normally there would be resource_tracker stuff about once a minute at debug level.

darragh-oreilly gravatar imagedarragh-oreilly ( 2013-11-14 13:46:18 -0500 )edit

Experiencing the same problem. Also debian compute node, ntp synched, nothing odd in the logs. It seems to fall apart around log rotation time, though not every day, so the natural assumption is a race condition, but restarting services doesn't bring it back. Did you ever solve this?

Andrew Kinney gravatar imageAndrew Kinney ( 2014-03-17 22:21:16 -0500 )edit

2 answers

Sort by ยป oldest newest most voted
0

answered 2015-11-02 13:25:31 -0500

gonza8888 gravatar image

BEFORE

Admin

...
    nova-compute     host02      nova             disabled   XXX   2015-10-28 21:18:47
    nova-compute     host01      nova             enabled    XXX   2015-10-28 21:02:44
...

Host

root@host01:/var/log/nova# dpkg -l | grep nova
ii  nova-api-metadata           1:2014.2.3-0ubuntu1.2~cloud0     all          OpenStack Compute - metadata API frontend
ii  nova-common                   1:2014.2.3-0ubuntu1.2~cloud0     all          OpenStack Compute - common files
rc  nova-compute                  1:2014.1.5-0ubuntu1.3            all          OpenStack Compute - compute node base
rc  nova-compute-kvm           1:2014.1.5-0ubuntu1.3            all          OpenStack Compute - compute node (KVM)
ii  nova-network                    1:2014.2.3-0ubuntu1.2~cloud0     all          OpenStack Compute - Network manager

As you can see, on my host I had different versions. The way to install/update/upgrade is: (in next example, I have juno, and will only reinstall nova-compute)

aptitude install software-properties-common;

add-apt-repository cloud-archive:juno;

aptitude update;

aptitude install python-mysqldb ntp;

Reinstall packages

aptitude install nova-compute sysfsutils

service nova-compute restart

AFTER

Admin

...
nova-compute     host02             nova             enabled    :-)   2015-11-02 19:13:44
nova-compute     host01                nova             enabled    :-)   2015-11-02 19:13:51
...

Host

...
ii  nova-compute              1:2014.2.3-0ubuntu1.2~cloud0          all          OpenStack Compute - compute node base
ii  nova-compute-kvm       1:2014.2.3-0ubuntu1.2~cloud0          all          OpenStack Compute - compute node (KVM)
...
edit flag offensive delete link more
0

answered 2014-03-18 00:01:27 -0500

Andrew Kinney gravatar image
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

2 followers

Stats

Asked: 2013-11-14 09:23:51 -0500

Seen: 4,494 times

Last updated: Nov 02 '15