yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #61202
[Bug 1661014] Re: Multinode job fails with "Compute host X not found"
Reviewed: https://review.openstack.org/428375
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=965fffc09d6fffba7918117e170d5799c69fe99b
Submitter: Jenkins
Branch: master
commit 965fffc09d6fffba7918117e170d5799c69fe99b
Author: EdLeafe <ed@xxxxxxxxx>
Date: Thu Feb 2 18:48:35 2017 +0000
Delete a compute node's resource provider when node is deleted
Currently when a compute node is deleted, its record in the cell DB is
deleted, but its representation as a resource provider in the placement
service remains, along with any inventory and allocations. This could
cause the placement engine to return that provider record, even though
the compute node no longer exists. And since the periodic "healing" by
the resource tracker only updates compute node resources for records in
the compute_nodes table, these old records are never removed.
This patch adds a call to delete the resource provider when the compute
node is deleted. It also adds a method to the scheduler report client
to make these calls to the placement API.
Partial-Bug: #1661258
Closes-Bug: #1661014
Change-Id: I6098d186d05ff8b9a568e23f860295a7bc2e6447
** Changed in: nova
Status: In Progress => Fix Released
--
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/1661014
Title:
Multinode job fails with "Compute host X not found"
Status in Ironic:
New
Status in OpenStack Compute (nova):
Fix Released
Bug description:
Example failure:
http://logs.openstack.org/75/427675/2/check/gate-tempest-dsvm-ironic-
ipa-wholedisk-agent_ipmitool-tinyipa-multinode-ubuntu-xenial-
nv/3ff2401/console.html#_2017-02-01_14_55_05_875428
2017-02-01 14:55:05.875428 | Details: {u'code': 500, u'message': u'Compute host 5 could not be found.\nTraceback (most recent call last):\n\n File "/opt/stack/new/nova/nova/conductor/manager.py", line 92, in _object_dispatch\n return getattr(target, method)(*args, **kwargs)\n\n File "/usr/local/lib/python2.7/dist-packages', u'created': u'2017-02-01T14:44:56Z', u'details': u' File "/opt/stack/new/nova/nova/compute/manager.py", line 1780, in _do_build_and_run_instance\n filter_properties)\n File "/opt/stack/new/nova/nova/compute/manager.py", line 2016, in _build_and_run_instance\n instance_uuid=instance.uuid, reason=six.text_type(e))\n'}
To manage notifications about this bug go to:
https://bugs.launchpad.net/ironic/+bug/1661014/+subscriptions