You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Sateesh Chodapuneedi (JIRA)" <ji...@apache.org> on 2014/08/05 12:19:12 UTC

[jira] [Commented] (CLOUDSTACK-7250) [vCenter 5.5] SourceNAT,StaticNAT and Portfowrding is not working with Vmware DVS in vCenter 5.5

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

Sateesh Chodapuneedi commented on CLOUDSTACK-7250:
--------------------------------------------------

CLOUDSTACK-7250 [vCenter 5.5] SourceNAT,StaticNAT and Portfowrding is not working with Vmware DVS in vCenter 5.5

Change in vCenter 5.5 API from prior versions forced code change in CloudStack. Update property value of property "VirtualE1000.deviceInfo.summary" is accommodated now.

Signed-off-by: Sateesh Chodapuneedi <sa...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/dfa607fb
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/dfa607fb
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/dfa607fb

Branch: refs/heads/master
Commit: dfa607fb443cbd0c3f2c264c2abfa9f1844a16ce
Parents: cc725e5
Author: Sateesh Chodapuneedi <sa...@apache.org>
Authored: Tue Aug 5 10:00:00 2014 +0530
Committer: Sateesh Chodapuneedi <sa...@apache.org>
Committed: Tue Aug 5 10:00:00 2014 +0530


> [vCenter 5.5] SourceNAT,StaticNAT and Portfowrding is not working with Vmware DVS in vCenter 5.5
> ------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-7250
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7250
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: VMware
>    Affects Versions: 4.2.0, 4.2.1, 4.3.0, 4.4.0, 4.3.1
>         Environment: vCenter 5.5
> CloudStack version 4.2 or later until 4.5
>            Reporter: Sateesh Chodapuneedi
>            Assignee: Sateesh Chodapuneedi
>             Fix For: 4.5.0
>
>
> Cloudstack is unable to get the VIF information for the VR's and the IPASSOC commands are failing.
> I installed CloudStack 4.3 fresh (no upgrade).
> The installation was finished without a problem.
> SSVM and CPVM was created.
> The first VM was created, but the following problems occurred.
> -I can't ping internet site's IP address (for example google.com)
> -An error occurs when I set StaticNAT or Portfowrding
>  The error is "Failed to apply port forwarding rule"
> Also seeing following errors,
> 2014-08-05 08:42:58,086 INFO [vmware.resource.VmwareResource] (DirectAgent-366:10.102.192.3) Executing resource IPAssocCommand: {"ipAddresses":[
> {"accountId":2,"publicIp":"10.102.196.147","sourceNat":true,"add":true,"oneToOneNat":false,"firstIP":true,"vlanId":"100","vlanGateway":"10.102.196.1","vlanNetmask":"255.255.255.0","vifMacAddress":"06:a5:a8:00:00:13","networkRate":200,"trafficType":"Public","networkName":"dvSwitch0,,vmwaredvs"}
> ],"accessDetails":
> {"router.guest.ip":"10.1.1.1","zone.network.type":"Advanced","router.ip":"10.102.194.139","router.name":"r-4-VM"}
> ,"wait":0}
> 2014-08-05 08:42:58,108 DEBUG [vmware.resource.VmwareResource] (DirectAgent-366:10.102.192.3) Use router's private IP for SSH control. IP : 10.102.194.139
> 2014-08-05 08:42:58,108 DEBUG [vmware.mo.HostMO] (DirectAgent-366:10.102.192.3) find VM r-4-VM on host
> 2014-08-05 08:42:58,109 INFO [vmware.mo.HostMO] (DirectAgent-366:10.102.192.3) VM r-4-VM not found in host cache
> 2014-08-05 08:42:58,109 DEBUG [vmware.mo.HostMO] (DirectAgent-366:10.102.192.3) load VM cache on host
> 2014-08-05 08:42:58,151 DEBUG [vmware.resource.VmwareResource] (DirectAgent-366:10.102.192.3) Find public NIC index, public network name: cloud.public.100, index: -1
> 2014-08-05 08:42:58,151 DEBUG [vmware.resource.VmwareResource] (DirectAgent-366:10.102.192.3) Plug new NIC to associate10.102.194.139 to 10.102.196.147
> 2014-08-05 08:42:58,199 INFO [vmware.mo.HypervisorHostHelper] (DirectAgent-366:10.102.192.3) Found distributed vSwitch com.vmware.vim25.ManagedObjectReference@1d30d21
> 2014-08-05 08:42:58,210 INFO [vmware.mo.HypervisorHostHelper] (DirectAgent-366:10.102.192.3) Found Distributed Virtual Port group cloud.public.100.0.1-dvSwitch0
> 2014-08-05 08:42:58,233 INFO [vmware.mo.HypervisorHostHelper] (DirectAgent-366:10.102.192.3) Updating Distributed Virtual Port group cloud.public.100.0.1-dvSwitch0
> 2014-08-05 08:42:58,482 DEBUG [vmware.mo.HypervisorHostHelper] (DirectAgent-366:10.102.192.3) Added custom field : cloud.gc.dvp
> 2014-08-05 08:42:59,272 DEBUG [cloud.api.ApiServlet] (20680265@qtp-27965857-15:null) ===START=== 10.140.6.50 – GET command=queryAsyncJobResult&jobId=4434d615-986a-41de-9813-65b2a10e4ea0&response=json&sessionkey=Irg0Tdoo%2Fb0rwRJrBDaHLjdhIXo%3D&_=1407228207738
> 2014-08-05 08:42:59,306 DEBUG [cloud.api.ApiServlet] (20680265@qtp-27965857-15:null) ===END=== 10.140.6.50 – GET command=queryAsyncJobResult&jobId=4434d615-986a-41de-9813-65b2a10e4ea0&response=json&sessionkey=Irg0Tdoo%2Fb0rwRJrBDaHLjdhIXo%3D&_=1407228207738
> 2014-08-05 08:42:59,317 ERROR [vmware.resource.VmwareResource] (DirectAgent-366:10.102.192.3) Failed to find DomR VIF to associate/disassociate IP with.
> 2014-08-05 08:42:59,318 ERROR [vmware.resource.VmwareResource] (DirectAgent-366:10.102.192.3) Unexpected exception: com.cloud.exception.InternalErrorException: Failed to find DomR VIF to associate/disassociate IP with. will shortcut rest of IPAssoc commands
> com.cloud.exception.InternalErrorException: Failed to find DomR VIF to associate/disassociate IP with.
> at com.cloud.hypervisor.vmware.resource.VmwareResource.assignPublicIpAddress(VmwareResource.java:1877)
> at com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:2059)
> at com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:427)
> 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:1146)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:701)
> 2014-08-05 08:42:59,319 DEBUG [agent.manager.DirectAgentAttache] 



--
This message was sent by Atlassian JIRA
(v6.2#6252)