Hi, I was able to start the instances in GCE. But it gives an error [1]. Having a further look.
Thanks. [1] able, hence trying to spawn an instance to fulfil minimum count! [cluster] ff94b057-b090-c10a-915e-5191c0a6ac34.myphp.php.domain TID: [0] [STRATOS] [2015-05-12 19:10:50,482] INFO {org.apache.stratos.autoscaler.client.CloudControllerClient} - Trying to spawn an instance via cloud controller: [cluster] ff94b057-b090-c10a-915e-5191c0a6ac34.myphp.php.domain [partition] partition-1 [network-partition-id] network-partition-1 TID: [0] [STRATOS] [2015-05-12 19:10:50,508] INFO {org.apache.stratos.cloud.controller.messaging.publisher.TopologyEventPublisher} - Publishing member created event: [service-name] php [cluster-id] ff94b057-b090-c10a-915e-5191c0a6ac34.myphp.php.domain [cluster-instance-id] ff94b057-b090-c10a-915e-5191c0a6ac34-1 [member-id] ff94b057-b090-c10a-915e-5191c0a6ac34.myphp.php.domain8c396cce-fca5-4101-8c73-667620d2ea3d [instance-id] null [network-partition-id] network-partition-1 [partition-id] partition-1 [lb-cluster-id] null TID: [0] [STRATOS] [2015-05-12 19:10:50,542] INFO {org.apache.stratos.messaging.message.processor.topology.MemberCreatedMessageProcessor} - Member created: [service-name] php [cluster-id] ff94b057-b090-c10a-915e-5191c0a6ac34.myphp.php.domain [member-id] ff94b057-b090-c10a-915e-5191c0a6ac34.myphp.php.domain8c396cce-fca5-4101-8c73-667620d2ea3d [cluster-instance-id] ff94b057-b090-c10a-915e-5191c0a6ac34-1 *TID: [0] [STRATOS] [2015-05-12 19:11:30,613] ERROR {org.apache.stratos.cloud.controller.iaases.JcloudsIaas} - Failed to start an instance. MemberContext [applicationId=ff94b057-b090-c10a-915e-5191c0a6ac34, cartridgeType=php, clusterId=ff94b057-b090-c10a-915e-5191c0a6ac34.myphp.php.domain, memberId=ff94b057-b090-c10a-915e-5191c0a6ac34.myphp.php.domain8c396cce-fca5-4101-8c73-667620d2ea3d, instanceId=europe-west1-b/ff94b057-b-330, partition=Partition [id=partition-1, description=null, isPublic=false, provider=gce, properties=Properties [properties=[Property [name=region, value=default]]]], defaultPrivateIP=null, defaultPublicIP=null, allocatedIPs=null, publicIPs=null, privateIPs=null, initTime=1431457850494, lbClusterId=null, networkPartitionId=network-partition-1, kubernetesPodId=null, kubernetesPodLabel=null, loadBalancingIPType=Private, instanceMetadata=null, properties=Properties [properties=[Property [name=PRIMARY, value=false], Property [name=MIN_COUNT, value=1]]]] Cause: null* *java.lang.NullPointerException* * at org.apache.stratos.cloud.controller.iaases.JcloudsIaas.createInstanceMetadata(JcloudsIaas.java:163)* * at org.apache.stratos.cloud.controller.iaases.JcloudsIaas.startInstance(JcloudsIaas.java:147)* * at org.apache.stratos.cloud.controller.services.impl.InstanceCreator.startInstance(InstanceCreator.java:109)* * at org.apache.stratos.cloud.controller.services.impl.InstanceCreator.run(InstanceCreator.java:68)* * 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-05-12 19:11:30,621] ERROR {org.apache.stratos.cloud.controller.services.impl.InstanceCreator} - Could not start instance: [cartridge-type] php [cluster-id] ff94b057-b090-c10a-915e-5191c0a6ac34.myphp.php.domain java.lang.IllegalStateException: Failed to start an instance. MemberContext [applicationId=ff94b057-b090-c10a-915e-5191c0a6ac34, cartridgeType=php, clusterId=ff94b057-b090-c10a-915e-5191c0a6ac34.myphp.php.domain, memberId=ff94b057-b090-c10a-915e-5191c0a6ac34.myphp.php.domain8c396cce-fca5-4101-8c73-667620d2ea3d, instanceId=europe-west1-b/ff94b057-b-330, partition=Partition [id=partition-1, description=null, isPublic=false, provider=gce, properties=Properties [properties=[Property [name=region, value=default]]]], defaultPrivateIP=null, defaultPublicIP=null, allocatedIPs=null, publicIPs=null, privateIPs=null, initTime=1431457850494, lbClusterId=null, networkPartitionId=network-partition-1, kubernetesPodId=null, kubernetesPodLabel=null, loadBalancingIPType=Private, instanceMetadata=null, properties=Properties [properties=[Property [name=PRIMARY, value=false], Property [name=MIN_COUNT, value=1]]]] Cause: null at org.apache.stratos.cloud.controller.iaases.JcloudsIaas.startInstance(JcloudsIaas.java:151) at org.apache.stratos.cloud.controller.services.impl.InstanceCreator.startInstance(InstanceCreator.java:109) at org.apache.stratos.cloud.controller.services.impl.InstanceCreator.run(InstanceCreator.java:68) 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.lang.NullPointerException at org.apache.stratos.cloud.controller.iaases.JcloudsIaas.createInstanceMetadata(JcloudsIaas.java:163) at org.apache.stratos.cloud.controller.iaases.JcloudsIaas.startInstance(JcloudsIaas.java:147) ... 5 more On Tue, May 12, 2015 at 1:05 AM, Lahiru Sandaruwan <lahi...@wso2.com> wrote: > Hi all, > > I'm working on $subject. I will update the progress as i continue. > > BTW. Has anyone done it recently? > > Thanks. > > -- > -- > Lahiru Sandaruwan > Committer and PMC member, Apache Stratos, > Senior Software Engineer, > WSO2 Inc., http://wso2.com > lean.enterprise.middleware > > phone: +94773325954 > email: lahi...@wso2.com blog: http://lahiruwrites.blogspot.com/ > linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 > > -- -- Lahiru Sandaruwan Committer and PMC member, Apache Stratos, Senior Software Engineer, WSO2 Inc., http://wso2.com lean.enterprise.middleware phone: +94773325954 email: lahi...@wso2.com blog: http://lahiruwrites.blogspot.com/ linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146