cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sailaja Mada (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-3468) Failed to Deploy Instances with multiple VMWARE clusters when DVS is enabled at the Zone enabled
Date Fri, 12 Jul 2013 08:03:48 GMT

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

Sailaja Mada commented on CLOUDSTACK-3468:
------------------------------------------

Tried with two DVS clusters - Cluster1 with DVS 1 , Cluster2 with DVS 2.  Instances are failed
to deploy :

2013-07-12 11:16:23,361 INFO  [vmware.resource.VmwareResource] (DirectAgent-112:10.102.192.23)
Prepare NIC device based on NicTO: {"deviceId":3,"networkRateMbps":-1,"defaultNic":false,"ip":"0.0.0.0","netmask":"255.255.255.255","gateway":"10.102.196.1","mac":"02:00:79:4b:00:05","dns1":"10.103.128.15","broadcastType":"Vlan","type":"Public","broadcastUri":"vlan://100","isolationUri":"vlan://100","isSecurityGroupEnabled":false}
2013-07-12 11:16:23,365 INFO  [vmware.resource.VmwareResource] (DirectAgent-112:10.102.192.23)
Prepare network on vmwaredvs P[dvSwitch23host:untagged] with name prefix: cloud.public
2013-07-12 11:16:23,379 INFO  [vmware.mo.HypervisorHostHelper] (DirectAgent-112:10.102.192.23)
Found distributed vSwitch com.vmware.vim25.ManagedObjectReference@2a10081b
2013-07-12 11:16:23,385 INFO  [vmware.mo.HypervisorHostHelper] (DirectAgent-112:10.102.192.23)
Found Distributed Virtual Port group cloud.public.100.0.1-dvSwitch23host
2013-07-12 11:16:23,405 INFO  [vmware.mo.HypervisorHostHelper] (DirectAgent-112:10.102.192.23)
Updating Distributed Virtual Port group cloud.public.100.0.1-dvSwitch23host
2013-07-12 11:16:23,440 DEBUG [vmware.mo.HypervisorHostHelper] (DirectAgent-112:10.102.192.23)
Added custom field : cloud.gc.dvp
2013-07-12 11:16:23,458 INFO  [vmware.resource.VmwareResource] (DirectAgent-112:10.102.192.23)
Preparing NIC device on dvSwitch : d9 9b 2f 50 f8 68 ff f6-3a 1e 12 22 c4 c5 ee e7
2013-07-12 11:16:23,459 DEBUG [vmware.resource.VmwareResource] (DirectAgent-112:10.102.192.23)
Prepare NIC at new device {"operation":"ADD","device":{"addressType":"Manual","macAddress":"02:00:79:4b:00:05","key":-6,"backing":{"port":{"switchUuid":"d9
9b 2f 50 f8 68 ff f6-3a 1e 12 22 c4 c5 ee e7","portgroupKey":"dvportgroup-3984"}},"connectable":{"startConnected":true,"allowGuestControl":true,"connected":true},"unitNumber":3}}
2013-07-12 11:16:23,459 INFO  [vmware.resource.VmwareResource] (DirectAgent-112:10.102.192.23)
Prepare NIC device based on NicTO: {"deviceId":4,"networkRateMbps":-1,"defaultNic":false,"ip":"0.0.0.0","netmask":"255.255.255.255","gateway":"10.102.196.1","mac":"02:00:1a:b6:00:06","dns1":"10.103.128.15","broadcastType":"Vlan","type":"Public","broadcastUri":"vlan://100","isolationUri":"vlan://100","isSecurityGroupEnabled":false}
2013-07-12 11:16:23,464 INFO  [vmware.resource.VmwareResource] (DirectAgent-112:10.102.192.23)
Prepare network on vmwaredvs P[dvSwitch23host:untagged] with name prefix: cloud.public
2013-07-12 11:16:23,478 INFO  [vmware.mo.HypervisorHostHelper] (DirectAgent-112:10.102.192.23)
Found distributed vSwitch com.vmware.vim25.ManagedObjectReference@4090b16e
2013-07-12 11:16:23,483 INFO  [vmware.mo.HypervisorHostHelper] (DirectAgent-112:10.102.192.23)
Found Distributed Virtual Port group cloud.public.100.0.1-dvSwitch23host
2013-07-12 11:16:23,505 INFO  [vmware.mo.HypervisorHostHelper] (DirectAgent-112:10.102.192.23)
Updating Distributed Virtual Port group cloud.public.100.0.1-dvSwitch23host
2013-07-12 11:16:23,555 DEBUG [vmware.mo.HypervisorHostHelper] (DirectAgent-112:10.102.192.23)
Added custom field : cloud.gc.dvp
2013-07-12 11:16:23,573 INFO  [vmware.resource.VmwareResource] (DirectAgent-112:10.102.192.23)
Preparing NIC device on dvSwitch : d9 9b 2f 50 f8 68 ff f6-3a 1e 12 22 c4 c5 ee e7
2013-07-12 11:16:23,574 DEBUG [vmware.resource.VmwareResource] (DirectAgent-112:10.102.192.23)
Prepare NIC at new device {"operation":"ADD","device":{"addressType":"Manual","macAddress":"02:00:1a:b6:00:06","key":-7,"backing":{"port":{"switchUuid":"d9
9b 2f 50 f8 68 ff f6-3a 1e 12 22 c4 c5 ee e7","portgroupKey":"dvportgroup-3984"}},"connectable":{"startConnected":true,"allowGuestControl":true,"connected":true},"unitNumber":4}}
2013-07-12 11:16:23,575 DEBUG [vmware.mo.HostMO] (DirectAgent-112:10.102.192.23) find VM r-4-VM
on host
2013-07-12 11:16:23,575 DEBUG [vmware.mo.HostMO] (DirectAgent-112:10.102.192.23) VM r-4-VM
found in host cache
2013-07-12 11:16:23,592 INFO  [vmware.resource.VmwareResource] (DirectAgent-112:10.102.192.23)
Configure VNC port for VM r-4-VM, port: 5913, host: 10.102.192.23
2013-07-12 11:16:23,657 WARN  [vmware.resource.VmwareResource] (DirectAgent-112:10.102.192.23)
StartCommand failed due to Exception: java.lang.RuntimeException
Message: A specified parameter was not correct.
spec.deviceChange.device.port.switchUuid

java.lang.RuntimeException: A specified parameter was not correct.
spec.deviceChange.device.port.switchUuid
        at com.cloud.hypervisor.vmware.util.VmwareClient.waitForTask(VmwareClient.java:290)
        at com.cloud.hypervisor.vmware.mo.VirtualMachineMO.configureVm(VirtualMachineMO.java:835)
        at com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:2834)
        at com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:507)
        at com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:679)
2013-07-12 11:16:23,699 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-112:null) Seq
4-1381367850: Cancelling because one of the answers is false and it is stop on error.
2013-07-12 11:16:23,700 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-112:null) Seq
4-1381367850: Response Received:
2013-07-12 11:16:23,702 DEBUG [agent.transport.Request] (DirectAgent-112:null) Seq 4-1381367850:
Processing:  { Ans: , MgmtId: 187767034175903, via: 4, Ver: v1, Flags: 10, [{"com.cloud.agent.api.StartAnswer":{"vm":{"id":4,"name":"r-4-VM","bootloader":"HVM","type":"DomainRouter","cpus":1,"minSpeed":500,"maxSpeed":500,"minRam":134217728,"maxRam":134217728,"arch":"i686","os":"Debian
GNU/Linux 5.0 (32-bit)","bootArgs":" template=domP name=r-4-VM eth2ip=10.102.196.227 eth2mask=255.255.255.0
gateway=10.102.196.1 eth0ip=10.2.1.1 eth0mask=255.255.255.0 domain=cs3cloud.internal dhcprange=10.2.1.1
eth1ip=10.102.195.141 eth1mask=255.255.252.0 mgmtcidr=10.102.192.0/22 localgw=10.102.192.1
type=router disable_rp_filter=true extra_pubnics=2 dns1=10.103.128.15 nic_macs=02:00:62:39:00:02|02:00:3c:8c:00:05|06:fd:00:00:00:09|02:00:79:4b:00:05|02:00:1a:b6:00:06","rebootOnCrash":false,"enableHA":true,"limitCpuUse":false,"enableDynamicallyScaleVm":false,"vncPassword":"a9cce69e2672bf4b","params":{"nicAdapter":"E1000"},"uuid":"e08543ef-ed4e-4435-8d60-e8e31e14f322","disks":[{"data":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"fd6a32d9-8ad1-4b8a-8c18-84a929d8889a","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"55e6d095-7e22-3f4a-b533-874a9fede8df","id":1,"poolType":"NetworkFilesystem","host":"10.102.192.100","path":"/cpg_vol/sailaja/vmwareps1","port":2049}},"name":"ROOT-4","size":0,"path":"ROOT-4-6","volumeId":6,"vmName":"r-4-VM","accountId":3,"format":"OVA","id":6}},"diskSeq":0,"type":"ROOT"}],"nics":[{"deviceId":2,"networkRateMbps":200,"defaultNic":true,"uuid":"70066731-ad1d-4cd2-8f62-f6a60ef7cb1e","ip":"10.102.196.227","netmask":"255.255.255.0","gateway":"10.102.196.1","mac":"06:fd:00:00:00:09","dns1":"10.103.128.15","broadcastType":"Vlan","type":"Public","broadcastUri":"vlan://100","isolationUri":"vlan://100","isSecurityGroupEnabled":false,"name":"dvSwitch18host,,vmwaredvs"},{"deviceId":0,"networkRateMbps":200,"defaultNic":false,"uuid":"f3033121-51da-4d8e-9810-6328c182a98f","ip":"10.2.1.1","netmask":"255.255.255.0","mac":"02:00:62:39:00:02","dns1":"10.103.128.15","broadcastType":"Vlan","type":"Guest","broadcastUri":"vlan://771","isolationUri":"vlan://771","isSecurityGroupEnabled":false,"name":"dvSwitch18host,,vmwaredvs"},{"deviceId":1,"networkRateMbps":-1,"defaultNic":false,"uuid":"0486e6dc-17fa-4e11-83ef-ffdb2953802f","ip":"10.102.195.141","netmask":"255.255.252.0","gateway":"10.102.192.1","mac":"02:00:3c:8c:00:05","broadcastType":"Native","type":"Control","isSecurityGroupEnabled":false},{"deviceId":3,"networkRateMbps":-1,"defaultNic":false,"ip":"0.0.0.0","netmask":"255.255.255.255","gateway":"10.102.196.1","mac":"02:00:79:4b:00:05","dns1":"10.103.128.15","broadcastType":"Vlan","type":"Public","broadcastUri":"vlan://100","isolationUri":"vlan://100","isSecurityGroupEnabled":false},{"deviceId":4,"networkRateMbps":-1,"defaultNic":false,"ip":"0.0.0.0","netmask":"255.255.255.255","gateway":"10.102.196.1","mac":"02:00:1a:b6:00:06","dns1":"10.103.128.15","broadcastType":"Vlan","type":"Public","broadcastUri":"vlan://100","isolationUri":"vlan://100","isSecurityGroupEnabled":false}]},"result":false,"details":"StartCommand
failed due to Exception: java.lang.RuntimeException\nMessage: A specified parameter was not
correct. \nspec.deviceChange.device.port.switchUuid\n","wait":0}}] }

                
> Failed to Deploy Instances with multiple VMWARE clusters when DVS is enabled at the Zone
enabled
> ------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-3468
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3468
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: VMware
>    Affects Versions: 4.2.0
>            Reporter: Sailaja Mada
>            Assignee: Sateesh Chodapuneedi
>            Priority: Blocker
>             Fix For: 4.2.0
>
>         Attachments: apilog.log.2013-07-09.gz, management-server.log.2013-07-09
>
>
> Setup : 
> Two VMWARE clusters :  Cluster1 is with DVS , Cluster2 is with Standard switch
> 1. Enable vmware.use.dvswitch to true
> 2. Configure Zone with with 
>  a)Physical network 1 with Mgmt traffic  - With Label as vSwitch0
>  b)Physical network 2 with guest & public traffic   - Label as newdv1,,vmwaredvs

