Activity log for bug #1804502

Date Who What changed Old value New value Message
2018-11-21 18:46:54 Inbar Stolberg bug added bug
2018-11-21 18:47:18 Inbar Stolberg nova: assignee Inbar Stolberg (inbarsto)
2018-11-21 18:57:25 Inbar Stolberg description Description =========== server rebuild will fail in nova scheduler on NUMATopologyFilter if the computes do not have enough capacity (even though clearly the running server is already accounted into that calculation) to resolve the issue a fix is required in NUMATopologyFilter to not perform the rebuild operation in the case that the request is due to rebuild. the result of such a case will be that server rebuild will fail with error of "no valid host found" (do not mix resize with rebuild functions...) Steps to reproduce ================== 1. create a flavor that contain metadata that will point to a specific compute (use host aggregate with same key:value metadata 2. create a server on that compute (preferably using heat stack) 3. (try to) rebuild the server using stack update 4. issue reproduced Expected result =============== server in an active running state (if image was replaced in the rebuild command than with a reference to the new image in the server details. Actual result ============= server in error state with error of no valid host found. Environment =========== detected in Rocky release KVM hypervisor Ceph storage Neutron networks Logs & Configs ============== in nova.conf: enabled_filters=AggregateInstanceExtraSpecsFilter,RetryFilter,AvailabilityZoneFilter,NUMATopologyFilter,PciPassthroughFilter,RamFilter,ComputeFilter,ImagePropertiesFilter,CoreFilter,ServerGroupAntiAffinityFilter,ServerGroupAffinityFilter,DiskFilter,ComputeCapabilitiesFilter,AggregateRamFilter,SameHostFilter,DifferentHostFilter logs: tbd Description =========== server rebuild will fail in nova scheduler on NUMATopologyFilter if the computes do not have enough capacity (even though clearly the running server is already accounted into that calculation) to resolve the issue a fix is required in NUMATopologyFilter to not perform the rebuild operation in the case that the request is due to rebuild. the result of such a case will be that server rebuild will fail with error of "no valid host found" (do not mix resize with rebuild functions...) Steps to reproduce ================== 1. create a flavor that contain metadata that will point to a specific compute (use host aggregate with same key:value metadata make sure flavor contain topology related metadata: hw:cpu_cores='1', hw:cpu_policy='dedicated', hw:cpu_sockets='6', hw:cpu_thread_policy='prefer', hw:cpu_threads='1', hw:mem_page_size='large', location='area51' 2. create a server on that compute (preferably using heat stack) 3. (try to) rebuild the server using stack update 4. issue reproduced Expected result =============== server in an active running state (if image was replaced in the rebuild command than with a reference to the new image in the server details. Actual result ============= server in error state with error of no valid host found. Environment =========== detected in Rocky release KVM hypervisor Ceph storage Neutron networks Logs & Configs ============== in nova.conf: enabled_filters=AggregateInstanceExtraSpecsFilter,RetryFilter,AvailabilityZoneFilter,NUMATopologyFilter,PciPassthroughFilter,RamFilter,ComputeFilter,ImagePropertiesFilter,CoreFilter,ServerGroupAntiAffinityFilter,ServerGroupAffinityFilter,DiskFilter,ComputeCapabilitiesFilter,AggregateRamFilter,SameHostFilter,DifferentHostFilter logs: tbd
2018-11-22 01:52:17 Takashi Natsume tags numa scheduler
2018-11-26 21:14:10 Inbar Stolberg description Description =========== server rebuild will fail in nova scheduler on NUMATopologyFilter if the computes do not have enough capacity (even though clearly the running server is already accounted into that calculation) to resolve the issue a fix is required in NUMATopologyFilter to not perform the rebuild operation in the case that the request is due to rebuild. the result of such a case will be that server rebuild will fail with error of "no valid host found" (do not mix resize with rebuild functions...) Steps to reproduce ================== 1. create a flavor that contain metadata that will point to a specific compute (use host aggregate with same key:value metadata make sure flavor contain topology related metadata: hw:cpu_cores='1', hw:cpu_policy='dedicated', hw:cpu_sockets='6', hw:cpu_thread_policy='prefer', hw:cpu_threads='1', hw:mem_page_size='large', location='area51' 2. create a server on that compute (preferably using heat stack) 3. (try to) rebuild the server using stack update 4. issue reproduced Expected result =============== server in an active running state (if image was replaced in the rebuild command than with a reference to the new image in the server details. Actual result ============= server in error state with error of no valid host found. Environment =========== detected in Rocky release KVM hypervisor Ceph storage Neutron networks Logs & Configs ============== in nova.conf: enabled_filters=AggregateInstanceExtraSpecsFilter,RetryFilter,AvailabilityZoneFilter,NUMATopologyFilter,PciPassthroughFilter,RamFilter,ComputeFilter,ImagePropertiesFilter,CoreFilter,ServerGroupAntiAffinityFilter,ServerGroupAffinityFilter,DiskFilter,ComputeCapabilitiesFilter,AggregateRamFilter,SameHostFilter,DifferentHostFilter logs: tbd Description =========== server rebuild will fail in nova scheduler on NUMATopologyFilter if the computes do not have enough capacity (even though clearly the running server is already accounted into that calculation) to resolve the issue a fix is required in NUMATopologyFilter to not perform the rebuild operation in the case that the request is due to rebuild. the result of such a case will be that server rebuild will fail with error of "no valid host found" (do not mix resize with rebuild functions...) Steps to reproduce ================== 1. create a flavor that contain metadata that will point to a specific compute (use host aggregate with same key:value metadata make sure flavor contain topology related metadata: hw:cpu_cores='1', hw:cpu_policy='dedicated', hw:cpu_sockets='6', hw:cpu_thread_policy='prefer', hw:cpu_threads='1', hw:mem_page_size='large', location='area51' 2. create a server on that compute (preferably using heat stack) 3. (try to) rebuild the server using stack update 4. issue reproduced Expected result =============== server in an active running state (if image was replaced in the rebuild command than with a reference to the new image in the server details. Actual result ============= server in error state with error of no valid host found. Message No valid host was found. There are not enough hosts available. Code 500 Details File "/usr/lib/python2.7/site-packages/nova/conductor/manager.py", line 966, in rebuild_instance return_alternates=False) File "/usr/lib/python2.7/site-packages/nova/conductor/manager.py", line 723, in _schedule_instances return_alternates=return_alternates) File "/usr/lib/python2.7/site-packages/nova/scheduler/utils.py", line 907, in wrapped return func(*args, **kwargs) File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 53, in select_destinations instance_uuids, return_objects, return_alternates) File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 37, in __run_method return getattr(self.instance, __name)(*args, **kwargs) File "/usr/lib/python2.7/site-packages/nova/scheduler/client/query.py", line 42, in select_destinations instance_uuids, return_objects, return_alternates) File "/usr/lib/python2.7/site-packages/nova/scheduler/rpcapi.py", line 158, in select_destinations return cctxt.call(ctxt, 'select_destinations', **msg_args) File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/client.py", line 179, in call retry=self.retry) File "/usr/lib/python2.7/site-packages/oslo_messaging/transport.py", line 133, in _send retry=retry) File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 584, in send call_monitor_timeout, retry=retry) File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 575, in _send raise result Environment =========== detected in Rocky release KVM hypervisor Ceph storage Neutron networks Logs & Configs ============== in nova.conf: enabled_filters=AggregateInstanceExtraSpecsFilter,RetryFilter,AvailabilityZoneFilter,NUMATopologyFilter,PciPassthroughFilter,RamFilter,ComputeFilter,ImagePropertiesFilter,CoreFilter,ServerGroupAntiAffinityFilter,ServerGroupAffinityFilter,DiskFilter,ComputeCapabilitiesFilter,AggregateRamFilter,SameHostFilter,DifferentHostFilter logs: tbd
2018-11-26 21:18:03 Yossi Ovadia nova: status New Confirmed
2018-11-26 21:20:40 Inbar Stolberg nova: status Confirmed In Progress
2019-01-10 22:33:13 sean mooney nova: status In Progress Invalid
2019-01-11 05:25:34 Inbar Stolberg nova: status Invalid In Progress
2019-03-16 17:04:39 Inbar Stolberg nova: status In Progress Confirmed
2019-05-26 21:29:13 OpenStack Infra nova: status Confirmed In Progress
2019-05-26 21:29:13 OpenStack Infra nova: assignee Inbar Stolberg (inbarsto) David Hill (david-hill-ubisoft)
2019-08-20 16:53:27 Amrith Kumar bug added subscriber Amrith Kumar
2019-09-11 19:23:07 Matt Riedemann tags numa scheduler numa rebuild scheduler
2019-09-11 19:27:49 Matt Riedemann nova: status In Progress Confirmed
2019-09-11 19:57:45 Matt Riedemann nova: assignee David Hill (david-hill-ubisoft)
2019-09-11 19:57:48 Matt Riedemann nova: importance Undecided Medium
2019-10-21 18:24:20 OpenStack Infra nova: status Confirmed In Progress
2019-10-21 18:24:20 OpenStack Infra nova: assignee sean mooney (sean-k-mooney)
2019-12-10 12:59:06 OpenStack Infra nova: status In Progress Fix Released
2019-12-19 21:11:23 Matt Riedemann nominated for series nova/train
2019-12-19 21:11:23 Matt Riedemann bug task added nova/train
2019-12-19 21:11:23 Matt Riedemann nominated for series nova/queens
2019-12-19 21:11:23 Matt Riedemann bug task added nova/queens
2019-12-19 21:11:23 Matt Riedemann nominated for series nova/rocky
2019-12-19 21:11:23 Matt Riedemann bug task added nova/rocky
2019-12-19 21:11:23 Matt Riedemann nominated for series nova/stein
2019-12-19 21:11:23 Matt Riedemann bug task added nova/stein
2019-12-19 21:16:31 Matt Riedemann nova/train: status New In Progress
2019-12-19 21:16:36 Matt Riedemann nova/queens: status New Triaged
2019-12-19 21:16:39 Matt Riedemann nova/rocky: status New Triaged
2019-12-19 21:16:42 Matt Riedemann nova/stein: status New Triaged
2019-12-19 21:16:46 Matt Riedemann nova/queens: importance Undecided Low
2019-12-19 21:16:52 Matt Riedemann nova/stein: importance Undecided Medium
2019-12-19 21:16:54 Matt Riedemann nova/rocky: importance Undecided Medium
2019-12-19 21:16:58 Matt Riedemann nova/train: assignee sean mooney (sean-k-mooney)
2019-12-19 21:16:59 Matt Riedemann nova/train: importance Undecided Medium
2019-12-23 19:28:18 OpenStack Infra nova/train: status In Progress Fix Committed
2019-12-23 19:28:35 OpenStack Infra tags numa rebuild scheduler in-stable-train numa rebuild scheduler
2020-01-16 20:00:25 OpenStack Infra nova/stein: status Triaged In Progress
2020-01-16 20:00:25 OpenStack Infra nova/stein: assignee sean mooney (sean-k-mooney)
2020-01-17 16:32:46 OpenStack Infra nova/rocky: status Triaged In Progress
2020-01-17 16:32:46 OpenStack Infra nova/rocky: assignee sean mooney (sean-k-mooney)
2020-01-17 17:49:28 OpenStack Infra nova/queens: status Triaged In Progress
2020-01-17 17:49:28 OpenStack Infra nova/queens: assignee sean mooney (sean-k-mooney)
2020-01-31 15:16:16 OpenStack Infra nova/stein: status In Progress Fix Committed
2020-01-31 15:43:42 OpenStack Infra tags in-stable-train numa rebuild scheduler in-stable-stein in-stable-train numa rebuild scheduler
2020-02-12 13:46:29 OpenStack Infra nova/rocky: assignee sean mooney (sean-k-mooney) Lee Yarwood (lyarwood)
2020-06-10 17:18:35 OpenStack Infra nova/rocky: assignee Lee Yarwood (lyarwood) Stephen Finucane (stephenfinucane)
2020-07-09 13:09:33 OpenStack Infra nova/rocky: assignee Stephen Finucane (stephenfinucane) Lee Yarwood (lyarwood)
2020-08-18 02:30:09 OpenStack Infra nova/rocky: status In Progress Fix Committed
2020-08-18 02:30:30 OpenStack Infra tags in-stable-stein in-stable-train numa rebuild scheduler in-stable-rocky in-stable-stein in-stable-train numa rebuild scheduler
2021-11-16 01:25:39 Brett Milford bug added subscriber Brett Milford
2022-11-11 18:18:55 OpenStack Infra nova/rocky: status Fix Committed Fix Released