Can someone verify this please? I think this is a blocker for 4.1.5 release
if it is a bug.

On Wednesday, 18 November 2015, Akila Ravihansa Perera <raviha...@wso2.com>
wrote:

> Hi,
>
> I faced an issue where if I restart the Stratos server after successfully
> deploying an app then try  to undeploy the app, it will throw the following
> error;
>
> [2015-11-18 00:31:55,537] ERROR
> {org.apache.stratos.cloud.controller.services.impl.InstanceTerminator} -
>  Instance termination failed! MemberContext
> [applicationId=single-cartridge-app-gce, cartridgeType=php-gce,
> clusterId=single-cartridge-app-gce.my-php-app-gce.php-gce.domain,
> memberId=single-cartridge-app-gce.my-php-app-gce.php-gce.domainbead7a03-8589-4c0c-a421-b713491d51ca,
> instanceId=null, partition=Partition [id=partition-1, description=null,
> isPublic=false, provider=gce, properties=Properties [properties=[Property
> [name=region, value=asia-east1], Property [name=zone,
> value=asia-east1-a]]]], defaultPrivateIP=null, defaultPublicIP=null,
> allocatedIPs=null, publicIPs=null, privateIPs=null, initTime=1447786797325,
> lbClusterId=null, networkPartitionId=network-partition-gce,
> kubernetesPodId=null, kubernetesPodName=null, loadBalancingIPType=Private,
> instanceMetadata=null, properties=Properties [properties=[Property
> [name=MIN_COUNT, value=1], Property [name=SCALING_DECISION_ID,
> value=single-cartridge-app-gce.my-php-app-gce.php-gce.domain-52271c86-c13e-4db1-8499-8c28c149b7b2],
> Property [name=EC2_REGION, value=asia-east1], Property
> [name=EC2_AVAILABILITY_ZONE, value=asia-east1-a]]]]
> org.apache.stratos.cloud.controller.exception.InvalidCartridgeTypeException:
> Member termination failed, could not find cartridge in cloud controller
> context: [cartridge-type] php-gce [member-id]
> single-cartridge-app-gce.my-php-app-gce.php-gce.domainbead7a03-8589-4c0c-a421-b713491d51ca
> at
> org.apache.stratos.cloud.controller.iaases.JcloudsIaas.terminateInstance(JcloudsIaas.java:307)
> at
> org.apache.stratos.cloud.controller.services.impl.InstanceTerminator.run(InstanceTerminator.java:56)
> 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)
> Exception in thread "pool-32-thread-3"
> org.apache.stratos.cloud.controller.exception.CloudControllerException:
> Instance termination failed! MemberContext
> [applicationId=single-cartridge-app-gce, cartridgeType=php-gce,
> clusterId=single-cartridge-app-gce.my-php-app-gce.php-gce.domain,
> memberId=single-cartridge-app-gce.my-php-app-gce.php-gce.domainbead7a03-8589-4c0c-a421-b713491d51ca,
> instanceId=null, partition=Partition [id=partition-1, description=null,
> isPublic=false, provider=gce, properties=Properties [properties=[Property
> [name=region, value=asia-east1], Property [name=zone,
> value=asia-east1-a]]]], defaultPrivateIP=null, defaultPublicIP=null,
> allocatedIPs=null, publicIPs=null, privateIPs=null, initTime=1447786797325,
> lbClusterId=null, networkPartitionId=network-partition-gce,
> kubernetesPodId=null, kubernetesPodName=null, loadBalancingIPType=Private,
> instanceMetadata=null, properties=Properties [properties=[Property
> [name=MIN_COUNT, value=1], Property [name=SCALING_DECISION_ID,
> value=single-cartridge-app-gce.my-php-app-gce.php-gce.domain-52271c86-c13e-4db1-8499-8c28c149b7b2],
> Property [name=EC2_REGION, value=asia-east1], Property
> [name=EC2_AVAILABILITY_ZONE, value=asia-east1-a]]]]
> at
> org.apache.stratos.cloud.controller.services.impl.InstanceTerminator.run(InstanceTerminator.java:63)
> 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:
> org.apache.stratos.cloud.controller.exception.InvalidCartridgeTypeException:
> Member termination failed, could not find cartridge in cloud controller
> context: [cartridge-type] php-gce [member-id]
> single-cartridge-app-gce.my-php-app-gce.php-gce.domainbead7a03-8589-4c0c-a421-b713491d51ca
> at
> org.apache.stratos.cloud.controller.iaases.JcloudsIaas.terminateInstance(JcloudsIaas.java:307)
> at
> org.apache.stratos.cloud.controller.services.impl.InstanceTerminator.run(InstanceTerminator.java:56)
> ... 3 more
>
>
> Has anyone faced this before?
>
> --
> Akila Ravihansa Perera
> WSO2 Inc.;  http://wso2.com/
>
> Blog: http://ravihansa3000.blogspot.com
>


-- 
Akila Ravihansa Perera
WSO2 Inc.;  http://wso2.com/

Blog: http://ravihansa3000.blogspot.com

Reply via email to