I'm trying to get the compute API sample code running with Softlayer cloud: https://jclouds.apache.org/documentation/userguide/compute/
The call to listNodes() crashes with this stacktrace:
java.util.NoSuchElementException: ProductItem has no prices:ProductItem
{id=3905, description=CentOS 6.0 - Minimal Install (32 bit), units=N/A,
capacity=0.0, prices=[], categories=[ProductItemCategory{id=12,
name=Operating System, categoryCode=os}]}
at org.jclouds.softlayer.compute.functions.ProductItems$3.apply(
ProductItems.java:64)
at org.jclouds.softlayer.compute.functions.ProductItems$3.apply(
ProductItems.java:60)
at org.jclouds.softlayer.compute.functions.ProductItemToImage$4.apply
(ProductItemToImage.java:181)
at org.jclouds.softlayer.compute.functions.ProductItemToImage$4.apply
(ProductItemToImage.java:177)
at org.jclouds.softlayer.compute.functions.ProductItemToImage.apply(
ProductItemToImage.java:87)
at org.jclouds.softlayer.compute.functions.VirtualGuestToNodeMetadata
$GetImageForVirtualGuest.getImage(VirtualGuestToNodeMetadata.java:150)
at
org.jclouds.softlayer.compute.functions.VirtualGuestToNodeMetadata.apply(
VirtualGuestToNodeMetadata.java:87)
at
org.jclouds.softlayer.compute.functions.VirtualGuestToNodeMetadata.apply(
VirtualGuestToNodeMetadata.java:52)
at com.google.common.base.Functions$FunctionComposition.apply(
Functions.java:210)
at com.google.common.collect.Iterators$8.transform(Iterators.java:860
)
at com.google.common.collect.TransformedIterator.next(
TransformedIterator.java:48)
at com.google.common.collect.Iterators$7.computeNext(
Iterators.java:701)
at com.google.common.collect.AbstractIterator.tryToComputeNext(
AbstractIterator.java:143)
at com.google.common.collect.AbstractIterator.hasNext(
AbstractIterator.java:138)
at com.google.common.collect.Sets.newLinkedHashSet(Sets.java:295)
at org.jclouds.compute.internal.BaseComputeService.listNodes(
BaseComputeService.java:337)
at Test.main(Test.java:29)
The jclouds testsuite had the same failure at the 1.6.0 level, but I can't
find runs at a newer level:
https://jclouds.incubator.apache.org/documentation/releasenotes/1.6.0/softlayer-failures.txt
I tried both jclouds 1.6.1-incubating and 1.6.2-incubating.
Is there a way to specify a newer version of jclouds (1.6.3?) in
pod.xml/Maven?
Does it look like the same issue as this one in the bug tracker?
https://issues.apache.org/jira/browse/JCLOUDS-213?jql=text%20~%20%22softlayer%22
What should I try next?
Thanks,
Leons Petrazickis
Emerging Technologies Developer
IM Cloud Computing Centre of Competence
Mobile: 1-416-712-2042 IBM
E-mail: [email protected]
Blog: www.db2teamblog.com
Find me on: LinkedIn:
http://www.linkedin.com/in/leonsp
Twitter: http://twitter.com/#!/leonsp
<<inline: 32176945.jpg>>
<<inline: 32069626.jpg>>
<<inline: 32142889.gif>>
