The attempt to merge lp:~johannes.erdfelt/nova/bug747394 into lp:nova failed. Below is the output from the failed tests. AccountsTest test_account_create OK test_account_delete OK test_account_update OK test_get_account OK AdminAPITest test_admin_disabled OK test_admin_enabled OK APITest test_exceptions_are_converted_to_faults OK Test test_authorize_token OK test_authorize_user OK test_bad_token OK test_bad_user_bad_key OK test_bad_user_good_key OK test_no_user OK test_token_expiry OK TestFunctional test_token_doesnotexist OK test_token_expiry OK TestLimiter test_authorize_token OK LimiterTest test_limiter_custom_max_limit OK test_limiter_limit_and_offset OK test_limiter_limit_medium OK test_limiter_limit_over_max OK test_limiter_limit_zero OK test_limiter_negative_limit OK test_limiter_negative_offset OK test_limiter_nothing OK test_limiter_offset_bad OK test_limiter_offset_blank OK test_limiter_offset_medium OK test_limiter_offset_over_max OK test_limiter_offset_zero OK ActionExtensionTest test_extended_action OK test_invalid_action OK test_invalid_action_body OK ExtensionControllerTest test_get_by_alias OK test_index OK ExtensionManagerTest test_get_resources OK ResourceExtensionTest test_get_resources OK test_get_resources_with_controller OK test_no_extension_present OK ResponseExtensionTest test_get_resources_with_mgr OK test_get_resources_with_stub_mgr OK TestFaults test_400_fault_json OK test_400_fault_xml OK test_413_fault_json OK test_413_fault_xml OK test_raise OK FlavorsTest test_get_flavor_by_id_v1_0 OK test_get_flavor_by_id_v1_1 OK test_get_flavor_by_invalid_id OK test_get_flavor_list_detail_v1_0 OK test_get_flavor_list_detail_v1_1 OK test_get_flavor_list_v1_0 OK test_get_flavor_list_v1_1 OK ImageMetaDataTest test_create OK test_delete OK test_delete_not_found OK test_index OK test_show OK test_show_not_found OK test_too_many_metadata_items_on_create OK test_too_many_metadata_items_on_put OK test_update_item OK test_update_item_body_uri_mismatch OK test_update_item_too_many_keys OK GlanceImageServiceTest test_create OK test_create_and_show_non_existing_image OK test_create_with_instance_id OK test_create_without_instance_id OK test_delete OK test_index OK test_update OK ImageControllerWithGlanceServiceTest test_get_image OK test_get_image_404_json OK test_get_image_404_v1_1_json OK test_get_image_404_v1_1_xml OK test_get_image_404_xml OK test_get_image_details OK test_get_image_details_v1_1 OK test_get_image_found OK test_get_image_index OK test_get_image_index_v1_1 OK test_get_image_non_existent OK test_get_image_not_owned OK test_get_image_v1_1 OK test_get_image_v1_1_xml OK test_get_image_xml OK test_get_image_xml_no_name OK LocalImageServiceTest test_create OK test_create_and_show_non_existing_image OK test_delete OK test_get_all_ids_with_incorrect_directory_formats OK test_index OK test_update OK LimitMiddlewareTest test_good_request OK test_limited_request_json OK test_limited_request_xml OK LimitTest test_GET_delay OK test_GET_no_delay OK LimiterTest test_delay_GET OK test_delay_POST OK test_delay_PUT OK test_delay_PUT_servers OK test_delay_PUT_wait OK test_multiple_delays OK test_multiple_users OK test_no_delay_GET OK test_no_delay_PUT OK LimitsControllerV10Test test_empty_index_json OK test_empty_index_xml OK test_index_json OK test_index_xml OK LimitsControllerV11Test test_empty_index_json OK test_index_json OK WsgiLimiterProxyTest test_200 OK test_403 OK WsgiLimiterTest test_escaping OK test_good_url OK test_invalid_methods OK test_response_to_delays OK test_response_to_delays_usernames OK ServerMetaDataTest test_create OK test_delete OK test_index OK test_index_no_data OK test_show OK test_show_meta_not_found OK test_to_many_metadata_items_on_update_item OK test_too_many_metadata_items_on_create OK test_update_item OK test_update_item_body_uri_mismatch OK test_update_item_too_many_keys OK ServersTest test_confirm_resize_server OK test_confirm_resize_server_fails OK test_create_backup_schedules OK test_create_instance OK test_create_instance_no_key_pair OK test_create_instance_no_name OK test_create_instance_nonstring_name OK test_create_instance_v11 OK test_create_instance_v11_bad_href OK test_create_instance_v11_local_href OK test_create_instance_whitespace_name OK test_create_instance_with_admin_pass_v10 OK test_create_instance_with_admin_pass_v11 OK test_create_instance_with_empty_admin_pass_v11 OK test_delete_backup_schedules OK test_delete_server_instance OK test_get_all_server_details_v1_0 OK test_get_all_server_details_v1_1 OK test_get_all_server_details_with_host OK test_get_all_server_details_xml_v1_0 OK test_get_server_addresses_V10 OK test_get_server_addresses_private_V10 OK test_get_server_addresses_private_xml_V10 OK test_get_server_addresses_public_V10 OK test_get_server_addresses_public_xml_V10 OK test_get_server_addresses_xml_V10 OK test_get_server_backup_schedule OK test_get_server_backup_schedules OK test_get_server_by_id OK test_get_server_by_id_v11 OK test_get_server_by_id_with_addresses OK test_get_server_by_id_with_addresses_v11 OK test_get_server_by_id_with_addresses_xml OK test_get_server_list OK test_get_server_list_v11 OK test_get_servers_with_bad_limit OK test_get_servers_with_bad_marker OK test_get_servers_with_bad_offset OK test_get_servers_with_limit OK test_get_servers_with_limit_and_marker OK test_get_servers_with_limit_and_offset OK test_get_servers_with_marker OK test_get_servers_with_offset OK test_resize_bad_flavor_fails OK test_resize_raises_fails OK test_resize_server OK test_resized_server_has_correct_status OK test_revert_resize_server OK test_revert_resize_server_fails OK test_server_actions OK test_server_backup_schedule_deprecated_v11 OK test_server_change_password OK test_server_change_password_bad_request_v1_1 OK test_server_change_password_empty_string_v1_1 OK test_server_change_password_none_v1_1 OK test_server_change_password_not_a_string_v1_1 OK test_server_change_password_v1_1 OK test_server_diagnostics OK test_server_inject_network_info OK test_server_pause OK test_server_reboot OK test_server_rebuild_accepted OK test_server_rebuild_accepted_minimum_v11 OK test_server_rebuild_accepted_with_bad_metadata_v11 OK test_server_rebuild_accepted_with_metadata_v11 OK test_server_rebuild_bad_entity OK test_server_rebuild_bad_entity_v11 OK test_server_rebuild_bad_personality_v11 OK test_server_rebuild_personality_v11 OK test_server_rebuild_rejected_when_building OK test_server_rebuild_rejected_when_building_v11 OK test_server_reset_network OK test_server_resume OK test_server_suspend OK test_server_unpause OK test_shutdown_status OK test_shutoff_status OK test_update_no_body OK test_update_nonstring_name OK test_update_null_name OK test_update_server_adminPass_ignored_v11 OK test_update_server_v10 OK test_update_whitespace_name OK TestGetKernelRamdiskFromImage test_ami_kernel_ramdisk_present OK test_ami_no_kernel OK test_ami_no_ramdisk OK test_not_ami OK test_status_not_active OK TestServerCreateRequestXMLDeserializer test_canonical_request_from_docs OK test_minimal_request OK test_request_second_personality_node_ignored OK test_request_with_empty_metadata OK test_request_with_empty_metadata_and_personality OK test_request_with_empty_metadata_and_personality_reversed OK test_request_with_empty_personality OK test_request_with_metadata_duplicate_key OK test_request_with_metadata_missing_key OK test_request_with_metadata_missing_value OK test_request_with_one_metadata OK test_request_with_one_personality OK test_request_with_one_personality_empty_contents OK test_request_with_one_personality_empty_contents_variation OK test_request_with_one_personality_missing_path OK test_request_with_two_metadata OK test_request_with_two_metadata_missing_key OK test_request_with_two_metadata_missing_value OK test_request_with_two_personalities OK TestServerInstanceCreation test_create_instance_admin_pass_json OK test_create_instance_admin_pass_xml OK test_create_instance_personality_empty_content OK test_create_instance_with_no_personality OK test_create_instance_with_no_personality_xml OK test_create_instance_with_null_personality OK test_create_instance_with_personality OK test_create_instance_with_personality_no_contents OK test_create_instance_with_personality_no_path OK test_create_instance_with_personality_not_a_list OK test_create_instance_with_personality_with_non_b64_content OK test_create_instance_with_personality_xml OK test_create_instance_with_three_personalities OK SharedIpGroupsTest test_create_shared_ip_group OK test_delete_shared_ip_group OK test_deprecated_v11 OK test_get_shared_ip_groups OK test_update_shared_ip_group OK UsersTest test_get_user_by_id OK test_get_user_list OK test_user_create OK test_user_delete OK test_user_update OK VersionsTest test_generate_href OK test_get_version_list OK test_get_version_list_xml OK test_view_builder OK ZonesTest test_get_zone_by_id OK test_get_zone_list_db OK test_get_zone_list_scheduler OK test_zone_create OK test_zone_delete OK test_zone_info OK test_zone_update OK ControllerTest test_response_content_type_default_when_unsupported OK test_response_content_type_from_accept_json OK test_response_content_type_from_accept_xml OK test_response_content_type_from_query_extension_json OK test_response_content_type_from_query_extension_xml OK test_show OK RequestTest test_content_type_accept_and_query_extension OK test_content_type_accept_default OK test_content_type_from_accept_xml OK test_content_type_from_query_extension OK test_request_content_type_missing OK test_request_content_type_unsupported OK test_request_content_type_with_charset OK SerializerTest test_deserialize_empty_xml OK test_deserialize_json OK test_deserialize_xml OK test_json OK test_unsupported_content_type OK test_xml OK Test test_debug OK test_router OK TestGetterDateTimeNoneTests test_detail_handles_blank_datetimes OK test_detail_handles_none_datetimes OK test_detail_makes_datetimes OK test_get_handles_blank_datetimes OK test_get_handles_none_datetimes OK test_get_makes_datetimes OK test_show_handles_blank_datetimes OK test_show_handles_none_datetimes OK test_show_makes_datetimes OK TestGlanceImageServiceProperties test_detail_passes_through_to_client OK test_show_passes_through_to_client OK TestMutatorDateTimeTests test_create_handles_datetimes OK test_create_handles_none_datetimes OK test_update_handles_datetimes OK test_update_handles_none_datetimes OK ExtensionsTest test_get_foxnsocks OK LoginTest test_bad_login_both_bad OK test_bad_login_password OK test_bad_login_username OK test_login OK ServersTest test_create_and_delete_server OK test_create_server_with_metadata OK test_get_servers OK VolumesTest test_attach_and_detach_volume OK test_create_and_delete_volume OK test_get_volumes OK test_get_volumes_summary OK XmlTests test_namespace_limits OK test_namespace_servers OK AccessTestCase test_001_allow_all OK test_002_allow_none OK test_003_allow_project_manager OK test_004_allow_sys_and_net OK ApiEc2TestCase test_authorize_revoke_security_group_cidr OK test_authorize_revoke_security_group_cidr_v6 OK test_authorize_revoke_security_group_foreign_group OK test_create_delete_security_group OK test_describe_instances OK test_get_all_key_pairs OK test_get_all_security_groups OK test_return_valid_isoformat OK test_terminate_invalid_instance OK test_xmlns_version_matches_request_version OK XmlConversionTestCase test_number_conversion OK AuthManagerDbTestCase test_004_signature_is_valid OK test_005_can_get_credentials OK test_add_user_role_doesnt_infect_project_roles OK test_adding_role_to_project_is_ignored_unless_added_to_user OK test_can_add_and_remove_user_role OK test_can_add_remove_user_with_role OK test_can_add_user_to_project OK test_can_create_and_get_project OK test_can_create_and_get_project_with_attributes OK test_can_create_project_with_manager OK test_can_delete_project OK test_can_delete_user OK test_can_generate_x509 OK test_can_list_project_roles OK test_can_list_projects OK test_can_list_user_roles OK test_can_list_users OK test_can_modify_project OK test_can_modify_users OK test_can_remove_project_role_but_keep_user_role OK test_can_remove_user_from_project OK test_can_remove_user_roles OK test_can_retrieve_project_by_user OK test_create_and_find_user OK test_create_and_find_with_properties OK test_create_project_assigns_manager_to_members OK test_modify_project_adds_new_manager OK test_no_extra_project_managers OK test_no_extra_project_members OK test_removing_user_role_hides_it_from_project OK AuthManagerLdapTestCase test_004_signature_is_valid OK test_005_can_get_credentials OK test_add_user_role_doesnt_infect_project_roles OK test_adding_role_to_project_is_ignored_unless_added_to_user OK test_can_add_and_remove_user_role OK test_can_add_remove_user_with_role OK test_can_add_user_to_project OK test_can_create_and_get_project OK test_can_create_and_get_project_with_attributes OK test_can_create_project_with_manager OK test_can_delete_project OK test_can_delete_user OK test_can_generate_x509 OK test_can_list_project_roles OK test_can_list_projects OK test_can_list_user_roles OK test_can_list_users OK test_can_modify_project OK test_can_modify_users OK test_can_remove_project_role_but_keep_user_role OK test_can_remove_user_from_project OK test_can_remove_user_roles OK test_can_retrieve_project_by_user OK test_create_and_find_user OK test_create_and_find_with_properties OK test_create_project_assigns_manager_to_members OK test_modify_project_adds_new_manager OK test_no_extra_project_managers OK test_no_extra_project_members OK test_removing_user_role_hides_it_from_project OK CloudTestCase test_ajax_console OK test_associate_disassociate_address OK test_console_output OK test_delete_key_pair OK test_describe_addresses OK test_describe_availability_zones OK test_describe_image_attribute OK test_describe_images OK test_describe_instances OK test_describe_key_pairs OK test_describe_regions OK test_describe_security_groups OK test_describe_volumes OK test_key_generation OK test_modify_image_attribute OK test_run_instances OK test_terminate_instances OK test_update_of_instance_display_fields OK test_update_of_instance_wont_update_private_fields OK test_update_of_volume_display_fields OK test_update_of_volume_wont_update_private_fields OK ComputeTestCase test_ajax_console OK test_console_output OK test_create_instance_associates_security_groups OK test_create_instance_defaults_display_name OK test_destroy_instance_disassociates_security_groups OK test_destroy_security_group_disassociates_instances OK test_get_by_flavor_id OK test_inject_file OK test_live_migration_dest_raises_exception OK test_live_migration_dest_raises_exception_no_volume OK test_live_migration_works_correctly_no_volume OK test_live_migration_works_correctly_with_volume OK test_lock OK test_pause OK test_post_live_migration_working_correctly OK test_pre_live_migration_instance_has_no_fixed_ip OK test_pre_live_migration_instance_has_no_volume OK test_pre_live_migration_instance_has_volume OK test_pre_live_migration_setup_compute_node_fail OK test_reboot OK test_resize_down_fails OK test_resize_instance OK test_resize_invalid_flavor_fails OK test_resize_same_size_fails OK test_resize_same_source_fails OK test_run_instance_existing OK test_run_kill_vm OK test_run_terminate OK test_run_terminate_timestamps OK test_set_admin_password OK test_snapshot OK test_suspend OK test_vnc_console OK ConsoleTestCase test_add_console OK test_add_console_does_not_duplicate OK test_get_pool_creates_new_pool_if_needed OK test_get_pool_does_not_create_new_pool_if_exists OK test_get_pool_for_instance_host OK test_remove_console OK DirectCloudTestCase test_ajax_console OK test_associate_disassociate_address OK test_console_output OK test_delete_key_pair OK test_describe_addresses OK test_describe_availability_zones OK test_describe_image_attribute OK test_describe_images OK test_describe_instances OK test_describe_key_pairs OK test_describe_regions OK test_describe_security_groups OK test_describe_volumes OK test_key_generation OK test_modify_image_attribute OK test_run_instances OK test_terminate_instances OK test_update_of_instance_display_fields OK test_update_of_instance_wont_update_private_fields OK test_update_of_volume_display_fields OK test_update_of_volume_wont_update_private_fields OK DirectTestCase test_delegated_auth OK test_invalid OK test_json_params OK test_post_params OK test_proxy OK ApiErrorTestCase test_return_valid_error OK FlagsTestCase test_declare OK test_define OK test_flag_leak_left OK test_flag_leak_right OK test_runtime_and_unknown_flags OK InstanceTypeTestCase test_get_all_instance_types OK test_instance_type_create_then_delete OK test_invalid_create_args_should_fail OK test_non_existant_inst_type_shouldnt_delete OK test_repeated_inst_types_should_raise_api_error OK LocalizationTestCase test_multiple_positional_format_placeholders OK LogHandlerTestCase test_log_path_logdir OK test_log_path_logfile OK test_log_path_logfile_overrides_logdir OK test_log_path_none OK NovaFormatterTestCase test_contextualized_log OK test_debugging_log OK test_uncontextualized_log OK NovaLoggerTestCase test_child_log_has_level_of_parent_flag OK test_has_level_from_flags OK RootLoggerTestCase test_handlers_have_nova_formatter OK test_handles_context_kwarg OK test_is_nova_instance OK test_module_level_audit_handles_context_arg OK test_module_level_methods_handle_context_arg OK test_name_is_nova OK test_will_be_verbose_if_verbose_flag_set OK test_will_not_be_verbose_if_verbose_flag_not_set OK LockoutTestCase test_lockout OK test_multiple_keys OK test_timeout OK test_window_timeout OK LockTestCase test_synchronized_externally OK test_synchronized_internally OK test_synchronized_wrapped_function_metadata OK ProjectTestCase test_authors_up_to_date OK IptablesManagerTestCase test_filter_rules OK test_filter_rules_are_wrapped OK test_nat_rules OK S3APITestCase test_000_list_buckets OK test_001_create_and_delete_bucket OK test_002_create_bucket_and_key_and_delete_key_again OK test_unknown_bucket OK QuotaTestCase test_allowed_injected_file_content_bytes OK test_allowed_injected_file_path_bytes OK test_allowed_injected_files OK test_max_injected_file_content_bytes OK test_max_injected_file_path_bytes OK test_max_injected_files OK test_no_injected_files OK test_quota_overrides OK test_too_many_addresses OK test_too_many_cores OK test_too_many_gigabytes OK test_too_many_injected_file_content_bytes OK test_too_many_injected_file_path_bytes OK test_too_many_injected_files OK test_too_many_instances OK test_too_many_metadata_items OK test_too_many_volumes OK RpcTestCase test_call_exception OK test_call_succeed OK test_context_passed OK test_nested_calls OK DynamicNovaClientTest test_issue_novaclient_command_found OK test_issue_novaclient_command_not_found OK SchedulerTestCase test_fallback OK test_named_method OK test_show_host_resources_host_not_exit OK test_show_host_resources_no_project OK test_show_host_resources_works_correctly OK SimpleDriverTestCase test_doesnt_report_disabled_hosts_as_up OK test_least_busy_host_gets_instance OK test_least_busy_host_gets_volume OK test_live_migration_common_check_checking_cpuinfo_fail OK test_live_migration_common_check_service_different_hypervisorOK test_live_migration_common_check_service_different_version OK test_live_migration_common_check_service_orig_not_exists OK test_live_migration_dest_check_not_alive OK test_live_migration_dest_check_service_lack_memory OK test_live_migration_dest_check_service_same_host OK test_live_migration_dest_check_service_works_correctly OK test_live_migration_src_check_compute_node_not_alive OK test_live_migration_src_check_instance_not_running OK test_live_migration_src_check_volume_node_not_alive OK test_live_migration_src_check_works_correctly OK test_reports_enabled_hosts_as_up OK test_scheduler_live_migration_with_volume OK test_specific_host_gets_instance OK test_too_many_cores OK test_too_many_gigabytes OK test_will_schedule_on_disabled_host_if_specified OK test_wont_sechedule_if_specified_host_is_down OK ZoneRedirectTest test_get_collection_context_and_id OK test_routing_flags OK test_trap_found_locally OK test_trap_not_found_locally OK test_unmarshal_single_server OK ZoneSchedulerTestCase test_with_two_zones OK ServiceFlagsTestCase test_service_disabled_on_create_based_on_flag OK test_service_enabled_on_create_based_on_flag OK ServiceManagerTestCase test_message_gets_to_manager OK test_override_manager_method OK ServiceTestCase test_compute_can_update_available_resource OK test_create OK test_report_state_newly_connected OK test_report_state_newly_disconnected OK test_report_state_no_service OK IsolationTestCase test_rpc_consumer_isolation OK test_service_isolation OK TwistdTestCase test_basic OK test_help OK test_logfile OK ExecuteTestCase test_no_retry_on_success OK test_retry_on_failure OK test_unknown_kwargs_raises_error OK GetFromPathTestCase test_accepts_dictionaries OK test_bad_xpath OK test_does_select OK test_flattens_lists OK test_real_failure1 OK test_tolerates_nones OK CacheConcurrencyTestCase test_different_fname_concurrency OK test_same_fname_concurrency OK IptablesFirewallTestCase multinic_iptables_test OK test_filters_for_instance_with_ip_v6 OK test_filters_for_instance_without_ip_v6 OK test_static_filters OK LibvirtConnTestCase test_ensure_filtering_rules_for_instance_timeout OK test_get_host_ip_addr OK test_get_nic_for_xml_v4 OK test_get_nic_for_xml_v6 OK test_live_migration_raises_exception OK test_lxc_container_and_uri OK test_multi_nic OK test_preparing_xml_info OK test_spawn_with_network_info OK test_update_available_resource_works_correctly OK test_update_resource_info_no_compute_record_found OK test_xml_and_uri OK test_xml_and_uri_no_kernel OK test_xml_and_uri_no_ramdisk OK test_xml_and_uri_no_ramdisk_no_kernel OK test_xml_and_uri_rescue OK NWFilterTestCase test_cidr_rule_nwfilter_xml OK test_create_network_filters OK test_creates_base_rule_first OK VlanNetworkTestCase test_allocate_deallocate_fixed_ip OK test_available_ips OK test_ips_are_reused OK test_private_ipv6 OK test_public_network_association OK test_side_effects OK test_subnet_edge OK test_too_many_addresses OK test_too_many_networks OK test_vpn_ip_and_port_looks_valid OK VMWareAPIVMTestCase test_destroy OK test_destroy_non_existent OK test_diagnostics OK test_get_ajax_console OK test_get_console_output OK test_get_info OK test_list_instances OK test_list_instances_1 OK test_pause OK test_reboot OK test_reboot_non_existent OK test_reboot_not_poweredon OK test_resume OK test_resume_non_existent OK test_resume_not_suspended OK test_snapshot OK test_snapshot_non_existent OK test_spawn OK test_suspend OK test_suspend_non_existent OK test_unpause OK AOETestCase test_check_for_export_with_all_vblade_processes OK test_check_for_export_with_no_volume OK test_check_for_export_with_vblade_process_missing OK ISCSITestCase test_check_for_export_with_all_volume_exported OK test_check_for_export_with_no_volume OK test_check_for_export_with_some_volume_missing OK VolumeTestCase test_concurrent_volumes_get_different_targets OK test_create_delete_volume OK test_multi_node OK test_run_attach_detach_volume OK test_too_big_volume OK test_too_many_volumes OK XenAPIDetermineDiskImageTestCase test_glance_disk_raw OK test_glance_disk_vhd OK test_instance_disk OK test_instance_disk_raw OK XenAPIDiffieHellmanTestCase test_encryption OK test_shared OK XenAPIMigrateInstance test_finish_resize ERROR test_migrate_disk_and_power_off OK XenAPIVMTestCase test_get_diagnostics ERROR test_instance_snapshot ERROR test_list_instances_0 OK test_rescue ERROR test_spawn_glance ERROR test_spawn_netinject_file ERROR test_spawn_netinject_xenstore ERROR test_spawn_not_enough_memory OK test_spawn_objectstore ERROR test_spawn_raw_glance ERROR test_spawn_raw_objectstore ERROR test_spawn_vhd_glance_linux ERROR test_spawn_vhd_glance_windows ERROR test_spawn_vlanmanager ERROR test_spawn_with_network_qos ERROR test_unrescue ERROR XenAPIVolumeTestCase test_attach_volume OK test_attach_volume_raise_exception OK test_create_iscsi_storage OK test_parse_volume_info_raise_exception OK ZoneManagerTestCase test_ping OK test_poll_zone OK test_poll_zone_fails OK test_refresh_from_db_add_and_delete OK test_refresh_from_db_missing OK test_refresh_from_db_new OK test_refresh_from_db_replace_existing OK test_service_capabilities OK ====================================================================== ERROR: test_finish_resize (nova.tests.test_xenapi.XenAPIMigrateInstance) ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/tmpv6MFQF/nova/tests/test_xenapi.py", line 610, in test_finish_resize conn.finish_resize(instance, dict(base_copy='hurr', cow='durr')) File "/tmp/tmpv6MFQF/nova/virt/xenapi_conn.py", line 196, in finish_resize self._vmops.finish_resize(instance, disk_info) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 94, in finish_resize vm_ref = self._create_vm(instance, vdi_uuid) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 178, in _create_vm self.inject_network_info(instance, network_info, vm_ref) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 838, in inject_network_info self._inject_network_info(instance, network_info, vm_ref) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 864, in _inject_network_info instance, location, vm_ref=vm_ref) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 972, in _make_plugin_call args = {'dom_id': vm_rec['domid'], 'path': path} KeyError: 'domid' -------------------- >> begin captured logging << -------------------- 2011-05-04 14:30:57,983 AUDIT nova.auth.manager [-] Created user fake (admin: True) 2011-05-04 14:30:57,988 AUDIT nova.auth.manager [-] Created project fake with manager fake 2011-05-04 14:30:58,006 DEBUG nova.virt.xenapi.fake [-] Calling getter session.get_this_host from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,014 DEBUG nova.virt.xenapi.fake [-] Calling host.call_plugin > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:58,017 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_by_name_label from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,018 DEBUG nova.virt.xenapi.fake [-] Calling getter session.get_this_host from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,019 DEBUG nova.virt.xenapi.fake [-] Calling host.compute_free_memory > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:58,023 DEBUG nova.virt.xenapi.fake [-] Calling VDI.get_by_uuid > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:58,025 DEBUG nova.virt.xenapi.vm_utils [-] Detected DISK format for image 1, instance 1 from (pid=31138) log_disk_format /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:494 2011-05-04 14:30:58,026 DEBUG nova.virt.xenapi.vm_utils [-] Looking up vdi hurr for PV kernel from (pid=31138) _determine_is_pv_glance /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:617 2011-05-04 14:30:58,027 DEBUG nova.virt.xenapi.vm_utils [-] Created VM instance-00000001... from (pid=31138) create_vm /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:163 2011-05-04 14:30:58,030 DEBUG nova.virt.xenapi.vm_utils [-] Created VM instance-00000001 as 620807b1-d1c8-496c-8908-fdc4862ec41e. from (pid=31138) create_vm /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:166 2011-05-04 14:30:58,031 DEBUG nova.virt.xenapi.vm_utils [-] Creating VBD for VM 620807b1-d1c8-496c-8908-fdc4862ec41e, VDI hurr ... from (pid=31138) create_vbd /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:198 2011-05-04 14:30:58,034 DEBUG nova.virt.xenapi.vm_utils [-] Created VBD 3c0ef69d-3691-4afa-80b1-883999d978dc for VM 620807b1-d1c8-496c-8908-fdc4862ec41e, VDI hurr. from (pid=31138) create_vbd /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:201 2011-05-04 14:30:58,050 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_by_uuid from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,050 DEBUG nova.virt.xenapi.vm_utils [-] Creating VBD for VDI hurr ... from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:919 2011-05-04 14:30:58,051 DEBUG nova.virt.xenapi.vm_utils [-] Creating VBD for VDI hurr done. from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:921 2011-05-04 14:30:58,052 DEBUG nova.virt.xenapi.vm_utils [-] Plugging VBD 4c745bc7-2e48-4ddc-8e38-58947e43e6ff ... from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:923 2011-05-04 14:30:58,053 DEBUG nova.virt.xenapi.fake [-] Calling VBD.plug > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:58,054 DEBUG nova.virt.xenapi.vm_utils [-] Plugging VBD 4c745bc7-2e48-4ddc-8e38-58947e43e6ff done. from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:925 2011-05-04 14:30:58,055 DEBUG nova.virt.xenapi.fake [-] Calling getter VBD.get_device from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,056 DEBUG nova.virt.xenapi.vm_utils [-] VBD 4c745bc7-2e48-4ddc-8e38-58947e43e6ff plugged as autodetect from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:927 2011-05-04 14:30:58,057 DEBUG nova.tests.fake_utils [-] Faking execution of cmd (subprocess): sudo mount -t ext2,ext3 /dev/autodetect1 /tmp/tmprOSEWd from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:71 2011-05-04 14:30:58,058 DEBUG nova.tests.fake_utils [-] Reply to faked command is stdout='' stderr='' from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:99 2011-05-04 14:30:58,059 INFO nova.virt.xenapi.vm_utils [-] XenServer tools are not installed in this image 2011-05-04 14:30:58,059 INFO nova.virt.xenapi.vm_utils [-] Manipulating interface files directly 2011-05-04 14:30:58,060 DEBUG nova.tests.fake_utils [-] Faking execution of cmd (subprocess): sudo mkdir -p /tmp/tmprOSEWd/root/.ssh from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:71 2011-05-04 14:30:58,061 DEBUG nova.tests.fake_utils [-] Reply to faked command is stdout='' stderr='' from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:99 2011-05-04 14:30:58,062 DEBUG nova.tests.fake_utils [-] Faking execution of cmd (subprocess): sudo chown root /tmp/tmprOSEWd/root/.ssh from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:71 2011-05-04 14:30:58,062 DEBUG nova.tests.fake_utils [-] Reply to faked command is stdout='' stderr='' from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:99 2011-05-04 14:30:58,063 DEBUG nova.tests.fake_utils [-] Faking execution of cmd (subprocess): sudo chmod 700 /tmp/tmprOSEWd/root/.ssh from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:71 2011-05-04 14:30:58,064 DEBUG nova.tests.fake_utils [-] Reply to faked command is stdout='' stderr='' from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:99 2011-05-04 14:30:58,066 DEBUG nova.tests.fake_utils [-] Faking execution of cmd (subprocess): sudo tee -a /tmp/tmprOSEWd/root/.ssh/authorized_keys from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:71 2011-05-04 14:30:58,067 DEBUG nova.tests.fake_utils [-] Reply to faked command is stdout='' stderr='' from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:99 2011-05-04 14:30:58,068 DEBUG nova.tests.fake_utils [-] Faking execution of cmd (subprocess): sudo mkdir -p /tmp/tmprOSEWd/etc/network from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:71 2011-05-04 14:30:58,069 DEBUG nova.tests.fake_utils [-] Reply to faked command is stdout='' stderr='' from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:99 2011-05-04 14:30:58,070 DEBUG nova.tests.fake_utils [-] Faking execution of cmd (subprocess): sudo chown root:root /tmp/tmprOSEWd/etc/network from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:71 2011-05-04 14:30:58,071 DEBUG nova.tests.fake_utils [-] Reply to faked command is stdout='' stderr='' from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:99 2011-05-04 14:30:58,072 DEBUG nova.tests.fake_utils [-] Faking execution of cmd (subprocess): sudo chmod 755 /tmp/tmprOSEWd/etc/network from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:71 2011-05-04 14:30:58,073 DEBUG nova.tests.fake_utils [-] Reply to faked command is stdout='' stderr='' from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:99 2011-05-04 14:30:58,074 DEBUG nova.tests.fake_utils [-] Faking execution of cmd (subprocess): sudo tee /tmp/tmprOSEWd/etc/network/interfaces from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:71 2011-05-04 14:30:58,074 DEBUG nova.tests.fake_utils [-] Reply to faked command is stdout='' stderr='' from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:99 2011-05-04 14:30:58,075 DEBUG nova.tests.fake_utils [-] Faking execution of cmd (subprocess): sudo umount /dev/autodetect1 from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:71 2011-05-04 14:30:58,076 DEBUG nova.tests.fake_utils [-] Reply to faked command is stdout='' stderr='' from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:99 2011-05-04 14:30:58,077 DEBUG nova.virt.xenapi.vm_utils [-] Destroying VBD for VDI hurr ... from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:939 2011-05-04 14:30:58,078 DEBUG nova.virt.xenapi.fake [-] Calling VBD.unplug > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:58,079 DEBUG nova.virt.xenapi.vm_utils [-] VBD.unplug successful first time. from (pid=31138) vbd_unplug_with_retry /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:954 2011-05-04 14:30:58,080 DEBUG nova.virt.xenapi.vm_utils [-] Destroying VBD for VDI hurr done. from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:942 2011-05-04 14:30:58,081 DEBUG nova [-] creating vif(s) for vm: |620807b1-d1c8-496c-8908-fdc4862ec41e| from (pid=31138) create_vifs /tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py:885 2011-05-04 14:30:58,081 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,083 DEBUG nova.virt.xenapi.fake [-] Calling network.get_all_records_where > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:58,085 DEBUG nova.virt.xenapi.fake [-] Calling getter network.get_all_records from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,090 DEBUG nova.virt.xenapi.vm_utils [-] Creating VIF for VM 620807b1-d1c8-496c-8908-fdc4862ec41e, network 1dd71caa-83da-4055-9d1f-70bbbd024caa. from (pid=31138) create_vif /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:254 2011-05-04 14:30:58,093 DEBUG nova.virt.xenapi.vm_utils [-] Created VIF d20d18b7-9888-40b6-9dfc-dbf81dcb78e8 for VM 620807b1-d1c8-496c-8908-fdc4862ec41e, network 1dd71caa-83da-4055-9d1f-70bbbd024caa. from (pid=31138) create_vif /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:257 2011-05-04 14:30:58,094 DEBUG nova [-] injecting network info to xs for vm: |620807b1-d1c8-496c-8908-fdc4862ec41e| from (pid=31138) _inject_network_info /tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py:847 2011-05-04 14:30:58,095 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,096 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_uuid from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,098 DEBUG nova.virt.xenapi.fake [-] Calling VM.get_xenstore_data > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:58,101 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 --------------------- >> end captured logging << --------------------- ====================================================================== ERROR: test_get_diagnostics (nova.tests.test_xenapi.XenAPIVMTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/tmpv6MFQF/nova/tests/test_xenapi.py", line 205, in test_get_diagnostics instance = self._create_instance() File "/tmp/tmpv6MFQF/nova/tests/test_xenapi.py", line 530, in _create_instance self.conn.spawn(instance) File "/tmp/tmpv6MFQF/nova/virt/xenapi_conn.py", line 188, in spawn self._vmops.spawn(instance) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 118, in spawn vm_ref = self._create_vm(instance, vdi_uuid, network_info) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 178, in _create_vm self.inject_network_info(instance, network_info, vm_ref) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 838, in inject_network_info self._inject_network_info(instance, network_info, vm_ref) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 864, in _inject_network_info instance, location, vm_ref=vm_ref) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 972, in _make_plugin_call args = {'dom_id': vm_rec['domid'], 'path': path} KeyError: 'domid' -------------------- >> begin captured logging << -------------------- 2011-05-04 14:30:58,163 AUDIT nova.auth.manager [-] Created user fake (admin: True) 2011-05-04 14:30:58,166 AUDIT nova.auth.manager [-] Created project fake with manager fake 2011-05-04 14:30:58,178 DEBUG nova.virt.xenapi.vm_utils [-] Detected DISK format for image 1, instance 1 from (pid=31138) log_disk_format /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:494 2011-05-04 14:30:58,180 DEBUG nova.virt.xenapi.fake [-] Calling getter session.get_this_host from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,180 DEBUG nova.virt.xenapi.fake [-] Calling getter SR.get_all from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,181 DEBUG nova.virt.xenapi.fake [-] Calling getter SR.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,182 DEBUG nova.virt.xenapi.fake [-] Calling getter PBD.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,183 DEBUG nova.virt.xenapi.vm_utils [-] Size for image 1:0 from (pid=31138) _fetch_image_glance_disk /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:442 2011-05-04 14:30:58,184 DEBUG nova.virt.xenapi.vm_utils [-] Created VDI 40215148-d08b-4a08-bb24-6cced1f2c44e (Glance image 1, 32256, False) on 423353da-0a9a-434b-881a-309c7a0338ca. from (pid=31138) create_vdi /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:277 2011-05-04 14:30:58,185 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_by_uuid from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,186 DEBUG nova.virt.xenapi.vm_utils [-] Creating VBD for VDI 40215148-d08b-4a08-bb24-6cced1f2c44e ... from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:919 2011-05-04 14:30:58,187 DEBUG nova.virt.xenapi.vm_utils [-] Creating VBD for VDI 40215148-d08b-4a08-bb24-6cced1f2c44e done. from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:921 2011-05-04 14:30:58,187 DEBUG nova.virt.xenapi.vm_utils [-] Plugging VBD e29cc7d1-28f7-4df8-8697-0ecef3f12dea ... from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:923 2011-05-04 14:30:58,188 DEBUG nova.virt.xenapi.fake [-] Calling VBD.plug > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:58,189 DEBUG nova.virt.xenapi.vm_utils [-] Plugging VBD e29cc7d1-28f7-4df8-8697-0ecef3f12dea done. from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:925 2011-05-04 14:30:58,190 DEBUG nova.virt.xenapi.fake [-] Calling getter VBD.get_device from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,191 DEBUG nova.virt.xenapi.vm_utils [-] VBD e29cc7d1-28f7-4df8-8697-0ecef3f12dea plugged as autodetect from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:927 2011-05-04 14:30:58,191 DEBUG nova.virt.xenapi.vm_utils [-] Destroying VBD for VDI 40215148-d08b-4a08-bb24-6cced1f2c44e ... from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:939 2011-05-04 14:30:58,192 DEBUG nova.virt.xenapi.fake [-] Calling VBD.unplug > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:58,193 DEBUG nova.virt.xenapi.vm_utils [-] VBD.unplug successful first time. from (pid=31138) vbd_unplug_with_retry /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:954 2011-05-04 14:30:58,194 DEBUG nova.virt.xenapi.vm_utils [-] Destroying VBD for VDI 40215148-d08b-4a08-bb24-6cced1f2c44e done. from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:942 2011-05-04 14:30:58,195 DEBUG nova.virt.xenapi.fake [-] Calling getter VDI.get_uuid from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,195 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_by_name_label from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,196 DEBUG nova.virt.xenapi.fake [-] Calling getter session.get_this_host from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,197 DEBUG nova.virt.xenapi.fake [-] Calling host.compute_free_memory > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:58,202 DEBUG nova.virt.xenapi.fake [-] Calling getter VDI.get_by_uuid from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,206 DEBUG nova.virt.xenapi.vm_utils [-] Detected DISK format for image 1, instance 1 from (pid=31138) log_disk_format /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:494 2011-05-04 14:30:58,207 DEBUG nova.virt.xenapi.fake [-] Calling getter session.get_this_host from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,208 DEBUG nova.virt.xenapi.fake [-] Calling getter SR.get_all from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,209 DEBUG nova.virt.xenapi.fake [-] Calling getter SR.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,210 DEBUG nova.virt.xenapi.fake [-] Calling getter PBD.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,211 DEBUG nova.virt.xenapi.vm_utils [-] Size for image 2:0 from (pid=31138) _fetch_image_glance_disk /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:442 2011-05-04 14:30:58,212 DEBUG nova.virt.xenapi.vm_utils [-] Created VDI 893fc52f-ed33-4ab3-8ead-b507c98acb32 (Glance image 2, 0, False) on 423353da-0a9a-434b-881a-309c7a0338ca. from (pid=31138) create_vdi /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:277 2011-05-04 14:30:58,212 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_by_uuid from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,213 DEBUG nova.virt.xenapi.vm_utils [-] Creating VBD for VDI 893fc52f-ed33-4ab3-8ead-b507c98acb32 ... from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:919 2011-05-04 14:30:58,214 DEBUG nova.virt.xenapi.vm_utils [-] Creating VBD for VDI 893fc52f-ed33-4ab3-8ead-b507c98acb32 done. from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:921 2011-05-04 14:30:58,215 DEBUG nova.virt.xenapi.vm_utils [-] Plugging VBD c7424485-e596-4c2a-b2c4-ba9e0f390b20 ... from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:923 2011-05-04 14:30:58,216 DEBUG nova.virt.xenapi.fake [-] Calling VBD.plug > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:58,216 DEBUG nova.virt.xenapi.vm_utils [-] Plugging VBD c7424485-e596-4c2a-b2c4-ba9e0f390b20 done. from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:925 2011-05-04 14:30:58,217 DEBUG nova.virt.xenapi.fake [-] Calling getter VBD.get_device from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,218 DEBUG nova.virt.xenapi.vm_utils [-] VBD c7424485-e596-4c2a-b2c4-ba9e0f390b20 plugged as autodetect from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:927 2011-05-04 14:30:58,219 DEBUG nova.virt.xenapi.vm_utils [-] Destroying VBD for VDI 893fc52f-ed33-4ab3-8ead-b507c98acb32 ... from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:939 2011-05-04 14:30:58,220 DEBUG nova.virt.xenapi.fake [-] Calling VBD.unplug > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:58,221 DEBUG nova.virt.xenapi.vm_utils [-] VBD.unplug successful first time. from (pid=31138) vbd_unplug_with_retry /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:954 2011-05-04 14:30:58,221 DEBUG nova.virt.xenapi.vm_utils [-] Destroying VBD for VDI 893fc52f-ed33-4ab3-8ead-b507c98acb32 done. from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:942 2011-05-04 14:30:58,222 DEBUG nova.virt.xenapi.vm_utils [-] Copying VDI 893fc52f-ed33-4ab3-8ead-b507c98acb32 to /boot/guest on dom0 from (pid=31138) _fetch_image_glance_disk /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:458 2011-05-04 14:30:58,223 DEBUG nova.virt.xenapi.fake [-] Calling getter session.get_this_host from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,227 DEBUG nova.virt.xenapi.fake [-] Calling host.call_plugin > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:58,232 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_name_label from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,233 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_status from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,234 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_result from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,234 INFO nova.virt.xenapi [-] Task [Async.host.call_plugin] 51203494-3c8f-4696-a85e-db8face66e82 status: success ac967614-9d32-4f70-93e8-4c2d56f9942f 2011-05-04 14:30:58,245 DEBUG nova.virt.xenapi.fake [-] Calling VDI.destroy > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:58,246 DEBUG nova.virt.xenapi.vm_utils [-] Kernel/Ramdisk VDI 893fc52f-ed33-4ab3-8ead-b507c98acb32 destroyed from (pid=31138) _fetch_image_glance_disk /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:468 2011-05-04 14:30:58,247 DEBUG nova.virt.xenapi.fake [-] Calling getter session.get_this_host from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,248 DEBUG nova.virt.xenapi.fake [-] Calling getter SR.get_all from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,249 DEBUG nova.virt.xenapi.fake [-] Calling getter SR.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,249 DEBUG nova.virt.xenapi.fake [-] Calling getter PBD.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,250 DEBUG nova.virt.xenapi.vm_utils [-] Size for image 3:0 from (pid=31138) _fetch_image_glance_disk /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:442 2011-05-04 14:30:58,251 DEBUG nova.virt.xenapi.vm_utils [-] Created VDI a66f290e-b9c7-469f-bc05-f72e3464071e (Glance image 3, 0, False) on 423353da-0a9a-434b-881a-309c7a0338ca. from (pid=31138) create_vdi /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:277 2011-05-04 14:30:58,252 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_by_uuid from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,253 DEBUG nova.virt.xenapi.vm_utils [-] Creating VBD for VDI a66f290e-b9c7-469f-bc05-f72e3464071e ... from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:919 2011-05-04 14:30:58,254 DEBUG nova.virt.xenapi.vm_utils [-] Creating VBD for VDI a66f290e-b9c7-469f-bc05-f72e3464071e done. from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:921 2011-05-04 14:30:58,255 DEBUG nova.virt.xenapi.vm_utils [-] Plugging VBD 8f3d2172-37d3-4d52-bdda-c84ea240bd40 ... from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:923 2011-05-04 14:30:58,256 DEBUG nova.virt.xenapi.fake [-] Calling VBD.plug > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:58,257 DEBUG nova.virt.xenapi.vm_utils [-] Plugging VBD 8f3d2172-37d3-4d52-bdda-c84ea240bd40 done. from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:925 2011-05-04 14:30:58,258 DEBUG nova.virt.xenapi.fake [-] Calling getter VBD.get_device from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,258 DEBUG nova.virt.xenapi.vm_utils [-] VBD 8f3d2172-37d3-4d52-bdda-c84ea240bd40 plugged as autodetect from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:927 2011-05-04 14:30:58,259 DEBUG nova.virt.xenapi.vm_utils [-] Destroying VBD for VDI a66f290e-b9c7-469f-bc05-f72e3464071e ... from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:939 2011-05-04 14:30:58,260 DEBUG nova.virt.xenapi.fake [-] Calling VBD.unplug > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:58,261 DEBUG nova.virt.xenapi.vm_utils [-] VBD.unplug successful first time. from (pid=31138) vbd_unplug_with_retry /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:954 2011-05-04 14:30:58,262 DEBUG nova.virt.xenapi.vm_utils [-] Destroying VBD for VDI a66f290e-b9c7-469f-bc05-f72e3464071e done. from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:942 2011-05-04 14:30:58,263 DEBUG nova.virt.xenapi.vm_utils [-] Copying VDI a66f290e-b9c7-469f-bc05-f72e3464071e to /boot/guest on dom0 from (pid=31138) _fetch_image_glance_disk /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:458 2011-05-04 14:30:58,263 DEBUG nova.virt.xenapi.fake [-] Calling getter session.get_this_host from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,266 DEBUG nova.virt.xenapi.fake [-] Calling host.call_plugin > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:58,271 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_name_label from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,272 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_status from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,273 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_result from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,274 INFO nova.virt.xenapi [-] Task [Async.host.call_plugin] 61e3d644-49cd-4bee-af15-8991cddae8f5 status: success 3af0f09e-9873-43c9-97e6-097d73e61d65 2011-05-04 14:30:58,280 DEBUG nova.virt.xenapi.fake [-] Calling VDI.destroy > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:58,281 DEBUG nova.virt.xenapi.vm_utils [-] Kernel/Ramdisk VDI a66f290e-b9c7-469f-bc05-f72e3464071e destroyed from (pid=31138) _fetch_image_glance_disk /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:468 2011-05-04 14:30:58,282 DEBUG nova.virt.xenapi.vm_utils [-] Looking up vdi 40215148-d08b-4a08-bb24-6cced1f2c44e for PV kernel from (pid=31138) _determine_is_pv_glance /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:617 2011-05-04 14:30:58,283 DEBUG nova.virt.xenapi.vm_utils [-] Created VM 1... from (pid=31138) create_vm /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:163 2011-05-04 14:30:58,286 DEBUG nova.virt.xenapi.vm_utils [-] Created VM 1 as f81dc7ce-39d3-4b6d-a6d7-5887bc3f402c. from (pid=31138) create_vm /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:166 2011-05-04 14:30:58,287 DEBUG nova.virt.xenapi.vm_utils [-] Creating VBD for VM f81dc7ce-39d3-4b6d-a6d7-5887bc3f402c, VDI 40215148-d08b-4a08-bb24-6cced1f2c44e ... from (pid=31138) create_vbd /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:198 2011-05-04 14:30:58,291 DEBUG nova.virt.xenapi.vm_utils [-] Created VBD 7835b066-3102-403b-8e80-f86031271cb6 for VM f81dc7ce-39d3-4b6d-a6d7-5887bc3f402c, VDI 40215148-d08b-4a08-bb24-6cced1f2c44e. from (pid=31138) create_vbd /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:201 2011-05-04 14:30:58,293 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_by_uuid from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,294 DEBUG nova.virt.xenapi.vm_utils [-] Creating VBD for VDI 40215148-d08b-4a08-bb24-6cced1f2c44e ... from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:919 2011-05-04 14:30:58,295 DEBUG nova.virt.xenapi.vm_utils [-] Creating VBD for VDI 40215148-d08b-4a08-bb24-6cced1f2c44e done. from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:921 2011-05-04 14:30:58,295 DEBUG nova.virt.xenapi.vm_utils [-] Plugging VBD 0cf23cba-69f1-432a-b938-3c35a081531e ... from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:923 2011-05-04 14:30:58,296 DEBUG nova.virt.xenapi.fake [-] Calling VBD.plug > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:58,297 DEBUG nova.virt.xenapi.vm_utils [-] Plugging VBD 0cf23cba-69f1-432a-b938-3c35a081531e done. from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:925 2011-05-04 14:30:58,298 DEBUG nova.virt.xenapi.fake [-] Calling getter VBD.get_device from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,299 DEBUG nova.virt.xenapi.vm_utils [-] VBD 0cf23cba-69f1-432a-b938-3c35a081531e plugged as autodetect from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:927 2011-05-04 14:30:58,299 DEBUG nova.tests.fake_utils [-] Faking execution of cmd (subprocess): sudo mount -t ext2,ext3 /dev/autodetect1 /tmp/tmp2xRUJ3 from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:71 2011-05-04 14:30:58,300 DEBUG nova.tests.fake_utils [-] Reply to faked command is stdout='' stderr='' from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:99 2011-05-04 14:30:58,301 INFO nova.virt.xenapi.vm_utils [-] XenServer tools are not installed in this image 2011-05-04 14:30:58,302 INFO nova.virt.xenapi.vm_utils [-] Manipulating interface files directly 2011-05-04 14:30:58,302 DEBUG nova.tests.fake_utils [-] Faking execution of cmd (subprocess): sudo mkdir -p /tmp/tmp2xRUJ3/root/.ssh from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:71 2011-05-04 14:30:58,303 DEBUG nova.tests.fake_utils [-] Reply to faked command is stdout='' stderr='' from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:99 2011-05-04 14:30:58,304 DEBUG nova.tests.fake_utils [-] Faking execution of cmd (subprocess): sudo chown root /tmp/tmp2xRUJ3/root/.ssh from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:71 2011-05-04 14:30:58,305 DEBUG nova.tests.fake_utils [-] Reply to faked command is stdout='' stderr='' from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:99 2011-05-04 14:30:58,306 DEBUG nova.tests.fake_utils [-] Faking execution of cmd (subprocess): sudo chmod 700 /tmp/tmp2xRUJ3/root/.ssh from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:71 2011-05-04 14:30:58,307 DEBUG nova.tests.fake_utils [-] Reply to faked command is stdout='' stderr='' from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:99 2011-05-04 14:30:58,308 DEBUG nova.tests.fake_utils [-] Faking execution of cmd (subprocess): sudo tee -a /tmp/tmp2xRUJ3/root/.ssh/authorized_keys from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:71 2011-05-04 14:30:58,309 DEBUG nova.tests.fake_utils [-] Reply to faked command is stdout='' stderr='' from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:99 2011-05-04 14:30:58,310 DEBUG nova.tests.fake_utils [-] Faking execution of cmd (subprocess): sudo mkdir -p /tmp/tmp2xRUJ3/etc/network from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:71 2011-05-04 14:30:58,310 DEBUG nova.tests.fake_utils [-] Reply to faked command is stdout='' stderr='' from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:99 2011-05-04 14:30:58,311 DEBUG nova.tests.fake_utils [-] Faking execution of cmd (subprocess): sudo chown root:root /tmp/tmp2xRUJ3/etc/network from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:71 2011-05-04 14:30:58,312 DEBUG nova.tests.fake_utils [-] Reply to faked command is stdout='' stderr='' from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:99 2011-05-04 14:30:58,313 DEBUG nova.tests.fake_utils [-] Faking execution of cmd (subprocess): sudo chmod 755 /tmp/tmp2xRUJ3/etc/network from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:71 2011-05-04 14:30:58,314 DEBUG nova.tests.fake_utils [-] Reply to faked command is stdout='' stderr='' from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:99 2011-05-04 14:30:58,315 DEBUG nova.tests.fake_utils [-] Faking execution of cmd (subprocess): sudo tee /tmp/tmp2xRUJ3/etc/network/interfaces from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:71 2011-05-04 14:30:58,316 DEBUG nova.tests.fake_utils [-] Reply to faked command is stdout='' stderr='' from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:99 2011-05-04 14:30:58,317 DEBUG nova.tests.fake_utils [-] Faking execution of cmd (subprocess): sudo umount /dev/autodetect1 from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:71 2011-05-04 14:30:58,318 DEBUG nova.tests.fake_utils [-] Reply to faked command is stdout='' stderr='' from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:99 2011-05-04 14:30:58,319 DEBUG nova.virt.xenapi.vm_utils [-] Destroying VBD for VDI 40215148-d08b-4a08-bb24-6cced1f2c44e ... from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:939 2011-05-04 14:30:58,320 DEBUG nova.virt.xenapi.fake [-] Calling VBD.unplug > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:58,321 DEBUG nova.virt.xenapi.vm_utils [-] VBD.unplug successful first time. from (pid=31138) vbd_unplug_with_retry /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:954 2011-05-04 14:30:58,322 DEBUG nova.virt.xenapi.vm_utils [-] Destroying VBD for VDI 40215148-d08b-4a08-bb24-6cced1f2c44e done. from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:942 2011-05-04 14:30:58,323 DEBUG nova [-] creating vif(s) for vm: |f81dc7ce-39d3-4b6d-a6d7-5887bc3f402c| from (pid=31138) create_vifs /tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py:885 2011-05-04 14:30:58,323 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,326 DEBUG nova.virt.xenapi.fake [-] Calling network.get_all_records_where > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:58,328 DEBUG nova.virt.xenapi.fake [-] Calling getter network.get_all_records from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,332 DEBUG nova.virt.xenapi.vm_utils [-] Creating VIF for VM f81dc7ce-39d3-4b6d-a6d7-5887bc3f402c, network edded70c-0f69-41a8-a100-877928efa41e. from (pid=31138) create_vif /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:254 2011-05-04 14:30:58,335 DEBUG nova.virt.xenapi.vm_utils [-] Created VIF 27089493-9b67-4872-9689-cde55e5993ab for VM f81dc7ce-39d3-4b6d-a6d7-5887bc3f402c, network edded70c-0f69-41a8-a100-877928efa41e. from (pid=31138) create_vif /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:257 2011-05-04 14:30:58,336 DEBUG nova [-] injecting network info to xs for vm: |f81dc7ce-39d3-4b6d-a6d7-5887bc3f402c| from (pid=31138) _inject_network_info /tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py:847 2011-05-04 14:30:58,337 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,338 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_uuid from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,339 DEBUG nova.virt.xenapi.fake [-] Calling VM.get_xenstore_data > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:58,342 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 --------------------- >> end captured logging << --------------------- ====================================================================== ERROR: test_instance_snapshot (nova.tests.test_xenapi.XenAPIVMTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/tmpv6MFQF/nova/tests/test_xenapi.py", line 210, in test_instance_snapshot instance = self._create_instance() File "/tmp/tmpv6MFQF/nova/tests/test_xenapi.py", line 530, in _create_instance self.conn.spawn(instance) File "/tmp/tmpv6MFQF/nova/virt/xenapi_conn.py", line 188, in spawn self._vmops.spawn(instance) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 118, in spawn vm_ref = self._create_vm(instance, vdi_uuid, network_info) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 178, in _create_vm self.inject_network_info(instance, network_info, vm_ref) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 838, in inject_network_info self._inject_network_info(instance, network_info, vm_ref) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 864, in _inject_network_info instance, location, vm_ref=vm_ref) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 972, in _make_plugin_call args = {'dom_id': vm_rec['domid'], 'path': path} KeyError: 'domid' -------------------- >> begin captured logging << -------------------- 2011-05-04 14:30:58,368 AUDIT nova.auth.manager [-] Created user fake (admin: True) 2011-05-04 14:30:58,370 AUDIT nova.auth.manager [-] Created project fake with manager fake 2011-05-04 14:30:58,382 DEBUG nova.virt.xenapi.vm_utils [-] Detected DISK format for image 1, instance 1 from (pid=31138) log_disk_format /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:494 2011-05-04 14:30:58,384 DEBUG nova.virt.xenapi.fake [-] Calling getter VDI.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,385 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_by_name_label from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,386 DEBUG nova.virt.xenapi.fake [-] Calling getter session.get_this_host from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,387 DEBUG nova.virt.xenapi.fake [-] Calling host.compute_free_memory > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:58,390 DEBUG nova.virt.xenapi.fake [-] Calling getter VDI.get_by_uuid from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,478 DEBUG nova.virt.xenapi.vm_utils [-] Detected DISK format for image 1, instance 1 from (pid=31138) log_disk_format /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:494 2011-05-04 14:30:58,479 DEBUG nova.virt.xenapi.fake [-] Calling getter VDI.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,480 DEBUG nova.virt.xenapi.fake [-] Calling getter VDI.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,481 DEBUG nova.virt.xenapi.vm_utils [-] Looking up vdi 73e2441d-5db4-4682-bc71-1dea0091a65c for PV kernel from (pid=31138) _determine_is_pv_glance /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:617 2011-05-04 14:30:58,482 DEBUG nova.virt.xenapi.vm_utils [-] Created VM 1... from (pid=31138) create_vm /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:163 2011-05-04 14:30:58,484 DEBUG nova.virt.xenapi.vm_utils [-] Created VM 1 as 681ba9bf-49a6-44e4-aaca-bcfe7eafef11. from (pid=31138) create_vm /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:166 2011-05-04 14:30:58,485 DEBUG nova.virt.xenapi.vm_utils [-] Creating VBD for VM 681ba9bf-49a6-44e4-aaca-bcfe7eafef11, VDI 73e2441d-5db4-4682-bc71-1dea0091a65c ... from (pid=31138) create_vbd /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:198 2011-05-04 14:30:58,488 DEBUG nova.virt.xenapi.vm_utils [-] Created VBD abd5d45b-5c1a-4192-83d0-9230023e22e3 for VM 681ba9bf-49a6-44e4-aaca-bcfe7eafef11, VDI 73e2441d-5db4-4682-bc71-1dea0091a65c. from (pid=31138) create_vbd /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:201 2011-05-04 14:30:58,490 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_by_uuid from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,491 DEBUG nova.virt.xenapi.vm_utils [-] Creating VBD for VDI 73e2441d-5db4-4682-bc71-1dea0091a65c ... from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:919 2011-05-04 14:30:58,491 DEBUG nova.virt.xenapi.vm_utils [-] Creating VBD for VDI 73e2441d-5db4-4682-bc71-1dea0091a65c done. from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:921 2011-05-04 14:30:58,492 DEBUG nova.virt.xenapi.vm_utils [-] Plugging VBD 35a0fe8f-552c-4314-ba83-39c69b3defe4 ... from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:923 2011-05-04 14:30:58,493 DEBUG nova.virt.xenapi.fake [-] Calling VBD.plug > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:58,494 DEBUG nova.virt.xenapi.vm_utils [-] Plugging VBD 35a0fe8f-552c-4314-ba83-39c69b3defe4 done. from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:925 2011-05-04 14:30:58,495 DEBUG nova.virt.xenapi.fake [-] Calling getter VBD.get_device from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,496 DEBUG nova.virt.xenapi.vm_utils [-] VBD 35a0fe8f-552c-4314-ba83-39c69b3defe4 plugged as autodetect from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:927 2011-05-04 14:30:58,497 DEBUG nova.tests.fake_utils [-] Faking execution of cmd (subprocess): sudo mount -t ext2,ext3 /dev/autodetect1 /tmp/tmp22uvwF from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:71 2011-05-04 14:30:58,497 DEBUG nova.tests.fake_utils [-] Reply to faked command is stdout='' stderr='' from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:99 2011-05-04 14:30:58,498 INFO nova.virt.xenapi.vm_utils [-] XenServer tools are not installed in this image 2011-05-04 14:30:58,499 INFO nova.virt.xenapi.vm_utils [-] Manipulating interface files directly 2011-05-04 14:30:58,499 DEBUG nova.tests.fake_utils [-] Faking execution of cmd (subprocess): sudo mkdir -p /tmp/tmp22uvwF/root/.ssh from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:71 2011-05-04 14:30:58,500 DEBUG nova.tests.fake_utils [-] Reply to faked command is stdout='' stderr='' from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:99 2011-05-04 14:30:58,501 DEBUG nova.tests.fake_utils [-] Faking execution of cmd (subprocess): sudo chown root /tmp/tmp22uvwF/root/.ssh from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:71 2011-05-04 14:30:58,502 DEBUG nova.tests.fake_utils [-] Reply to faked command is stdout='' stderr='' from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:99 2011-05-04 14:30:58,503 DEBUG nova.tests.fake_utils [-] Faking execution of cmd (subprocess): sudo chmod 700 /tmp/tmp22uvwF/root/.ssh from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:71 2011-05-04 14:30:58,504 DEBUG nova.tests.fake_utils [-] Reply to faked command is stdout='' stderr='' from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:99 2011-05-04 14:30:58,505 DEBUG nova.tests.fake_utils [-] Faking execution of cmd (subprocess): sudo tee -a /tmp/tmp22uvwF/root/.ssh/authorized_keys from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:71 2011-05-04 14:30:58,505 DEBUG nova.tests.fake_utils [-] Reply to faked command is stdout='' stderr='' from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:99 2011-05-04 14:30:58,506 DEBUG nova.tests.fake_utils [-] Faking execution of cmd (subprocess): sudo mkdir -p /tmp/tmp22uvwF/etc/network from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:71 2011-05-04 14:30:58,507 DEBUG nova.tests.fake_utils [-] Reply to faked command is stdout='' stderr='' from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:99 2011-05-04 14:30:58,508 DEBUG nova.tests.fake_utils [-] Faking execution of cmd (subprocess): sudo chown root:root /tmp/tmp22uvwF/etc/network from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:71 2011-05-04 14:30:58,509 DEBUG nova.tests.fake_utils [-] Reply to faked command is stdout='' stderr='' from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:99 2011-05-04 14:30:58,510 DEBUG nova.tests.fake_utils [-] Faking execution of cmd (subprocess): sudo chmod 755 /tmp/tmp22uvwF/etc/network from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:71 2011-05-04 14:30:58,511 DEBUG nova.tests.fake_utils [-] Reply to faked command is stdout='' stderr='' from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:99 2011-05-04 14:30:58,512 DEBUG nova.tests.fake_utils [-] Faking execution of cmd (subprocess): sudo tee /tmp/tmp22uvwF/etc/network/interfaces from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:71 2011-05-04 14:30:58,512 DEBUG nova.tests.fake_utils [-] Reply to faked command is stdout='' stderr='' from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:99 2011-05-04 14:30:58,513 DEBUG nova.tests.fake_utils [-] Faking execution of cmd (subprocess): sudo umount /dev/autodetect1 from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:71 2011-05-04 14:30:58,514 DEBUG nova.tests.fake_utils [-] Reply to faked command is stdout='' stderr='' from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:99 2011-05-04 14:30:58,515 DEBUG nova.virt.xenapi.vm_utils [-] Destroying VBD for VDI 73e2441d-5db4-4682-bc71-1dea0091a65c ... from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:939 2011-05-04 14:30:58,516 DEBUG nova.virt.xenapi.fake [-] Calling VBD.unplug > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:58,517 DEBUG nova.virt.xenapi.vm_utils [-] VBD.unplug successful first time. from (pid=31138) vbd_unplug_with_retry /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:954 2011-05-04 14:30:58,517 DEBUG nova.virt.xenapi.vm_utils [-] Destroying VBD for VDI 73e2441d-5db4-4682-bc71-1dea0091a65c done. from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:942 2011-05-04 14:30:58,518 DEBUG nova [-] creating vif(s) for vm: |681ba9bf-49a6-44e4-aaca-bcfe7eafef11| from (pid=31138) create_vifs /tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py:885 2011-05-04 14:30:58,519 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,521 DEBUG nova.virt.xenapi.fake [-] Calling network.get_all_records_where > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:58,524 DEBUG nova.virt.xenapi.fake [-] Calling getter network.get_all_records from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,526 DEBUG nova.virt.xenapi.vm_utils [-] Creating VIF for VM 681ba9bf-49a6-44e4-aaca-bcfe7eafef11, network 0b55fa87-8826-49ec-bbbf-fa82fddad199. from (pid=31138) create_vif /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:254 2011-05-04 14:30:58,529 DEBUG nova.virt.xenapi.vm_utils [-] Created VIF 6189ee5c-273a-4d1b-a526-a0947fb15293 for VM 681ba9bf-49a6-44e4-aaca-bcfe7eafef11, network 0b55fa87-8826-49ec-bbbf-fa82fddad199. from (pid=31138) create_vif /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:257 2011-05-04 14:30:58,530 DEBUG nova [-] injecting network info to xs for vm: |681ba9bf-49a6-44e4-aaca-bcfe7eafef11| from (pid=31138) _inject_network_info /tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py:847 2011-05-04 14:30:58,531 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,532 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_uuid from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,586 DEBUG nova.virt.xenapi.fake [-] Calling VM.get_xenstore_data > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:58,590 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 --------------------- >> end captured logging << --------------------- ====================================================================== ERROR: test_rescue (nova.tests.test_xenapi.XenAPIVMTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/tmpv6MFQF/nova/tests/test_xenapi.py", line 498, in test_rescue instance = self._create_instance() File "/tmp/tmpv6MFQF/nova/tests/test_xenapi.py", line 530, in _create_instance self.conn.spawn(instance) File "/tmp/tmpv6MFQF/nova/virt/xenapi_conn.py", line 188, in spawn self._vmops.spawn(instance) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 118, in spawn vm_ref = self._create_vm(instance, vdi_uuid, network_info) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 178, in _create_vm self.inject_network_info(instance, network_info, vm_ref) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 838, in inject_network_info self._inject_network_info(instance, network_info, vm_ref) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 864, in _inject_network_info instance, location, vm_ref=vm_ref) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 972, in _make_plugin_call args = {'dom_id': vm_rec['domid'], 'path': path} KeyError: 'domid' -------------------- >> begin captured logging << -------------------- 2011-05-04 14:30:58,627 AUDIT nova.auth.manager [-] Created user fake (admin: True) 2011-05-04 14:30:58,630 AUDIT nova.auth.manager [-] Created project fake with manager fake 2011-05-04 14:30:58,640 DEBUG nova.virt.xenapi.vm_utils [-] Detected DISK format for image 1, instance 1 from (pid=31138) log_disk_format /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:494 2011-05-04 14:30:58,641 DEBUG nova.virt.xenapi.fake [-] Calling getter session.get_this_host from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,642 DEBUG nova.virt.xenapi.fake [-] Calling getter SR.get_all from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,642 DEBUG nova.virt.xenapi.fake [-] Calling getter SR.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,643 DEBUG nova.virt.xenapi.fake [-] Calling getter PBD.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,644 DEBUG nova.virt.xenapi.vm_utils [-] Size for image 1:0 from (pid=31138) _fetch_image_glance_disk /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:442 2011-05-04 14:30:58,645 DEBUG nova.virt.xenapi.vm_utils [-] Created VDI 6e527f94-551e-4f4f-91f0-ee5045465f9a (Glance image 1, 32256, False) on 86573ce1-b319-4192-97e2-1f1b9dc36829. from (pid=31138) create_vdi /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:277 2011-05-04 14:30:58,646 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_by_uuid from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,647 DEBUG nova.virt.xenapi.vm_utils [-] Creating VBD for VDI 6e527f94-551e-4f4f-91f0-ee5045465f9a ... from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:919 2011-05-04 14:30:58,648 DEBUG nova.virt.xenapi.vm_utils [-] Creating VBD for VDI 6e527f94-551e-4f4f-91f0-ee5045465f9a done. from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:921 2011-05-04 14:30:58,648 DEBUG nova.virt.xenapi.vm_utils [-] Plugging VBD 038da70d-8f9a-4f45-a5b1-d2f0a47c7eb6 ... from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:923 2011-05-04 14:30:58,649 DEBUG nova.virt.xenapi.fake [-] Calling VBD.plug > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:58,650 DEBUG nova.virt.xenapi.vm_utils [-] Plugging VBD 038da70d-8f9a-4f45-a5b1-d2f0a47c7eb6 done. from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:925 2011-05-04 14:30:58,651 DEBUG nova.virt.xenapi.fake [-] Calling getter VBD.get_device from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,652 DEBUG nova.virt.xenapi.vm_utils [-] VBD 038da70d-8f9a-4f45-a5b1-d2f0a47c7eb6 plugged as autodetect from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:927 2011-05-04 14:30:58,652 DEBUG nova.virt.xenapi.vm_utils [-] Destroying VBD for VDI 6e527f94-551e-4f4f-91f0-ee5045465f9a ... from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:939 2011-05-04 14:30:58,653 DEBUG nova.virt.xenapi.fake [-] Calling VBD.unplug > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:58,654 DEBUG nova.virt.xenapi.vm_utils [-] VBD.unplug successful first time. from (pid=31138) vbd_unplug_with_retry /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:954 2011-05-04 14:30:58,655 DEBUG nova.virt.xenapi.vm_utils [-] Destroying VBD for VDI 6e527f94-551e-4f4f-91f0-ee5045465f9a done. from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:942 2011-05-04 14:30:58,655 DEBUG nova.virt.xenapi.fake [-] Calling getter VDI.get_uuid from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,656 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_by_name_label from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,657 DEBUG nova.virt.xenapi.fake [-] Calling getter session.get_this_host from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,658 DEBUG nova.virt.xenapi.fake [-] Calling host.compute_free_memory > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:58,661 DEBUG nova.virt.xenapi.fake [-] Calling getter VDI.get_by_uuid from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,665 DEBUG nova.virt.xenapi.vm_utils [-] Detected DISK format for image 1, instance 1 from (pid=31138) log_disk_format /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:494 2011-05-04 14:30:58,666 DEBUG nova.virt.xenapi.fake [-] Calling getter session.get_this_host from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,667 DEBUG nova.virt.xenapi.fake [-] Calling getter SR.get_all from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,668 DEBUG nova.virt.xenapi.fake [-] Calling getter SR.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,669 DEBUG nova.virt.xenapi.fake [-] Calling getter PBD.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,670 DEBUG nova.virt.xenapi.vm_utils [-] Size for image 2:0 from (pid=31138) _fetch_image_glance_disk /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:442 2011-05-04 14:30:58,671 DEBUG nova.virt.xenapi.vm_utils [-] Created VDI 99d7ea2b-dcec-4658-b8fe-ff90118d6cd4 (Glance image 2, 0, False) on 86573ce1-b319-4192-97e2-1f1b9dc36829. from (pid=31138) create_vdi /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:277 2011-05-04 14:30:58,671 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_by_uuid from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,672 DEBUG nova.virt.xenapi.vm_utils [-] Creating VBD for VDI 99d7ea2b-dcec-4658-b8fe-ff90118d6cd4 ... from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:919 2011-05-04 14:30:58,673 DEBUG nova.virt.xenapi.vm_utils [-] Creating VBD for VDI 99d7ea2b-dcec-4658-b8fe-ff90118d6cd4 done. from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:921 2011-05-04 14:30:58,674 DEBUG nova.virt.xenapi.vm_utils [-] Plugging VBD 482f081b-1e01-4125-a472-1ec3c3da3a3b ... from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:923 2011-05-04 14:30:58,675 DEBUG nova.virt.xenapi.fake [-] Calling VBD.plug > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:58,676 DEBUG nova.virt.xenapi.vm_utils [-] Plugging VBD 482f081b-1e01-4125-a472-1ec3c3da3a3b done. from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:925 2011-05-04 14:30:58,676 DEBUG nova.virt.xenapi.fake [-] Calling getter VBD.get_device from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,677 DEBUG nova.virt.xenapi.vm_utils [-] VBD 482f081b-1e01-4125-a472-1ec3c3da3a3b plugged as autodetect from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:927 2011-05-04 14:30:58,678 DEBUG nova.virt.xenapi.vm_utils [-] Destroying VBD for VDI 99d7ea2b-dcec-4658-b8fe-ff90118d6cd4 ... from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:939 2011-05-04 14:30:58,679 DEBUG nova.virt.xenapi.fake [-] Calling VBD.unplug > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:58,679 DEBUG nova.virt.xenapi.vm_utils [-] VBD.unplug successful first time. from (pid=31138) vbd_unplug_with_retry /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:954 2011-05-04 14:30:58,680 DEBUG nova.virt.xenapi.vm_utils [-] Destroying VBD for VDI 99d7ea2b-dcec-4658-b8fe-ff90118d6cd4 done. from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:942 2011-05-04 14:30:58,681 DEBUG nova.virt.xenapi.vm_utils [-] Copying VDI 99d7ea2b-dcec-4658-b8fe-ff90118d6cd4 to /boot/guest on dom0 from (pid=31138) _fetch_image_glance_disk /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:458 2011-05-04 14:30:58,682 DEBUG nova.virt.xenapi.fake [-] Calling getter session.get_this_host from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,684 DEBUG nova.virt.xenapi.fake [-] Calling host.call_plugin > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:58,688 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_name_label from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,689 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_status from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,690 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_result from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,690 INFO nova.virt.xenapi [-] Task [Async.host.call_plugin] c2a2c512-41c0-43b2-8f07-e9d40f5e4e9d status: success 0955444b-f4ce-43a1-a3f6-edc98bbbea2c 2011-05-04 14:30:58,696 DEBUG nova.virt.xenapi.fake [-] Calling VDI.destroy > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:58,697 DEBUG nova.virt.xenapi.vm_utils [-] Kernel/Ramdisk VDI 99d7ea2b-dcec-4658-b8fe-ff90118d6cd4 destroyed from (pid=31138) _fetch_image_glance_disk /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:468 2011-05-04 14:30:58,698 DEBUG nova.virt.xenapi.fake [-] Calling getter session.get_this_host from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,699 DEBUG nova.virt.xenapi.fake [-] Calling getter SR.get_all from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,700 DEBUG nova.virt.xenapi.fake [-] Calling getter SR.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,700 DEBUG nova.virt.xenapi.fake [-] Calling getter PBD.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,701 DEBUG nova.virt.xenapi.vm_utils [-] Size for image 3:0 from (pid=31138) _fetch_image_glance_disk /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:442 2011-05-04 14:30:58,702 DEBUG nova.virt.xenapi.vm_utils [-] Created VDI 07a68143-f23b-4ebc-bef4-6b1e3d057a27 (Glance image 3, 0, False) on 86573ce1-b319-4192-97e2-1f1b9dc36829. from (pid=31138) create_vdi /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:277 2011-05-04 14:30:58,703 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_by_uuid from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,704 DEBUG nova.virt.xenapi.vm_utils [-] Creating VBD for VDI 07a68143-f23b-4ebc-bef4-6b1e3d057a27 ... from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:919 2011-05-04 14:30:58,705 DEBUG nova.virt.xenapi.vm_utils [-] Creating VBD for VDI 07a68143-f23b-4ebc-bef4-6b1e3d057a27 done. from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:921 2011-05-04 14:30:58,706 DEBUG nova.virt.xenapi.vm_utils [-] Plugging VBD 9478fb65-70b4-47c9-b67a-99a24a3bb8a4 ... from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:923 2011-05-04 14:30:58,706 DEBUG nova.virt.xenapi.fake [-] Calling VBD.plug > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:58,707 DEBUG nova.virt.xenapi.vm_utils [-] Plugging VBD 9478fb65-70b4-47c9-b67a-99a24a3bb8a4 done. from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:925 2011-05-04 14:30:58,708 DEBUG nova.virt.xenapi.fake [-] Calling getter VBD.get_device from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,709 DEBUG nova.virt.xenapi.vm_utils [-] VBD 9478fb65-70b4-47c9-b67a-99a24a3bb8a4 plugged as autodetect from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:927 2011-05-04 14:30:58,709 DEBUG nova.virt.xenapi.vm_utils [-] Destroying VBD for VDI 07a68143-f23b-4ebc-bef4-6b1e3d057a27 ... from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:939 2011-05-04 14:30:58,710 DEBUG nova.virt.xenapi.fake [-] Calling VBD.unplug > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:58,711 DEBUG nova.virt.xenapi.vm_utils [-] VBD.unplug successful first time. from (pid=31138) vbd_unplug_with_retry /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:954 2011-05-04 14:30:58,712 DEBUG nova.virt.xenapi.vm_utils [-] Destroying VBD for VDI 07a68143-f23b-4ebc-bef4-6b1e3d057a27 done. from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:942 2011-05-04 14:30:58,713 DEBUG nova.virt.xenapi.vm_utils [-] Copying VDI 07a68143-f23b-4ebc-bef4-6b1e3d057a27 to /boot/guest on dom0 from (pid=31138) _fetch_image_glance_disk /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:458 2011-05-04 14:30:58,713 DEBUG nova.virt.xenapi.fake [-] Calling getter session.get_this_host from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,716 DEBUG nova.virt.xenapi.fake [-] Calling host.call_plugin > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:58,721 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_name_label from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,722 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_status from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,723 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_result from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,724 INFO nova.virt.xenapi [-] Task [Async.host.call_plugin] 56a15bc8-41ac-4ae3-a8b6-e5a27859bce0 status: success 2dc30a6b-3d39-4168-b860-a2acbeb17b40 2011-05-04 14:30:58,729 DEBUG nova.virt.xenapi.fake [-] Calling VDI.destroy > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:58,730 DEBUG nova.virt.xenapi.vm_utils [-] Kernel/Ramdisk VDI 07a68143-f23b-4ebc-bef4-6b1e3d057a27 destroyed from (pid=31138) _fetch_image_glance_disk /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:468 2011-05-04 14:30:58,731 DEBUG nova.virt.xenapi.vm_utils [-] Looking up vdi 6e527f94-551e-4f4f-91f0-ee5045465f9a for PV kernel from (pid=31138) _determine_is_pv_glance /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:617 2011-05-04 14:30:58,732 DEBUG nova.virt.xenapi.vm_utils [-] Created VM 1... from (pid=31138) create_vm /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:163 2011-05-04 14:30:58,736 DEBUG nova.virt.xenapi.vm_utils [-] Created VM 1 as 2e88972b-b56e-47de-8d3e-d21de8fe71ce. from (pid=31138) create_vm /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:166 2011-05-04 14:30:58,737 DEBUG nova.virt.xenapi.vm_utils [-] Creating VBD for VM 2e88972b-b56e-47de-8d3e-d21de8fe71ce, VDI 6e527f94-551e-4f4f-91f0-ee5045465f9a ... from (pid=31138) create_vbd /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:198 2011-05-04 14:30:58,739 DEBUG nova.virt.xenapi.vm_utils [-] Created VBD ea538190-2a9b-4007-a7db-7f55e494264b for VM 2e88972b-b56e-47de-8d3e-d21de8fe71ce, VDI 6e527f94-551e-4f4f-91f0-ee5045465f9a. from (pid=31138) create_vbd /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:201 2011-05-04 14:30:58,741 DEBUG nova [-] creating vif(s) for vm: |2e88972b-b56e-47de-8d3e-d21de8fe71ce| from (pid=31138) create_vifs /tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py:885 2011-05-04 14:30:58,741 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,744 DEBUG nova.virt.xenapi.fake [-] Calling network.get_all_records_where > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:58,746 DEBUG nova.virt.xenapi.fake [-] Calling getter network.get_all_records from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,749 DEBUG nova.virt.xenapi.vm_utils [-] Creating VIF for VM 2e88972b-b56e-47de-8d3e-d21de8fe71ce, network 90e9a30d-2ab7-4382-b944-d74fab99f8b2. from (pid=31138) create_vif /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:254 2011-05-04 14:30:58,756 DEBUG nova.virt.xenapi.vm_utils [-] Created VIF 8213f43e-b308-47fb-8f15-8864abfdb689 for VM 2e88972b-b56e-47de-8d3e-d21de8fe71ce, network 90e9a30d-2ab7-4382-b944-d74fab99f8b2. from (pid=31138) create_vif /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:257 2011-05-04 14:30:58,756 DEBUG nova [-] injecting network info to xs for vm: |2e88972b-b56e-47de-8d3e-d21de8fe71ce| from (pid=31138) _inject_network_info /tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py:847 2011-05-04 14:30:58,757 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,758 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_uuid from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,760 DEBUG nova.virt.xenapi.fake [-] Calling VM.get_xenstore_data > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:58,762 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 --------------------- >> end captured logging << --------------------- ====================================================================== ERROR: test_spawn_glance (nova.tests.test_xenapi.XenAPIVMTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/tmpv6MFQF/nova/tests/test_xenapi.py", line 384, in test_spawn_glance glance_stubs.FakeGlance.IMAGE_RAMDISK) File "/tmp/tmpv6MFQF/nova/tests/test_xenapi.py", line 344, in _test_spawn self.conn.spawn(instance) File "/tmp/tmpv6MFQF/nova/virt/xenapi_conn.py", line 188, in spawn self._vmops.spawn(instance) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 118, in spawn vm_ref = self._create_vm(instance, vdi_uuid, network_info) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 178, in _create_vm self.inject_network_info(instance, network_info, vm_ref) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 838, in inject_network_info self._inject_network_info(instance, network_info, vm_ref) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 864, in _inject_network_info instance, location, vm_ref=vm_ref) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 972, in _make_plugin_call args = {'dom_id': vm_rec['domid'], 'path': path} KeyError: 'domid' -------------------- >> begin captured logging << -------------------- 2011-05-04 14:30:58,784 AUDIT nova.auth.manager [-] Created user fake (admin: True) 2011-05-04 14:30:58,787 AUDIT nova.auth.manager [-] Created project fake with manager fake 2011-05-04 14:30:58,799 DEBUG nova.virt.xenapi.vm_utils [-] Detected DISK format for image 1, instance 1 from (pid=31138) log_disk_format /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:494 2011-05-04 14:30:58,800 DEBUG nova.virt.xenapi.fake [-] Calling getter session.get_this_host from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,800 DEBUG nova.virt.xenapi.fake [-] Calling getter SR.get_all from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,801 DEBUG nova.virt.xenapi.fake [-] Calling getter SR.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,802 DEBUG nova.virt.xenapi.fake [-] Calling getter PBD.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,803 DEBUG nova.virt.xenapi.vm_utils [-] Size for image 1:0 from (pid=31138) _fetch_image_glance_disk /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:442 2011-05-04 14:30:58,804 DEBUG nova.virt.xenapi.vm_utils [-] Created VDI 49b8e7e5-a288-4c3d-a79c-f11d10692795 (Glance image 1, 32256, False) on 1fec54bc-6669-4f65-9c73-65b3f29cba4e. from (pid=31138) create_vdi /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:277 2011-05-04 14:30:58,805 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_by_uuid from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,806 DEBUG nova.virt.xenapi.vm_utils [-] Creating VBD for VDI 49b8e7e5-a288-4c3d-a79c-f11d10692795 ... from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:919 2011-05-04 14:30:58,807 DEBUG nova.virt.xenapi.vm_utils [-] Creating VBD for VDI 49b8e7e5-a288-4c3d-a79c-f11d10692795 done. from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:921 2011-05-04 14:30:58,807 DEBUG nova.virt.xenapi.vm_utils [-] Plugging VBD f81d34fb-b22c-4269-9631-cef31534b876 ... from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:923 2011-05-04 14:30:58,808 DEBUG nova.virt.xenapi.fake [-] Calling VBD.plug > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:58,809 DEBUG nova.virt.xenapi.vm_utils [-] Plugging VBD f81d34fb-b22c-4269-9631-cef31534b876 done. from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:925 2011-05-04 14:30:58,810 DEBUG nova.virt.xenapi.fake [-] Calling getter VBD.get_device from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,810 DEBUG nova.virt.xenapi.vm_utils [-] VBD f81d34fb-b22c-4269-9631-cef31534b876 plugged as autodetect from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:927 2011-05-04 14:30:58,811 DEBUG nova.virt.xenapi.vm_utils [-] Destroying VBD for VDI 49b8e7e5-a288-4c3d-a79c-f11d10692795 ... from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:939 2011-05-04 14:30:58,812 DEBUG nova.virt.xenapi.fake [-] Calling VBD.unplug > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:58,813 DEBUG nova.virt.xenapi.vm_utils [-] VBD.unplug successful first time. from (pid=31138) vbd_unplug_with_retry /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:954 2011-05-04 14:30:58,814 DEBUG nova.virt.xenapi.vm_utils [-] Destroying VBD for VDI 49b8e7e5-a288-4c3d-a79c-f11d10692795 done. from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:942 2011-05-04 14:30:58,814 DEBUG nova.virt.xenapi.fake [-] Calling getter VDI.get_uuid from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,815 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_by_name_label from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,816 DEBUG nova.virt.xenapi.fake [-] Calling getter session.get_this_host from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,817 DEBUG nova.virt.xenapi.fake [-] Calling host.compute_free_memory > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:58,821 DEBUG nova.virt.xenapi.fake [-] Calling getter VDI.get_by_uuid from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,824 DEBUG nova.virt.xenapi.vm_utils [-] Detected DISK format for image 1, instance 1 from (pid=31138) log_disk_format /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:494 2011-05-04 14:30:58,825 DEBUG nova.virt.xenapi.fake [-] Calling getter session.get_this_host from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,826 DEBUG nova.virt.xenapi.fake [-] Calling getter SR.get_all from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,827 DEBUG nova.virt.xenapi.fake [-] Calling getter SR.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,828 DEBUG nova.virt.xenapi.fake [-] Calling getter PBD.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,829 DEBUG nova.virt.xenapi.vm_utils [-] Size for image 2:0 from (pid=31138) _fetch_image_glance_disk /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:442 2011-05-04 14:30:58,830 DEBUG nova.virt.xenapi.vm_utils [-] Created VDI 8aa24a84-4d18-4f7f-ba68-6f7ab4b332a8 (Glance image 2, 0, False) on 1fec54bc-6669-4f65-9c73-65b3f29cba4e. from (pid=31138) create_vdi /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:277 2011-05-04 14:30:58,830 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_by_uuid from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,831 DEBUG nova.virt.xenapi.vm_utils [-] Creating VBD for VDI 8aa24a84-4d18-4f7f-ba68-6f7ab4b332a8 ... from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:919 2011-05-04 14:30:58,832 DEBUG nova.virt.xenapi.vm_utils [-] Creating VBD for VDI 8aa24a84-4d18-4f7f-ba68-6f7ab4b332a8 done. from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:921 2011-05-04 14:30:58,833 DEBUG nova.virt.xenapi.vm_utils [-] Plugging VBD ff43105c-7f03-42fa-a6a2-dde4a5ef079c ... from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:923 2011-05-04 14:30:58,834 DEBUG nova.virt.xenapi.fake [-] Calling VBD.plug > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:58,835 DEBUG nova.virt.xenapi.vm_utils [-] Plugging VBD ff43105c-7f03-42fa-a6a2-dde4a5ef079c done. from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:925 2011-05-04 14:30:58,835 DEBUG nova.virt.xenapi.fake [-] Calling getter VBD.get_device from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,836 DEBUG nova.virt.xenapi.vm_utils [-] VBD ff43105c-7f03-42fa-a6a2-dde4a5ef079c plugged as autodetect from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:927 2011-05-04 14:30:58,837 DEBUG nova.virt.xenapi.vm_utils [-] Destroying VBD for VDI 8aa24a84-4d18-4f7f-ba68-6f7ab4b332a8 ... from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:939 2011-05-04 14:30:58,838 DEBUG nova.virt.xenapi.fake [-] Calling VBD.unplug > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:58,839 DEBUG nova.virt.xenapi.vm_utils [-] VBD.unplug successful first time. from (pid=31138) vbd_unplug_with_retry /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:954 2011-05-04 14:30:58,840 DEBUG nova.virt.xenapi.vm_utils [-] Destroying VBD for VDI 8aa24a84-4d18-4f7f-ba68-6f7ab4b332a8 done. from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:942 2011-05-04 14:30:58,840 DEBUG nova.virt.xenapi.vm_utils [-] Copying VDI 8aa24a84-4d18-4f7f-ba68-6f7ab4b332a8 to /boot/guest on dom0 from (pid=31138) _fetch_image_glance_disk /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:458 2011-05-04 14:30:58,841 DEBUG nova.virt.xenapi.fake [-] Calling getter session.get_this_host from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,844 DEBUG nova.virt.xenapi.fake [-] Calling host.call_plugin > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:58,848 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_name_label from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,849 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_status from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,849 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_result from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,850 INFO nova.virt.xenapi [-] Task [Async.host.call_plugin] abb28a9b-4597-40ca-80b4-25aca083ed1b status: success f902373c-722f-460c-a502-37cf6e3b1491 2011-05-04 14:30:58,856 DEBUG nova.virt.xenapi.fake [-] Calling VDI.destroy > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:58,857 DEBUG nova.virt.xenapi.vm_utils [-] Kernel/Ramdisk VDI 8aa24a84-4d18-4f7f-ba68-6f7ab4b332a8 destroyed from (pid=31138) _fetch_image_glance_disk /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:468 2011-05-04 14:30:58,858 DEBUG nova.virt.xenapi.fake [-] Calling getter session.get_this_host from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,859 DEBUG nova.virt.xenapi.fake [-] Calling getter SR.get_all from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,859 DEBUG nova.virt.xenapi.fake [-] Calling getter SR.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,860 DEBUG nova.virt.xenapi.fake [-] Calling getter PBD.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,861 DEBUG nova.virt.xenapi.vm_utils [-] Size for image 3:0 from (pid=31138) _fetch_image_glance_disk /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:442 2011-05-04 14:30:58,862 DEBUG nova.virt.xenapi.vm_utils [-] Created VDI aeb3914f-b159-4673-9dde-44eddc1fc233 (Glance image 3, 0, False) on 1fec54bc-6669-4f65-9c73-65b3f29cba4e. from (pid=31138) create_vdi /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:277 2011-05-04 14:30:58,863 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_by_uuid from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,864 DEBUG nova.virt.xenapi.vm_utils [-] Creating VBD for VDI aeb3914f-b159-4673-9dde-44eddc1fc233 ... from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:919 2011-05-04 14:30:58,865 DEBUG nova.virt.xenapi.vm_utils [-] Creating VBD for VDI aeb3914f-b159-4673-9dde-44eddc1fc233 done. from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:921 2011-05-04 14:30:58,865 DEBUG nova.virt.xenapi.vm_utils [-] Plugging VBD 0b3ba857-33b2-409c-aff8-5ed0a1f070b6 ... from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:923 2011-05-04 14:30:58,866 DEBUG nova.virt.xenapi.fake [-] Calling VBD.plug > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:58,867 DEBUG nova.virt.xenapi.vm_utils [-] Plugging VBD 0b3ba857-33b2-409c-aff8-5ed0a1f070b6 done. from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:925 2011-05-04 14:30:58,868 DEBUG nova.virt.xenapi.fake [-] Calling getter VBD.get_device from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,869 DEBUG nova.virt.xenapi.vm_utils [-] VBD 0b3ba857-33b2-409c-aff8-5ed0a1f070b6 plugged as autodetect from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:927 2011-05-04 14:30:58,870 DEBUG nova.virt.xenapi.vm_utils [-] Destroying VBD for VDI aeb3914f-b159-4673-9dde-44eddc1fc233 ... from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:939 2011-05-04 14:30:58,871 DEBUG nova.virt.xenapi.fake [-] Calling VBD.unplug > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:58,872 DEBUG nova.virt.xenapi.vm_utils [-] VBD.unplug successful first time. from (pid=31138) vbd_unplug_with_retry /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:954 2011-05-04 14:30:58,872 DEBUG nova.virt.xenapi.vm_utils [-] Destroying VBD for VDI aeb3914f-b159-4673-9dde-44eddc1fc233 done. from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:942 2011-05-04 14:30:58,873 DEBUG nova.virt.xenapi.vm_utils [-] Copying VDI aeb3914f-b159-4673-9dde-44eddc1fc233 to /boot/guest on dom0 from (pid=31138) _fetch_image_glance_disk /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:458 2011-05-04 14:30:58,874 DEBUG nova.virt.xenapi.fake [-] Calling getter session.get_this_host from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,876 DEBUG nova.virt.xenapi.fake [-] Calling host.call_plugin > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:58,879 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_name_label from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,880 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_status from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,881 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_result from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,881 INFO nova.virt.xenapi [-] Task [Async.host.call_plugin] 0ac238e5-e634-4b9e-9c02-93fac85acf3e status: success 608903df-3cd8-46f4-8fd9-0f973f852ab1 2011-05-04 14:30:58,888 DEBUG nova.virt.xenapi.fake [-] Calling VDI.destroy > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:58,889 DEBUG nova.virt.xenapi.vm_utils [-] Kernel/Ramdisk VDI aeb3914f-b159-4673-9dde-44eddc1fc233 destroyed from (pid=31138) _fetch_image_glance_disk /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:468 2011-05-04 14:30:58,890 DEBUG nova.virt.xenapi.vm_utils [-] Looking up vdi 49b8e7e5-a288-4c3d-a79c-f11d10692795 for PV kernel from (pid=31138) _determine_is_pv_glance /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:617 2011-05-04 14:30:58,891 DEBUG nova.virt.xenapi.vm_utils [-] Created VM 1... from (pid=31138) create_vm /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:163 2011-05-04 14:30:58,895 DEBUG nova.virt.xenapi.vm_utils [-] Created VM 1 as 99c33327-b0dd-406b-bb97-56daa0e4bb6a. from (pid=31138) create_vm /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:166 2011-05-04 14:30:58,895 DEBUG nova.virt.xenapi.vm_utils [-] Creating VBD for VM 99c33327-b0dd-406b-bb97-56daa0e4bb6a, VDI 49b8e7e5-a288-4c3d-a79c-f11d10692795 ... from (pid=31138) create_vbd /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:198 2011-05-04 14:30:58,897 DEBUG nova.virt.xenapi.vm_utils [-] Created VBD edb40bf1-c862-4528-8a12-aa189076fd98 for VM 99c33327-b0dd-406b-bb97-56daa0e4bb6a, VDI 49b8e7e5-a288-4c3d-a79c-f11d10692795. from (pid=31138) create_vbd /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:201 2011-05-04 14:30:58,899 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_by_uuid from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,900 DEBUG nova.virt.xenapi.vm_utils [-] Creating VBD for VDI 49b8e7e5-a288-4c3d-a79c-f11d10692795 ... from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:919 2011-05-04 14:30:58,901 DEBUG nova.virt.xenapi.vm_utils [-] Creating VBD for VDI 49b8e7e5-a288-4c3d-a79c-f11d10692795 done. from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:921 2011-05-04 14:30:58,902 DEBUG nova.virt.xenapi.vm_utils [-] Plugging VBD e9c42232-4924-412d-b95c-878b566c17fa ... from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:923 2011-05-04 14:30:58,903 DEBUG nova.virt.xenapi.fake [-] Calling VBD.plug > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:58,904 DEBUG nova.virt.xenapi.vm_utils [-] Plugging VBD e9c42232-4924-412d-b95c-878b566c17fa done. from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:925 2011-05-04 14:30:58,904 DEBUG nova.virt.xenapi.fake [-] Calling getter VBD.get_device from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,905 DEBUG nova.virt.xenapi.vm_utils [-] VBD e9c42232-4924-412d-b95c-878b566c17fa plugged as autodetect from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:927 2011-05-04 14:30:58,906 DEBUG nova.tests.fake_utils [-] Faking execution of cmd (subprocess): sudo mount -t ext2,ext3 /dev/autodetect1 /tmp/tmpLEv9OM from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:71 2011-05-04 14:30:58,907 DEBUG nova.tests.fake_utils [-] Reply to faked command is stdout='' stderr='' from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:99 2011-05-04 14:30:58,908 INFO nova.virt.xenapi.vm_utils [-] XenServer tools are not installed in this image 2011-05-04 14:30:58,908 INFO nova.virt.xenapi.vm_utils [-] Manipulating interface files directly 2011-05-04 14:30:58,909 DEBUG nova.tests.fake_utils [-] Faking execution of cmd (subprocess): sudo mkdir -p /tmp/tmpLEv9OM/root/.ssh from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:71 2011-05-04 14:30:58,910 DEBUG nova.tests.fake_utils [-] Reply to faked command is stdout='' stderr='' from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:99 2011-05-04 14:30:58,911 DEBUG nova.tests.fake_utils [-] Faking execution of cmd (subprocess): sudo chown root /tmp/tmpLEv9OM/root/.ssh from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:71 2011-05-04 14:30:58,911 DEBUG nova.tests.fake_utils [-] Reply to faked command is stdout='' stderr='' from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:99 2011-05-04 14:30:58,912 DEBUG nova.tests.fake_utils [-] Faking execution of cmd (subprocess): sudo chmod 700 /tmp/tmpLEv9OM/root/.ssh from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:71 2011-05-04 14:30:58,913 DEBUG nova.tests.fake_utils [-] Reply to faked command is stdout='' stderr='' from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:99 2011-05-04 14:30:58,914 DEBUG nova.tests.fake_utils [-] Faking execution of cmd (subprocess): sudo tee -a /tmp/tmpLEv9OM/root/.ssh/authorized_keys from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:71 2011-05-04 14:30:58,915 DEBUG nova.tests.fake_utils [-] Reply to faked command is stdout='' stderr='' from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:99 2011-05-04 14:30:58,916 DEBUG nova.tests.fake_utils [-] Faking execution of cmd (subprocess): sudo mkdir -p /tmp/tmpLEv9OM/etc/network from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:71 2011-05-04 14:30:58,917 DEBUG nova.tests.fake_utils [-] Reply to faked command is stdout='' stderr='' from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:99 2011-05-04 14:30:58,918 DEBUG nova.tests.fake_utils [-] Faking execution of cmd (subprocess): sudo chown root:root /tmp/tmpLEv9OM/etc/network from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:71 2011-05-04 14:30:58,918 DEBUG nova.tests.fake_utils [-] Reply to faked command is stdout='' stderr='' from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:99 2011-05-04 14:30:58,919 DEBUG nova.tests.fake_utils [-] Faking execution of cmd (subprocess): sudo chmod 755 /tmp/tmpLEv9OM/etc/network from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:71 2011-05-04 14:30:58,920 DEBUG nova.tests.fake_utils [-] Reply to faked command is stdout='' stderr='' from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:99 2011-05-04 14:30:58,921 DEBUG nova.tests.fake_utils [-] Faking execution of cmd (subprocess): sudo tee /tmp/tmpLEv9OM/etc/network/interfaces from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:71 2011-05-04 14:30:58,922 DEBUG nova.tests.fake_utils [-] Reply to faked command is stdout='' stderr='' from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:99 2011-05-04 14:30:58,923 DEBUG nova.tests.fake_utils [-] Faking execution of cmd (subprocess): sudo umount /dev/autodetect1 from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:71 2011-05-04 14:30:58,924 DEBUG nova.tests.fake_utils [-] Reply to faked command is stdout='' stderr='' from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:99 2011-05-04 14:30:58,924 DEBUG nova.virt.xenapi.vm_utils [-] Destroying VBD for VDI 49b8e7e5-a288-4c3d-a79c-f11d10692795 ... from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:939 2011-05-04 14:30:58,925 DEBUG nova.virt.xenapi.fake [-] Calling VBD.unplug > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:58,926 DEBUG nova.virt.xenapi.vm_utils [-] VBD.unplug successful first time. from (pid=31138) vbd_unplug_with_retry /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:954 2011-05-04 14:30:58,927 DEBUG nova.virt.xenapi.vm_utils [-] Destroying VBD for VDI 49b8e7e5-a288-4c3d-a79c-f11d10692795 done. from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:942 2011-05-04 14:30:58,928 DEBUG nova [-] creating vif(s) for vm: |99c33327-b0dd-406b-bb97-56daa0e4bb6a| from (pid=31138) create_vifs /tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py:885 2011-05-04 14:30:58,928 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,930 DEBUG nova.virt.xenapi.fake [-] Calling network.get_all_records_where > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:58,932 DEBUG nova.virt.xenapi.fake [-] Calling getter network.get_all_records from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:58,936 DEBUG nova.virt.xenapi.vm_utils [-] Creating VIF for VM 99c33327-b0dd-406b-bb97-56daa0e4bb6a, network f0aa5ec3-a172-4ec6-8413-918f1d01222e. from (pid=31138) create_vif /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:254 2011-05-04 14:30:58,997 DEBUG nova.virt.xenapi.vm_utils [-] Created VIF 694346fc-fe71-4aa3-b496-8e1a2740f82d for VM 99c33327-b0dd-406b-bb97-56daa0e4bb6a, network f0aa5ec3-a172-4ec6-8413-918f1d01222e. from (pid=31138) create_vif /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:257 2011-05-04 14:30:58,998 DEBUG nova [-] injecting network info to xs for vm: |99c33327-b0dd-406b-bb97-56daa0e4bb6a| from (pid=31138) _inject_network_info /tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py:847 2011-05-04 14:30:58,999 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,000 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_uuid from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,001 DEBUG nova.virt.xenapi.fake [-] Calling VM.get_xenstore_data > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:59,003 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 --------------------- >> end captured logging << --------------------- ====================================================================== ERROR: test_spawn_netinject_file (nova.tests.test_xenapi.XenAPIVMTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/tmpv6MFQF/nova/tests/test_xenapi.py", line 418, in test_spawn_netinject_file check_injection=True) File "/tmp/tmpv6MFQF/nova/tests/test_xenapi.py", line 344, in _test_spawn self.conn.spawn(instance) File "/tmp/tmpv6MFQF/nova/virt/xenapi_conn.py", line 188, in spawn self._vmops.spawn(instance) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 118, in spawn vm_ref = self._create_vm(instance, vdi_uuid, network_info) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 178, in _create_vm self.inject_network_info(instance, network_info, vm_ref) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 838, in inject_network_info self._inject_network_info(instance, network_info, vm_ref) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 864, in _inject_network_info instance, location, vm_ref=vm_ref) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 972, in _make_plugin_call args = {'dom_id': vm_rec['domid'], 'path': path} KeyError: 'domid' -------------------- >> begin captured logging << -------------------- 2011-05-04 14:30:59,028 AUDIT nova.auth.manager [-] Created user fake (admin: True) 2011-05-04 14:30:59,031 AUDIT nova.auth.manager [-] Created project fake with manager fake 2011-05-04 14:30:59,042 DEBUG nova.virt.xenapi.vm_utils [-] Detected DISK format for image 1, instance 1 from (pid=31138) log_disk_format /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:494 2011-05-04 14:30:59,043 DEBUG nova.virt.xenapi.fake [-] Calling getter session.get_this_host from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,044 DEBUG nova.virt.xenapi.fake [-] Calling getter SR.get_all from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,044 DEBUG nova.virt.xenapi.fake [-] Calling getter SR.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,045 DEBUG nova.virt.xenapi.fake [-] Calling getter PBD.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,046 DEBUG nova.virt.xenapi.vm_utils [-] Size for image 1:0 from (pid=31138) _fetch_image_glance_disk /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:442 2011-05-04 14:30:59,047 DEBUG nova.virt.xenapi.vm_utils [-] Created VDI 1ab79258-f665-4fc7-b7eb-8000a2d03c03 (Glance image 1, 32256, False) on 63ed8290-47aa-40ea-b296-8139b963d505. from (pid=31138) create_vdi /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:277 2011-05-04 14:30:59,048 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_by_uuid from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,049 DEBUG nova.virt.xenapi.vm_utils [-] Creating VBD for VDI 1ab79258-f665-4fc7-b7eb-8000a2d03c03 ... from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:919 2011-05-04 14:30:59,050 DEBUG nova.virt.xenapi.vm_utils [-] Creating VBD for VDI 1ab79258-f665-4fc7-b7eb-8000a2d03c03 done. from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:921 2011-05-04 14:30:59,050 DEBUG nova.virt.xenapi.vm_utils [-] Plugging VBD ed46be80-e03d-4731-a9a5-5b951229bac8 ... from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:923 2011-05-04 14:30:59,051 DEBUG nova.virt.xenapi.fake [-] Calling VBD.plug > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:59,052 DEBUG nova.virt.xenapi.vm_utils [-] Plugging VBD ed46be80-e03d-4731-a9a5-5b951229bac8 done. from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:925 2011-05-04 14:30:59,053 DEBUG nova.virt.xenapi.fake [-] Calling getter VBD.get_device from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,054 DEBUG nova.virt.xenapi.vm_utils [-] VBD ed46be80-e03d-4731-a9a5-5b951229bac8 plugged as autodetect from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:927 2011-05-04 14:30:59,054 DEBUG nova.virt.xenapi.vm_utils [-] Destroying VBD for VDI 1ab79258-f665-4fc7-b7eb-8000a2d03c03 ... from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:939 2011-05-04 14:30:59,055 DEBUG nova.virt.xenapi.fake [-] Calling VBD.unplug > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:59,056 DEBUG nova.virt.xenapi.vm_utils [-] VBD.unplug successful first time. from (pid=31138) vbd_unplug_with_retry /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:954 2011-05-04 14:30:59,057 DEBUG nova.virt.xenapi.vm_utils [-] Destroying VBD for VDI 1ab79258-f665-4fc7-b7eb-8000a2d03c03 done. from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:942 2011-05-04 14:30:59,058 DEBUG nova.virt.xenapi.fake [-] Calling getter VDI.get_uuid from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,058 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_by_name_label from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,059 DEBUG nova.virt.xenapi.fake [-] Calling getter session.get_this_host from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,060 DEBUG nova.virt.xenapi.fake [-] Calling host.compute_free_memory > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:59,065 DEBUG nova.virt.xenapi.fake [-] Calling getter VDI.get_by_uuid from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,068 DEBUG nova.virt.xenapi.vm_utils [-] Detected DISK format for image 1, instance 1 from (pid=31138) log_disk_format /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:494 2011-05-04 14:30:59,069 DEBUG nova.virt.xenapi.fake [-] Calling getter session.get_this_host from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,070 DEBUG nova.virt.xenapi.fake [-] Calling getter SR.get_all from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,071 DEBUG nova.virt.xenapi.fake [-] Calling getter SR.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,072 DEBUG nova.virt.xenapi.fake [-] Calling getter PBD.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,073 DEBUG nova.virt.xenapi.vm_utils [-] Size for image 2:0 from (pid=31138) _fetch_image_glance_disk /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:442 2011-05-04 14:30:59,074 DEBUG nova.virt.xenapi.vm_utils [-] Created VDI b79f9290-9b35-4d93-a443-2db5a4a9e135 (Glance image 2, 0, False) on 63ed8290-47aa-40ea-b296-8139b963d505. from (pid=31138) create_vdi /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:277 2011-05-04 14:30:59,075 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_by_uuid from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,075 DEBUG nova.virt.xenapi.vm_utils [-] Creating VBD for VDI b79f9290-9b35-4d93-a443-2db5a4a9e135 ... from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:919 2011-05-04 14:30:59,076 DEBUG nova.virt.xenapi.vm_utils [-] Creating VBD for VDI b79f9290-9b35-4d93-a443-2db5a4a9e135 done. from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:921 2011-05-04 14:30:59,077 DEBUG nova.virt.xenapi.vm_utils [-] Plugging VBD aebfe2a7-5fe6-4bce-a69b-3b3c449a327e ... from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:923 2011-05-04 14:30:59,078 DEBUG nova.virt.xenapi.fake [-] Calling VBD.plug > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:59,079 DEBUG nova.virt.xenapi.vm_utils [-] Plugging VBD aebfe2a7-5fe6-4bce-a69b-3b3c449a327e done. from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:925 2011-05-04 14:30:59,079 DEBUG nova.virt.xenapi.fake [-] Calling getter VBD.get_device from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,080 DEBUG nova.virt.xenapi.vm_utils [-] VBD aebfe2a7-5fe6-4bce-a69b-3b3c449a327e plugged as autodetect from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:927 2011-05-04 14:30:59,081 DEBUG nova.virt.xenapi.vm_utils [-] Destroying VBD for VDI b79f9290-9b35-4d93-a443-2db5a4a9e135 ... from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:939 2011-05-04 14:30:59,082 DEBUG nova.virt.xenapi.fake [-] Calling VBD.unplug > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:59,083 DEBUG nova.virt.xenapi.vm_utils [-] VBD.unplug successful first time. from (pid=31138) vbd_unplug_with_retry /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:954 2011-05-04 14:30:59,083 DEBUG nova.virt.xenapi.vm_utils [-] Destroying VBD for VDI b79f9290-9b35-4d93-a443-2db5a4a9e135 done. from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:942 2011-05-04 14:30:59,084 DEBUG nova.virt.xenapi.vm_utils [-] Copying VDI b79f9290-9b35-4d93-a443-2db5a4a9e135 to /boot/guest on dom0 from (pid=31138) _fetch_image_glance_disk /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:458 2011-05-04 14:30:59,085 DEBUG nova.virt.xenapi.fake [-] Calling getter session.get_this_host from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,088 DEBUG nova.virt.xenapi.fake [-] Calling host.call_plugin > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:59,093 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_name_label from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,094 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_status from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,095 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_result from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,096 INFO nova.virt.xenapi [-] Task [Async.host.call_plugin] faba13ee-2e69-43f8-a43a-715e5fada7cc status: success ca24a461-3681-4551-9150-a4a54cec8ff6 2011-05-04 14:30:59,101 DEBUG nova.virt.xenapi.fake [-] Calling VDI.destroy > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:59,102 DEBUG nova.virt.xenapi.vm_utils [-] Kernel/Ramdisk VDI b79f9290-9b35-4d93-a443-2db5a4a9e135 destroyed from (pid=31138) _fetch_image_glance_disk /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:468 2011-05-04 14:30:59,103 DEBUG nova.virt.xenapi.fake [-] Calling getter session.get_this_host from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,104 DEBUG nova.virt.xenapi.fake [-] Calling getter SR.get_all from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,105 DEBUG nova.virt.xenapi.fake [-] Calling getter SR.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,106 DEBUG nova.virt.xenapi.fake [-] Calling getter PBD.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,107 DEBUG nova.virt.xenapi.vm_utils [-] Size for image 3:0 from (pid=31138) _fetch_image_glance_disk /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:442 2011-05-04 14:30:59,107 DEBUG nova.virt.xenapi.vm_utils [-] Created VDI 87ccad1c-509f-4ea7-8b69-d439ff4262bc (Glance image 3, 0, False) on 63ed8290-47aa-40ea-b296-8139b963d505. from (pid=31138) create_vdi /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:277 2011-05-04 14:30:59,108 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_by_uuid from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,109 DEBUG nova.virt.xenapi.vm_utils [-] Creating VBD for VDI 87ccad1c-509f-4ea7-8b69-d439ff4262bc ... from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:919 2011-05-04 14:30:59,110 DEBUG nova.virt.xenapi.vm_utils [-] Creating VBD for VDI 87ccad1c-509f-4ea7-8b69-d439ff4262bc done. from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:921 2011-05-04 14:30:59,111 DEBUG nova.virt.xenapi.vm_utils [-] Plugging VBD 9e31a92b-6e9d-4d39-8855-3866d1eecb83 ... from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:923 2011-05-04 14:30:59,112 DEBUG nova.virt.xenapi.fake [-] Calling VBD.plug > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:59,112 DEBUG nova.virt.xenapi.vm_utils [-] Plugging VBD 9e31a92b-6e9d-4d39-8855-3866d1eecb83 done. from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:925 2011-05-04 14:30:59,113 DEBUG nova.virt.xenapi.fake [-] Calling getter VBD.get_device from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,114 DEBUG nova.virt.xenapi.vm_utils [-] VBD 9e31a92b-6e9d-4d39-8855-3866d1eecb83 plugged as autodetect from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:927 2011-05-04 14:30:59,115 DEBUG nova.virt.xenapi.vm_utils [-] Destroying VBD for VDI 87ccad1c-509f-4ea7-8b69-d439ff4262bc ... from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:939 2011-05-04 14:30:59,116 DEBUG nova.virt.xenapi.fake [-] Calling VBD.unplug > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:59,116 DEBUG nova.virt.xenapi.vm_utils [-] VBD.unplug successful first time. from (pid=31138) vbd_unplug_with_retry /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:954 2011-05-04 14:30:59,117 DEBUG nova.virt.xenapi.vm_utils [-] Destroying VBD for VDI 87ccad1c-509f-4ea7-8b69-d439ff4262bc done. from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:942 2011-05-04 14:30:59,118 DEBUG nova.virt.xenapi.vm_utils [-] Copying VDI 87ccad1c-509f-4ea7-8b69-d439ff4262bc to /boot/guest on dom0 from (pid=31138) _fetch_image_glance_disk /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:458 2011-05-04 14:30:59,119 DEBUG nova.virt.xenapi.fake [-] Calling getter session.get_this_host from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,121 DEBUG nova.virt.xenapi.fake [-] Calling host.call_plugin > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:59,124 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_name_label from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,125 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_status from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,126 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_result from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,126 INFO nova.virt.xenapi [-] Task [Async.host.call_plugin] 182ffe4f-74cf-4648-9aef-5bece2644e83 status: success 5f06cfc5-a76c-4555-a066-1462b99b98a2 2011-05-04 14:30:59,132 DEBUG nova.virt.xenapi.fake [-] Calling VDI.destroy > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:59,133 DEBUG nova.virt.xenapi.vm_utils [-] Kernel/Ramdisk VDI 87ccad1c-509f-4ea7-8b69-d439ff4262bc destroyed from (pid=31138) _fetch_image_glance_disk /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:468 2011-05-04 14:30:59,134 DEBUG nova.virt.xenapi.vm_utils [-] Looking up vdi 1ab79258-f665-4fc7-b7eb-8000a2d03c03 for PV kernel from (pid=31138) _determine_is_pv_glance /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:617 2011-05-04 14:30:59,134 DEBUG nova.virt.xenapi.vm_utils [-] Created VM 1... from (pid=31138) create_vm /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:163 2011-05-04 14:30:59,139 DEBUG nova.virt.xenapi.vm_utils [-] Created VM 1 as 74fbc327-d923-4776-809f-7c9cd009e972. from (pid=31138) create_vm /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:166 2011-05-04 14:30:59,140 DEBUG nova.virt.xenapi.vm_utils [-] Creating VBD for VM 74fbc327-d923-4776-809f-7c9cd009e972, VDI 1ab79258-f665-4fc7-b7eb-8000a2d03c03 ... from (pid=31138) create_vbd /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:198 2011-05-04 14:30:59,143 DEBUG nova.virt.xenapi.vm_utils [-] Created VBD fd660ba4-a0f3-4216-9552-795b7630f73f for VM 74fbc327-d923-4776-809f-7c9cd009e972, VDI 1ab79258-f665-4fc7-b7eb-8000a2d03c03. from (pid=31138) create_vbd /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:201 2011-05-04 14:30:59,145 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_by_uuid from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,146 DEBUG nova.virt.xenapi.vm_utils [-] Creating VBD for VDI 1ab79258-f665-4fc7-b7eb-8000a2d03c03 ... from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:919 2011-05-04 14:30:59,147 DEBUG nova.virt.xenapi.vm_utils [-] Creating VBD for VDI 1ab79258-f665-4fc7-b7eb-8000a2d03c03 done. from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:921 2011-05-04 14:30:59,148 DEBUG nova.virt.xenapi.vm_utils [-] Plugging VBD 29ddff7d-b1a6-44dc-9f01-bf5f5b45b465 ... from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:923 2011-05-04 14:30:59,149 DEBUG nova.virt.xenapi.fake [-] Calling VBD.plug > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:59,149 DEBUG nova.virt.xenapi.vm_utils [-] Plugging VBD 29ddff7d-b1a6-44dc-9f01-bf5f5b45b465 done. from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:925 2011-05-04 14:30:59,150 DEBUG nova.virt.xenapi.fake [-] Calling getter VBD.get_device from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,151 DEBUG nova.virt.xenapi.vm_utils [-] VBD 29ddff7d-b1a6-44dc-9f01-bf5f5b45b465 plugged as autodetect from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:927 2011-05-04 14:30:59,152 DEBUG nova.tests.fake_utils [-] Faking execution of cmd (subprocess): sudo mount -t ext2,ext3 /dev/autodetect1 /tmp/tmp23O2Dp from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:71 2011-05-04 14:30:59,153 DEBUG nova.tests.fake_utils [-] Reply to faked command is stdout='' stderr='' from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:99 2011-05-04 14:30:59,154 INFO nova.virt.xenapi.vm_utils [-] XenServer tools are not installed in this image 2011-05-04 14:30:59,155 INFO nova.virt.xenapi.vm_utils [-] Manipulating interface files directly 2011-05-04 14:30:59,155 DEBUG nova.tests.fake_utils [-] Faking execution of cmd (subprocess): sudo mkdir -p /tmp/tmp23O2Dp/root/.ssh from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:71 2011-05-04 14:30:59,156 DEBUG nova.tests.fake_utils [-] Reply to faked command is stdout='' stderr='' from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:99 2011-05-04 14:30:59,157 DEBUG nova.tests.fake_utils [-] Faking execution of cmd (subprocess): sudo chown root /tmp/tmp23O2Dp/root/.ssh from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:71 2011-05-04 14:30:59,158 DEBUG nova.tests.fake_utils [-] Reply to faked command is stdout='' stderr='' from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:99 2011-05-04 14:30:59,159 DEBUG nova.tests.fake_utils [-] Faking execution of cmd (subprocess): sudo chmod 700 /tmp/tmp23O2Dp/root/.ssh from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:71 2011-05-04 14:30:59,159 DEBUG nova.tests.fake_utils [-] Reply to faked command is stdout='' stderr='' from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:99 2011-05-04 14:30:59,160 DEBUG nova.tests.fake_utils [-] Faking execution of cmd (subprocess): sudo tee -a /tmp/tmp23O2Dp/root/.ssh/authorized_keys from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:71 2011-05-04 14:30:59,161 DEBUG nova.tests.fake_utils [-] Reply to faked command is stdout='' stderr='' from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:99 2011-05-04 14:30:59,162 DEBUG nova.tests.fake_utils [-] Faking execution of cmd (subprocess): sudo mkdir -p /tmp/tmp23O2Dp/etc/network from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:71 2011-05-04 14:30:59,163 DEBUG nova.tests.fake_utils [-] Reply to faked command is stdout='' stderr='' from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:99 2011-05-04 14:30:59,164 DEBUG nova.tests.fake_utils [-] Faking execution of cmd (subprocess): sudo chown root:root /tmp/tmp23O2Dp/etc/network from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:71 2011-05-04 14:30:59,165 DEBUG nova.tests.fake_utils [-] Reply to faked command is stdout='' stderr='' from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:99 2011-05-04 14:30:59,166 DEBUG nova.tests.fake_utils [-] Faking execution of cmd (subprocess): sudo chmod 755 /tmp/tmp23O2Dp/etc/network from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:71 2011-05-04 14:30:59,167 DEBUG nova.tests.fake_utils [-] Reply to faked command is stdout='' stderr='' from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:99 2011-05-04 14:30:59,168 DEBUG nova.tests.fake_utils [-] Faking execution of cmd (subprocess): sudo tee /tmp/tmp23O2Dp/etc/network/interfaces from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:71 2011-05-04 14:30:59,169 DEBUG nova.tests.fake_utils [-] Faked command matched (sudo\s+)?tee.*interfaces from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:79 2011-05-04 14:30:59,169 DEBUG nova.tests.fake_utils [-] Reply to faked command is stdout='' stderr='' from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:99 2011-05-04 14:30:59,170 DEBUG nova.tests.fake_utils [-] Faking execution of cmd (subprocess): sudo umount /dev/autodetect1 from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:71 2011-05-04 14:30:59,171 DEBUG nova.tests.fake_utils [-] Reply to faked command is stdout='' stderr='' from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:99 2011-05-04 14:30:59,172 DEBUG nova.virt.xenapi.vm_utils [-] Destroying VBD for VDI 1ab79258-f665-4fc7-b7eb-8000a2d03c03 ... from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:939 2011-05-04 14:30:59,173 DEBUG nova.virt.xenapi.fake [-] Calling VBD.unplug > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:59,174 DEBUG nova.virt.xenapi.vm_utils [-] VBD.unplug successful first time. from (pid=31138) vbd_unplug_with_retry /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:954 2011-05-04 14:30:59,175 DEBUG nova.virt.xenapi.vm_utils [-] Destroying VBD for VDI 1ab79258-f665-4fc7-b7eb-8000a2d03c03 done. from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:942 2011-05-04 14:30:59,176 DEBUG nova [-] creating vif(s) for vm: |74fbc327-d923-4776-809f-7c9cd009e972| from (pid=31138) create_vifs /tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py:885 2011-05-04 14:30:59,176 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,178 DEBUG nova.virt.xenapi.fake [-] Calling network.get_all_records_where > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:59,180 DEBUG nova.virt.xenapi.fake [-] Calling getter network.get_all_records from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,182 DEBUG nova.virt.xenapi.vm_utils [-] Creating VIF for VM 74fbc327-d923-4776-809f-7c9cd009e972, network be455a3b-6fe5-4eb3-b382-383b4b71f32c. from (pid=31138) create_vif /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:254 2011-05-04 14:30:59,186 DEBUG nova.virt.xenapi.vm_utils [-] Created VIF 61e7f97c-c97d-4e5b-9e0b-dea963f52ad7 for VM 74fbc327-d923-4776-809f-7c9cd009e972, network be455a3b-6fe5-4eb3-b382-383b4b71f32c. from (pid=31138) create_vif /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:257 2011-05-04 14:30:59,187 DEBUG nova [-] injecting network info to xs for vm: |74fbc327-d923-4776-809f-7c9cd009e972| from (pid=31138) _inject_network_info /tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py:847 2011-05-04 14:30:59,188 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,188 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_uuid from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,190 DEBUG nova.virt.xenapi.fake [-] Calling VM.get_xenstore_data > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:59,193 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 --------------------- >> end captured logging << --------------------- ====================================================================== ERROR: test_spawn_netinject_xenstore (nova.tests.test_xenapi.XenAPIVMTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/tmpv6MFQF/nova/tests/test_xenapi.py", line 460, in test_spawn_netinject_xenstore self._test_spawn(1, 2, 3, check_injection=True) File "/tmp/tmpv6MFQF/nova/tests/test_xenapi.py", line 344, in _test_spawn self.conn.spawn(instance) File "/tmp/tmpv6MFQF/nova/virt/xenapi_conn.py", line 188, in spawn self._vmops.spawn(instance) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 118, in spawn vm_ref = self._create_vm(instance, vdi_uuid, network_info) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 178, in _create_vm self.inject_network_info(instance, network_info, vm_ref) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 838, in inject_network_info self._inject_network_info(instance, network_info, vm_ref) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 864, in _inject_network_info instance, location, vm_ref=vm_ref) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 972, in _make_plugin_call args = {'dom_id': vm_rec['domid'], 'path': path} KeyError: 'domid' -------------------- >> begin captured logging << -------------------- 2011-05-04 14:30:59,220 AUDIT nova.auth.manager [-] Created user fake (admin: True) 2011-05-04 14:30:59,223 AUDIT nova.auth.manager [-] Created project fake with manager fake 2011-05-04 14:30:59,234 DEBUG nova.virt.xenapi.vm_utils [-] Detected DISK format for image 1, instance 1 from (pid=31138) log_disk_format /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:494 2011-05-04 14:30:59,235 DEBUG nova.virt.xenapi.fake [-] Calling getter session.get_this_host from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,236 DEBUG nova.virt.xenapi.fake [-] Calling getter SR.get_all from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,237 DEBUG nova.virt.xenapi.fake [-] Calling getter SR.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,238 DEBUG nova.virt.xenapi.fake [-] Calling getter PBD.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,239 DEBUG nova.virt.xenapi.vm_utils [-] Size for image 1:0 from (pid=31138) _fetch_image_glance_disk /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:442 2011-05-04 14:30:59,240 DEBUG nova.virt.xenapi.vm_utils [-] Created VDI 70834657-fa79-409a-ad64-cf1489a5f571 (Glance image 1, 32256, False) on 26291981-0d1e-4308-bdbd-2710c1542c28. from (pid=31138) create_vdi /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:277 2011-05-04 14:30:59,240 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_by_uuid from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,241 DEBUG nova.virt.xenapi.vm_utils [-] Creating VBD for VDI 70834657-fa79-409a-ad64-cf1489a5f571 ... from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:919 2011-05-04 14:30:59,243 DEBUG nova.virt.xenapi.vm_utils [-] Creating VBD for VDI 70834657-fa79-409a-ad64-cf1489a5f571 done. from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:921 2011-05-04 14:30:59,243 DEBUG nova.virt.xenapi.vm_utils [-] Plugging VBD 7ebe286d-3e90-443b-88b2-ac697bd8cb24 ... from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:923 2011-05-04 14:30:59,244 DEBUG nova.virt.xenapi.fake [-] Calling VBD.plug > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:59,245 DEBUG nova.virt.xenapi.vm_utils [-] Plugging VBD 7ebe286d-3e90-443b-88b2-ac697bd8cb24 done. from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:925 2011-05-04 14:30:59,246 DEBUG nova.virt.xenapi.fake [-] Calling getter VBD.get_device from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,247 DEBUG nova.virt.xenapi.vm_utils [-] VBD 7ebe286d-3e90-443b-88b2-ac697bd8cb24 plugged as autodetect from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:927 2011-05-04 14:30:59,247 DEBUG nova.virt.xenapi.vm_utils [-] Destroying VBD for VDI 70834657-fa79-409a-ad64-cf1489a5f571 ... from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:939 2011-05-04 14:30:59,248 DEBUG nova.virt.xenapi.fake [-] Calling VBD.unplug > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:59,249 DEBUG nova.virt.xenapi.vm_utils [-] VBD.unplug successful first time. from (pid=31138) vbd_unplug_with_retry /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:954 2011-05-04 14:30:59,250 DEBUG nova.virt.xenapi.vm_utils [-] Destroying VBD for VDI 70834657-fa79-409a-ad64-cf1489a5f571 done. from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:942 2011-05-04 14:30:59,251 DEBUG nova.virt.xenapi.fake [-] Calling getter VDI.get_uuid from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,251 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_by_name_label from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,252 DEBUG nova.virt.xenapi.fake [-] Calling getter session.get_this_host from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,253 DEBUG nova.virt.xenapi.fake [-] Calling host.compute_free_memory > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:59,257 DEBUG nova.virt.xenapi.fake [-] Calling getter VDI.get_by_uuid from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,260 DEBUG nova.virt.xenapi.vm_utils [-] Detected DISK format for image 1, instance 1 from (pid=31138) log_disk_format /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:494 2011-05-04 14:30:59,261 DEBUG nova.virt.xenapi.fake [-] Calling getter session.get_this_host from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,261 DEBUG nova.virt.xenapi.fake [-] Calling getter SR.get_all from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,262 DEBUG nova.virt.xenapi.fake [-] Calling getter SR.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,263 DEBUG nova.virt.xenapi.fake [-] Calling getter PBD.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,264 DEBUG nova.virt.xenapi.vm_utils [-] Size for image 2:0 from (pid=31138) _fetch_image_glance_disk /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:442 2011-05-04 14:30:59,265 DEBUG nova.virt.xenapi.vm_utils [-] Created VDI cda5af0e-fe2f-481a-9e1b-67e5b325fb87 (Glance image 2, 0, False) on 26291981-0d1e-4308-bdbd-2710c1542c28. from (pid=31138) create_vdi /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:277 2011-05-04 14:30:59,266 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_by_uuid from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,266 DEBUG nova.virt.xenapi.vm_utils [-] Creating VBD for VDI cda5af0e-fe2f-481a-9e1b-67e5b325fb87 ... from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:919 2011-05-04 14:30:59,267 DEBUG nova.virt.xenapi.vm_utils [-] Creating VBD for VDI cda5af0e-fe2f-481a-9e1b-67e5b325fb87 done. from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:921 2011-05-04 14:30:59,268 DEBUG nova.virt.xenapi.vm_utils [-] Plugging VBD 1be96bcc-6ee0-4b25-9b2d-d660421a4a83 ... from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:923 2011-05-04 14:30:59,269 DEBUG nova.virt.xenapi.fake [-] Calling VBD.plug > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:59,270 DEBUG nova.virt.xenapi.vm_utils [-] Plugging VBD 1be96bcc-6ee0-4b25-9b2d-d660421a4a83 done. from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:925 2011-05-04 14:30:59,271 DEBUG nova.virt.xenapi.fake [-] Calling getter VBD.get_device from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,271 DEBUG nova.virt.xenapi.vm_utils [-] VBD 1be96bcc-6ee0-4b25-9b2d-d660421a4a83 plugged as autodetect from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:927 2011-05-04 14:30:59,272 DEBUG nova.virt.xenapi.vm_utils [-] Destroying VBD for VDI cda5af0e-fe2f-481a-9e1b-67e5b325fb87 ... from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:939 2011-05-04 14:30:59,273 DEBUG nova.virt.xenapi.fake [-] Calling VBD.unplug > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:59,274 DEBUG nova.virt.xenapi.vm_utils [-] VBD.unplug successful first time. from (pid=31138) vbd_unplug_with_retry /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:954 2011-05-04 14:30:59,274 DEBUG nova.virt.xenapi.vm_utils [-] Destroying VBD for VDI cda5af0e-fe2f-481a-9e1b-67e5b325fb87 done. from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:942 2011-05-04 14:30:59,275 DEBUG nova.virt.xenapi.vm_utils [-] Copying VDI cda5af0e-fe2f-481a-9e1b-67e5b325fb87 to /boot/guest on dom0 from (pid=31138) _fetch_image_glance_disk /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:458 2011-05-04 14:30:59,276 DEBUG nova.virt.xenapi.fake [-] Calling getter session.get_this_host from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,279 DEBUG nova.virt.xenapi.fake [-] Calling host.call_plugin > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:59,282 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_name_label from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,283 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_status from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,283 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_result from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,284 INFO nova.virt.xenapi [-] Task [Async.host.call_plugin] 86a71c00-ca0e-44a5-a91d-a638575e5aac status: success 1f08272e-91b6-4706-beb7-a2821991393d 2011-05-04 14:30:59,289 DEBUG nova.virt.xenapi.fake [-] Calling VDI.destroy > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:59,290 DEBUG nova.virt.xenapi.vm_utils [-] Kernel/Ramdisk VDI cda5af0e-fe2f-481a-9e1b-67e5b325fb87 destroyed from (pid=31138) _fetch_image_glance_disk /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:468 2011-05-04 14:30:59,291 DEBUG nova.virt.xenapi.fake [-] Calling getter session.get_this_host from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,292 DEBUG nova.virt.xenapi.fake [-] Calling getter SR.get_all from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,293 DEBUG nova.virt.xenapi.fake [-] Calling getter SR.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,294 DEBUG nova.virt.xenapi.fake [-] Calling getter PBD.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,295 DEBUG nova.virt.xenapi.vm_utils [-] Size for image 3:0 from (pid=31138) _fetch_image_glance_disk /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:442 2011-05-04 14:30:59,296 DEBUG nova.virt.xenapi.vm_utils [-] Created VDI 31e15626-b944-40df-9695-50b5de58b2e3 (Glance image 3, 0, False) on 26291981-0d1e-4308-bdbd-2710c1542c28. from (pid=31138) create_vdi /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:277 2011-05-04 14:30:59,296 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_by_uuid from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,297 DEBUG nova.virt.xenapi.vm_utils [-] Creating VBD for VDI 31e15626-b944-40df-9695-50b5de58b2e3 ... from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:919 2011-05-04 14:30:59,298 DEBUG nova.virt.xenapi.vm_utils [-] Creating VBD for VDI 31e15626-b944-40df-9695-50b5de58b2e3 done. from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:921 2011-05-04 14:30:59,299 DEBUG nova.virt.xenapi.vm_utils [-] Plugging VBD 47c99ce7-0201-45bc-a22c-9afab3753de8 ... from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:923 2011-05-04 14:30:59,300 DEBUG nova.virt.xenapi.fake [-] Calling VBD.plug > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:59,301 DEBUG nova.virt.xenapi.vm_utils [-] Plugging VBD 47c99ce7-0201-45bc-a22c-9afab3753de8 done. from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:925 2011-05-04 14:30:59,302 DEBUG nova.virt.xenapi.fake [-] Calling getter VBD.get_device from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,302 DEBUG nova.virt.xenapi.vm_utils [-] VBD 47c99ce7-0201-45bc-a22c-9afab3753de8 plugged as autodetect from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:927 2011-05-04 14:30:59,303 DEBUG nova.virt.xenapi.vm_utils [-] Destroying VBD for VDI 31e15626-b944-40df-9695-50b5de58b2e3 ... from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:939 2011-05-04 14:30:59,304 DEBUG nova.virt.xenapi.fake [-] Calling VBD.unplug > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:59,305 DEBUG nova.virt.xenapi.vm_utils [-] VBD.unplug successful first time. from (pid=31138) vbd_unplug_with_retry /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:954 2011-05-04 14:30:59,306 DEBUG nova.virt.xenapi.vm_utils [-] Destroying VBD for VDI 31e15626-b944-40df-9695-50b5de58b2e3 done. from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:942 2011-05-04 14:30:59,307 DEBUG nova.virt.xenapi.vm_utils [-] Copying VDI 31e15626-b944-40df-9695-50b5de58b2e3 to /boot/guest on dom0 from (pid=31138) _fetch_image_glance_disk /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:458 2011-05-04 14:30:59,308 DEBUG nova.virt.xenapi.fake [-] Calling getter session.get_this_host from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,326 DEBUG nova.virt.xenapi.fake [-] Calling host.call_plugin > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:59,330 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_name_label from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,331 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_status from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,332 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_result from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,333 INFO nova.virt.xenapi [-] Task [Async.host.call_plugin] b75861b1-816d-4dc6-9327-af5750146bb1 status: success d651c0e5-a72f-4dec-a56e-2aa47825cb87 2011-05-04 14:30:59,338 DEBUG nova.virt.xenapi.fake [-] Calling VDI.destroy > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:59,339 DEBUG nova.virt.xenapi.vm_utils [-] Kernel/Ramdisk VDI 31e15626-b944-40df-9695-50b5de58b2e3 destroyed from (pid=31138) _fetch_image_glance_disk /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:468 2011-05-04 14:30:59,340 DEBUG nova.virt.xenapi.vm_utils [-] Looking up vdi 70834657-fa79-409a-ad64-cf1489a5f571 for PV kernel from (pid=31138) _determine_is_pv_glance /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:617 2011-05-04 14:30:59,341 DEBUG nova.virt.xenapi.vm_utils [-] Created VM 1... from (pid=31138) create_vm /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:163 2011-05-04 14:30:59,344 DEBUG nova.virt.xenapi.vm_utils [-] Created VM 1 as cb37d0d7-3037-40b8-a0a1-57385fc819db. from (pid=31138) create_vm /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:166 2011-05-04 14:30:59,345 DEBUG nova.virt.xenapi.vm_utils [-] Creating VBD for VM cb37d0d7-3037-40b8-a0a1-57385fc819db, VDI 70834657-fa79-409a-ad64-cf1489a5f571 ... from (pid=31138) create_vbd /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:198 2011-05-04 14:30:59,348 DEBUG nova.virt.xenapi.vm_utils [-] Created VBD 7531d622-9275-4449-aaef-86ece10055de for VM cb37d0d7-3037-40b8-a0a1-57385fc819db, VDI 70834657-fa79-409a-ad64-cf1489a5f571. from (pid=31138) create_vbd /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:201 2011-05-04 14:30:59,350 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_by_uuid from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,351 DEBUG nova.virt.xenapi.vm_utils [-] Creating VBD for VDI 70834657-fa79-409a-ad64-cf1489a5f571 ... from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:919 2011-05-04 14:30:59,352 DEBUG nova.virt.xenapi.vm_utils [-] Creating VBD for VDI 70834657-fa79-409a-ad64-cf1489a5f571 done. from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:921 2011-05-04 14:30:59,352 DEBUG nova.virt.xenapi.vm_utils [-] Plugging VBD 1d52bd49-89ac-4fec-8f5b-e8c39aaf42ee ... from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:923 2011-05-04 14:30:59,353 DEBUG nova.virt.xenapi.fake [-] Calling VBD.plug > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:59,354 DEBUG nova.virt.xenapi.vm_utils [-] Plugging VBD 1d52bd49-89ac-4fec-8f5b-e8c39aaf42ee done. from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:925 2011-05-04 14:30:59,355 DEBUG nova.virt.xenapi.fake [-] Calling getter VBD.get_device from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,356 DEBUG nova.virt.xenapi.vm_utils [-] VBD 1d52bd49-89ac-4fec-8f5b-e8c39aaf42ee plugged as autodetect from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:927 2011-05-04 14:30:59,357 DEBUG nova.tests.fake_utils [-] Faking execution of cmd (subprocess): sudo mount -t ext2,ext3 /dev/autodetect1 /tmp/tmprCaoVT from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:71 2011-05-04 14:30:59,358 DEBUG nova.tests.fake_utils [-] Faked command matched (sudo\s+)?mount from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:79 2011-05-04 14:30:59,359 DEBUG nova.tests.test_xenapi [-] Creating files in /tmp/tmprCaoVT to simulate guest agent from (pid=31138) _mount_handler /tmp/tmpv6MFQF/nova/tests/test_xenapi.py:434 2011-05-04 14:30:59,359 DEBUG nova.tests.fake_utils [-] Reply to faked command is stdout='' stderr='' from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:99 2011-05-04 14:30:59,361 INFO nova.virt.xenapi.vm_utils [-] XenServer tools installed in this image are capable of network injection. Networking files will not bemanipulated 2011-05-04 14:30:59,361 DEBUG nova.tests.fake_utils [-] Faking execution of cmd (subprocess): sudo umount /dev/autodetect1 from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:71 2011-05-04 14:30:59,362 DEBUG nova.tests.fake_utils [-] Faked command matched (sudo\s+)?umount from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:79 2011-05-04 14:30:59,363 DEBUG nova.tests.test_xenapi [-] Removing simulated guest agent files in /tmp/tmprCaoVT from (pid=31138) _umount_handler /tmp/tmpv6MFQF/nova/tests/test_xenapi.py:445 2011-05-04 14:30:59,364 DEBUG nova.tests.fake_utils [-] Reply to faked command is stdout='' stderr='' from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:99 2011-05-04 14:30:59,365 DEBUG nova.virt.xenapi.vm_utils [-] Destroying VBD for VDI 70834657-fa79-409a-ad64-cf1489a5f571 ... from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:939 2011-05-04 14:30:59,366 DEBUG nova.virt.xenapi.fake [-] Calling VBD.unplug > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:59,367 DEBUG nova.virt.xenapi.vm_utils [-] VBD.unplug successful first time. from (pid=31138) vbd_unplug_with_retry /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:954 2011-05-04 14:30:59,367 DEBUG nova.virt.xenapi.vm_utils [-] Destroying VBD for VDI 70834657-fa79-409a-ad64-cf1489a5f571 done. from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:942 2011-05-04 14:30:59,368 DEBUG nova [-] creating vif(s) for vm: |cb37d0d7-3037-40b8-a0a1-57385fc819db| from (pid=31138) create_vifs /tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py:885 2011-05-04 14:30:59,369 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,371 DEBUG nova.virt.xenapi.fake [-] Calling network.get_all_records_where > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:59,373 DEBUG nova.virt.xenapi.fake [-] Calling getter network.get_all_records from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,378 DEBUG nova.virt.xenapi.vm_utils [-] Creating VIF for VM cb37d0d7-3037-40b8-a0a1-57385fc819db, network 608b6c16-7c9a-4804-8140-ef416d86fca5. from (pid=31138) create_vif /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:254 2011-05-04 14:30:59,380 DEBUG nova.virt.xenapi.vm_utils [-] Created VIF 76a6b57f-3872-43a0-8053-d5e14b2991ea for VM cb37d0d7-3037-40b8-a0a1-57385fc819db, network 608b6c16-7c9a-4804-8140-ef416d86fca5. from (pid=31138) create_vif /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:257 2011-05-04 14:30:59,381 DEBUG nova [-] injecting network info to xs for vm: |cb37d0d7-3037-40b8-a0a1-57385fc819db| from (pid=31138) _inject_network_info /tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py:847 2011-05-04 14:30:59,382 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,383 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_uuid from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,436 DEBUG nova.virt.xenapi.fake [-] Calling VM.get_xenstore_data > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:59,440 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 --------------------- >> end captured logging << --------------------- ====================================================================== ERROR: test_spawn_objectstore (nova.tests.test_xenapi.XenAPIVMTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/tmpv6MFQF/nova/tests/test_xenapi.py", line 360, in test_spawn_objectstore self._test_spawn(1, 2, 3) File "/tmp/tmpv6MFQF/nova/tests/test_xenapi.py", line 344, in _test_spawn self.conn.spawn(instance) File "/tmp/tmpv6MFQF/nova/virt/xenapi_conn.py", line 188, in spawn self._vmops.spawn(instance) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 118, in spawn vm_ref = self._create_vm(instance, vdi_uuid, network_info) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 178, in _create_vm self.inject_network_info(instance, network_info, vm_ref) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 838, in inject_network_info self._inject_network_info(instance, network_info, vm_ref) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 864, in _inject_network_info instance, location, vm_ref=vm_ref) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 972, in _make_plugin_call args = {'dom_id': vm_rec['domid'], 'path': path} KeyError: 'domid' -------------------- >> begin captured logging << -------------------- 2011-05-04 14:30:59,596 AUDIT nova.auth.manager [-] Created user fake (admin: True) 2011-05-04 14:30:59,598 AUDIT nova.auth.manager [-] Created project fake with manager fake 2011-05-04 14:30:59,608 DEBUG nova.virt.xenapi.vm_utils [-] Detected DISK format for image 1, instance 1 from (pid=31138) log_disk_format /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:494 2011-05-04 14:30:59,609 DEBUG nova.virt.xenapi.vm_utils [-] Asking xapi to fetch http://173.203.104.204:3333/_images/1/image as fake:fake from (pid=31138) _fetch_image_objectstore /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:541 2011-05-04 14:30:59,610 DEBUG nova.virt.xenapi.fake [-] Calling getter session.get_this_host from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,613 DEBUG nova.virt.xenapi.fake [-] Calling host.call_plugin > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:59,618 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_name_label from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,619 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_status from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,620 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_result from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,620 INFO nova.virt.xenapi [-] Task [Async.host.call_plugin] ba7eda9c-5c2f-48e4-8f17-85a490d17e3f status: success b44729f8-ab48-4f39-8c59-629192b00294 2011-05-04 14:30:59,626 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_by_name_label from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,627 DEBUG nova.virt.xenapi.fake [-] Calling getter session.get_this_host from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,628 DEBUG nova.virt.xenapi.fake [-] Calling host.compute_free_memory > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:59,639 DEBUG nova.virt.xenapi.fake [-] Calling getter VDI.get_by_uuid from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,641 DEBUG nova.virt.xenapi.vm_utils [-] Detected DISK format for image 1, instance 1 from (pid=31138) log_disk_format /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:494 2011-05-04 14:30:59,643 DEBUG nova.virt.xenapi.vm_utils [-] Asking xapi to fetch http://173.203.104.204:3333/_images/2/image as fake:fake from (pid=31138) _fetch_image_objectstore /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:541 2011-05-04 14:30:59,644 DEBUG nova.virt.xenapi.fake [-] Calling getter session.get_this_host from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,648 DEBUG nova.virt.xenapi.fake [-] Calling host.call_plugin > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:59,653 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_name_label from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,654 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_status from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,655 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_result from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,655 INFO nova.virt.xenapi [-] Task [Async.host.call_plugin] 60790684-0b30-4a3c-ab45-708c8a2643b2 status: success 874c3318-ef2b-4770-9ff6-0b5d8a953599 2011-05-04 14:30:59,662 DEBUG nova.virt.xenapi.vm_utils [-] Asking xapi to fetch http://173.203.104.204:3333/_images/3/image as fake:fake from (pid=31138) _fetch_image_objectstore /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:541 2011-05-04 14:30:59,663 DEBUG nova.virt.xenapi.fake [-] Calling getter session.get_this_host from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,665 DEBUG nova.virt.xenapi.fake [-] Calling host.call_plugin > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:59,668 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_name_label from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,669 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_status from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,670 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_result from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,670 INFO nova.virt.xenapi [-] Task [Async.host.call_plugin] 8ee8c897-aac1-4ae5-87a1-e6f52ff78541 status: success 69870860-979b-495e-ad68-6e3beb87b838 2011-05-04 14:30:59,676 DEBUG nova.virt.xenapi.vm_utils [-] Looking up vdi 544a8802-5d98-4173-9e21-76c657b1976d for PV kernel from (pid=31138) _determine_is_pv_objectstore /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:588 2011-05-04 14:30:59,677 DEBUG nova.virt.xenapi.fake [-] Calling getter session.get_this_host from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,680 DEBUG nova.virt.xenapi.fake [-] Calling host.call_plugin > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:59,684 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_name_label from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,685 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_status from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,686 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_result from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,687 INFO nova.virt.xenapi [-] Task [Async.host.call_plugin] 09f2831d-5aa1-4938-9b2e-e0f618d8f769 status: success c4081f70-dd18-4621-9016-ee69a35fe075 2011-05-04 14:30:59,691 DEBUG nova.virt.xenapi.vm_utils [-] PV Kernel in VDI:None from (pid=31138) _determine_is_pv_objectstore /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:599 2011-05-04 14:30:59,692 DEBUG nova.virt.xenapi.vm_utils [-] Created VM 1... from (pid=31138) create_vm /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:163 2011-05-04 14:30:59,695 DEBUG nova.virt.xenapi.vm_utils [-] Created VM 1 as 8fd7b2f0-1b1a-4755-b374-1b8803d38487. from (pid=31138) create_vm /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:166 2011-05-04 14:30:59,695 DEBUG nova.virt.xenapi.vm_utils [-] Creating VBD for VM 8fd7b2f0-1b1a-4755-b374-1b8803d38487, VDI 544a8802-5d98-4173-9e21-76c657b1976d ... from (pid=31138) create_vbd /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:198 2011-05-04 14:30:59,698 DEBUG nova.virt.xenapi.vm_utils [-] Created VBD 0f090dcc-78aa-41a6-ae28-de031c19d1d7 for VM 8fd7b2f0-1b1a-4755-b374-1b8803d38487, VDI 544a8802-5d98-4173-9e21-76c657b1976d. from (pid=31138) create_vbd /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:201 2011-05-04 14:30:59,700 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_by_uuid from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,701 DEBUG nova.virt.xenapi.vm_utils [-] Creating VBD for VDI 544a8802-5d98-4173-9e21-76c657b1976d ... from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:919 2011-05-04 14:30:59,702 DEBUG nova.virt.xenapi.vm_utils [-] Creating VBD for VDI 544a8802-5d98-4173-9e21-76c657b1976d done. from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:921 2011-05-04 14:30:59,703 DEBUG nova.virt.xenapi.vm_utils [-] Plugging VBD ba647f4f-f549-407b-ac25-b85565522854 ... from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:923 2011-05-04 14:30:59,704 DEBUG nova.virt.xenapi.fake [-] Calling VBD.plug > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:59,704 DEBUG nova.virt.xenapi.vm_utils [-] Plugging VBD ba647f4f-f549-407b-ac25-b85565522854 done. from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:925 2011-05-04 14:30:59,705 DEBUG nova.virt.xenapi.fake [-] Calling getter VBD.get_device from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,706 DEBUG nova.virt.xenapi.vm_utils [-] VBD ba647f4f-f549-407b-ac25-b85565522854 plugged as autodetect from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:927 2011-05-04 14:30:59,707 DEBUG nova.tests.fake_utils [-] Faking execution of cmd (subprocess): sudo mount -t ext2,ext3 /dev/autodetect1 /tmp/tmpCge1Ec from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:71 2011-05-04 14:30:59,708 DEBUG nova.tests.fake_utils [-] Reply to faked command is stdout='' stderr='' from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:99 2011-05-04 14:30:59,709 INFO nova.virt.xenapi.vm_utils [-] XenServer tools are not installed in this image 2011-05-04 14:30:59,709 INFO nova.virt.xenapi.vm_utils [-] Manipulating interface files directly 2011-05-04 14:30:59,710 DEBUG nova.tests.fake_utils [-] Faking execution of cmd (subprocess): sudo mkdir -p /tmp/tmpCge1Ec/root/.ssh from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:71 2011-05-04 14:30:59,710 DEBUG nova.tests.fake_utils [-] Reply to faked command is stdout='' stderr='' from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:99 2011-05-04 14:30:59,711 DEBUG nova.tests.fake_utils [-] Faking execution of cmd (subprocess): sudo chown root /tmp/tmpCge1Ec/root/.ssh from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:71 2011-05-04 14:30:59,712 DEBUG nova.tests.fake_utils [-] Reply to faked command is stdout='' stderr='' from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:99 2011-05-04 14:30:59,713 DEBUG nova.tests.fake_utils [-] Faking execution of cmd (subprocess): sudo chmod 700 /tmp/tmpCge1Ec/root/.ssh from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:71 2011-05-04 14:30:59,714 DEBUG nova.tests.fake_utils [-] Reply to faked command is stdout='' stderr='' from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:99 2011-05-04 14:30:59,715 DEBUG nova.tests.fake_utils [-] Faking execution of cmd (subprocess): sudo tee -a /tmp/tmpCge1Ec/root/.ssh/authorized_keys from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:71 2011-05-04 14:30:59,716 DEBUG nova.tests.fake_utils [-] Reply to faked command is stdout='' stderr='' from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:99 2011-05-04 14:30:59,717 DEBUG nova.tests.fake_utils [-] Faking execution of cmd (subprocess): sudo mkdir -p /tmp/tmpCge1Ec/etc/network from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:71 2011-05-04 14:30:59,717 DEBUG nova.tests.fake_utils [-] Reply to faked command is stdout='' stderr='' from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:99 2011-05-04 14:30:59,718 DEBUG nova.tests.fake_utils [-] Faking execution of cmd (subprocess): sudo chown root:root /tmp/tmpCge1Ec/etc/network from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:71 2011-05-04 14:30:59,719 DEBUG nova.tests.fake_utils [-] Reply to faked command is stdout='' stderr='' from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:99 2011-05-04 14:30:59,720 DEBUG nova.tests.fake_utils [-] Faking execution of cmd (subprocess): sudo chmod 755 /tmp/tmpCge1Ec/etc/network from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:71 2011-05-04 14:30:59,721 DEBUG nova.tests.fake_utils [-] Reply to faked command is stdout='' stderr='' from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:99 2011-05-04 14:30:59,722 DEBUG nova.tests.fake_utils [-] Faking execution of cmd (subprocess): sudo tee /tmp/tmpCge1Ec/etc/network/interfaces from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:71 2011-05-04 14:30:59,723 DEBUG nova.tests.fake_utils [-] Reply to faked command is stdout='' stderr='' from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:99 2011-05-04 14:30:59,723 DEBUG nova.tests.fake_utils [-] Faking execution of cmd (subprocess): sudo umount /dev/autodetect1 from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:71 2011-05-04 14:30:59,724 DEBUG nova.tests.fake_utils [-] Reply to faked command is stdout='' stderr='' from (pid=31138) fake_execute /tmp/tmpv6MFQF/nova/tests/fake_utils.py:99 2011-05-04 14:30:59,725 DEBUG nova.virt.xenapi.vm_utils [-] Destroying VBD for VDI 544a8802-5d98-4173-9e21-76c657b1976d ... from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:939 2011-05-04 14:30:59,726 DEBUG nova.virt.xenapi.fake [-] Calling VBD.unplug > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:59,727 DEBUG nova.virt.xenapi.vm_utils [-] VBD.unplug successful first time. from (pid=31138) vbd_unplug_with_retry /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:954 2011-05-04 14:30:59,728 DEBUG nova.virt.xenapi.vm_utils [-] Destroying VBD for VDI 544a8802-5d98-4173-9e21-76c657b1976d done. from (pid=31138) with_vdi_attached_here /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:942 2011-05-04 14:30:59,728 DEBUG nova [-] creating vif(s) for vm: |8fd7b2f0-1b1a-4755-b374-1b8803d38487| from (pid=31138) create_vifs /tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py:885 2011-05-04 14:30:59,729 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,731 DEBUG nova.virt.xenapi.fake [-] Calling network.get_all_records_where > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:59,733 DEBUG nova.virt.xenapi.fake [-] Calling getter network.get_all_records from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,738 DEBUG nova.virt.xenapi.vm_utils [-] Creating VIF for VM 8fd7b2f0-1b1a-4755-b374-1b8803d38487, network d8d6184d-9e20-4caa-bc8c-0add65f93375. from (pid=31138) create_vif /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:254 2011-05-04 14:30:59,740 DEBUG nova.virt.xenapi.vm_utils [-] Created VIF 95f6af58-a169-447a-a555-cbaf4b14decf for VM 8fd7b2f0-1b1a-4755-b374-1b8803d38487, network d8d6184d-9e20-4caa-bc8c-0add65f93375. from (pid=31138) create_vif /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:257 2011-05-04 14:30:59,741 DEBUG nova [-] injecting network info to xs for vm: |8fd7b2f0-1b1a-4755-b374-1b8803d38487| from (pid=31138) _inject_network_info /tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py:847 2011-05-04 14:30:59,741 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,742 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_uuid from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,744 DEBUG nova.virt.xenapi.fake [-] Calling VM.get_xenstore_data > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:59,746 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 --------------------- >> end captured logging << --------------------- ====================================================================== ERROR: test_spawn_raw_glance (nova.tests.test_xenapi.XenAPIVMTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/tmpv6MFQF/nova/tests/test_xenapi.py", line 60, in decorated_function function(self, *args, **kwargs) File "/tmp/tmpv6MFQF/nova/tests/test_xenapi.py", line 365, in test_spawn_raw_glance self._test_spawn(glance_stubs.FakeGlance.IMAGE_RAW, None, None) File "/tmp/tmpv6MFQF/nova/tests/test_xenapi.py", line 344, in _test_spawn self.conn.spawn(instance) File "/tmp/tmpv6MFQF/nova/virt/xenapi_conn.py", line 188, in spawn self._vmops.spawn(instance) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 118, in spawn vm_ref = self._create_vm(instance, vdi_uuid, network_info) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 178, in _create_vm self.inject_network_info(instance, network_info, vm_ref) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 838, in inject_network_info self._inject_network_info(instance, network_info, vm_ref) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 864, in _inject_network_info instance, location, vm_ref=vm_ref) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 972, in _make_plugin_call args = {'dom_id': vm_rec['domid'], 'path': path} KeyError: 'domid' -------------------- >> begin captured logging << -------------------- 2011-05-04 14:30:59,767 AUDIT nova.auth.manager [-] Created user fake (admin: True) 2011-05-04 14:30:59,770 AUDIT nova.auth.manager [-] Created project fake with manager fake 2011-05-04 14:30:59,780 DEBUG nova.virt.xenapi.vm_utils [-] Detected DISK_RAW format for image 4, instance 1 from (pid=31138) log_disk_format /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:494 2011-05-04 14:30:59,781 DEBUG nova.virt.xenapi.fake [-] Calling getter session.get_this_host from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,782 DEBUG nova.virt.xenapi.fake [-] Calling getter SR.get_all from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,783 DEBUG nova.virt.xenapi.fake [-] Calling getter SR.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,784 DEBUG nova.virt.xenapi.fake [-] Calling getter PBD.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,785 DEBUG nova.virt.xenapi.vm_utils [-] Size for image 4:0 from (pid=31138) _fetch_image_glance_disk /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:442 2011-05-04 14:30:59,786 DEBUG nova.virt.xenapi.vm_utils [-] Created VDI 881efa27-5452-448f-886f-4a83b7f17299 (Glance image 4, 0, False) on 33832bdf-6c75-48c5-87f0-b202cb02c7cb. from (pid=31138) create_vdi /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:277 2011-05-04 14:30:59,786 DEBUG nova.virt.xenapi.fake [-] Calling getter VDI.get_uuid from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,787 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_by_name_label from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,788 DEBUG nova.virt.xenapi.fake [-] Calling getter session.get_this_host from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,789 DEBUG nova.virt.xenapi.fake [-] Calling host.compute_free_memory > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:59,792 DEBUG nova.virt.xenapi.fake [-] Calling getter VDI.get_by_uuid from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,794 DEBUG nova.virt.xenapi.vm_utils [-] Detected DISK_RAW format for image 4, instance 1 from (pid=31138) log_disk_format /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:494 2011-05-04 14:30:59,795 DEBUG nova.virt.xenapi.vm_utils [-] Looking up vdi 881efa27-5452-448f-886f-4a83b7f17299 for PV kernel from (pid=31138) _determine_is_pv_glance /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:617 2011-05-04 14:30:59,796 DEBUG nova.virt.xenapi.vm_utils [-] Created VM 1... from (pid=31138) create_vm /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:163 2011-05-04 14:30:59,803 DEBUG nova.virt.xenapi.vm_utils [-] Created VM 1 as 569f78b1-a098-4ec6-a248-755959a5a891. from (pid=31138) create_vm /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:166 2011-05-04 14:30:59,804 DEBUG nova.virt.xenapi.vm_utils [-] Creating VBD for VM 569f78b1-a098-4ec6-a248-755959a5a891, VDI 881efa27-5452-448f-886f-4a83b7f17299 ... from (pid=31138) create_vbd /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:198 2011-05-04 14:30:59,807 DEBUG nova.virt.xenapi.vm_utils [-] Created VBD 2a8874de-95ba-40ee-b0b7-339aba24fa16 for VM 569f78b1-a098-4ec6-a248-755959a5a891, VDI 881efa27-5452-448f-886f-4a83b7f17299. from (pid=31138) create_vbd /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:201 2011-05-04 14:30:59,809 DEBUG nova [-] creating vif(s) for vm: |569f78b1-a098-4ec6-a248-755959a5a891| from (pid=31138) create_vifs /tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py:885 2011-05-04 14:30:59,810 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,811 DEBUG nova.virt.xenapi.fake [-] Calling network.get_all_records_where > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:59,814 DEBUG nova.virt.xenapi.fake [-] Calling getter network.get_all_records from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,818 DEBUG nova.virt.xenapi.vm_utils [-] Creating VIF for VM 569f78b1-a098-4ec6-a248-755959a5a891, network 57a6d00b-b6e4-4e06-b42d-56b154038055. from (pid=31138) create_vif /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:254 2011-05-04 14:30:59,822 DEBUG nova.virt.xenapi.vm_utils [-] Created VIF 878bde99-8b19-451c-bff1-c722eaac62c9 for VM 569f78b1-a098-4ec6-a248-755959a5a891, network 57a6d00b-b6e4-4e06-b42d-56b154038055. from (pid=31138) create_vif /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:257 2011-05-04 14:30:59,823 DEBUG nova [-] injecting network info to xs for vm: |569f78b1-a098-4ec6-a248-755959a5a891| from (pid=31138) _inject_network_info /tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py:847 2011-05-04 14:30:59,823 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,824 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_uuid from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,825 DEBUG nova.virt.xenapi.fake [-] Calling VM.get_xenstore_data > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:59,829 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 --------------------- >> end captured logging << --------------------- ====================================================================== ERROR: test_spawn_raw_objectstore (nova.tests.test_xenapi.XenAPIVMTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/tmpv6MFQF/nova/tests/test_xenapi.py", line 356, in test_spawn_raw_objectstore self._test_spawn(1, None, None) File "/tmp/tmpv6MFQF/nova/tests/test_xenapi.py", line 344, in _test_spawn self.conn.spawn(instance) File "/tmp/tmpv6MFQF/nova/virt/xenapi_conn.py", line 188, in spawn self._vmops.spawn(instance) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 118, in spawn vm_ref = self._create_vm(instance, vdi_uuid, network_info) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 178, in _create_vm self.inject_network_info(instance, network_info, vm_ref) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 838, in inject_network_info self._inject_network_info(instance, network_info, vm_ref) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 864, in _inject_network_info instance, location, vm_ref=vm_ref) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 972, in _make_plugin_call args = {'dom_id': vm_rec['domid'], 'path': path} KeyError: 'domid' -------------------- >> begin captured logging << -------------------- 2011-05-04 14:30:59,845 AUDIT nova.auth.manager [-] Created user fake (admin: True) 2011-05-04 14:30:59,848 AUDIT nova.auth.manager [-] Created project fake with manager fake 2011-05-04 14:30:59,858 DEBUG nova.virt.xenapi.vm_utils [-] Detected DISK_RAW format for image 1, instance 1 from (pid=31138) log_disk_format /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:494 2011-05-04 14:30:59,859 DEBUG nova.virt.xenapi.vm_utils [-] Asking xapi to fetch http://173.203.104.204:3333/_images/1/image as fake:fake from (pid=31138) _fetch_image_objectstore /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:541 2011-05-04 14:30:59,859 DEBUG nova.virt.xenapi.fake [-] Calling getter session.get_this_host from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,861 DEBUG nova.virt.xenapi.fake [-] Calling host.call_plugin > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:59,866 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_name_label from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,867 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_status from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,868 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_result from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,869 INFO nova.virt.xenapi [-] Task [Async.host.call_plugin] a1f75212-1d04-4a12-bb42-13dceb099304 status: success aad9b6e9-6f20-4fb5-96e4-307bde76db9f 2011-05-04 14:30:59,873 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_by_name_label from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,874 DEBUG nova.virt.xenapi.fake [-] Calling getter session.get_this_host from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,875 DEBUG nova.virt.xenapi.fake [-] Calling host.compute_free_memory > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:59,878 DEBUG nova.virt.xenapi.fake [-] Calling getter VDI.get_by_uuid from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,880 DEBUG nova.virt.xenapi.vm_utils [-] Detected DISK_RAW format for image 1, instance 1 from (pid=31138) log_disk_format /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:494 2011-05-04 14:30:59,881 DEBUG nova.virt.xenapi.vm_utils [-] Looking up vdi e12874d0-46e8-4aba-a241-8c809afa12b5 for PV kernel from (pid=31138) _determine_is_pv_objectstore /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:588 2011-05-04 14:30:59,882 DEBUG nova.virt.xenapi.fake [-] Calling getter session.get_this_host from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,883 DEBUG nova.virt.xenapi.fake [-] Calling host.call_plugin > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:59,888 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_name_label from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,889 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_status from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,890 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_result from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,891 INFO nova.virt.xenapi [-] Task [Async.host.call_plugin] 531313f8-14ad-4229-b7dd-a70ae5a7edf9 status: success f006941e-bb20-4e82-beef-cccf676937bb 2011-05-04 14:30:59,895 DEBUG nova.virt.xenapi.vm_utils [-] PV Kernel in VDI:None from (pid=31138) _determine_is_pv_objectstore /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:599 2011-05-04 14:30:59,896 DEBUG nova.virt.xenapi.vm_utils [-] Created VM 1... from (pid=31138) create_vm /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:163 2011-05-04 14:30:59,899 DEBUG nova.virt.xenapi.vm_utils [-] Created VM 1 as 52123345-9fea-444e-b230-08c5e9947836. from (pid=31138) create_vm /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:166 2011-05-04 14:30:59,900 DEBUG nova.virt.xenapi.vm_utils [-] Creating VBD for VM 52123345-9fea-444e-b230-08c5e9947836, VDI e12874d0-46e8-4aba-a241-8c809afa12b5 ... from (pid=31138) create_vbd /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:198 2011-05-04 14:30:59,904 DEBUG nova.virt.xenapi.vm_utils [-] Created VBD 92f1cb83-ec99-4a18-9141-454f5e101397 for VM 52123345-9fea-444e-b230-08c5e9947836, VDI e12874d0-46e8-4aba-a241-8c809afa12b5. from (pid=31138) create_vbd /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:201 2011-05-04 14:30:59,906 DEBUG nova [-] creating vif(s) for vm: |52123345-9fea-444e-b230-08c5e9947836| from (pid=31138) create_vifs /tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py:885 2011-05-04 14:30:59,907 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,909 DEBUG nova.virt.xenapi.fake [-] Calling network.get_all_records_where > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:59,911 DEBUG nova.virt.xenapi.fake [-] Calling getter network.get_all_records from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,914 DEBUG nova.virt.xenapi.vm_utils [-] Creating VIF for VM 52123345-9fea-444e-b230-08c5e9947836, network 92341fff-6124-4999-a251-f11145a26cff. from (pid=31138) create_vif /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:254 2011-05-04 14:30:59,916 DEBUG nova.virt.xenapi.vm_utils [-] Created VIF 4553b551-1ddf-495a-ba28-30b770a3634a for VM 52123345-9fea-444e-b230-08c5e9947836, network 92341fff-6124-4999-a251-f11145a26cff. from (pid=31138) create_vif /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:257 2011-05-04 14:30:59,917 DEBUG nova [-] injecting network info to xs for vm: |52123345-9fea-444e-b230-08c5e9947836| from (pid=31138) _inject_network_info /tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py:847 2011-05-04 14:30:59,918 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,919 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_uuid from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,921 DEBUG nova.virt.xenapi.fake [-] Calling VM.get_xenstore_data > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:59,924 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 --------------------- >> end captured logging << --------------------- ====================================================================== ERROR: test_spawn_vhd_glance_linux (nova.tests.test_xenapi.XenAPIVMTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/tmpv6MFQF/nova/tests/test_xenapi.py", line 371, in test_spawn_vhd_glance_linux os_type="linux") File "/tmp/tmpv6MFQF/nova/tests/test_xenapi.py", line 344, in _test_spawn self.conn.spawn(instance) File "/tmp/tmpv6MFQF/nova/virt/xenapi_conn.py", line 188, in spawn self._vmops.spawn(instance) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 118, in spawn vm_ref = self._create_vm(instance, vdi_uuid, network_info) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 178, in _create_vm self.inject_network_info(instance, network_info, vm_ref) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 838, in inject_network_info self._inject_network_info(instance, network_info, vm_ref) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 864, in _inject_network_info instance, location, vm_ref=vm_ref) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 972, in _make_plugin_call args = {'dom_id': vm_rec['domid'], 'path': path} KeyError: 'domid' -------------------- >> begin captured logging << -------------------- 2011-05-04 14:30:59,943 AUDIT nova.auth.manager [-] Created user fake (admin: True) 2011-05-04 14:30:59,945 AUDIT nova.auth.manager [-] Created project fake with manager fake 2011-05-04 14:30:59,957 DEBUG nova.virt.xenapi.vm_utils [-] Detected DISK_VHD format for image 5, instance 1 from (pid=31138) log_disk_format /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:494 2011-05-04 14:30:59,958 DEBUG nova.virt.xenapi.vm_utils [-] Asking xapi to fetch vhd image 5 from (pid=31138) _fetch_image_glance_vhd /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:392 2011-05-04 14:30:59,959 DEBUG nova.virt.xenapi.fake [-] Calling getter session.get_this_host from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,959 DEBUG nova.virt.xenapi.fake [-] Calling getter SR.get_all from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,960 DEBUG nova.virt.xenapi.fake [-] Calling getter SR.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,961 DEBUG nova.virt.xenapi.fake [-] Calling getter PBD.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,962 DEBUG nova.virt.xenapi.fake [-] Calling getter session.get_this_host from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,963 DEBUG nova.virt.xenapi.fake [-] Calling getter SR.get_all from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,964 DEBUG nova.virt.xenapi.fake [-] Calling getter SR.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,964 DEBUG nova.virt.xenapi.fake [-] Calling getter PBD.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,965 DEBUG nova.virt.xenapi.fake [-] Calling getter SR.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,966 DEBUG nova.virt.xenapi.fake [-] Calling getter session.get_this_host from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,968 DEBUG nova.virt.xenapi.fake [-] Calling host.call_plugin > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:59,972 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_name_label from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,973 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_status from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,974 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_result from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,975 INFO nova.virt.xenapi [-] Task [Async.host.call_plugin] 749186fe-881a-4780-9864-92c56d5f0002 status: success 19c306be-e85b-47f5-821b-a063bcc7b70b 2011-05-04 14:30:59,980 DEBUG nova.virt.xenapi.vm_utils [-] Re-scanning SR 8b42206b-16c8-410b-b059-03a5f1d6ba00 from (pid=31138) scan_sr /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:739 2011-05-04 14:30:59,983 DEBUG nova.virt.xenapi.fake [-] Calling SR.scan > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:59,989 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_name_label from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,989 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_status from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,990 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_result from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,991 INFO nova.virt.xenapi [-] Task [Async.SR.scan] c4ba6dc4-f0c9-42cf-8336-3703ac07437b status: success None 2011-05-04 14:30:59,996 DEBUG nova.virt.xenapi.fake [-] Calling getter VDI.get_by_uuid from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:30:59,997 DEBUG nova.virt.xenapi.fake [-] Calling VDI.set_name_label > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:30:59,998 DEBUG nova.virt.xenapi.vm_utils [-] xapi 'download_vhd' returned VDI UUID 19c306be-e85b-47f5-821b-a063bcc7b70b from (pid=31138) _fetch_image_glance_vhd /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:419 2011-05-04 14:30:59,999 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_by_name_label from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,000 DEBUG nova.virt.xenapi.fake [-] Calling getter session.get_this_host from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,000 DEBUG nova.virt.xenapi.fake [-] Calling host.compute_free_memory > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:31:00,076 DEBUG nova.virt.xenapi.fake [-] Calling getter VDI.get_by_uuid from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,078 DEBUG nova.virt.xenapi.vm_utils [-] Detected DISK_VHD format for image 5, instance 1 from (pid=31138) log_disk_format /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:494 2011-05-04 14:31:00,079 DEBUG nova.virt.xenapi.vm_utils [-] Looking up vdi b04c8de4-52f5-45ec-8b50-2281e308e101 for PV kernel from (pid=31138) _determine_is_pv_glance /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:617 2011-05-04 14:31:00,080 DEBUG nova.virt.xenapi.vm_utils [-] Created VM 1... from (pid=31138) create_vm /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:163 2011-05-04 14:31:00,083 DEBUG nova.virt.xenapi.vm_utils [-] Created VM 1 as bc78a112-56a8-4636-8dce-c4f4a954897f. from (pid=31138) create_vm /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:166 2011-05-04 14:31:00,084 DEBUG nova.virt.xenapi.vm_utils [-] Creating VBD for VM bc78a112-56a8-4636-8dce-c4f4a954897f, VDI b04c8de4-52f5-45ec-8b50-2281e308e101 ... from (pid=31138) create_vbd /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:198 2011-05-04 14:31:00,086 DEBUG nova.virt.xenapi.vm_utils [-] Created VBD dcf48db5-ba91-449c-ad16-f0231b57b460 for VM bc78a112-56a8-4636-8dce-c4f4a954897f, VDI b04c8de4-52f5-45ec-8b50-2281e308e101. from (pid=31138) create_vbd /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:201 2011-05-04 14:31:00,088 DEBUG nova [-] creating vif(s) for vm: |bc78a112-56a8-4636-8dce-c4f4a954897f| from (pid=31138) create_vifs /tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py:885 2011-05-04 14:31:00,089 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,090 DEBUG nova.virt.xenapi.fake [-] Calling network.get_all_records_where > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:31:00,093 DEBUG nova.virt.xenapi.fake [-] Calling getter network.get_all_records from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,096 DEBUG nova.virt.xenapi.vm_utils [-] Creating VIF for VM bc78a112-56a8-4636-8dce-c4f4a954897f, network f5588bf9-3e9b-49e9-b02b-c216389c6fbb. from (pid=31138) create_vif /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:254 2011-05-04 14:31:00,100 DEBUG nova.virt.xenapi.vm_utils [-] Created VIF e31b13b0-2c41-476d-b61c-6c2446b13057 for VM bc78a112-56a8-4636-8dce-c4f4a954897f, network f5588bf9-3e9b-49e9-b02b-c216389c6fbb. from (pid=31138) create_vif /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:257 2011-05-04 14:31:00,101 DEBUG nova [-] injecting network info to xs for vm: |bc78a112-56a8-4636-8dce-c4f4a954897f| from (pid=31138) _inject_network_info /tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py:847 2011-05-04 14:31:00,101 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,102 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_uuid from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,104 DEBUG nova.virt.xenapi.fake [-] Calling VM.get_xenstore_data > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:31:00,109 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 --------------------- >> end captured logging << --------------------- ====================================================================== ERROR: test_spawn_vhd_glance_windows (nova.tests.test_xenapi.XenAPIVMTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/tmpv6MFQF/nova/tests/test_xenapi.py", line 377, in test_spawn_vhd_glance_windows os_type="windows") File "/tmp/tmpv6MFQF/nova/tests/test_xenapi.py", line 344, in _test_spawn self.conn.spawn(instance) File "/tmp/tmpv6MFQF/nova/virt/xenapi_conn.py", line 188, in spawn self._vmops.spawn(instance) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 118, in spawn vm_ref = self._create_vm(instance, vdi_uuid, network_info) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 178, in _create_vm self.inject_network_info(instance, network_info, vm_ref) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 838, in inject_network_info self._inject_network_info(instance, network_info, vm_ref) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 864, in _inject_network_info instance, location, vm_ref=vm_ref) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 972, in _make_plugin_call args = {'dom_id': vm_rec['domid'], 'path': path} KeyError: 'domid' -------------------- >> begin captured logging << -------------------- 2011-05-04 14:31:00,126 AUDIT nova.auth.manager [-] Created user fake (admin: True) 2011-05-04 14:31:00,129 AUDIT nova.auth.manager [-] Created project fake with manager fake 2011-05-04 14:31:00,138 DEBUG nova.virt.xenapi.vm_utils [-] Detected DISK_VHD format for image 5, instance 1 from (pid=31138) log_disk_format /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:494 2011-05-04 14:31:00,139 DEBUG nova.virt.xenapi.vm_utils [-] Asking xapi to fetch vhd image 5 from (pid=31138) _fetch_image_glance_vhd /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:392 2011-05-04 14:31:00,140 DEBUG nova.virt.xenapi.fake [-] Calling getter session.get_this_host from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,141 DEBUG nova.virt.xenapi.fake [-] Calling getter SR.get_all from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,142 DEBUG nova.virt.xenapi.fake [-] Calling getter SR.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,142 DEBUG nova.virt.xenapi.fake [-] Calling getter PBD.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,143 DEBUG nova.virt.xenapi.fake [-] Calling getter session.get_this_host from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,144 DEBUG nova.virt.xenapi.fake [-] Calling getter SR.get_all from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,145 DEBUG nova.virt.xenapi.fake [-] Calling getter SR.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,146 DEBUG nova.virt.xenapi.fake [-] Calling getter PBD.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,147 DEBUG nova.virt.xenapi.fake [-] Calling getter SR.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,148 DEBUG nova.virt.xenapi.fake [-] Calling getter session.get_this_host from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,150 DEBUG nova.virt.xenapi.fake [-] Calling host.call_plugin > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:31:00,154 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_name_label from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,155 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_status from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,156 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_result from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,157 INFO nova.virt.xenapi [-] Task [Async.host.call_plugin] d1d44113-bf90-49ff-9c72-bfb82f8962f7 status: success de5f927f-fc28-4b34-a896-2167ae05c737 2011-05-04 14:31:00,163 DEBUG nova.virt.xenapi.vm_utils [-] Re-scanning SR a5d948b5-2a7a-4f02-8ab0-199486530c09 from (pid=31138) scan_sr /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:739 2011-05-04 14:31:00,165 DEBUG nova.virt.xenapi.fake [-] Calling SR.scan > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:31:00,168 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_name_label from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,169 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_status from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,169 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_result from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,170 INFO nova.virt.xenapi [-] Task [Async.SR.scan] 3d360fe0-102e-420b-8240-af14074e6351 status: success None 2011-05-04 14:31:00,175 DEBUG nova.virt.xenapi.fake [-] Calling getter VDI.get_by_uuid from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,176 DEBUG nova.virt.xenapi.fake [-] Calling VDI.set_name_label > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:31:00,177 DEBUG nova.virt.xenapi.vm_utils [-] xapi 'download_vhd' returned VDI UUID de5f927f-fc28-4b34-a896-2167ae05c737 from (pid=31138) _fetch_image_glance_vhd /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:419 2011-05-04 14:31:00,178 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_by_name_label from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,178 DEBUG nova.virt.xenapi.fake [-] Calling getter session.get_this_host from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,179 DEBUG nova.virt.xenapi.fake [-] Calling host.compute_free_memory > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:31:00,185 DEBUG nova.virt.xenapi.fake [-] Calling getter VDI.get_by_uuid from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,189 DEBUG nova.virt.xenapi.vm_utils [-] Detected DISK_VHD format for image 5, instance 1 from (pid=31138) log_disk_format /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:494 2011-05-04 14:31:00,190 DEBUG nova.virt.xenapi.vm_utils [-] Looking up vdi 63826427-e163-41f4-b182-41b9157faff8 for PV kernel from (pid=31138) _determine_is_pv_glance /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:617 2011-05-04 14:31:00,190 DEBUG nova.virt.xenapi.vm_utils [-] Created VM 1... from (pid=31138) create_vm /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:163 2011-05-04 14:31:00,193 DEBUG nova.virt.xenapi.vm_utils [-] Created VM 1 as d6981f48-47b8-42b3-8950-eb4c2df72fc6. from (pid=31138) create_vm /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:166 2011-05-04 14:31:00,194 DEBUG nova.virt.xenapi.vm_utils [-] Creating VBD for VM d6981f48-47b8-42b3-8950-eb4c2df72fc6, VDI 63826427-e163-41f4-b182-41b9157faff8 ... from (pid=31138) create_vbd /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:198 2011-05-04 14:31:00,197 DEBUG nova.virt.xenapi.vm_utils [-] Created VBD f4bebb6e-40e7-4e8c-abe9-b2ca9e3201cb for VM d6981f48-47b8-42b3-8950-eb4c2df72fc6, VDI 63826427-e163-41f4-b182-41b9157faff8. from (pid=31138) create_vbd /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:201 2011-05-04 14:31:00,198 DEBUG nova [-] creating vif(s) for vm: |d6981f48-47b8-42b3-8950-eb4c2df72fc6| from (pid=31138) create_vifs /tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py:885 2011-05-04 14:31:00,199 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,201 DEBUG nova.virt.xenapi.fake [-] Calling network.get_all_records_where > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:31:00,205 DEBUG nova.virt.xenapi.fake [-] Calling getter network.get_all_records from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,207 DEBUG nova.virt.xenapi.vm_utils [-] Creating VIF for VM d6981f48-47b8-42b3-8950-eb4c2df72fc6, network d3758f51-e06b-46e1-95c5-c09b3c5a3af4. from (pid=31138) create_vif /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:254 2011-05-04 14:31:00,210 DEBUG nova.virt.xenapi.vm_utils [-] Created VIF c7953a92-62cc-43d6-b4a0-98fffd202775 for VM d6981f48-47b8-42b3-8950-eb4c2df72fc6, network d3758f51-e06b-46e1-95c5-c09b3c5a3af4. from (pid=31138) create_vif /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:257 2011-05-04 14:31:00,210 DEBUG nova [-] injecting network info to xs for vm: |d6981f48-47b8-42b3-8950-eb4c2df72fc6| from (pid=31138) _inject_network_info /tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py:847 2011-05-04 14:31:00,211 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,212 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_uuid from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,216 DEBUG nova.virt.xenapi.fake [-] Calling VM.get_xenstore_data > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:31:00,219 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 --------------------- >> end captured logging << --------------------- ====================================================================== ERROR: test_spawn_vlanmanager (nova.tests.test_xenapi.XenAPIVMTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/tmpv6MFQF/nova/tests/test_xenapi.py", line 482, in test_spawn_vlanmanager instance_id=fake_instance_id) File "/tmp/tmpv6MFQF/nova/tests/test_xenapi.py", line 344, in _test_spawn self.conn.spawn(instance) File "/tmp/tmpv6MFQF/nova/virt/xenapi_conn.py", line 188, in spawn self._vmops.spawn(instance) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 118, in spawn vm_ref = self._create_vm(instance, vdi_uuid, network_info) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 178, in _create_vm self.inject_network_info(instance, network_info, vm_ref) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 838, in inject_network_info self._inject_network_info(instance, network_info, vm_ref) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 864, in _inject_network_info instance, location, vm_ref=vm_ref) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 972, in _make_plugin_call args = {'dom_id': vm_rec['domid'], 'path': path} KeyError: 'domid' -------------------- >> begin captured logging << -------------------- 2011-05-04 14:31:00,237 AUDIT nova.auth.manager [-] Created user fake (admin: True) 2011-05-04 14:31:00,241 AUDIT nova.auth.manager [-] Created project fake with manager fake 2011-05-04 14:31:00,244 DEBUG nova.xenapi_net [-] ENTERING ensure_vlan_bridge in xenapi net from (pid=31138) ensure_vlan_bridge /tmp/tmpv6MFQF/nova/network/xenapi_net.py:40 2011-05-04 14:31:00,246 DEBUG nova.virt.xenapi.fake [-] Calling getter network.get_by_name_label from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,253 DEBUG nova.virt.xenapi.fake [-] Calling PIF.get_all_records_where > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:31:00,269 DEBUG nova.virt.xenapi.vm_utils [-] Detected DISK format for image 1, instance 2 from (pid=31138) log_disk_format /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:494 2011-05-04 14:31:00,270 DEBUG nova.virt.xenapi.fake [-] Calling getter session.get_this_host from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,271 DEBUG nova.virt.xenapi.fake [-] Calling getter SR.get_all from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,272 DEBUG nova.virt.xenapi.fake [-] Calling getter SR.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,272 DEBUG nova.virt.xenapi.fake [-] Calling getter PBD.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,273 DEBUG nova.virt.xenapi.vm_utils [-] Size for image 1:0 from (pid=31138) _fetch_image_glance_disk /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:442 2011-05-04 14:31:00,275 DEBUG nova.virt.xenapi.vm_utils [-] Created VDI bbc20cec-1035-4ac9-bb06-b262b3518a1d (Glance image 1, 32256, False) on a831121e-bcfb-4fab-92a0-ba8cd117b75f. from (pid=31138) create_vdi /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:277 2011-05-04 14:31:00,276 DEBUG nova.virt.xenapi.fake [-] Calling getter VDI.get_uuid from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,277 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_by_name_label from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,277 DEBUG nova.virt.xenapi.fake [-] Calling getter session.get_this_host from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,278 DEBUG nova.virt.xenapi.fake [-] Calling host.compute_free_memory > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:31:00,283 DEBUG nova.virt.xenapi.fake [-] Calling getter VDI.get_by_uuid from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,285 DEBUG nova.virt.xenapi.vm_utils [-] Detected DISK format for image 1, instance 2 from (pid=31138) log_disk_format /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:494 2011-05-04 14:31:00,286 DEBUG nova.virt.xenapi.fake [-] Calling getter session.get_this_host from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,287 DEBUG nova.virt.xenapi.fake [-] Calling getter SR.get_all from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,288 DEBUG nova.virt.xenapi.fake [-] Calling getter SR.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,289 DEBUG nova.virt.xenapi.fake [-] Calling getter PBD.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,290 DEBUG nova.virt.xenapi.vm_utils [-] Size for image 2:0 from (pid=31138) _fetch_image_glance_disk /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:442 2011-05-04 14:31:00,290 DEBUG nova.virt.xenapi.vm_utils [-] Created VDI 47f509a1-d772-4280-bcf7-874cc50cf744 (Glance image 2, 0, False) on a831121e-bcfb-4fab-92a0-ba8cd117b75f. from (pid=31138) create_vdi /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:277 2011-05-04 14:31:00,291 DEBUG nova.virt.xenapi.vm_utils [-] Copying VDI 47f509a1-d772-4280-bcf7-874cc50cf744 to /boot/guest on dom0 from (pid=31138) _fetch_image_glance_disk /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:458 2011-05-04 14:31:00,292 DEBUG nova.virt.xenapi.fake [-] Calling getter session.get_this_host from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,295 DEBUG nova.virt.xenapi.fake [-] Calling host.call_plugin > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:31:00,298 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_name_label from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,299 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_status from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,300 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_result from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,301 INFO nova.virt.xenapi [-] Task [Async.host.call_plugin] 5f902cea-3b1c-4372-9365-ab459b5dcb36 status: success 89752365-b260-4155-9be9-bd136b340bc1 2011-05-04 14:31:00,307 DEBUG nova.virt.xenapi.fake [-] Calling VDI.destroy > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:31:00,308 DEBUG nova.virt.xenapi.vm_utils [-] Kernel/Ramdisk VDI 47f509a1-d772-4280-bcf7-874cc50cf744 destroyed from (pid=31138) _fetch_image_glance_disk /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:468 2011-05-04 14:31:00,309 DEBUG nova.virt.xenapi.fake [-] Calling getter session.get_this_host from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,309 DEBUG nova.virt.xenapi.fake [-] Calling getter SR.get_all from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,310 DEBUG nova.virt.xenapi.fake [-] Calling getter SR.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,311 DEBUG nova.virt.xenapi.fake [-] Calling getter PBD.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,312 DEBUG nova.virt.xenapi.vm_utils [-] Size for image 3:0 from (pid=31138) _fetch_image_glance_disk /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:442 2011-05-04 14:31:00,313 DEBUG nova.virt.xenapi.vm_utils [-] Created VDI bea738cd-2f1d-4e52-b773-41b86924c811 (Glance image 3, 0, False) on a831121e-bcfb-4fab-92a0-ba8cd117b75f. from (pid=31138) create_vdi /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:277 2011-05-04 14:31:00,314 DEBUG nova.virt.xenapi.vm_utils [-] Copying VDI bea738cd-2f1d-4e52-b773-41b86924c811 to /boot/guest on dom0 from (pid=31138) _fetch_image_glance_disk /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:458 2011-05-04 14:31:00,315 DEBUG nova.virt.xenapi.fake [-] Calling getter session.get_this_host from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,316 DEBUG nova.virt.xenapi.fake [-] Calling host.call_plugin > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:31:00,320 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_name_label from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,321 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_status from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,322 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_result from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,322 INFO nova.virt.xenapi [-] Task [Async.host.call_plugin] fb1f27f7-a57e-4fd1-9f05-a6cb96fa4b23 status: success 07992b43-54da-4055-9823-fa855c7e8d75 2011-05-04 14:31:00,328 DEBUG nova.virt.xenapi.fake [-] Calling VDI.destroy > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:31:00,329 DEBUG nova.virt.xenapi.vm_utils [-] Kernel/Ramdisk VDI bea738cd-2f1d-4e52-b773-41b86924c811 destroyed from (pid=31138) _fetch_image_glance_disk /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:468 2011-05-04 14:31:00,330 DEBUG nova.virt.xenapi.vm_utils [-] Looking up vdi bbc20cec-1035-4ac9-bb06-b262b3518a1d for PV kernel from (pid=31138) _determine_is_pv_glance /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:617 2011-05-04 14:31:00,331 DEBUG nova.virt.xenapi.vm_utils [-] Created VM 2... from (pid=31138) create_vm /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:163 2011-05-04 14:31:00,334 DEBUG nova.virt.xenapi.vm_utils [-] Created VM 2 as d215441f-355e-4b18-9880-82bf8c61245d. from (pid=31138) create_vm /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:166 2011-05-04 14:31:00,334 DEBUG nova.virt.xenapi.vm_utils [-] Creating VBD for VM d215441f-355e-4b18-9880-82bf8c61245d, VDI bbc20cec-1035-4ac9-bb06-b262b3518a1d ... from (pid=31138) create_vbd /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:198 2011-05-04 14:31:00,338 DEBUG nova.virt.xenapi.vm_utils [-] Created VBD e43902c0-7a60-49a3-8370-21ac32a66f40 for VM d215441f-355e-4b18-9880-82bf8c61245d, VDI bbc20cec-1035-4ac9-bb06-b262b3518a1d. from (pid=31138) create_vbd /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:201 2011-05-04 14:31:00,339 DEBUG nova [-] creating vif(s) for vm: |d215441f-355e-4b18-9880-82bf8c61245d| from (pid=31138) create_vifs /tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py:885 2011-05-04 14:31:00,340 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,341 DEBUG nova.virt.xenapi.fake [-] Calling network.get_all_records_where > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:31:00,344 DEBUG nova.virt.xenapi.fake [-] Calling getter network.get_all_records from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,348 DEBUG nova.virt.xenapi.vm_utils [-] Creating VIF for VM d215441f-355e-4b18-9880-82bf8c61245d, network 37650d8e-0224-4d38-95b9-c2b696ec0216. from (pid=31138) create_vif /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:254 2011-05-04 14:31:00,353 DEBUG nova.virt.xenapi.vm_utils [-] Created VIF 42e541c4-dbaa-429f-9d91-610e249d3bfd for VM d215441f-355e-4b18-9880-82bf8c61245d, network 37650d8e-0224-4d38-95b9-c2b696ec0216. from (pid=31138) create_vif /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:257 2011-05-04 14:31:00,353 DEBUG nova [-] injecting network info to xs for vm: |d215441f-355e-4b18-9880-82bf8c61245d| from (pid=31138) _inject_network_info /tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py:847 2011-05-04 14:31:00,354 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,355 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_uuid from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,356 DEBUG nova.virt.xenapi.fake [-] Calling VM.get_xenstore_data > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:31:00,398 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 --------------------- >> end captured logging << --------------------- ====================================================================== ERROR: test_spawn_with_network_qos (nova.tests.test_xenapi.XenAPIVMTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/tmpv6MFQF/nova/tests/test_xenapi.py", line 489, in test_spawn_with_network_qos self._create_instance() File "/tmp/tmpv6MFQF/nova/tests/test_xenapi.py", line 530, in _create_instance self.conn.spawn(instance) File "/tmp/tmpv6MFQF/nova/virt/xenapi_conn.py", line 188, in spawn self._vmops.spawn(instance) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 118, in spawn vm_ref = self._create_vm(instance, vdi_uuid, network_info) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 178, in _create_vm self.inject_network_info(instance, network_info, vm_ref) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 838, in inject_network_info self._inject_network_info(instance, network_info, vm_ref) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 864, in _inject_network_info instance, location, vm_ref=vm_ref) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 972, in _make_plugin_call args = {'dom_id': vm_rec['domid'], 'path': path} KeyError: 'domid' -------------------- >> begin captured logging << -------------------- 2011-05-04 14:31:00,421 AUDIT nova.auth.manager [-] Created user fake (admin: True) 2011-05-04 14:31:00,424 AUDIT nova.auth.manager [-] Created project fake with manager fake 2011-05-04 14:31:00,435 DEBUG nova.virt.xenapi.vm_utils [-] Detected DISK format for image 1, instance 1 from (pid=31138) log_disk_format /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:494 2011-05-04 14:31:00,436 DEBUG nova.virt.xenapi.fake [-] Calling getter session.get_this_host from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,437 DEBUG nova.virt.xenapi.fake [-] Calling getter SR.get_all from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,438 DEBUG nova.virt.xenapi.fake [-] Calling getter SR.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,438 DEBUG nova.virt.xenapi.fake [-] Calling getter PBD.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,439 DEBUG nova.virt.xenapi.vm_utils [-] Size for image 1:0 from (pid=31138) _fetch_image_glance_disk /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:442 2011-05-04 14:31:00,440 DEBUG nova.virt.xenapi.vm_utils [-] Created VDI 341b3e7f-b780-4dbb-8ea5-af4ecad4e374 (Glance image 1, 32256, False) on d505e286-140c-4271-889d-8a614b3b9f4f. from (pid=31138) create_vdi /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:277 2011-05-04 14:31:00,441 DEBUG nova.virt.xenapi.fake [-] Calling getter VDI.get_uuid from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,442 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_by_name_label from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,443 DEBUG nova.virt.xenapi.fake [-] Calling getter session.get_this_host from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,444 DEBUG nova.virt.xenapi.fake [-] Calling host.compute_free_memory > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:31:00,447 DEBUG nova.virt.xenapi.fake [-] Calling getter VDI.get_by_uuid from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,450 DEBUG nova.virt.xenapi.vm_utils [-] Detected DISK format for image 1, instance 1 from (pid=31138) log_disk_format /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:494 2011-05-04 14:31:00,451 DEBUG nova.virt.xenapi.fake [-] Calling getter session.get_this_host from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,453 DEBUG nova.virt.xenapi.fake [-] Calling getter SR.get_all from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,453 DEBUG nova.virt.xenapi.fake [-] Calling getter SR.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,454 DEBUG nova.virt.xenapi.fake [-] Calling getter PBD.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,455 DEBUG nova.virt.xenapi.vm_utils [-] Size for image 2:0 from (pid=31138) _fetch_image_glance_disk /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:442 2011-05-04 14:31:00,456 DEBUG nova.virt.xenapi.vm_utils [-] Created VDI 59580cbb-16e3-4eca-b817-4ad851a2bf58 (Glance image 2, 0, False) on d505e286-140c-4271-889d-8a614b3b9f4f. from (pid=31138) create_vdi /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:277 2011-05-04 14:31:00,457 DEBUG nova.virt.xenapi.vm_utils [-] Copying VDI 59580cbb-16e3-4eca-b817-4ad851a2bf58 to /boot/guest on dom0 from (pid=31138) _fetch_image_glance_disk /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:458 2011-05-04 14:31:00,458 DEBUG nova.virt.xenapi.fake [-] Calling getter session.get_this_host from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,460 DEBUG nova.virt.xenapi.fake [-] Calling host.call_plugin > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:31:00,464 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_name_label from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,465 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_status from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,466 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_result from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,467 INFO nova.virt.xenapi [-] Task [Async.host.call_plugin] c3f12d61-f32d-4feb-9561-a47e43a2ee93 status: success 8be7b992-8b39-406f-98d0-ac269c89c6b9 2011-05-04 14:31:00,472 DEBUG nova.virt.xenapi.fake [-] Calling VDI.destroy > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:31:00,473 DEBUG nova.virt.xenapi.vm_utils [-] Kernel/Ramdisk VDI 59580cbb-16e3-4eca-b817-4ad851a2bf58 destroyed from (pid=31138) _fetch_image_glance_disk /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:468 2011-05-04 14:31:00,474 DEBUG nova.virt.xenapi.fake [-] Calling getter session.get_this_host from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,475 DEBUG nova.virt.xenapi.fake [-] Calling getter SR.get_all from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,476 DEBUG nova.virt.xenapi.fake [-] Calling getter SR.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,476 DEBUG nova.virt.xenapi.fake [-] Calling getter PBD.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,477 DEBUG nova.virt.xenapi.vm_utils [-] Size for image 3:0 from (pid=31138) _fetch_image_glance_disk /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:442 2011-05-04 14:31:00,478 DEBUG nova.virt.xenapi.vm_utils [-] Created VDI 571077a2-836d-42b4-87f6-fc5876637715 (Glance image 3, 0, False) on d505e286-140c-4271-889d-8a614b3b9f4f. from (pid=31138) create_vdi /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:277 2011-05-04 14:31:00,479 DEBUG nova.virt.xenapi.vm_utils [-] Copying VDI 571077a2-836d-42b4-87f6-fc5876637715 to /boot/guest on dom0 from (pid=31138) _fetch_image_glance_disk /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:458 2011-05-04 14:31:00,480 DEBUG nova.virt.xenapi.fake [-] Calling getter session.get_this_host from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,482 DEBUG nova.virt.xenapi.fake [-] Calling host.call_plugin > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:31:00,485 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_name_label from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,486 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_status from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,487 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_result from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,488 INFO nova.virt.xenapi [-] Task [Async.host.call_plugin] 255919b0-f9da-45c2-a506-7518d2ddfb2a status: success dcf69e8b-1386-4a28-b7e9-3772a7befbb0 2011-05-04 14:31:00,493 DEBUG nova.virt.xenapi.fake [-] Calling VDI.destroy > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:31:00,494 DEBUG nova.virt.xenapi.vm_utils [-] Kernel/Ramdisk VDI 571077a2-836d-42b4-87f6-fc5876637715 destroyed from (pid=31138) _fetch_image_glance_disk /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:468 2011-05-04 14:31:00,495 DEBUG nova.virt.xenapi.vm_utils [-] Looking up vdi 341b3e7f-b780-4dbb-8ea5-af4ecad4e374 for PV kernel from (pid=31138) _determine_is_pv_glance /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:617 2011-05-04 14:31:00,496 DEBUG nova.virt.xenapi.vm_utils [-] Created VM 1... from (pid=31138) create_vm /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:163 2011-05-04 14:31:00,500 DEBUG nova.virt.xenapi.vm_utils [-] Created VM 1 as c7b607a8-984e-4486-b281-72a819b63f74. from (pid=31138) create_vm /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:166 2011-05-04 14:31:00,501 DEBUG nova.virt.xenapi.vm_utils [-] Creating VBD for VM c7b607a8-984e-4486-b281-72a819b63f74, VDI 341b3e7f-b780-4dbb-8ea5-af4ecad4e374 ... from (pid=31138) create_vbd /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:198 2011-05-04 14:31:00,505 DEBUG nova.virt.xenapi.vm_utils [-] Created VBD 485aafd3-b710-4734-9a9b-8d662ccbacf3 for VM c7b607a8-984e-4486-b281-72a819b63f74, VDI 341b3e7f-b780-4dbb-8ea5-af4ecad4e374. from (pid=31138) create_vbd /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:201 2011-05-04 14:31:00,507 DEBUG nova [-] creating vif(s) for vm: |c7b607a8-984e-4486-b281-72a819b63f74| from (pid=31138) create_vifs /tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py:885 2011-05-04 14:31:00,508 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,510 DEBUG nova.virt.xenapi.fake [-] Calling network.get_all_records_where > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:31:00,512 DEBUG nova.virt.xenapi.fake [-] Calling getter network.get_all_records from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,515 DEBUG nova.virt.xenapi.vm_utils [-] Creating VIF for VM c7b607a8-984e-4486-b281-72a819b63f74, network 851aee29-224c-4e15-ae4c-416a949bb680. from (pid=31138) create_vif /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:254 2011-05-04 14:31:00,517 DEBUG nova.virt.xenapi.vm_utils [-] Created VIF 75d872d7-9bb3-409a-9b30-9f31cbd34501 for VM c7b607a8-984e-4486-b281-72a819b63f74, network 851aee29-224c-4e15-ae4c-416a949bb680. from (pid=31138) create_vif /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:257 2011-05-04 14:31:00,518 DEBUG nova [-] injecting network info to xs for vm: |c7b607a8-984e-4486-b281-72a819b63f74| from (pid=31138) _inject_network_info /tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py:847 2011-05-04 14:31:00,519 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,520 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_uuid from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,522 DEBUG nova.virt.xenapi.fake [-] Calling VM.get_xenstore_data > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:31:00,526 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 --------------------- >> end captured logging << --------------------- ====================================================================== ERROR: test_unrescue (nova.tests.test_xenapi.XenAPIVMTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/tmpv6MFQF/nova/tests/test_xenapi.py", line 503, in test_unrescue instance = self._create_instance() File "/tmp/tmpv6MFQF/nova/tests/test_xenapi.py", line 530, in _create_instance self.conn.spawn(instance) File "/tmp/tmpv6MFQF/nova/virt/xenapi_conn.py", line 188, in spawn self._vmops.spawn(instance) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 118, in spawn vm_ref = self._create_vm(instance, vdi_uuid, network_info) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 178, in _create_vm self.inject_network_info(instance, network_info, vm_ref) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 838, in inject_network_info self._inject_network_info(instance, network_info, vm_ref) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 864, in _inject_network_info instance, location, vm_ref=vm_ref) File "/tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py", line 972, in _make_plugin_call args = {'dom_id': vm_rec['domid'], 'path': path} KeyError: 'domid' -------------------- >> begin captured logging << -------------------- 2011-05-04 14:31:00,545 AUDIT nova.auth.manager [-] Created user fake (admin: True) 2011-05-04 14:31:00,548 AUDIT nova.auth.manager [-] Created project fake with manager fake 2011-05-04 14:31:00,558 DEBUG nova.virt.xenapi.vm_utils [-] Detected DISK format for image 1, instance 1 from (pid=31138) log_disk_format /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:494 2011-05-04 14:31:00,559 DEBUG nova.virt.xenapi.fake [-] Calling getter session.get_this_host from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,560 DEBUG nova.virt.xenapi.fake [-] Calling getter SR.get_all from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,561 DEBUG nova.virt.xenapi.fake [-] Calling getter SR.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,562 DEBUG nova.virt.xenapi.fake [-] Calling getter PBD.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,563 DEBUG nova.virt.xenapi.vm_utils [-] Size for image 1:0 from (pid=31138) _fetch_image_glance_disk /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:442 2011-05-04 14:31:00,564 DEBUG nova.virt.xenapi.vm_utils [-] Created VDI 7f92ee5e-fdf9-499a-a665-9b65a7537ca5 (Glance image 1, 32256, False) on 888b739f-68ab-40ab-aaab-cd411b2fccff. from (pid=31138) create_vdi /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:277 2011-05-04 14:31:00,565 DEBUG nova.virt.xenapi.fake [-] Calling getter VDI.get_uuid from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,566 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_by_name_label from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,567 DEBUG nova.virt.xenapi.fake [-] Calling getter session.get_this_host from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,567 DEBUG nova.virt.xenapi.fake [-] Calling host.compute_free_memory > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:31:00,571 DEBUG nova.virt.xenapi.fake [-] Calling getter VDI.get_by_uuid from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,574 DEBUG nova.virt.xenapi.vm_utils [-] Detected DISK format for image 1, instance 1 from (pid=31138) log_disk_format /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:494 2011-05-04 14:31:00,575 DEBUG nova.virt.xenapi.fake [-] Calling getter session.get_this_host from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,576 DEBUG nova.virt.xenapi.fake [-] Calling getter SR.get_all from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,577 DEBUG nova.virt.xenapi.fake [-] Calling getter SR.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,577 DEBUG nova.virt.xenapi.fake [-] Calling getter PBD.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,578 DEBUG nova.virt.xenapi.vm_utils [-] Size for image 2:0 from (pid=31138) _fetch_image_glance_disk /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:442 2011-05-04 14:31:00,579 DEBUG nova.virt.xenapi.vm_utils [-] Created VDI 7a242620-97ac-4214-9e2c-00ad50dd7719 (Glance image 2, 0, False) on 888b739f-68ab-40ab-aaab-cd411b2fccff. from (pid=31138) create_vdi /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:277 2011-05-04 14:31:00,580 DEBUG nova.virt.xenapi.vm_utils [-] Copying VDI 7a242620-97ac-4214-9e2c-00ad50dd7719 to /boot/guest on dom0 from (pid=31138) _fetch_image_glance_disk /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:458 2011-05-04 14:31:00,581 DEBUG nova.virt.xenapi.fake [-] Calling getter session.get_this_host from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,583 DEBUG nova.virt.xenapi.fake [-] Calling host.call_plugin > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:31:00,587 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_name_label from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,588 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_status from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,589 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_result from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,589 INFO nova.virt.xenapi [-] Task [Async.host.call_plugin] 70ca009d-8a21-46c4-a25d-f481db186500 status: success 8b8cef6a-c6b2-46c5-a8f6-8cf275a4b606 2011-05-04 14:31:00,594 DEBUG nova.virt.xenapi.fake [-] Calling VDI.destroy > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:31:00,595 DEBUG nova.virt.xenapi.vm_utils [-] Kernel/Ramdisk VDI 7a242620-97ac-4214-9e2c-00ad50dd7719 destroyed from (pid=31138) _fetch_image_glance_disk /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:468 2011-05-04 14:31:00,596 DEBUG nova.virt.xenapi.fake [-] Calling getter session.get_this_host from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,597 DEBUG nova.virt.xenapi.fake [-] Calling getter SR.get_all from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,598 DEBUG nova.virt.xenapi.fake [-] Calling getter SR.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,599 DEBUG nova.virt.xenapi.fake [-] Calling getter PBD.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,600 DEBUG nova.virt.xenapi.vm_utils [-] Size for image 3:0 from (pid=31138) _fetch_image_glance_disk /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:442 2011-05-04 14:31:00,601 DEBUG nova.virt.xenapi.vm_utils [-] Created VDI 9471d4a0-4d57-439d-8e58-33107edea3b0 (Glance image 3, 0, False) on 888b739f-68ab-40ab-aaab-cd411b2fccff. from (pid=31138) create_vdi /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:277 2011-05-04 14:31:00,601 DEBUG nova.virt.xenapi.vm_utils [-] Copying VDI 9471d4a0-4d57-439d-8e58-33107edea3b0 to /boot/guest on dom0 from (pid=31138) _fetch_image_glance_disk /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:458 2011-05-04 14:31:00,602 DEBUG nova.virt.xenapi.fake [-] Calling getter session.get_this_host from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,604 DEBUG nova.virt.xenapi.fake [-] Calling host.call_plugin > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:31:00,609 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_name_label from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,610 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_status from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,610 DEBUG nova.virt.xenapi.fake [-] Calling getter task.get_result from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,611 INFO nova.virt.xenapi [-] Task [Async.host.call_plugin] 5a526942-97e4-4b11-8048-7c8f7bdcc283 status: success a30a42b8-120b-4571-8e5a-0a5de55b6006 2011-05-04 14:31:00,616 DEBUG nova.virt.xenapi.fake [-] Calling VDI.destroy > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:31:00,617 DEBUG nova.virt.xenapi.vm_utils [-] Kernel/Ramdisk VDI 9471d4a0-4d57-439d-8e58-33107edea3b0 destroyed from (pid=31138) _fetch_image_glance_disk /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:468 2011-05-04 14:31:00,618 DEBUG nova.virt.xenapi.vm_utils [-] Looking up vdi 7f92ee5e-fdf9-499a-a665-9b65a7537ca5 for PV kernel from (pid=31138) _determine_is_pv_glance /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:617 2011-05-04 14:31:00,619 DEBUG nova.virt.xenapi.vm_utils [-] Created VM 1... from (pid=31138) create_vm /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:163 2011-05-04 14:31:00,697 DEBUG nova.virt.xenapi.vm_utils [-] Created VM 1 as f2bbcc88-e26a-4b6e-a82f-84adba8f6342. from (pid=31138) create_vm /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:166 2011-05-04 14:31:00,698 DEBUG nova.virt.xenapi.vm_utils [-] Creating VBD for VM f2bbcc88-e26a-4b6e-a82f-84adba8f6342, VDI 7f92ee5e-fdf9-499a-a665-9b65a7537ca5 ... from (pid=31138) create_vbd /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:198 2011-05-04 14:31:00,700 DEBUG nova.virt.xenapi.vm_utils [-] Created VBD dfd697b1-29a6-4cbd-b61d-2f9c0513d5c5 for VM f2bbcc88-e26a-4b6e-a82f-84adba8f6342, VDI 7f92ee5e-fdf9-499a-a665-9b65a7537ca5. from (pid=31138) create_vbd /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:201 2011-05-04 14:31:00,702 DEBUG nova [-] creating vif(s) for vm: |f2bbcc88-e26a-4b6e-a82f-84adba8f6342| from (pid=31138) create_vifs /tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py:885 2011-05-04 14:31:00,703 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,704 DEBUG nova.virt.xenapi.fake [-] Calling network.get_all_records_where > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:31:00,707 DEBUG nova.virt.xenapi.fake [-] Calling getter network.get_all_records from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,711 DEBUG nova.virt.xenapi.vm_utils [-] Creating VIF for VM f2bbcc88-e26a-4b6e-a82f-84adba8f6342, network 96ecf3c0-076f-405d-8a8c-924ab565a5fe. from (pid=31138) create_vif /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:254 2011-05-04 14:31:00,715 DEBUG nova.virt.xenapi.vm_utils [-] Created VIF 2f0777e1-8808-4608-a0b6-ea38622b3735 for VM f2bbcc88-e26a-4b6e-a82f-84adba8f6342, network 96ecf3c0-076f-405d-8a8c-924ab565a5fe. from (pid=31138) create_vif /tmp/tmpv6MFQF/nova/virt/xenapi/vm_utils.py:257 2011-05-04 14:31:00,715 DEBUG nova [-] injecting network info to xs for vm: |f2bbcc88-e26a-4b6e-a82f-84adba8f6342| from (pid=31138) _inject_network_info /tmp/tmpv6MFQF/nova/virt/xenapi/vmops.py:847 2011-05-04 14:31:00,716 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,717 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_uuid from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 2011-05-04 14:31:00,719 DEBUG nova.virt.xenapi.fake [-] Calling VM.get_xenstore_data > from (pid=31138) callit /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:407 2011-05-04 14:31:00,724 DEBUG nova.virt.xenapi.fake [-] Calling getter VM.get_record from (pid=31138) __getattr__ /tmp/tmpv6MFQF/nova/virt/xenapi/fake.py:412 --------------------- >> end captured logging << --------------------- ---------------------------------------------------------------------- Ran 710 tests in 168.799s FAILED (errors=15)