Hi Asanka,

Can you check in the GCE side if this image exists?

On Mon, Aug 17, 2015 at 10:30 AM, Asanka Sanjaya Herath <angal...@gmail.com>
wrote:

> Hi,
> I'm using latest Stratos master branch code. I'm getting following
> exception which I did not get earlier when I try to deploy an application
> in GCE. I changed the image ID and tried, but still getting the same error
> saying Jclouds could not find the Image in GCE.
>
> TID: [0] [STRATOS] [2015-08-17 17:08:13,308]  INFO
> {org.apache.stratos.cloud.controller.iaases.gce.GCEIaas} -  zone has been
> set as us-central1-f with id: us-central1-f
> TID: [0] [STRATOS] [2015-08-17 17:08:15,297]  INFO {jclouds.compute} -
>  Image centos-6-v20150710 not found in the image cache. Trying to get it
> from the provider...
> TID: [0] [STRATOS] [2015-08-17 17:08:15,305] ERROR
> {org.apache.stratos.cloud.controller.iaases.JcloudsIaasUtil} -  Could not
> build iaas of type: gce
> java.util.NoSuchElementException: imageId(centos-6-v20150710) not found
> at
> org.jclouds.compute.domain.internal.TemplateBuilderImpl.throwNoSuchElementExceptionAfterLoggingImageIds(TemplateBuilderImpl.java:770)
> at
> org.jclouds.compute.domain.internal.TemplateBuilderImpl.findImageWithId(TemplateBuilderImpl.java:751)
> at
> org.jclouds.compute.domain.internal.TemplateBuilderImpl.build(TemplateBuilderImpl.java:694)
> at
> org.apache.stratos.cloud.controller.iaases.gce.GCEIaas.buildTemplate(GCEIaas.java:117)
> at
> org.apache.stratos.cloud.controller.iaases.gce.GCEIaas.buildComputeServiceAndTemplate(GCEIaas.java:78)
> at
> org.apache.stratos.cloud.controller.iaases.JcloudsIaasUtil.buildComputeServiceAndTemplateFromImage(JcloudsIaasUtil.java:46)
> at
> org.apache.stratos.cloud.controller.iaases.JcloudsIaasUtil.buildComputeServiceAndTemplate(JcloudsIaasUtil.java:37)
> at
> org.apache.stratos.cloud.controller.iaases.JcloudsIaas.initialize(JcloudsIaas.java:100)
> at
> org.apache.stratos.cloud.controller.domain.IaasProvider.getIaas(IaasProvider.java:224)
> at
> org.apache.stratos.cloud.controller.services.impl.CloudControllerServiceUtil.validatePartitionAndGetIaasProvider(CloudControllerServiceUtil.java:93)
> at
> org.apache.stratos.cloud.controller.concurrent.PartitionValidatorCallable.call(PartitionValidatorCallable.java:51)
> at
> org.apache.stratos.cloud.controller.concurrent.PartitionValidatorCallable.call(PartitionValidatorCallable.java:31)
> at java.util.concurrent.FutureTask.run(FutureTask.java:262)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:745)
> TID: [0] [STRATOS] [2015-08-17 17:08:15,306] ERROR
> {org.apache.stratos.cloud.controller.iaases.JcloudsIaas} -  Could not
> initialize jclouds IaaS
> org.apache.stratos.cloud.controller.exception.InvalidIaasProviderException:
> Could not build iaas of type: gce
> at
> org.apache.stratos.cloud.controller.iaases.JcloudsIaasUtil.buildComputeServiceAndTemplateFromImage(JcloudsIaasUtil.java:50)
> at
> org.apache.stratos.cloud.controller.iaases.JcloudsIaasUtil.buildComputeServiceAndTemplate(JcloudsIaasUtil.java:37)
> at
> org.apache.stratos.cloud.controller.iaases.JcloudsIaas.initialize(JcloudsIaas.java:100)
> at
> org.apache.stratos.cloud.controller.domain.IaasProvider.getIaas(IaasProvider.java:224)
> at
> org.apache.stratos.cloud.controller.services.impl.CloudControllerServiceUtil.validatePartitionAndGetIaasProvider(CloudControllerServiceUtil.java:93)
> at
> org.apache.stratos.cloud.controller.concurrent.PartitionValidatorCallable.call(PartitionValidatorCallable.java:51)
> at
> org.apache.stratos.cloud.controller.concurrent.PartitionValidatorCallable.call(PartitionValidatorCallable.java:31)
> at java.util.concurrent.FutureTask.run(FutureTask.java:262)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: java.util.NoSuchElementException: imageId(centos-6-v20150710)
> not found
> at
> org.jclouds.compute.domain.internal.TemplateBuilderImpl.throwNoSuchElementExceptionAfterLoggingImageIds(TemplateBuilderImpl.java:770)
> at
> org.jclouds.compute.domain.internal.TemplateBuilderImpl.findImageWithId(TemplateBuilderImpl.java:751)
> at
> org.jclouds.compute.domain.internal.TemplateBuilderImpl.build(TemplateBuilderImpl.java:694)
> at
> org.apache.stratos.cloud.controller.iaases.gce.GCEIaas.buildTemplate(GCEIaas.java:117)
> at
> org.apache.stratos.cloud.controller.iaases.gce.GCEIaas.buildComputeServiceAndTemplate(GCEIaas.java:78)
> at
> org.apache.stratos.cloud.controller.iaases.JcloudsIaasUtil.buildComputeServiceAndTemplateFromImage(JcloudsIaasUtil.java:46)
> ... 10 more
>
>
> --
> Thanks,
> Regards,
> ASH
>



-- 
Thanks and Regards,

Isuru H.
+94 716 358 048* <http://wso2.com/>*

Reply via email to