diff --git a/nova_powervm/tests/virt/powervm/test_live_migration.py b/nova_powervm/tests/virt/powervm/test_live_migration.py index fdea0b6f..1b82a1da 100644 --- a/nova_powervm/tests/virt/powervm/test_live_migration.py +++ b/nova_powervm/tests/virt/powervm/test_live_migration.py @@ -54,7 +54,7 @@ class TestLPM(test.TestCase): with mock.patch.object( self.lpmsrc, '_check_migration_ready', return_value=None): - # Test the bad path first, then patch in values to make suceed + # Test the bad path first, then patch in values to make succeed self.lpmsrc.dest_data = {'dest_proc_compat': 'a,b,c'} mock_wrap = mock.Mock(id=123) mock_get_wrap.return_value = mock_wrap diff --git a/nova_powervm/virt/powervm/live_migration.py b/nova_powervm/virt/powervm/live_migration.py index 063f3631..010c9b4d 100644 --- a/nova_powervm/virt/powervm/live_migration.py +++ b/nova_powervm/virt/powervm/live_migration.py @@ -99,7 +99,7 @@ class LiveMigrationDest(LiveMigration): src_stats = src_compute_info['stats'] dst_stats = dst_compute_info['stats'] - # Check the lmb sizes for compatability + # Check the lmb sizes for compatibility if (src_stats['memory_region_size'] != dst_stats['memory_region_size']): msg = (_("Cannot migrate instance '%(name)s' because the " @@ -248,7 +248,7 @@ class LiveMigrationSrc(LiveMigration): self.src_data['migrate_data'] = mig_data LOG.debug('Src Migration data: %s' % self.src_data) - # Check proc compatability modes + # Check proc compatibility modes if (lpar_w.proc_compat_mode and lpar_w.proc_compat_mode not in self.dest_data['dest_proc_compat'].split(',')): msg = (_("Cannot migrate %(name)s because its "