We allowed add instance tags when booting in
Iac54b9627cb4398e45f1f15a2f4e7d6f86242093, conductor
will create tags for us in the selected cell, but
we forgot to consider the case that no valid host
was found.
So we will be unable to filter those instances in
cell0 with tags.
NOTE(mriedem): The backport needed to remove the mock
of notify_about_compute_task_error since that method
was added in Stein: Ibfb0a6db5920d921c4fc7cabf3f4d2838ea7f421
Change-Id: Idfe37d356b349024dfe963c934728111e1a1d314
closes-bug: #1806515
(cherry picked from commit 3cd439ad8a99f122566f0b5d0264ff5c8d34f998)
Reviewed: https:/ /review. openstack. org/624813 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=cbb9eb5b056 b96ea507d65fea0 e32c27bbf6cdfa
Committed: https:/
Submitter: Zuul
Branch: stable/rocky
commit cbb9eb5b056b96e a507d65fea0e32c 27bbf6cdfa
Author: Kevin_Zheng <email address hidden>
Date: Tue Dec 4 10:25:52 2018 +0800
Handle tags in _bury_in_cell0
We allowed add instance tags when booting in b4398e45f1f15a2 f4e7d6f86242093 , conductor
Iac54b9627c
will create tags for us in the selected cell, but
we forgot to consider the case that no valid host
was found.
So we will be unable to filter those instances in
cell0 with tags.
NOTE(mriedem): The backport needed to remove the mock about_compute_ task_error since that method 21c4fc7cabf3f4d 2838ea7f421
of notify_
was added in Stein: Ibfb0a6db5920d9
Change-Id: Idfe37d356b3490 24dfe963c934728 111e1a1d314 2566f0b5d0264ff 5c8d34f998)
closes-bug: #1806515
(cherry picked from commit 3cd439ad8a99f12