Svetoslav Neykov created BROOKLYN-4:
---------------------------------------
Summary: Misleading error message when no internet connection
Key: BROOKLYN-4
URL: https://issues.apache.org/jira/browse/BROOKLYN-4
Project: Brooklyn
Issue Type: Improvement
Reporter: Svetoslav Neykov
Priority: Minor
When starting a couchbase node on Softlayer without internet connection on the
machine where brooklyn is executing I get the following error:
{noformat}
Failure running task provisioning (softlayer) (WlYne2yy): Unable to match
required VM template constraints PortableTemplateBuilder[ports=[22],
is64bit=true,
imageChooserFunction=brooklyn.location.jclouds.BrooklynImageChooser$3@8defbf0,
minCores=4.0, minRam=16384] when trying to provision VM in
JcloudsLocation[softlayer:cloudsoft]; see list of images in log. Root cause:
org.jclouds.http.HttpResponseException: api.softlayer.com connecting to GET
https://api.softlayer.com/rest/v3/SoftLayer_Software_Description/getAllObjects?objectMask=id%3Bname%3Bversion%3BoperatingSystem%3BlongDescription%3BreferenceCode
HTTP/1.1
{noformat}
For reference the error message on the Nginx node is a bit more descriptive:
{noformat}
Failure running task provisioning (softlayer) (AgDIjqwo): Unable to access
cloud JcloudsLocation[softlayer:cloudsoft] to resolve
PortableTemplateBuilder[ports=[22],
imageChooserFunction=brooklyn.location.jclouds.BrooklynImageChooser$3@8defbf0]:
org.jclouds.http.HttpResponseException: api.softlayer.com connecting to GET
https://api.softlayer.com/rest/v3/SoftLayer_Software_Description/getAllObjects?objectMask=id%3Bname%3Bversion%3BoperatingSystem%3BlongDescription%3BreferenceCode
HTTP/1.1
{noformat}
--
This message was sent by Atlassian JIRA
(v6.2#6252)