Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EB9D2194EA for ; Wed, 13 Apr 2016 07:46:25 +0000 (UTC) Received: (qmail 6894 invoked by uid 500); 13 Apr 2016 07:46:25 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 6862 invoked by uid 500); 13 Apr 2016 07:46:25 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 6853 invoked by uid 500); 13 Apr 2016 07:46:25 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 6850 invoked by uid 99); 13 Apr 2016 07:46:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Apr 2016 07:46:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 7FF1E2C1F56 for ; Wed, 13 Apr 2016 07:46:25 +0000 (UTC) Date: Wed, 13 Apr 2016 07:46:25 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-9182) Some running VMs turned off on manual migration when auto migration failed while host preparing for maintenance MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-9182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15238778#comment-15238778 ] ASF GitHub Bot commented on CLOUDSTACK-9182: -------------------------------------------- Github user bvbharatk commented on the pull request: https://github.com/apache/cloudstack/pull/1252#issuecomment-209286654 ### ACS CI BVT Run **Sumarry:** Build Number 172 Hypervisor xenserver NetworkType Advanced Passed=18 Failed=63 Skipped=3 _Link to logs Folder (search by build_no):_ https://www.dropbox.com/sh/yj3wnzbceo9uef2/AAB6u-Iap-xztdm6jHX9SjPja?dl=0 **Failed tests:** * test_deploy_vm_with_userdata.py * ContextSuite context=TestDeployVmWithUserData>:setup Failed * test_affinity_groups_projects.py * ContextSuite context=TestDeployVmWithAffinityGroup>:setup Failed * test_vpc_vpn.py * ContextSuite context=TestVpcRemoteAccessVpn>:setup Failing since 4 runs * ContextSuite context=TestVpcSite2SiteVpn>:setup Failing since 2 runs * test_vpc_router_nics.py * ContextSuite context=TestVPCNics>:setup Failed * test_vm_snapshots.py * ContextSuite context=TestSnapshots>:setup Failed * ContextSuite context=TestVmSnapshot>:setup Failed * test_vpc_redundant.py * ContextSuite context=TestVPCRedundancy>:setup Failed * test_privategw_acl.py * ContextSuite context=TestPrivateGwACL>:setup Failed * test_scale_vm.py * ContextSuite context=TestScaleVm>:setup Failing since 3 runs * test_router_dhcphosts.py * ContextSuite context=TestRouterDHCPHosts>:setup Failed * test_routers_iptables_default_policy.py * ContextSuite context=TestRouterIpTablesPolicies>:setup Failed * ContextSuite context=TestVPCIpTablesPolicies>:setup Failed * test_quota.py * test_01_quota Failing since 2 runs * test_02_quota Failing since 2 runs * test_03_quota Failing since 2 runs * test_04_quota Failing since 2 runs * test_05_quota Failing since 2 runs * test_06_quota Failing since 2 runs * test_07_quota Failing since 2 runs * test_loadbalance.py * ContextSuite context=TestLoadBalance>:setup Failed * test_routers.py * ContextSuite context=TestRouterServices>:setup Failed * test_snapshots.py * ContextSuite context=TestSnapshotRootDisk>:setup Failed * test_deploy_vms_with_varied_deploymentplanners.py * ContextSuite context=TestDeployVmWithVariedPlanners>:setup Failed * test_network.py * test_delete_account Failed * ContextSuite context=TestPortForwarding>:setup Failed * test_public_ip_admin_account Failed * test_reboot_router Failed * test_releaseIP Failed * ContextSuite context=TestRouterRules>:setup Failed * test_deploy_vm_iso.py * test_deploy_vm_from_iso Failed * test_multipleips_per_nic.py * test_nic_secondaryip_add_remove Failed * test_affinity_groups.py * ContextSuite context=TestDeployVmWithAffinityGroup>:setup Failing since 2 runs * test_network_acl.py * ContextSuite context=TestNetworkACL>:setup Failed * test_volumes.py * ContextSuite context=TestCreateVolume>:setup Failed * ContextSuite context=TestVolumes>:setup Failed * test_ssvm.py * test_01_list_sec_storage_vm Failed * test_02_list_cpvm_vm Failed * test_03_ssvm_internals Failed * test_04_cpvm_internals Failed * test_05_stop_ssvm Failed * test_06_stop_cpvm Failed * test_07_reboot_ssvm Failed * test_08_reboot_cpvm Failed * test_09_destroy_ssvm Failed * test_10_destroy_cpvm Failed * test_internal_lb.py * ContextSuite context=TestInternalLb>:setup Failed * test_nic.py * test_01_nic Failed * test_deploy_vm_root_resize.py * test_00_deploy_vm_root_resize Failed * test_01_deploy_vm_root_resize Failed * test_02_deploy_vm_root_resize Failed * test_secondary_storage.py * test_01_sys_vm_start Failed * test_02_sys_template_ready Failed * test_password_server.py * ContextSuite context=TestIsolatedNetworksPasswdServer>:setup Failed * test_vm_life_cycle.py * ContextSuite context=TestVMLifeCycle>:setup Failed * test_routers_network_ops.py * test_01_isolate_network_FW_PF_default_routes_egress_true Failing since 2 runs * test_02_isolate_network_FW_PF_default_routes_egress_false Failed * test_01_RVR_Network_FW_PF_SSH_default_routes_egress_true Failing since 2 runs * test_02_RVR_Network_FW_PF_SSH_default_routes_egress_false Failing since 2 runs * test_03_RVR_Network_check_router_state Failed * test_templates.py * ContextSuite context=TestTemplates>:setup Failed * test_iso.py * test_01_create_iso Failed * ContextSuite context=TestISO>:setup Failed **Skipped tests:** test_vm_nic_adapter_vmxnet3 test_deploy_vgpu_enabled_vm ContextSuite context=TestCreateTemplate>:setup **Passed test suits:** test_portable_publicip.py test_over_provisioning.py test_global_settings.py test_guest_vlan_range.py test_non_contigiousvlan.py test_public_ip_range.py test_regions.py test_pvlan.py test_resource_detail.py test_disk_offerings.py > Some running VMs turned off on manual migration when auto migration failed while host preparing for maintenance > --------------------------------------------------------------------------------------------------------------- > > Key: CLOUDSTACK-9182 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9182 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: Management Server, VMware > Affects Versions: 4.5.2 > Environment: vCenter 5.0 > Reporter: Suresh Kumar Anaparti > Assignee: Suresh Kumar Anaparti > > When a host is put into maintenance, CloudStack schedules migration for all the running VMs present on the host. This scheduling is managed by High Availability worker thread. And every time a migration fails, CloudStack re-schedules the migration to be executed after 10 minutes. > In this case, CloudStack fails to migrate some VMs automatically while host is preparing for maintenance and admin tried to migrate them manually. All these VMs are turned off after manual migration. > Steps: > - Put a host into maintenance > - Scheduled migration failed for a VM and CloudStack re-scheduled it. > - Before the next scheduled migration, manually migrate the VM to a different host. > When the next scheduled migration was started by the HA work, it failed because there was a mismatch between the source host saved in the HA work job and the actual source host. If VM migration fails due to mismatch then the VM is stopped on the host it resides on. -- This message was sent by Atlassian JIRA (v6.3.4#6332)