← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1787910] Re: OVB overcloud deploy fails on nova placement errors

 

** Also affects: nova/rocky
   Importance: Undecided
       Status: New

** Changed in: nova
     Assignee: Matt Riedemann (mriedem) => Vladyslav Drok (vdrok)

** Changed in: nova/rocky
       Status: New => Triaged

** Changed in: nova/rocky
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1787910

Title:
  OVB overcloud deploy fails on nova placement errors

Status in OpenStack Compute (nova):
  In Progress
Status in OpenStack Compute (nova) rocky series:
  In Progress
Status in tripleo:
  Triaged

Bug description:
  https://logs.rdoproject.org/openstack-periodic/git.openstack.org
  /openstack-infra/tripleo-ci/master/legacy-periodic-tripleo-ci-centos-7
  -ovb-3ctlr_1comp-
  featureset001-master/1544941/logs/undercloud/var/log/extra/errors.txt.gz#_2018-08-20_01_49_09_830

  https://logs.rdoproject.org/openstack-periodic/git.openstack.org
  /openstack-infra/tripleo-ci/master/legacy-periodic-tripleo-ci-centos-7
  -ovb-3ctlr_1comp-
  featureset001-master/1544941/logs/undercloud/var/log/extra/docker/containers/nova_placement/log/nova
  /nova-compute.log.txt.gz?level=ERROR#_2018-08-20_01_49_09_830

  ERROR nova.scheduler.client.report
  [req-a8752223-5d75-4fa2-9668-7c024d166f09 - - - - -] [req-
  561538c7-b837-448b-b25e-38a3505ab2e5] Failed to update inventory to
  [{u'CUSTOM_BAREMETAL': {'allocation_ratio': 1.0, 'total': 1,
  'reserved': 1, 'step_size': 1, 'min_unit': 1, 'max_unit': 1}}] for
  resource provider with UUID 3ee26a05-944b-42ba-b74d-42aa2fda5d73.  Got
  400: {"errors": [{"status": 400, "request_id": "req-561538c7-b837
  -448b-b25e-38a3505ab2e5", "detail": "The server could not comply with
  the request since it is either malformed or otherwise incorrect.\n\n
  Unable to update inventory for resource provider 3ee26a05-944b-42ba-
  b74d-42aa2fda5d73: Invalid inventory for 'CUSTOM_BAREMETAL' on
  resource provider '3ee26a05-944b-42ba-b74d-42aa2fda5d73'. The reserved
  value is greater than or equal to total.  ", "title": "Bad Request"}]}

  ERROR nova.compute.manager [req-a8752223-5d75-4fa2-9668-7c024d166f09 -
  - - - -] Error updating resources for node 3ee26a05-944b-42ba-b74d-
  42aa2fda5d73.: ResourceProviderSyncFailed: Failed to synchronize the
  placement service with resource provider information supplied by the
  compute host.

  Traceback (most recent call last):
  botkaERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 7722, in _update_available_resource_for_node
  botkaERROR nova.compute.manager     rt.update_available_resource(context, nodename)
  botkaERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 703, in update_available_resource
  botkaERROR nova.compute.manager     self._update_available_resource(context, resources)
  botkaERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py", line 274, in inner
  botkaERROR nova.compute.manager     return f(*args, **kwargs)
  botkaERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 726, in _update_available_resource
  botkaERROR nova.compute.manager     self._init_compute_node(context, resources)
  botkaERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 593, in _init_compute_node
  botkaERROR nova.compute.manager     self._update(context, cn)
  botkaERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/retrying.py", line 68, in wrapped_f
  botkaERROR nova.compute.manager     return Retrying(*dargs, **dkw).call(f, *args, **kw)
  botkaERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/retrying.py", line 223, in call
  botkaERROR nova.compute.manager     return attempt.get(self._wrap_exception)
  botkaERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/retrying.py", line 261, in get
  botkaERROR nova.compute.manager     six.reraise(self.value[0], self.value[1], self.value[2])
  botkaERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/retrying.py", line 217, in call
  botkaERROR nova.compute.manager     attempt = Attempt(fn(*args, **kwargs), attempt_number, False)
  botkaERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 938, in _update
  botkaERROR nova.compute.manager     self._update_to_placement(context, compute_node)
  botkaERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 907, in _update_to_placement
  botkaERROR nova.compute.manager     reportclient.update_from_provider_tree(context, prov_tree)
  botkaERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 37, in __run_method
  botkaERROR nova.compute.manager     return getattr(self.instance, __name)(*args, **kwargs)
  botkaERROR nova.compute.manager   File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 1531, in update_from_provider_tree
  botkaERROR nova.compute.manager     raise exception.ResourceProviderSyncFailed()
  botkaERROR nova.compute.manager ResourceProviderSyncFailed: Failed to synchronize the placement service with resource provider information supplied by the compute host.
  botkaERROR nova.compute.manager

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1787910/+subscriptions