Ask Your Question

Nova services listing in stein [closed]

asked 2019-12-17 08:51:35 -0500

bcantera gravatar image

updated 2019-12-17 10:40:59 -0500

Hi there! I am actually installing OpenStack Stein over Ubuntu 18.04.3 LTS with ansible playbooks made by my own, actually I am with issues at the moment of verifying nova services as described here: (

Controller and compute installations/configurations are done without issues, but when I submit "openstack compute service list --service nova-compute" to see compute hosts on controller database I see this:

openstack compute service list --service nova-compute


Any ideas of what could be the issue?

Thanks in adv!

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Bernd Bausch
close date 2019-12-26 20:19:15.454472

3 answers

Sort by ยป oldest newest most voted

answered 2019-12-19 13:42:46 -0500

bcantera gravatar image

updated 2019-12-26 05:46:58 -0500

The issue was detected and solved, in the playbooks there were copied/pasted by mistake the urls for endpoints with wrong ports (all happened to had placement port).

Correcting ports and verifying with openstack endpoint list solved the issue

edit flag offensive delete link more


Since the error message points to some problem with the Placement service, I would use commands to access Placement manually. If that works, I would then check whether the compute node is correctly configured to access Placement.

Bernd Bausch gravatar imageBernd Bausch ( 2019-12-19 17:13:01 -0500 )edit

nova host-list ERROR (KeyError): 'version'

This indicates incompatible versions of Python libraries and/or the nova command line client.

Bernd Bausch gravatar imageBernd Bausch ( 2019-12-19 17:14:42 -0500 )edit

Talking about placement, it happened that at verifying stage I saw some things, first, when I run "placement-status upgrade check" I must do it as root to get correct output (all other verifications are done with a sudo user) and placement-status upgrade check says that it is not a openstack command

bcantera gravatar imagebcantera ( 2019-12-20 04:37:13 -0500 )edit

I think that in Stein, Placement is still part of Nova, except if you explicitly configure it to be separate. In the former case, you would probably not have placement-status, but nova-status would give you some information about the health of Placement.

Bernd Bausch gravatar imageBernd Bausch ( 2019-12-20 06:30:18 -0500 )edit

answered 2019-12-17 12:29:59 -0500

bcantera gravatar image

I am just at nova installation according to documentation, which is supposed to give me the output like the one shown in ( (link)

I do not have openstack-status command, I suppose you mean "openstack compute service list", the output is the same, just a line saying 'services' and nothing else

This is the output of noca host-list: nova host-list ERROR (KeyError): 'version'

edit flag offensive delete link more


whats nova-compute.log says?

piyushsrivastava gravatar imagepiyushsrivastava ( 2019-12-17 12:41:54 -0500 )edit

[None] Failed to retrieve resource provider tree from placement API for UUID blablabla ERROR nova.compute.manager KeyError: 'allocations' This is what I found mostly useful on compute node logs

bcantera gravatar imagebcantera ( 2019-12-17 12:55:16 -0500 )edit

answered 2019-12-17 12:22:29 -0500

Is your installation completed properly ? openstack-status openstack compute service list

Please provide below output also nova host-list

edit flag offensive delete link more


You probably mean nova-status. I think openstack-status is an RDO-specific command.

Bernd Bausch gravatar imageBernd Bausch ( 2019-12-19 17:16:09 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2019-12-17 08:51:35 -0500

Seen: 157 times

Last updated: Dec 26 '19