venkata swamybabu budumuru created CLOUDSTACK-2671: ------------------------------------------------------
Summary: [VPC] [VMware] VPC router is failing configure vpc_privateGateway.sh Key: CLOUDSTACK-2671 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2671 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 Environment: commit # 80a3c0535e0a8ad3edba3713a61d063a176191d8 Reporter: venkata swamybabu budumuru Assignee: Jayapal Reddy Fix For: 4.2.0 Steps to reproduce : 1. Have a VMware cluster with ESX 5.1 2. Login as a non-ROOT domain user and try to create VPC Observations: (i) Router came up fine but, it failed to configure source nat ip on the router. Here is the snippet of mgmt server log related to the issue. 2013-05-24 12:22:05,079 ERROR [utils.ssh.SshHelper] (DirectAgent-123:10.147.40.12) SSH execution of command /opt/cloud/bin/vpc_privateGateway.sh -A -l 10.147.44.64 -c eth1 -g 10.147.44.1 -m 24 -n 10.147.44.0 has an error status code in return. result output: /opt/cloud/bin/vpc_privateGateway.sh: illegal option -- g Usage: vpc_privateGateway.sh -A -l <public-ip-address> vpc_privateGateway.sh -D -l <public-ip-address> 2013-05-24 12:22:05,083 ERROR [vmware.resource.VmwareResource] (DirectAgent-123:10.147.40.12) Ip Assoc failure on applying one ip due to exception: com.cloud.exception.InternalErrorException: Unable to configure source NAT for public IP address. at com.cloud.hypervisor.vmware.resource.VmwareResource.assignVPCPublicIpAddress(VmwareResource.java:1533) at com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:1111) at com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:474) 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:679) 2013-05-24 12:22:05,086 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-123:null) Seq 1-1894842467: Cancelling because one of the answers is false and it is stop on error. Attaching all the required logs along with db dump to the bug. -- 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