Module ImportFrom alias identifier Import alias identifier Import alias ImportFrom alias ImportFrom alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr orelse Expr Call AttributeLoad NameLoad attr Return Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body If CompareNotIn AttributeLoad AttributeLoad NameLoad attr attr TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword AttributeLoad AttributeLoad NameLoad attr attr keyword Str decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr keyword NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Raise Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore BinOpSub BinOpMult NameLoad NameLoad BinOpSub NameLoad NameLoad If BoolOpOr UnaryOpNot NameLoad CompareLtE NameLoad NameLoad body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad Str Raise Call AttributeLoad NameLoad attr keyword BinOpMod NameLoad Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr If CompareNotEq NameLoad NameLoad body Raise Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr If CompareGt NameLoad NameLoad body Raise Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr body Assign NameStore BinOpMod Call NameLoad Str NameLoad Raise Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Dict Str NameLoad Assign NameStore Dict Str Dict Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad If UnaryOpNot AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr orelse Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore NameLoad While CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad TryExcept body Assign NameStore SubscriptLoad SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Index Num Index Str handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Raise Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr Str Dict Str Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareEq AttributeLoad NameLoad attr Num body Return Assign NameStore BinOpSub Call NameLoad NameLoad Num If CompareGt NameLoad AttributeLoad NameLoad attr body If AttributeLoad NameLoad attr body Assign AttributeStore AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore BinOpMod Call NameLoad Str Dict Str Str NameLoad AttributeLoad AttributeLoad NameLoad attr attr Raise Call AttributeLoad NameLoad attr keyword NameLoad decorator_list decorator_list
N/A oslo_log log logging N/A oslo_messaging messaging N/A six nova.compute power_state nova.conductor.tasks base N/A nova.conf nova exception nova.i18n _ nova objects nova.scheduler utils scheduler_utils nova utils N/A LOG N/A N/A logging getLogger __name__ N/A CONF N/A N/A nova conf CONF LiveMigrationTask N/A N/A base TaskBase N/A __init__ N/A N/A self context instance destination block_migration disk_over_commit migration compute_rpcapi servicegroup_api scheduler_client request_spec N/A None N/A N/A N/A N/A N/A super LiveMigrationTask self __init__ context instance N/A N/A self destination destination N/A N/A self block_migration block_migration N/A N/A self disk_over_commit disk_over_commit N/A N/A self migration migration N/A N/A self source N/A instance host N/A N/A self migrate_data None N/A N/A self compute_rpcapi compute_rpcapi N/A N/A self servicegroup_api servicegroup_api N/A N/A self scheduler_client scheduler_client N/A N/A self request_spec request_spec N/A _execute N/A N/A self N/A N/A N/A N/A N/A self _check_instance_is_active N/A N/A N/A self _check_host_is_up N/A self source N/A N/A N/A self destination N/A N/A N/A self destination N/A N/A self _find_destination N/A N/A N/A self migration dest_compute N/A self destination N/A N/A N/A N/A self migration save N/A N/A N/A N/A self _check_requested_destination N/A N/A N/A N/A self compute_rpcapi live_migration N/A self context host N/A self source instance N/A self instance dest N/A self destination block_migration N/A self block_migration migration N/A self migration migrate_data N/A self migrate_data N/A rollback N/A N/A self N/A N/A N/A N/A _check_instance_is_active N/A N/A self N/A N/A N/A N/A N/A N/A self instance power_state N/A N/A power_state RUNNING N/A power_state PAUSED N/A N/A N/A N/A exception InstanceInvalidState instance_uuid N/A N/A self instance uuid attr power_state state N/A N/A self instance power_state method live migrate N/A _check_host_is_up N/A N/A self host N/A N/A N/A N/A N/A service N/A N/A N/A objects Service get_by_compute_host N/A self context host N/A N/A N/A N/A exception NotFound N/A N/A N/A N/A exception ComputeServiceUnavailable host host N/A N/A N/A N/A N/A self servicegroup_api service_is_up service N/A N/A N/A N/A exception ComputeServiceUnavailable host host N/A _check_requested_destination N/A N/A self N/A N/A N/A N/A N/A self _check_destination_is_not_source N/A N/A N/A self _check_host_is_up N/A self destination N/A N/A N/A self _check_destination_has_enough_memory N/A N/A N/A self _check_compatible_with_source_hypervisor N/A self destination N/A N/A N/A self _call_livem_checks_on_host N/A self destination N/A _check_destination_is_not_source N/A N/A self N/A N/A N/A N/A N/A self destination N/A self source N/A N/A N/A N/A exception UnableToMigrateToSelf instance_id N/A N/A self instance uuid host N/A self destination N/A _check_destination_has_enough_memory N/A N/A self N/A N/A N/A compute N/A N/A self _get_compute_info N/A self destination N/A free_ram_mb N/A compute free_ram_mb N/A total_ram_mb N/A compute memory_mb N/A mem_inst N/A N/A self instance memory_mb N/A ram_ratio N/A compute ram_allocation_ratio N/A avail N/A N/A total_ram_mb ram_ratio N/A total_ram_mb free_ram_mb N/A N/A N/A mem_inst N/A avail mem_inst N/A N/A instance_uuid N/A N/A self instance uuid N/A dest N/A self destination N/A reason N/A _ Unable to migrate %(instance_uuid)s to %(dest)s: Lack of memory(host:%(avail)s <= instance:%(mem_inst)s) N/A N/A N/A exception MigrationPreCheckError reason N/A reason N/A dict instance_uuid instance_uuid dest dest avail avail mem_inst mem_inst N/A _get_compute_info N/A N/A self host N/A N/A N/A N/A N/A N/A objects ComputeNode get_first_node_by_host_for_old_compat N/A self context host N/A _check_compatible_with_source_hypervisor N/A N/A self destination N/A N/A N/A source_info N/A N/A self _get_compute_info N/A self source N/A destination_info N/A N/A self _get_compute_info destination N/A source_type N/A source_info hypervisor_type N/A destination_type N/A destination_info hypervisor_type N/A N/A source_type destination_type N/A N/A N/A N/A exception InvalidHypervisorType N/A source_version N/A source_info hypervisor_version N/A destination_version N/A destination_info hypervisor_version N/A N/A source_version destination_version N/A N/A N/A N/A exception DestinationHypervisorTooOld N/A _call_livem_checks_on_host N/A N/A self destination N/A N/A N/A N/A N/A N/A self migrate_data N/A N/A N/A self compute_rpcapi check_can_live_migrate_destination N/A self context N/A self instance destination N/A self block_migration N/A self disk_over_commit N/A N/A N/A N/A messaging MessagingTimeout N/A N/A msg N/A N/A _ Timeout while checking if we can live migrate to host: %s destination N/A N/A N/A exception MigrationPreCheckError msg N/A _find_destination N/A N/A self N/A N/A N/A attempted_hosts N/A N/A self source N/A image N/A N/A utils get_image_from_system_metadata N/A N/A self instance system_metadata N/A filter_properties N/A ignore_hosts attempted_hosts N/A request_spec N/A instance_properties N/A uuid N/A N/A self instance uuid N/A N/A N/A scheduler_utils setup_instance_group N/A self context request_spec filter_properties N/A N/A N/A self request_spec N/A N/A request_spec N/A N/A N/A objects RequestSpec from_components N/A self context N/A N/A self instance uuid image N/A N/A self instance flavor N/A N/A self instance numa_topology N/A N/A self instance pci_requests filter_properties None N/A N/A self instance availability_zone N/A N/A request_spec N/A self request_spec N/A N/A N/A request_spec reset_forced_destinations N/A host None N/A N/A host None N/A N/A N/A N/A self _check_not_over_max_retries attempted_hosts N/A N/A request_spec ignore_hosts attempted_hosts N/A N/A N/A host N/A N/A N/A N/A N/A self scheduler_client select_destinations N/A self context request_spec N/A 0 N/A host N/A N/A N/A N/A messaging RemoteError N/A ex N/A N/A N/A N/A exception MigrationSchedulerRPCError reason N/A N/A six text_type ex N/A N/A N/A N/A N/A self _check_compatible_with_source_hypervisor host N/A N/A N/A self _call_livem_checks_on_host host N/A N/A N/A N/A N/A exception Invalid N/A exception MigrationPreCheckError N/A e N/A N/A N/A N/A LOG debug Skipping host: %(host)s because: %(e)s N/A host e host e N/A N/A N/A attempted_hosts append host N/A host None N/A host N/A _check_not_over_max_retries N/A N/A self attempted_hosts N/A N/A N/A N/A N/A CONF migrate_max_retries -1 N/A N/A N/A retries N/A N/A len attempted_hosts 1 N/A N/A retries N/A CONF migrate_max_retries N/A N/A N/A self migration N/A N/A N/A N/A self migration status failed N/A N/A N/A N/A self migration save N/A msg N/A N/A _ Exceeded max scheduling retries %(max_retries)d for instance %(instance_uuid)s during live migration N/A max_retries instance_uuid retries N/A N/A self instance uuid N/A N/A N/A exception MaxRetriesExceeded reason msg N/A N/A