> 3.  Add Cluster 1 during Zone deployment without overriding Public/Guest traffic as the
labels are configured at the zone level
> 4. Create new account and deploy VM's on DVS Enabled cluster
> 5. Add second cluster with Standard switch specifying the traffic label as vSwitch0 with
override option selected with Standard switch.
> 6. Update host tag to the host added under this cluster
> 7. Tried to deploy new VM under this cluster - I already have one instance and Router
with Account 1 with this guestnetwork created with DVS cluster. Now I am trying to create
one more instance on standard switch cluster using host TAGS.
> Observation: 
> Failed to create Guest port groups while deploying instances with Mixed VMWARE clusters
of different switches with which instances are failed to deploy (Default - DVS, second cluster-
StandardvSwitch)
> Instance is failing to start :
> 2013-07-09 20:19:58,948 INFO  [vmware.resource.VmwareResource] (DirectAgent-49:10.102.192.23)
Prepare NIC device based on NicTO: {"deviceId":0,"networkRateMbps":200,"defaultNic":true,"uuid":"2bb4d376-99e8-449b-9b18-ec2f6887daf6","ip":"10.1.1.144","netmask":"255.255.255.0","gateway":"10.1.1.1","mac":"02:00:79:e9:00:04","dns1":"10.103.128.15","broadcastType":"Vlan","type":"Guest","broadcastUri":"vlan://792","isolationUri":"vlan://792","isSecurityGroupEnabled":false,"name":"newdv1,,vmwaredvs"}
> 2013-07-09 20:19:58,953 INFO  [vmware.resource.VmwareResource] (DirectAgent-49:10.102.192.23)
Prepare network on vmwaresvs P[newdv1:untagged] with name prefix: cloud.guest
> 2013-07-09 20:19:58,981 ERROR [vmware.mo.HypervisorHostHelper] (DirectAgent-49:10.102.192.23)
Unable to find vSwitchnewdv1
> 2013-07-09 20:19:58,981 WARN  [vmware.resource.VmwareResource] (DirectAgent-49:10.102.192.23)
StartCommand failed due to Exception: java.lang.Exception
> Message: Unable to find vSwitchnewdv1
> java.lang.Exception: Unable to find vSwitchnewdv1
>         at com.cloud.hypervisor.vmware.mo.HypervisorHostHelper.prepareNetwork(HypervisorHostHelper.java:830)
>         at com.cloud.hypervisor.vmware.resource.VmwareResource.prepareNetworkFromNicInfo(VmwareResource.java:2923)
>         at com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:2687)
>         at com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:479)
>         at com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186)
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:166)
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>         at java.lang.Thread.run(Thread.java:679)
> 2013-07-09 20:19:58,983 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-49:null)
Seq 7-1447821361: Response Received

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message