cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Likitha Shetty (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CLOUDSTACK-6080) Enabling static NAT rule for a public IP fails with error "Failed to enable static nat"
Date Wed, 12 Feb 2014 09:51:19 GMT
Likitha Shetty created CLOUDSTACK-6080:
------------------------------------------

             Summary: Enabling static NAT rule for a public IP fails with error "Failed to
enable static nat"
                 Key: CLOUDSTACK-6080
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6080
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Network Controller, VMware
    Affects Versions: 4.4.0
            Reporter: Likitha Shetty
            Assignee: Likitha Shetty
             Fix For: 4.4.0


Steps to reproduce:
1) Add an addition public VLAN range
2) Create an isolated network and deploy a VM in it.
3) Acquire public IP from the new range in a network
4) Try to enable static NAT rule for this IP and VM's primary IP

Fails with below
2014-02-06 13:53:09,573 ERROR [c.c.h.v.r.VmwareResource] (DirectAgent-68:ctx-472c5981 10.102.192.14)
Unexpected exception: java.lang.Exception: Could not allocate a free public NIC will shortcut
rest of IPAssoc commands
java.lang.Exception: Could not allocate a free public NIC
        at com.cloud.hypervisor.vmware.resource.VmwareResource.allocPublicNicIndex(VmwareResource.java:2032)
        at com.cloud.hypervisor.vmware.resource.VmwareResource.plugPublicNic(VmwareResource.java:1975)
        at com.cloud.hypervisor.vmware.resource.VmwareResource.assignPublicIpAddress(VmwareResource.java:1878)
        at com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:2070)
        at com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:438)
        at com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:216)
        at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
        at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
        at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
        at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
        at org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
        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:679)
2014-02-06 13:53:09,583 INFO  [c.c.h.v.r.VmwareResource] (DirectAgent-68:ctx-472c5981 10.102.192.14)
Executing resource IPAssocCommand: {"ipAddresses":[{"accountId":2,"publicIp":"10.102.196.72","sourceNat":true,"add":true,"oneToOneNat":false,"firstIP":true,"broadcastUri":"vlan://100","vlanGateway":"10.102.196.1","vlanNetmask":"255.255.255.0","vifMacAddress":"06:6a:dc:00:00:2b","networkRate":200,"trafficType":"Public"}],"accessDetails":{"router.guest.ip":"10.1.1.1","zone.network.type":"Advanced","router.ip":"10.102.193.209","router.name":"r-10-VM"},"wait":0}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message