Rajesh Battala created CLOUDSTACK-2539: ------------------------------------------
Summary: VPC: Unable to create instance in Vpc ( when vpc is created with "Default VPC offering with Netscaler" offering) Key: CLOUDSTACK-2539 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2539 Project: CloudStack Issue Type: Bug Security Level: Public (Anyone can view this level - this is the default.) Affects Versions: 4.2.0 Reporter: Rajesh Battala Priority: Blocker Fix For: 4.2.0 When VPC is created VpcVR got created successfully ( two nic ) when created a Tier with Netscaler as LB provider, VpcVR should get a new nic pluggged with ip (gateway ip) from the tier network. While plugging the Nic to the VpcVR NPE is happening in CitrixResourceBase. 2013-05-16 11:49:08,551 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-28:null) Seq 1-2031484992: Executing request 2013-05-16 11:49:08,738 DEBUG [xen.resource.CitrixResourceBase] (DirectAgent-28:null) Lowest available Vif device number: 2 for VM: r-8-VM 2013-05-16 11:49:08,738 DEBUG [xen.resource.CitrixResourceBase] (DirectAgent-28:null) Creating VIF for r-8-VM on nic [Nic:Guest-10.0.1.1-null] 2013-05-16 11:49:08,769 WARN [xen.resource.CitrixResourceBase] (DirectAgent-28:null) Plug Nic failed due to java.lang.NullPointerException java.lang.NullPointerException at com.cloud.hypervisor.xen.resource.CitrixResourceBase.getNetwork(CitrixResourceBase.java:1011) at com.cloud.hypervisor.xen.resource.CitrixResourceBase.createVif(CitrixResourceBase.java:1062) at com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:8038) at com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:589) at com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:73) 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$201(ScheduledThreadPoolExecutor.java:178) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292) 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:722) -- 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