Sean Mooney <smooney@redhat.com> 于2019年11月12日周二 下午9:27写道:
On Tue, 2019-11-12 at 05:46 +0000, Zhong, Luyao wrote:
> Hi Nova experts,
>
> "Not tracking error migrations and orphans in RT." is probably a bug. This may trigger some problems in
> update_available_resources in RT at the moment. That is some orphans or error migrations are using cpus/memory/disk
> etc, but we don't take these usage into consideration. And instance.resources is introduced from Train used to contain
> specific resources, we also track assigned specific resources in RT based on tracked migrations and instances. So this
> bug will also affect the specific resources tracking.
>
> I draft an doc to clarify this bug and possible solutions:
> https://etherpad.openstack.org/p/track-err-migr-and-orphans-in-RT
> Looking forward to suggestions from you. Thanks in advance.
>
there are patche up to allow cleaning up orpahn instances
https://review.opendev.org/#/c/627765/
https://review.opendev.org/#/c/648912/
if we can get those merged that woudl adress at least some of the proablem

Yes, and we separate the issue to be two parts, one part is tracking, another part is cleanup. Yongli's patch will help on cleanup.
 

> Best Regards,
> Luyao