Cannot update service status on host ... since it is not registered
I'm installing OpenStack Liberty on Ubuntu Server 14.04LTS. I currently have a controller node and a compute node up and running and I can launch instances on the compute node.
I am now trying to add a second compute node ("ospt02") to my platform. I've installed the requisite software and have copied nova.conf
and neutron/plugins/ml2/linuxbridge_agent.ini
from my first compute node to my second node. I have changed $my_ip
in the nova.conf
on the second node to match its IP address.
When I start nova-compute on the second node, the service starts, but nova service-list
does not list my second compute node. In nova-compute, I see:
2016-04-25 13:45:01.731 3522 DEBUG nova.virt.libvirt.host [-] Starting green dispatch thread _init_events usr/lib/python2.7/dist-packages/nova/virt/libvirt/host.py:458
2016-04-25 13:45:01.731 3522 DEBUG nova.virt.libvirt.host [-] Connecting to libvirt: qemu:///system _get_new_connection /usr/lib/python2.7/dist-packages/nova/virt/libvirt/host.py:463
2016-04-25 13:45:01.746 3522 INFO nova.virt.libvirt.driver [-] Connection event '1' reason 'None'
2016-04-25 13:45:01.761 3522 WARNING nova.virt.libvirt.driver [req-c12f2708-0565-4197-84a7-fb2294a5e7b7 - - - - -] Cannot update service status on host "oscpt02" since it is not registered.
2016-04-25 13:45:01.762 3522 DEBUG nova.virt.libvirt.host [req-c12f2708-0565-4197-84a7-fb2294a5e7b7 - - - - -] Registering for lifecycle events <nova.virt.libvirt.host.Host object at 0x7f9ff69639d0> _get_new_connection /usr/lib/python2.7/dist-packages/nova/virt/libvirt/host.py:481
2016-04-25 13:45:01.764 3522 DEBUG nova.virt.libvirt.host [req-c12f2708-0565-4197-84a7-fb2294a5e7b7 - - - - -] Registering for connection events: <nova.virt.libvirt.host.Host object at 0x7f9ff69639d0> _get_new_connection /usr/lib/python2.7/dist-packages/nova/virt/libvirt/host.py:492
2016-04-25 13:45:01.782 3522 INFO nova.virt.libvirt.host [req-c12f2708-0565-4197-84a7-fb2294a5e7b7 - - - - -] Libvirt host capabilities <capabilities>
<host>
<uuid>30343536-3138-5355-4532-353050364b45</uuid>
<cpu>
<arch>x86_64</arch>
<model>SandyBridge</model>
<vendor>Intel</vendor>
<topology sockets='1' cores='8' threads='2'/>
...etc
The relevant line appears to be: WARNING nova.virt.libvirt.driver [req-c12f2708-0565-4197-84a7-fb2294a5e7b7 - - - - -] Cannot update service status on host "oscpt02" since it is not registered.
Both compute nodes can ping the controller node by name, and the controller node can ping both compute nodes by name. I can do an openstack token issue
from my second compute node and can do a nova service-list
from my second compute node (after copying the admin-openrc.sh
file from the first compute node and source
ing its contents) and I get a token issued or a list of nova services that does not include my second node.
Does anyone have any ideas on how I can get my second compute node to join its family?
Thanks!