Cannot see new compute node in nova service-list
Hello,
I setup a 3 nodes openstack installation (compute +controller + network). Everything seem to be ok with neutron agent-list and nova service-list. i create another node with hostname compute2 and setup evrything, it seem to be ok on this node because nova-compute is running, openvswitch-agent on this node is up and alive in the controller node but when i make su -s /bin/sh -c "nova-manage cell_v2 discover_hosts --verbose" nova it only show me this
Skipping cell0 since it does not contain hosts. Getting computes from cell 'default': 879d48ff-e984-43df-ac92-ffdf4e08fa01 Checking host mapping for compute host 'compute': 52061cc8-bd27-4659-aba4-be81eb5d8a0e Found 0 unmapped computes in cell: 879d48ff-e984-43df-ac92-ffdf4e08fa01
the compute2 is not listed in service list. I take a look in rabbitmq loq and i see the request from that node (it's ip) is received and accept. i look in other log file in controller node and i see the ip of that node like there is communication between the new compute2 node and the controller node but it still don't appear on nova service-list.
Could someone explain me what's wrong. I admit that i begin with openstack and i dont really understand how everything work, like these stuff of nova cell. Could you help me please?
Thanks
I guess the host was unable to talk to the placement service. You can use the nova-status command to confirm this (I don't remember the exact options), and you should also see something in the host's nova-compute log.
@Bernd Bausch in nova.api.openstack.placement on controller node, i saw 4 lines with the ip of compute2 nodes it seem that there is communication. There is some endpoint of /placement/resource_providers/ like /allocations, /inventories, /aggregates, /traits with status 200 no error on nova-compute
After re-reading your question I am confused. You say that everything seems to be OK with nova service-list, yet you also say that the compute node is missing.
If it is missing, it was unable to register with the controller. Check the nova-compute log on that node. Use the DEBUG log level.
I don’t understand what you mean by “nova.api.openstack.placement on controller node”. Is this a file name? Where do you see the compute node’s IP address?
The command whose options I could not recall is
nova-status upgrade check
. It shows inconsistencies between Placement and cells.@Bernd Bausch what i mean is that nova-compute service is active on compute2 node and but this service do not appear on nova service list at controller node. Nova-compute.log on compute node don not show any error even in debug mode. so finally these compute2 host do not appear in openstack