cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daan Hoogland <DHoogl...@schubergphilis.com>
Subject help debugging vpc creation code wanted
Date Mon, 29 Apr 2013 08:04:17 GMT
LS,

I have changed a lot of files making vlan a broadcast uri instead of a number. I have probably
broken something or in the best case omitted a needed change to complete this. The result
is a null pointer exception during the creation/connecting of a vif:

WARN  [xen.resource.CitrixResourceBase] (DirectAgent-36:) Unable to assign public IP address
due to java.lang.NullPointerException
java.lang.NullPointerException
       at com.cloud.hypervisor.xen.resource.CitrixResourceBase.getVifByMac(CitrixResourceBase.java:4068)
       at com.cloud.hypervisor.xen.resource.CitrixResourceBase.assignVPCPublicIpAddress(CitrixResourceBase.java:2208)
       at com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:7976)
       at com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:581)
       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(Unknown Source)
       at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
       at java.util.concurrent.FutureTask.run(Unknown Source)
       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown
Source)
       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown
Source)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
       at java.lang.Thread.run(Unknown Source)
ERROR [xen.resource.CitrixResourceBase] (DirectAgent-36:) Ip Assoc failure on applying one
ip due to exception:
java.lang.Exception: Unable to assign public IP address due to java.lang.NullPointerException
       at com.cloud.hypervisor.xen.resource.CitrixResourceBase.assignVPCPublicIpAddress(CitrixResourceBase.java:2249)
       at com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:7976)
       at com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:581)
       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(Unknown Source)
       at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
       at java.util.concurrent.FutureTask.run(Unknown Source)
       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown
Source)
       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown
Source)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
       at java.lang.Thread.run(Unknown Source)

Now I want to track back to where this ip is created to find out why it does not contain a
mac-address. Looking in the database it does contain a mac address. I am guessing someone
knows or can give me a pointer; What in the above stack can lead to the provisioning code
that I should adjust?

Thanks,
Daan Hoogland

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message