diff options
Diffstat (limited to 'nova/conductor/tasks/cross_cell_migrate.py')
-rw-r--r-- | nova/conductor/tasks/cross_cell_migrate.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/conductor/tasks/cross_cell_migrate.py b/nova/conductor/tasks/cross_cell_migrate.py index d66394cb6e..ab391bc485 100644 --- a/nova/conductor/tasks/cross_cell_migrate.py +++ b/nova/conductor/tasks/cross_cell_migrate.py @@ -698,7 +698,7 @@ class CrossCellMigrationTask(base.TaskBase): LOG.debug('Making sure neutron is new enough for cross-cell resize.') # Check that the port binding-extended API extension is available in # neutron because if it's not we can just fail fast. - if not self.network_api.supports_port_binding_extension(self.context): + if not self.network_api.has_port_binding_extension(self.context): raise exception.MigrationPreCheckError( reason=_("Required networking service API extension '%s' " "not found.") % @@ -1163,7 +1163,7 @@ class RevertResizeTask(base.TaskBase): setattr(source_obj, field, getattr(target_obj, field)) def _update_bdms_in_source_cell(self, source_cell_context): - """Update BlockDeviceMapppings in the source cell database. + """Update BlockDeviceMappings in the source cell database. It is possible to attach/detach volumes to/from a resized instance, which would create/delete BDM records in the target cell, so we have |