Failed to create resource provider
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Hi,
We have an openstack ansible rocky 18.1.2 setup. It was working working fine. As part of an upgrade
we have reinstalled it. Now we are unable to create any vms. We have four compute nodes.
When we try to create a vm on a specific compute node, it is failing, showing no host found in the nova-conductor and scheduler logs. When I observed the nova-compute log on the compute, we have found the following errors:
-------------
2020-05-04 12:59:55.800 11245 ERROR nova.scheduler.
2020-05-04 12:59:55.801 11245 ERROR nova.compute.
2020-05-04 12:59:55.801 11245 ERROR nova.compute.
2020-05-04 12:59:55.801 11245 ERROR nova.compute.
----------------
Can you help us solve this error ?
Thanks
Kumar
Hi,
Adding missing Traceback you have shared with me:
2020-05-05 00:56:53.160 29284 ERROR nova.compute. manager [req-34c9d727- 3683-45bd- 824c-569a9dd812 4d - - - - -] Error updating resources for node b1b.blr. example. cloud.: ResourceProvide rCreationFailed : Failed to create resource provider b1b.blr. example. cloud manager Traceback (most recent call last): manager File "/openstack/ venvs/nova- 18.1.2/ lib/python2. 7/site- packages/ nova/compute/ manager. py", line 7778, in _update_ available_ resource_ for_node manager rt.update_ available_ resource( context, nodename) manager File "/openstack/ venvs/nova- 18.1.2/ lib/python2. 7/site- packages/ nova/compute/ resource_ tracker. py", line 721, in update_ available_ resource manager self._update_ available_ resource( context, resources) manager File "/openstack/ venvs/nova- 18.1.2/ lib/python2. 7/site- packages/ oslo_concurrenc y/lockutils. py", line 274, in inner manager return f(*args, **kwargs) manager File "/openstack/ venvs/nova- 18.1.2/ lib/python2. 7/site- packages/ nova/compute/ resource_ tracker. py", line 798, in _update_ available_ resource manager self._update( context, cn) manager File "/openstack/ venvs/nova- 18.1.2/ lib/python2. 7/site- packages/ retrying. py", line 49, in wrapped_f manager return Retrying(*dargs, **dkw).call(f, *args, **kw) manager File "/openstack/ venvs/nova- 18.1.2/ lib/python2. 7/site- packages/ retrying. py", line 206, in call manager return attempt. get(self. _wrap_exception ) manager File "/openstack/ venvs/nova- 18.1.2/ lib/python2. 7/site- packages/ retrying. py", line 247, in get manager six.reraise( self.value[ 0], self.value[1], self.value[2]) manager File "/openstack/ venvs/nova- 18.1.2/ lib/python2. 7/site- packages/ retrying. py", line 200, in call manager attempt = Attempt(fn(*args, **kwargs), attempt_number, False) manager File "/openstack/ venvs/nova- 18.1.2/ lib/python2. 7/site- packages/ nova/compute/ resource_ tracker. py", line 960, in _update manager self._update_ to_placement( context, compute_node) manager File "/openstack/ venvs/nova- 18.1.2/ lib/python2. 7/site- packages/ nova/compute/ resource_ tracker. py", line 912, in _update_ to_placement manager context, compute_nod...
2020-05-05 00:56:53.160 29284 ERROR nova.compute.
2020-05-05 00:56:53.160 29284 ERROR nova.compute.
2020-05-05 00:56:53.160 29284 ERROR nova.compute.
2020-05-05 00:56:53.160 29284 ERROR nova.compute.
2020-05-05 00:56:53.160 29284 ERROR nova.compute.
2020-05-05 00:56:53.160 29284 ERROR nova.compute.
2020-05-05 00:56:53.160 29284 ERROR nova.compute.
2020-05-05 00:56:53.160 29284 ERROR nova.compute.
2020-05-05 00:56:53.160 29284 ERROR nova.compute.
2020-05-05 00:56:53.160 29284 ERROR nova.compute.
2020-05-05 00:56:53.160 29284 ERROR nova.compute.
2020-05-05 00:56:53.160 29284 ERROR nova.compute.
2020-05-05 00:56:53.160 29284 ERROR nova.compute.
2020-05-05 00:56:53.160 29284 ERROR nova.compute.
2020-05-05 00:56:53.160 29284 ERROR nova.compute.
2020-05-05 00:56:53.160 29284 ERROR nova.compute.
2020-05-05 00:56:53.160 29284 ERROR nova.compute.
2020-05-05 00:56:53.160 29284 ERROR nova.compute.
2020-05-05 00:56:53.160 29284 ERROR nova.compute.
2020-05-05 00:56:53.160 29284 ERROR nova.compute.
2020-05-05 00:56:53.160 29284 ERROR nova.compute.