[jira] [Commented] (CLOUDSTACK-6778) [HyperV] Storage motion/migration is failing if the Hosts are having different NIC names

2014-05-29 Thread Anshul Gangwar (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14013315#comment-14013315
 ] 

Anshul Gangwar commented on CLOUDSTACK-6778:


This is setup issue as hyper-v requires all virtual switch names should be same 
across the entire cluster as mentioned 
@http://technet.microsoft.com/en-us/library/ff715313%28v=ws.10%29.aspx#BKMK_switchname.

We have to mention this in docs in setup process. Creating doc bug for this.

> [HyperV] Storage motion/migration is failing if the Hosts are having 
> different NIC names
> 
>
> Key: CLOUDSTACK-6778
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6778
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Hypervisor Controller, Management Server
>Affects Versions: 4.4.0
>Reporter: Abhinav Roy
>Assignee: Anshul Gangwar
>Priority: Critical
>  Labels: hyper-V,, hyper-v, hyperv
> Fix For: 4.4.0
>
>
> Steps :
> ==
> 1. Deploy a CS advanced zone setup with HyperV having 2 clusters.
> 2. cl1 has 2 hosts h1 and h2, cl2 has 1 host h3,
> 3. Deploy a VM on cl1 and the migrate that VM2 to h3.
> Here the NIC names of h1 and h3 are different :
> h1 : Broadcom BCM5716C NetXtreme II GigE (NDIS VBD Client) #38 - Virtual 
>Switch
> h3 : Broadcom BCM5716C NetXtreme II GigE (NDIS VBD Client) #39 - Virtual  
>  Switch
> Expected behavior :
> ===
> The migration of VM with storage should succeed.
> Observed behavior :
> ===
> Migration fails with the following error :
> 2014-05-27 14:29:09,072 DEBUG [c.c.h.h.r.HypervDirectConnectResource] 
> (DirectAgent-434:ctx-960ed94b) POST response is 
> [{"com.cloud.agent.api.MigrateWithStorageAnswer":{"result":false,"volumeTos":[{"id":9,"name":"ROOT-7","path":"f2c8aa38-288f-4477-afd7-b2c23f5fd848","size":5368709120,"type":"ROOT","storagePoolType":"SMB","storagePoolUuid":"38aee7de-07f1-3f23-8f8d-6a772fb9811d","deviceId":0}],"details":"com.cloud.agent.api.MigrateWithStorageCommand
>  failed due to Hyper-V Job failed, Error Code:32784, Description: Virtual 
> machine migration operation for 'i-2-7-VM' failed at migration destination 
> 'HYPERV20.blr.cloudstack.org'. (Virtual machine ID 
> FF9CAE31-3CD1-4F19-886B-8FBE58E669F7)
> The virtual machine 'i-2-7-VM' is not compatible with physical computer 
> 'HYPERV20'. (Virtual machine ID FF9CAE31-3CD1-4F19-886B-8FBE58E669F7)
> Could not find Ethernet switch 'Broadcom BCM5716C NetXtreme II GigE (NDIS VBD 
> Client) #39 - Virtual Switch'.","contextMap":{}}}]
> 2014-05-27 14:29:09,073 DEBUG [c.c.h.h.r.HypervDirectConnectResource] 
> (DirectAgent-434:ctx-960ed94b) executeRequest received response 
> [Lcom.cloud.agent.api.Answer;@3ab8553b
> 2014-05-27 14:29:09,073 DEBUG [c.c.a.m.DirectAgentAttache] 
> (DirectAgent-434:ctx-960ed94b) Seq 5-2135832123280457911: Response Received:
> 2014-05-27 14:29:09,073 DEBUG [c.c.a.t.Request] 
> (DirectAgent-434:ctx-960ed94b) Seq 5-2135832123280457911: Processing:  { Ans: 
> , MgmtId: 213737702773493, via: 5, Ver: v1, Flags: 110, 
> [{"com.cloud.agent.api.MigrateWithStorageAnswer":{"volumeTos":[{"name":"ROOT-7","size":5368709120,"path":"f2c8aa38-288f-4477-afd7-b2c23f5fd848","accountId":0,"id":9,"deviceId":0}],"result":false,"details":"com.cloud.agent.api.MigrateWithStorageCommand
>  failed due to Hyper-V Job failed, Error Code:32784, Description: Virtual 
> machine migration operation for 'i-2-7-VM' failed at migration destination 
> 'HYPERV20.blr.cloudstack.org'. (Virtual machine ID 
> FF9CAE31-3CD1-4F19-886B-8FBE58E669F7)\n\nThe virtual machine 'i-2-7-VM' is 
> not compatible with physical computer 'HYPERV20'. (Virtual machine ID 
> FF9CAE31-3CD1-4F19-886B-8FBE58E669F7)\n\nCould not find Ethernet switch 
> 'Broadcom BCM5716C NetXtreme II GigE (NDIS VBD Client) #39 - Virtual 
> Switch'.","wait":0}}] }
> 2014-05-27 14:29:09,074 DEBUG [c.c.a.t.Request] 
> (Work-Job-Executor-5:ctx-083e8c2f job-45/job-46 ctx-966940f6) Seq 
> 5-2135832123280457911: Received:  { Ans: , MgmtId: 213737702773493, via: 5, 
> Ver: v1, Flags: 110, { MigrateWithStorageAnswer } }
> 2014-05-27 14:29:09,077 DEBUG [c.c.a.m.AgentAttache] 
> (DirectAgent-434:ctx-960ed94b) Seq 5-2135832123280457911: No more commands 
> found
> 2014-05-27 14:29:09,074 ERROR [o.a.c.s.m.HypervStorageMotionStrategy] 
> (Work-Job-Executor-5:ctx-083e8c2f job-45/job-46 ctx-966940f6) Migration with 
> storage of vm VM[User|i-2-7-VM] failed. Details: 
> com.cloud.agent.api.MigrateWithStorageCommand failed due to Hyper-V Job 
> failed, Error Code:32784, Description: Virtual machine migration operation 
> for 'i-2-7-VM' faile

[jira] [Commented] (CLOUDSTACK-6778) [HyperV] Storage motion/migration is failing if the Hosts are having different NIC names

2014-05-28 Thread Abhinav Roy (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14012105#comment-14012105
 ] 

Abhinav Roy commented on CLOUDSTACK-6778:
-

No traffic labels configured.
Manual migration succeeds from HyperV manager.
Migration fails from CS.
I think Anshul has already done some research on it yest, you can talk to him. 
Even Devdeep knows about it.

> [HyperV] Storage motion/migration is failing if the Hosts are having 
> different NIC names
> 
>
> Key: CLOUDSTACK-6778
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6778
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Hypervisor Controller, Management Server
>Affects Versions: 4.4.0
>Reporter: Abhinav Roy
>Assignee: Rajesh Battala
>Priority: Critical
>  Labels: hyper-V,, hyper-v, hyperv
> Fix For: 4.4.0
>
>
> Steps :
> ==
> 1. Deploy a CS advanced zone setup with HyperV having 2 clusters.
> 2. cl1 has 2 hosts h1 and h2, cl2 has 1 host h3,
> 3. Deploy a VM on cl1 and the migrate that VM2 to h3.
> Here the NIC names of h1 and h3 are different :
> h1 : Broadcom BCM5716C NetXtreme II GigE (NDIS VBD Client) #38 - Virtual 
>Switch
> h3 : Broadcom BCM5716C NetXtreme II GigE (NDIS VBD Client) #39 - Virtual  
>  Switch
> Expected behavior :
> ===
> The migration of VM with storage should succeed.
> Observed behavior :
> ===
> Migration fails with the following error :
> 2014-05-27 14:29:09,072 DEBUG [c.c.h.h.r.HypervDirectConnectResource] 
> (DirectAgent-434:ctx-960ed94b) POST response is 
> [{"com.cloud.agent.api.MigrateWithStorageAnswer":{"result":false,"volumeTos":[{"id":9,"name":"ROOT-7","path":"f2c8aa38-288f-4477-afd7-b2c23f5fd848","size":5368709120,"type":"ROOT","storagePoolType":"SMB","storagePoolUuid":"38aee7de-07f1-3f23-8f8d-6a772fb9811d","deviceId":0}],"details":"com.cloud.agent.api.MigrateWithStorageCommand
>  failed due to Hyper-V Job failed, Error Code:32784, Description: Virtual 
> machine migration operation for 'i-2-7-VM' failed at migration destination 
> 'HYPERV20.blr.cloudstack.org'. (Virtual machine ID 
> FF9CAE31-3CD1-4F19-886B-8FBE58E669F7)
> The virtual machine 'i-2-7-VM' is not compatible with physical computer 
> 'HYPERV20'. (Virtual machine ID FF9CAE31-3CD1-4F19-886B-8FBE58E669F7)
> Could not find Ethernet switch 'Broadcom BCM5716C NetXtreme II GigE (NDIS VBD 
> Client) #39 - Virtual Switch'.","contextMap":{}}}]
> 2014-05-27 14:29:09,073 DEBUG [c.c.h.h.r.HypervDirectConnectResource] 
> (DirectAgent-434:ctx-960ed94b) executeRequest received response 
> [Lcom.cloud.agent.api.Answer;@3ab8553b
> 2014-05-27 14:29:09,073 DEBUG [c.c.a.m.DirectAgentAttache] 
> (DirectAgent-434:ctx-960ed94b) Seq 5-2135832123280457911: Response Received:
> 2014-05-27 14:29:09,073 DEBUG [c.c.a.t.Request] 
> (DirectAgent-434:ctx-960ed94b) Seq 5-2135832123280457911: Processing:  { Ans: 
> , MgmtId: 213737702773493, via: 5, Ver: v1, Flags: 110, 
> [{"com.cloud.agent.api.MigrateWithStorageAnswer":{"volumeTos":[{"name":"ROOT-7","size":5368709120,"path":"f2c8aa38-288f-4477-afd7-b2c23f5fd848","accountId":0,"id":9,"deviceId":0}],"result":false,"details":"com.cloud.agent.api.MigrateWithStorageCommand
>  failed due to Hyper-V Job failed, Error Code:32784, Description: Virtual 
> machine migration operation for 'i-2-7-VM' failed at migration destination 
> 'HYPERV20.blr.cloudstack.org'. (Virtual machine ID 
> FF9CAE31-3CD1-4F19-886B-8FBE58E669F7)\n\nThe virtual machine 'i-2-7-VM' is 
> not compatible with physical computer 'HYPERV20'. (Virtual machine ID 
> FF9CAE31-3CD1-4F19-886B-8FBE58E669F7)\n\nCould not find Ethernet switch 
> 'Broadcom BCM5716C NetXtreme II GigE (NDIS VBD Client) #39 - Virtual 
> Switch'.","wait":0}}] }
> 2014-05-27 14:29:09,074 DEBUG [c.c.a.t.Request] 
> (Work-Job-Executor-5:ctx-083e8c2f job-45/job-46 ctx-966940f6) Seq 
> 5-2135832123280457911: Received:  { Ans: , MgmtId: 213737702773493, via: 5, 
> Ver: v1, Flags: 110, { MigrateWithStorageAnswer } }
> 2014-05-27 14:29:09,077 DEBUG [c.c.a.m.AgentAttache] 
> (DirectAgent-434:ctx-960ed94b) Seq 5-2135832123280457911: No more commands 
> found
> 2014-05-27 14:29:09,074 ERROR [o.a.c.s.m.HypervStorageMotionStrategy] 
> (Work-Job-Executor-5:ctx-083e8c2f job-45/job-46 ctx-966940f6) Migration with 
> storage of vm VM[User|i-2-7-VM] failed. Details: 
> com.cloud.agent.api.MigrateWithStorageCommand failed due to Hyper-V Job 
> failed, Error Code:32784, Description: Virtual machine migration operation 
> for 'i-2-7-VM' failed at migration destination 'HYPERV20.blr.cloudstack.org'. 
> (Virtual machine ID F

[jira] [Commented] (CLOUDSTACK-6778) [HyperV] Storage motion/migration is failing if the Hosts are having different NIC names

2014-05-28 Thread Rajesh Battala (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14011997#comment-14011997
 ] 

Rajesh Battala commented on CLOUDSTACK-6778:


Any traffic labels are configured from cloudstack?
how about manual migration from hyperv manager of the same VM?
can you share the results when migrating the same VM with c/s without cs(hyperv 
manager).

> [HyperV] Storage motion/migration is failing if the Hosts are having 
> different NIC names
> 
>
> Key: CLOUDSTACK-6778
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6778
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Hypervisor Controller, Management Server
>Affects Versions: 4.4.0
>Reporter: Abhinav Roy
>Assignee: Rajesh Battala
>Priority: Critical
>  Labels: hyper-V,, hyper-v, hyperv
> Fix For: 4.4.0
>
>
> Steps :
> ==
> 1. Deploy a CS advanced zone setup with HyperV having 2 clusters.
> 2. cl1 has 2 hosts h1 and h2, cl2 has 1 host h3,
> 3. Deploy a VM on cl1 and the migrate that VM2 to h3.
> Here the NIC names of h1 and h3 are different :
> h1 : Broadcom BCM5716C NetXtreme II GigE (NDIS VBD Client) #38 - Virtual 
>Switch
> h3 : Broadcom BCM5716C NetXtreme II GigE (NDIS VBD Client) #39 - Virtual  
>  Switch
> Expected behavior :
> ===
> The migration of VM with storage should succeed.
> Observed behavior :
> ===
> Migration fails with the following error :
> 2014-05-27 14:29:09,072 DEBUG [c.c.h.h.r.HypervDirectConnectResource] 
> (DirectAgent-434:ctx-960ed94b) POST response is 
> [{"com.cloud.agent.api.MigrateWithStorageAnswer":{"result":false,"volumeTos":[{"id":9,"name":"ROOT-7","path":"f2c8aa38-288f-4477-afd7-b2c23f5fd848","size":5368709120,"type":"ROOT","storagePoolType":"SMB","storagePoolUuid":"38aee7de-07f1-3f23-8f8d-6a772fb9811d","deviceId":0}],"details":"com.cloud.agent.api.MigrateWithStorageCommand
>  failed due to Hyper-V Job failed, Error Code:32784, Description: Virtual 
> machine migration operation for 'i-2-7-VM' failed at migration destination 
> 'HYPERV20.blr.cloudstack.org'. (Virtual machine ID 
> FF9CAE31-3CD1-4F19-886B-8FBE58E669F7)
> The virtual machine 'i-2-7-VM' is not compatible with physical computer 
> 'HYPERV20'. (Virtual machine ID FF9CAE31-3CD1-4F19-886B-8FBE58E669F7)
> Could not find Ethernet switch 'Broadcom BCM5716C NetXtreme II GigE (NDIS VBD 
> Client) #39 - Virtual Switch'.","contextMap":{}}}]
> 2014-05-27 14:29:09,073 DEBUG [c.c.h.h.r.HypervDirectConnectResource] 
> (DirectAgent-434:ctx-960ed94b) executeRequest received response 
> [Lcom.cloud.agent.api.Answer;@3ab8553b
> 2014-05-27 14:29:09,073 DEBUG [c.c.a.m.DirectAgentAttache] 
> (DirectAgent-434:ctx-960ed94b) Seq 5-2135832123280457911: Response Received:
> 2014-05-27 14:29:09,073 DEBUG [c.c.a.t.Request] 
> (DirectAgent-434:ctx-960ed94b) Seq 5-2135832123280457911: Processing:  { Ans: 
> , MgmtId: 213737702773493, via: 5, Ver: v1, Flags: 110, 
> [{"com.cloud.agent.api.MigrateWithStorageAnswer":{"volumeTos":[{"name":"ROOT-7","size":5368709120,"path":"f2c8aa38-288f-4477-afd7-b2c23f5fd848","accountId":0,"id":9,"deviceId":0}],"result":false,"details":"com.cloud.agent.api.MigrateWithStorageCommand
>  failed due to Hyper-V Job failed, Error Code:32784, Description: Virtual 
> machine migration operation for 'i-2-7-VM' failed at migration destination 
> 'HYPERV20.blr.cloudstack.org'. (Virtual machine ID 
> FF9CAE31-3CD1-4F19-886B-8FBE58E669F7)\n\nThe virtual machine 'i-2-7-VM' is 
> not compatible with physical computer 'HYPERV20'. (Virtual machine ID 
> FF9CAE31-3CD1-4F19-886B-8FBE58E669F7)\n\nCould not find Ethernet switch 
> 'Broadcom BCM5716C NetXtreme II GigE (NDIS VBD Client) #39 - Virtual 
> Switch'.","wait":0}}] }
> 2014-05-27 14:29:09,074 DEBUG [c.c.a.t.Request] 
> (Work-Job-Executor-5:ctx-083e8c2f job-45/job-46 ctx-966940f6) Seq 
> 5-2135832123280457911: Received:  { Ans: , MgmtId: 213737702773493, via: 5, 
> Ver: v1, Flags: 110, { MigrateWithStorageAnswer } }
> 2014-05-27 14:29:09,077 DEBUG [c.c.a.m.AgentAttache] 
> (DirectAgent-434:ctx-960ed94b) Seq 5-2135832123280457911: No more commands 
> found
> 2014-05-27 14:29:09,074 ERROR [o.a.c.s.m.HypervStorageMotionStrategy] 
> (Work-Job-Executor-5:ctx-083e8c2f job-45/job-46 ctx-966940f6) Migration with 
> storage of vm VM[User|i-2-7-VM] failed. Details: 
> com.cloud.agent.api.MigrateWithStorageCommand failed due to Hyper-V Job 
> failed, Error Code:32784, Description: Virtual machine migration operation 
> for 'i-2-7-VM' failed at migration destination 'HYPERV20.blr.cloudstack.org'. 
> (Virtual machine ID F