diff options
Diffstat (limited to 'nova/conductor/tasks/migrate.py')
-rw-r--r-- | nova/conductor/tasks/migrate.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nova/conductor/tasks/migrate.py b/nova/conductor/tasks/migrate.py index 8838d0240a..754f9e5ba7 100644 --- a/nova/conductor/tasks/migrate.py +++ b/nova/conductor/tasks/migrate.py @@ -258,6 +258,11 @@ class MigrationTask(base.TaskBase): # resource requests in a single list and add them to the RequestSpec. self.request_spec.requested_resources = port_res_req self.request_spec.request_level_params = req_lvl_params + # NOTE(gibi): as PCI devices is tracked in placement we need to + # generate request groups from InstancePCIRequests. This will append + # new RequestGroup objects to the request_spec.requested_resources list + # if needed + self.request_spec.generate_request_groups_from_pci_requests() self._set_requested_destination_cell(legacy_props) |