Conflicting resource provider name

asked 2019-02-11 00:14:34 -0600

binooetomo gravatar image

Dear all ...

I have a controller node with hostname 'ceph-node1' Curently, it's also function as a compute node.

[root@ceph-node1 ~]# openstack hypervisor list -f json
[
  {
    "Hypervisor Hostname": "ceph-node1", 
    "Host IP": "192.168.5.81", 
    "State": "up", 
    "ID": 3, 
    "Hypervisor Type": "QEMU"
  }
]

I also have a host with hostname 'nova-blade0101', this host will function only for compute node. Try to start openstack-nova-compute.service for the first time, but I got this error messages from the log.

2019-02-11 12:35:16.336 17965 ERROR nova.scheduler.client.report [req-d88d0b70-ec32-4e0d-8bfe-3b920d37d5d0 - - - - -] [req-ed36775b-1715-4a70-b709-83095a846f6c] Failed to create resource provider record in placement API for UUID 44c8d87b-50bd-47ae-8672-5f19d8be16f7. Got 409: {"errors": [{"status": 409, "request_id": "req-ed36775b-1715-4a70-b709-83095a846f6c", "detail": "There was a conflict when trying to complete your request.\n\n Conflicting resource provider name: nova-blade0101 already exists.  ", "title": "Conflict"}]}.
2019-02-11 12:35:16.337 17965 ERROR nova.compute.manager [req-d88d0b70-ec32-4e0d-8bfe-3b920d37d5d0 - - - - -] Error updating resources for node nova-blade0101.: ResourceProviderCreationFailed: Failed to create resource provider nova-blade0101


2019-02-11 12:35:16.337 17965 ERROR nova.compute.manager Traceback (most recent call last):
2019-02-11 12:35:16.337 17965 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 7778, in _update_available_resource_for_node
2019-02-11 12:35:16.337 17965 ERROR nova.compute.manager     rt.update_available_resource(context, nodename)
2019-02-11 12:35:16.337 17965 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 721, in update_available_resource
2019-02-11 12:35:16.337 17965 ERROR nova.compute.manager     self._update_available_resource(context, resources)
2019-02-11 12:35:16.337 17965 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py", line 274, in inner
2019-02-11 12:35:16.337 17965 ERROR nova.compute.manager     return f(*args, **kwargs)
2019-02-11 12:35:16.337 17965 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 798, in _update_available_resource
2019-02-11 12:35:16.337 17965 ERROR nova.compute.manager     self._update(context, cn)
2019-02-11 12:35:16.337 17965 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/retrying.py", line 68, in wrapped_f
2019-02-11 12:35:16.337 17965 ERROR nova.compute.manager     return Retrying(*dargs, **dkw).call(f, *args, **kw)
2019-02-11 12:35:16.337 17965 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/retrying.py", line 223, in call
2019-02-11 12:35:16.337 17965 ERROR nova.compute.manager     return attempt.get(self._wrap_exception)
2019-02-11 12:35:16.337 17965 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/retrying.py", line 261, in get
2019-02-11 12:35:16.337 17965 ERROR nova.compute.manager     six.reraise(self.value[0], self.value[1], self.value[2])
2019-02-11 12:35:16.337 17965 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/retrying.py", line 217, in call
2019-02-11 12:35:16.337 17965 ERROR nova.compute.manager     attempt = Attempt(fn(*args, **kwargs), attempt_number, False)
2019-02-11 12:35:16.337 17965 ERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line ...
(more)
edit retag flag offensive close merge delete