[ https://issues.apache.org/jira/browse/CLOUDSTACK-4156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13732190#comment-13732190 ]
Donal Lafferty commented on CLOUDSTACK-4156: -------------------------------------------- Could be that https://reviews.apache.org/r/12849/ will fix this problem. > Changes to VLAN encoding break XenServer 6.0.2 support > ------------------------------------------------------ > > Key: CLOUDSTACK-4156 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4156 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Affects Versions: Future > Reporter: Donal Lafferty > > CloudStack used to encode the network BroadCast URI in with a '//', e.g. > "broadcastUri":"vlan//:366" > Now that the '//' is dropped, e.g. "broadcastUri":"vlan:366" > As a result, the following code: > com.cloud.hypervisor.xen.resource.CitrixResourceBase.getNetwork(CitrixResourceBase.java:1043): > long vlan = Long.parseLong(broadcastUri.getHost()); > Throws an exception: > 2013-08-07 16:01:37,635 WARN [c.c.h.x.r.CitrixResourceBase] > (DirectAgent-28:null) Catch Exception: class java.lang.NumberFormatException > due to java.lang.NumberFormatException: null > java.lang.NumberFormatException: null > at java.lang.Long.parseLong(Long.java:404) > at java.lang.Long.parseLong(Long.java:483) > at > com.cloud.hypervisor.xen.resource.CitrixResourceBase.getNetwork(CitrixResourceBase.java:1043) > at > com.cloud.hypervisor.xen.resource.CitrixResourceBase.createVif(CitrixResourceBase.java:1094) > at > com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:1633) > at > com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:561) -- 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