You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Koushik Das (JIRA)" <ji...@apache.org> on 2013/05/08 14:31:16 UTC

[jira] [Resolved] (CLOUDSTACK-2145) Failed to create guest nexus port profile while deploying the First VM on Nexus VMWARE Cluster

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-2145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Koushik Das resolved CLOUDSTACK-2145.
-------------------------------------

    Resolution: Fixed
    
> Failed to create guest nexus port profile while deploying the First VM on Nexus VMWARE Cluster
> ----------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-2145
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2145
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Network Controller
>    Affects Versions: 4.2.0
>            Reporter: Sailaja Mada
>            Assignee: Koushik Das
>            Priority: Blocker
>             Fix For: 4.2.0
>
>
> Setup:  Advanced Networking Zone, VMWARE Nexus Cluster , MS : RHEL 6.3 
> Steps:
> 1. Crete Network offering with Firewall/SourceNAT/PF/Static NAT as VNMC provider with DNS/DHCP as VR
> 2. Try to deploy VM with guest network as the above network offering .
> Observation:
> 1) Failed to create guest nexus port profile while deploying the First VM on Nexus VMWARE Cluster
> 2) It failed to deploy Router and then the instance.
> Details:
> 2013-04-23 11:21:29,386 INFO  [vmware.mo.HypervisorHostHelper] (DirectAgent-125:10.102.192.18) Added 811 to Ethernet port profile sailaja-nexus-sys-profile
> 2013-04-23 11:21:29,386 INFO  [vmware.mo.HypervisorHostHelper] (DirectAgent-125:10.102.192.18) Adding vservice node in Nexus VSM for VLAN : 811
> 2013-04-23 11:21:29,997 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-128:null) Ping from 1
> 2013-04-23 11:21:30,702 DEBUG [cloud.api.ApiServlet] (catalina-exec-6:null) ===START===  10.144.6.19 -- GET  command=queryAsyncJobResult&jobId=5122c12d-7a04-48b4-a38b-6fc77d4f2269&response=json&sessionkey=LSkoW6goqDoGTcqh%2Fdq4o1NClys%3D&_=1366696415159
> 2013-04-23 11:21:30,715 DEBUG [cloud.user.AccountManagerImpl] (catalina-exec-6:null) Access to Acct[4-cdcadmin1] granted to Acct[4-cdcadmin1] by DomainChecker_EnhancerByCloudStack_234b4d64
> 2013-04-23 11:21:30,728 DEBUG [cloud.api.ApiServlet] (catalina-exec-6:null) ===END===  10.144.6.19 -- GET  command=queryAsyncJobResult&jobId=5122c12d-7a04-48b4-a38b-6fc77d4f2269&response=json&sessionkey=LSkoW6goqDoGTcqh%2Fdq4o1NClys%3D&_=1366696415159
> 2013-04-23 11:21:31,241 INFO  [vmware.mo.HypervisorHostHelper] (DirectAgent-125:10.102.192.18) Adding port profile with vservice details configured over VLAN : 811
> 2013-04-23 11:21:31,242 ERROR [n1kv.vsm.VsmCommand] (DirectAgent-125:10.102.192.18) Error while creating add port profile message : INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified.
> 2013-04-23 11:21:31,247 ERROR [vmware.mo.HypervisorHostHelper] (DirectAgent-125:10.102.192.18) Failed to add vEthernet port profile cloud.guest.811.200.1-sailaja-nexus-sys-profile.. Exception: com.cloud.utils.exception.CloudRuntimeException: Error generating rpc request for adding port profile.
> 2013-04-23 11:21:31,247 DEBUG [vmware.mo.HypervisorHostHelper] (DirectAgent-125:10.102.192.18) Disconnected Nexus 1000v session.
> 2013-04-23 11:21:31,248 WARN  [vmware.resource.VmwareResource] (DirectAgent-125:10.102.192.18) StartCommand failed due to Exception: com.cloud.utils.exception.CloudRuntimeException
> Message: Failed to add vEthernet port profile cloud.guest.811.200.1-sailaja-nexus-sys-profile.. Exception: com.cloud.utils.exception.CloudRuntimeException: Error generating rpc request for adding port profile.
> com.cloud.utils.exception.CloudRuntimeException: Failed to add vEthernet port profile cloud.guest.811.200.1-sailaja-nexus-sys-profile.. Exception: com.cloud.utils.exception.CloudRuntimeException: Error generating rpc request for adding port profile.
>         at com.cloud.hypervisor.vmware.mo.HypervisorHostHelper.createPortProfile(HypervisorHostHelper.java:257)
>         at com.cloud.hypervisor.vmware.mo.HypervisorHostHelper.prepareNetwork(HypervisorHostHelper.java:530)
>         at com.cloud.hypervisor.vmware.resource.VmwareResource.prepareNetworkFromNicInfo(VmwareResource.java:2537)
>         at com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:2308)
>         at com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:433)
>         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-04-23 11:21:31,251 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-125:null) Seq 6-1321926709: Cancelling because one of the answers is false and it is stop on error.
> 2013-04-23 11:21:31,252 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-125:null) Seq 6-1321926709: Response Received:
> 2013-04-23 11:21:31,254 DEBUG [agent.transport.Request] (DirectAgent-125:null) Seq 6-1321926709: Processing:  { Ans: , MgmtId: 214053811722752, via: 6, Ver: v1, Flags: 110, [{"StartAnswer":{"vm":{"id":22,"name":"r-22-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-22-VM eth0ip=10.0.31.61 eth0mask=255.255.240.0 gateway=10.0.16.1 domain=cs4cloud.internal dhcprange=10.0.16.1 eth1ip=10.102.195.155 eth1mask=255.255.252.0 mgmtcidr=10.102.192.0/22 localgw=10.102.192.1 type=dhcpsrvr disable_rp_filter=true extra_pubnics=2 dns1=10.103.128.15 nic_macs=02:00:36:87:00:02|02:00:21:dd:00:0d","rebootOnCrash":false,"enableHA":true,"limitCpuUse":false,"vncPassword":"6234bceb12af107e","params":{"nicAdapter":"E1000","ConfigureVServiceInNexus":"true"},"uuid":"37af759d-3383-47e5-9ae7-a62b6ee5331b","disks":[{"id":25,"name":"ROOT-22","mountPoint":"/cpg_vol/sailaja/vnmcps","path":"ROOT-22-25","size":2097152000,"type":"ROOT","storagePoolType":"NetworkFilesystem","storagePoolUuid":"df757056-9539-31dc-892b-5144730658dc","deviceId":0}],"nics":[{"deviceId":0,"networkRateMbps":200,"defaultNic":true,"uuid":"d021a1ba-2741-4502-b3b7-54c45f533b3a","ip":"10.0.31.61","netmask":"255.255.240.0","gateway":"10.0.16.1","mac":"02:00:36:87:00:02","dns1":"10.103.128.15","broadcastType":"Vlan","type":"Guest","broadcastUri":"vlan://811","isolationUri":"vlan://811","isSecurityGroupEnabled":false},{"deviceId":1,"networkRateMbps":-1,"defaultNic":false,"uuid":"421f45a9-c6e0-486e-8426-e8c2a9554fbe","ip":"10.102.195.155","netmask":"255.255.252.0","gateway":"10.102.192.1","mac":"02:00:21:dd:00:0d","broadcastType":"Native","type":"Control","isSecurityGroupEnabled":false}]},"result":false,"details":"StartCommand failed due to Exception: com.cloud.utils.exception.CloudRuntimeException\nMessage: Failed to add vEthernet port profile cloud.guest.811.200.1-sailaja-nexus-sys-profile.. Exception: com.cloud.utils.exception.CloudRuntimeException: Error generating rpc request for adding port profile.\n","wait":0}}] }
> 2013-04-23 11:21:31,254 DEBUG [agent.transport.Request] (Job-Executor-4:job-54) Seq 6-1321926709: Received:  { Ans: , MgmtId: 214053811722752, via: 6, Ver: v1, Flags: 110, { StartAnswer } }

--
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