stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lahiru Sandaruwan <lahi...@wso2.com>
Subject Re: What is the usecase of having fixedIp and floatingIp in cartridge definition?
Date Wed, 19 Nov 2014 15:57:27 GMT
On Wed, Nov 19, 2014 at 4:50 PM, Isuru Haththotuwa <isuruh@apache.org>
wrote:

>
>
> On Wed, Nov 19, 2014 at 4:44 PM, Reka Thirunavukkarasu <reka@wso2.com>
> wrote:
>
>> Hi
>>
>> On Wed, Nov 19, 2014 at 4:05 PM, Rajkumar Rajaratnam <rajkumarr@wso2.com>
>> wrote:
>>
>>> Hi devs,
>>>
>>> I understand that if we add a fixedIp in network interfaces section,
>>> instance will get the fixed ip to the corresponding NIC.
>>> "networkInterfaces":[   {   "name":"net1-nonroutable",  "networkUuid":"
>>> 84d52a6d-a9e5-472a-9935-a0e195fe5b4a",  "fixedIp":"10.0.1.4",  }  ],
>>>
>>> I also understand that if we add a floatingIp property, instance will
>>> get the floating ip.
>>>
>>> So what will happen if we subscribe to the same cartridge again? We will
>>> end up with getting the following error [1]
>>>
>>> I would like to understand whether these cartridges are meant to be
>>> subscribed only once?
>>>
>>
>> Yah..According to my understanding, if you have a fixed ip, then that
>> cartridge can only be subscribed one and it even cannot be scaled up. You
>> can use this fixed ip only when you require the cartridge instance to
>> maintain the same ip all the times regardless of the restart or re-spin...
>>
> In this case, is it correct to specify this property in the cartridge
> definition level? AFAIU specifying this as subscription level is more
> appropriate.
>

+1, IMO we should do this.

>
>> Thanks,
>> Reka
>>
>>>
>>>
>>>
>>> java.lang.IllegalStateException:
>>> node(RegionOne/c7e335ea-95e3-4f0a-924d-97c7365f9966) didn't achieve the
>>> status running; aborting after 9 seconds with final status: ERROR
>>>     at
>>> org.jclouds.compute.functions.PollNodeRunning.apply(PollNodeRunning.java:69)
>>>     at
>>> org.jclouds.compute.functions.PollNodeRunning.apply(PollNodeRunning.java:42)
>>>     at
>>> org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.call(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:117)
>>>     at
>>> org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.apply(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:142)
>>>     at
>>> org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.apply(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:49)
>>>     at
>>> com.google.common.util.concurrent.Futures$1.apply(Futures.java:715)
>>>     at
>>> com.google.common.util.concurrent.Futures$ChainingListenableFuture.run(Futures.java:863)
>>>     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:744)
>>> [2014-11-19 10:22:27,014] ERROR
>>> {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl} -
>>> Failed to start an instance. MemberContext
>>> [memberId=cisco-php.php.domain4a37cd86-51be-41c0-b310-925888d6ed53,
>>> nodeId=null, clusterId=cisco-php.php.domain, cartridgeType=php,
>>> privateIpAddress=null, publicIpAddress=null, allocatedIpAddress=null,
>>> initTime=1416392536541, lbClusterId=null, networkPartitionId=os] Cause:
>>> error running 1 node group(cisco-php) location(RegionOne)
>>> image(1cd412c1-54ce-405f-9894-ce1387073c6c)
>>> size(15c3065c-462c-4977-9143-094d63d1c2c7) options({inboundPorts=[],
>>> autoAssignFloatingIp=false, keyPairName=cisco, userData=[B@5146b659,
>>> configDrive=false,
>>> novaNetworks=[Network{networkUuid=b55f009a-1cc6-4b17-924f-4ae0ee18db5e,
>>> portUuid=null, fixedIp=10.0.0.210}]})
>>> Execution failures:
>>>
>>> 0 error[s]
>>> Node failures:
>>>
>>> 1) IllegalStateException on node
>>> RegionOne/c7e335ea-95e3-4f0a-924d-97c7365f9966:
>>> java.lang.IllegalStateException:
>>> node(RegionOne/c7e335ea-95e3-4f0a-924d-97c7365f9966) didn't achieve the
>>> status running; aborting after 9 seconds with final status: ERROR
>>>     at
>>> org.jclouds.compute.functions.PollNodeRunning.apply(PollNodeRunning.java:69)
>>>     at
>>> org.jclouds.compute.functions.PollNodeRunning.apply(PollNodeRunning.java:42)
>>>     at
>>> org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.call(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:117)
>>>     at
>>> org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.apply(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:142)
>>>     at
>>> org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.apply(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:49)
>>>     at
>>> com.google.common.util.concurrent.Futures$1.apply(Futures.java:715)
>>>     at
>>> com.google.common.util.concurrent.Futures$ChainingListenableFuture.run(Futures.java:863)
>>>     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:744)
>>>
>>>
>>> 1 error[s]
>>> org.jclouds.compute.RunNodesException: error running 1 node
>>> group(cisco-php) location(RegionOne)
>>> image(1cd412c1-54ce-405f-9894-ce1387073c6c)
>>> size(15c3065c-462c-4977-9143-094d63d1c2c7) options({inboundPorts=[],
>>> autoAssignFloatingIp=false, keyPairName=cisco, userData=[B@5146b659,
>>> configDrive=false,
>>> novaNetworks=[Network{networkUuid=b55f009a-1cc6-4b17-924f-4ae0ee18db5e,
>>> portUuid=null, fixedIp=10.0.0.210}]})
>>> Execution failures:
>>>
>>> 0 error[s]
>>> Node failures:
>>>
>>> 1) IllegalStateException on node
>>> RegionOne/c7e335ea-95e3-4f0a-924d-97c7365f9966:
>>> java.lang.IllegalStateException:
>>> node(RegionOne/c7e335ea-95e3-4f0a-924d-97c7365f9966) didn't achieve the
>>> status running; aborting after 9 seconds with final status: ERROR
>>>     at
>>> org.jclouds.compute.functions.PollNodeRunning.apply(PollNodeRunning.java:69)
>>>     at
>>> org.jclouds.compute.functions.PollNodeRunning.apply(PollNodeRunning.java:42)
>>>     at
>>> org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.call(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:117)
>>>     at
>>> org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.apply(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:142)
>>>     at
>>> org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.apply(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:49)
>>>     at
>>> com.google.common.util.concurrent.Futures$1.apply(Futures.java:715)
>>>     at
>>> com.google.common.util.concurrent.Futures$ChainingListenableFuture.run(Futures.java:863)
>>>     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:744)
>>>
>>>
>>> 1 error[s]
>>>     at
>>> org.jclouds.compute.internal.BaseComputeService.createNodesInGroup(BaseComputeService.java:222)
>>>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>     at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>>     at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>>     at java.lang.reflect.Method.invoke(Method.java:606)
>>>     at
>>> com.google.inject.internal.DelegatingInvocationHandler.invoke(DelegatingInvocationHandler.java:37)
>>>     at com.sun.proxy.$Proxy87.createNodesInGroup(Unknown Source)
>>>     at
>>> org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl.startInstance(CloudControllerServiceImpl.java:355)
>>>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>     at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>>     at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>>     at java.lang.reflect.Method.invoke(Method.java:606)
>>>     at
>>> org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212)
>>>     at
>>> org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:117)
>>>     at
>>> org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
>>>     at
>>> org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
>>>     at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
>>>     at
>>> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172)
>>>     at
>>> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146)
>>>     at
>>> org.wso2.carbon.core.transports.CarbonServlet.doPost(CarbonServlet.java:231)
>>>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:755)
>>>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
>>>     at
>>> org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
>>>     at
>>> org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
>>>     at
>>> org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
>>>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
>>>     at
>>> org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
>>>     at
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
>>>     at
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>>>     at
>>> org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
>>>     at
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>>>     at
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>>>     at
>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
>>>     at
>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
>>>     at
>>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
>>>     at
>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
>>>     at
>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
>>>     at
>>> org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178)
>>>     at
>>> org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47)
>>>     at
>>> org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:56)
>>>     at
>>> org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)
>>>     at
>>> org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:141)
>>>     at
>>> org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)
>>>     at
>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
>>>     at
>>> org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:52)
>>>     at
>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
>>>     at
>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
>>>     at
>>> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
>>>     at
>>> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
>>>     at
>>> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
>>>     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:744)
>>> [2014-11-19 10:22:27,016] ERROR
>>> {org.apache.axis2.rpc.receivers.RPCMessageReceiver} -  Failed to start an
>>> instance. MemberContext
>>> [memberId=cisco-php.php.domain4a37cd86-51be-41c0-b310-925888d6ed53,
>>> nodeId=null, clusterId=cisco-php.php.domain, cartridgeType=php,
>>> privateIpAddress=null, publicIpAddress=null, allocatedIpAddress=null,
>>> initTime=1416392536541, lbClusterId=null, networkPartitionId=os] Cause:
>>> error running 1 node group(cisco-php) location(RegionOne)
>>> image(1cd412c1-54ce-405f-9894-ce1387073c6c)
>>> size(15c3065c-462c-4977-9143-094d63d1c2c7) options({inboundPorts=[],
>>> autoAssignFloatingIp=false, keyPairName=cisco, userData=[B@5146b659,
>>> configDrive=false,
>>> novaNetworks=[Network{networkUuid=b55f009a-1cc6-4b17-924f-4ae0ee18db5e,
>>> portUuid=null, fixedIp=10.0.0.210}]})
>>> Execution failures:
>>>
>>> 0 error[s]
>>> Node failures:
>>>
>>> 1) IllegalStateException on node
>>> RegionOne/c7e335ea-95e3-4f0a-924d-97c7365f9966:
>>> java.lang.IllegalStateException:
>>> node(RegionOne/c7e335ea-95e3-4f0a-924d-97c7365f9966) didn't achieve the
>>> status running; aborting after 9 seconds with final status: ERROR
>>>     at
>>> org.jclouds.compute.functions.PollNodeRunning.apply(PollNodeRunning.java:69)
>>>     at
>>> org.jclouds.compute.functions.PollNodeRunning.apply(PollNodeRunning.java:42)
>>>     at
>>> org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.call(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:117)
>>>     at
>>> org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.apply(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:142)
>>>     at
>>> org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.apply(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:49)
>>>     at
>>> com.google.common.util.concurrent.Futures$1.apply(Futures.java:715)
>>>     at
>>> com.google.common.util.concurrent.Futures$ChainingListenableFuture.run(Futures.java:863)
>>>     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:744)
>>>
>>>
>>> 1 error[s]
>>> java.lang.reflect.InvocationTargetException
>>>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>     at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>>     at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>>     at java.lang.reflect.Method.invoke(Method.java:606)
>>>     at
>>> org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212)
>>>     at
>>> org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:117)
>>>     at
>>> org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
>>>     at
>>> org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
>>>     at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
>>>     at
>>> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172)
>>>     at
>>> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146)
>>>     at
>>> org.wso2.carbon.core.transports.CarbonServlet.doPost(CarbonServlet.java:231)
>>>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:755)
>>>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
>>>     at
>>> org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
>>>     at
>>> org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
>>>     at
>>> org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
>>>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
>>>     at
>>> org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
>>>     at
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
>>>     at
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>>>     at
>>> org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
>>>     at
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>>>     at
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>>>     at
>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
>>>     at
>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
>>>     at
>>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
>>>     at
>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
>>>     at
>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
>>>     at
>>> org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178)
>>>     at
>>> org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47)
>>>     at
>>> org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:56)
>>>     at
>>> org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)
>>>     at
>>> org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:141)
>>>     at
>>> org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)
>>>     at
>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
>>>     at
>>> org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:52)
>>>     at
>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
>>>     at
>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
>>>     at
>>> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
>>>     at
>>> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
>>>     at
>>> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
>>>     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:744)
>>> Caused by: java.lang.IllegalStateException: Failed to start an instance.
>>> MemberContext
>>> [memberId=cisco-php.php.domain4a37cd86-51be-41c0-b310-925888d6ed53,
>>> nodeId=null, clusterId=cisco-php.php.domain, cartridgeType=php,
>>> privateIpAddress=null, publicIpAddress=null, allocatedIpAddress=null,
>>> initTime=1416392536541, lbClusterId=null, networkPartitionId=os] Cause:
>>> error running 1 node group(cisco-php) location(RegionOne)
>>> image(1cd412c1-54ce-405f-9894-ce1387073c6c)
>>> size(15c3065c-462c-4977-9143-094d63d1c2c7) options({inboundPorts=[],
>>> autoAssignFloatingIp=false, keyPairName=cisco, userData=[B@5146b659,
>>> configDrive=false,
>>> novaNetworks=[Network{networkUuid=b55f009a-1cc6-4b17-924f-4ae0ee18db5e,
>>> portUuid=null, fixedIp=10.0.0.210}]})
>>> Execution failures:
>>>
>>> 0 error[s]
>>> Node failures:
>>>
>>> 1) IllegalStateException on node
>>> RegionOne/c7e335ea-95e3-4f0a-924d-97c7365f9966:
>>> java.lang.IllegalStateException:
>>> node(RegionOne/c7e335ea-95e3-4f0a-924d-97c7365f9966) didn't achieve the
>>> status running; aborting after 9 seconds with final status: ERROR
>>>     at
>>> org.jclouds.compute.functions.PollNodeRunning.apply(PollNodeRunning.java:69)
>>>     at
>>> org.jclouds.compute.functions.PollNodeRunning.apply(PollNodeRunning.java:42)
>>>     at
>>> org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.call(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:117)
>>>     at
>>> org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.apply(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:142)
>>>     at
>>> org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.apply(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:49)
>>>     at
>>> com.google.common.util.concurrent.Futures$1.apply(Futures.java:715)
>>>     at
>>> com.google.common.util.concurrent.Futures$ChainingListenableFuture.run(Futures.java:863)
>>>     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:744)
>>>
>>>
>>> 1 error[s]
>>>     at
>>> org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl.startInstance(CloudControllerServiceImpl.java:407)
>>>     ... 45 more
>>> Caused by: org.jclouds.compute.RunNodesException: error running 1 node
>>> group(cisco-php) location(RegionOne)
>>> image(1cd412c1-54ce-405f-9894-ce1387073c6c)
>>> size(15c3065c-462c-4977-9143-094d63d1c2c7) options({inboundPorts=[],
>>> autoAssignFloatingIp=false, keyPairName=cisco, userData=[B@5146b659,
>>> configDrive=false,
>>> novaNetworks=[Network{networkUuid=b55f009a-1cc6-4b17-924f-4ae0ee18db5e,
>>> portUuid=null, fixedIp=10.0.0.210}]})
>>> Execution failures:
>>>
>>> 0 error[s]
>>> Node failures:
>>>
>>> 1) IllegalStateException on node
>>> RegionOne/c7e335ea-95e3-4f0a-924d-97c7365f9966:
>>> java.lang.IllegalStateException:
>>> node(RegionOne/c7e335ea-95e3-4f0a-924d-97c7365f9966) didn't achieve the
>>> status running; aborting after 9 seconds with final status: ERROR
>>>     at
>>> org.jclouds.compute.functions.PollNodeRunning.apply(PollNodeRunning.java:69)
>>>     at
>>> org.jclouds.compute.functions.PollNodeRunning.apply(PollNodeRunning.java:42)
>>>     at
>>> org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.call(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:117)
>>>     at
>>> org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.apply(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:142)
>>>     at
>>> org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.apply(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:49)
>>>     at
>>> com.google.common.util.concurrent.Futures$1.apply(Futures.java:715)
>>>     at
>>> com.google.common.util.concurrent.Futures$ChainingListenableFuture.run(Futures.java:863)
>>>     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:744)
>>>
>>>
>>> 1 error[s]
>>>     at
>>> org.jclouds.compute.internal.BaseComputeService.createNodesInGroup(BaseComputeService.java:222)
>>>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>     at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>>     at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>>     at java.lang.reflect.Method.invoke(Method.java:606)
>>>     at
>>> com.google.inject.internal.DelegatingInvocationHandler.invoke(DelegatingInvocationHandler.java:37)
>>>     at com.sun.proxy.$Proxy87.createNodesInGroup(Unknown Source)
>>>     at
>>> org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl.startInstance(CloudControllerServiceImpl.java:355)
>>>     ... 45 more
>>> [2014-11-19 10:22:27,026] ERROR
>>> {org.apache.stratos.autoscaler.client.cloud.controller.CloudControllerClient}
>>> -  Failed to start an instance. MemberContext
>>> [memberId=cisco-php.php.domain4a37cd86-51be-41c0-b310-925888d6ed53,
>>> nodeId=null, clusterId=cisco-php.php.domain, cartridgeType=php,
>>> privateIpAddress=null, publicIpAddress=null, allocatedIpAddress=null,
>>> initTime=1416392536541, lbClusterId=null, networkPartitionId=os] Cause:
>>> error running 1 node group(cisco-php) location(RegionOne)
>>> image(1cd412c1-54ce-405f-9894-ce1387073c6c)
>>> size(15c3065c-462c-4977-9143-094d63d1c2c7) options({inboundPorts=[],
>>> autoAssignFloatingIp=false, keyPairName=cisco, userData=[B@5146b659,
>>> configDrive=false,
>>> novaNetworks=[Network{networkUuid=b55f009a-1cc6-4b17-924f-4ae0ee18db5e,
>>> portUuid=null, fixedIp=10.0.0.210}]})
>>> Execution failures:
>>>
>>> 0 error[s]
>>> Node failures:
>>>
>>> 1) IllegalStateException on node
>>> RegionOne/c7e335ea-95e3-4f0a-924d-97c7365f9966:
>>> java.lang.IllegalStateException:
>>> node(RegionOne/c7e335ea-95e3-4f0a-924d-97c7365f9966) didn't achieve the
>>> status running; aborting after 9 seconds with final status: ERROR
>>>     at
>>> org.jclouds.compute.functions.PollNodeRunning.apply(PollNodeRunning.java:69)
>>>     at
>>> org.jclouds.compute.functions.PollNodeRunning.apply(PollNodeRunning.java:42)
>>>     at
>>> org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.call(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:117)
>>>     at
>>> org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.apply(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:142)
>>>     at
>>> org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.apply(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:49)
>>>     at
>>> com.google.common.util.concurrent.Futures$1.apply(Futures.java:715)
>>>     at
>>> com.google.common.util.concurrent.Futures$ChainingListenableFuture.run(Futures.java:863)
>>>     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:744)
>>>
>>>
>>> 1 error[s]
>>> org.apache.axis2.AxisFault: Failed to start an instance. MemberContext
>>> [memberId=cisco-php.php.domain4a37cd86-51be-41c0-b310-925888d6ed53,
>>> nodeId=null, clusterId=cisco-php.php.domain, cartridgeType=php,
>>> privateIpAddress=null, publicIpAddress=null, allocatedIpAddress=null,
>>> initTime=1416392536541, lbClusterId=null, networkPartitionId=os] Cause:
>>> error running 1 node group(cisco-php) location(RegionOne)
>>> image(1cd412c1-54ce-405f-9894-ce1387073c6c)
>>> size(15c3065c-462c-4977-9143-094d63d1c2c7) options({inboundPorts=[],
>>> autoAssignFloatingIp=false, keyPairName=cisco, userData=[B@5146b659,
>>> configDrive=false,
>>> novaNetworks=[Network{networkUuid=b55f009a-1cc6-4b17-924f-4ae0ee18db5e,
>>> portUuid=null, fixedIp=10.0.0.210}]})
>>> Execution failures:
>>>
>>> 0 error[s]
>>> Node failures:
>>>
>>> 1) IllegalStateException on node
>>> RegionOne/c7e335ea-95e3-4f0a-924d-97c7365f9966:
>>> java.lang.IllegalStateException:
>>> node(RegionOne/c7e335ea-95e3-4f0a-924d-97c7365f9966) didn't achieve the
>>> status running; aborting after 9 seconds with final status: ERROR
>>>     at
>>> org.jclouds.compute.functions.PollNodeRunning.apply(PollNodeRunning.java:69)
>>>     at
>>> org.jclouds.compute.functions.PollNodeRunning.apply(PollNodeRunning.java:42)
>>>     at
>>> org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.call(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:117)
>>>     at
>>> org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.apply(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:142)
>>>     at
>>> org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.apply(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:49)
>>>     at
>>> com.google.common.util.concurrent.Futures$1.apply(Futures.java:715)
>>>     at
>>> com.google.common.util.concurrent.Futures$ChainingListenableFuture.run(Futures.java:863)
>>>     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:744)
>>>
>>>
>>> 1 error[s]
>>>     at
>>> org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531)
>>>     at
>>> org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:370)
>>>     at
>>> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:445)
>>>     at
>>> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
>>>     at
>>> org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
>>>     at
>>> org.apache.stratos.cloud.controller.stub.CloudControllerServiceStub.startInstance(CloudControllerServiceStub.java:1139)
>>>     at
>>> org.apache.stratos.autoscaler.client.cloud.controller.CloudControllerClient.spawnAnInstance(CloudControllerClient.java:145)
>>>     at
>>> org.apache.stratos.autoscaler.rule.RuleTasksDelegator.delegateSpawn(RuleTasksDelegator.java:92)
>>>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>     at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>>     at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>>     at java.lang.reflect.Method.invoke(Method.java:606)
>>>     at
>>> org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.getMethod(ReflectiveAccessorOptimizer.java:1104)
>>>     at
>>> org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.getMethod(ReflectiveAccessorOptimizer.java:987)
>>>     at
>>> org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.compileGetChain(ReflectiveAccessorOptimizer.java:377)
>>>     at
>>> org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.optimizeAccessor(ReflectiveAccessorOptimizer.java:143)
>>>     at org.mvel2.ast.ASTNode.optimize(ASTNode.java:159)
>>>     at org.mvel2.ast.ASTNode.getReducedValueAccelerated(ASTNode.java:115)
>>>     at org.mvel2.MVELRuntime.execute(MVELRuntime.java:85)
>>>     at
>>> org.mvel2.compiler.CompiledExpression.getDirectValue(CompiledExpression.java:123)
>>>     at
>>> org.mvel2.compiler.CompiledExpression.getValue(CompiledExpression.java:119)
>>>     at
>>> org.mvel2.compiler.CompiledExpression.getValue(CompiledExpression.java:113)
>>>     at org.mvel2.MVEL.executeExpression(MVEL.java:930)
>>>     at
>>> org.drools.base.mvel.MVELConsequence.evaluate(MVELConsequence.java:104)
>>>     at
>>> org.drools.common.DefaultAgenda.fireActivation(DefaultAgenda.java:1287)
>>>     at
>>> org.drools.common.DefaultAgenda.fireNextItem(DefaultAgenda.java:1221)
>>>     at
>>> org.drools.common.DefaultAgenda.fireAllRules(DefaultAgenda.java:1456)
>>>     at
>>> org.drools.common.AbstractWorkingMemory.fireAllRules(AbstractWorkingMemory.java:710)
>>>     at
>>> org.drools.common.AbstractWorkingMemory.fireAllRules(AbstractWorkingMemory.java:674)
>>>     at
>>> org.drools.impl.StatefulKnowledgeSessionImpl.fireAllRules(StatefulKnowledgeSessionImpl.java:230)
>>>     at
>>> org.apache.stratos.autoscaler.rule.AutoscalerRuleEvaluator.evaluateMinCheck(AutoscalerRuleEvaluator.java:86)
>>>     at
>>> org.apache.stratos.autoscaler.monitor.ClusterMonitor.monitor(ClusterMonitor.java:99)
>>>     at
>>> org.apache.stratos.autoscaler.monitor.ClusterMonitor.run(ClusterMonitor.java:72)
>>>     at java.lang.Thread.run(Thread.java:744)
>>> [2014-11-19 10:22:27,027] ERROR
>>> {org.apache.stratos.autoscaler.rule.RuleTasksDelegator} -  Cannot spawn an
>>> instance
>>> org.apache.stratos.autoscaler.exception.SpawningException: Failed to
>>> start an instance. MemberContext
>>> [memberId=cisco-php.php.domain4a37cd86-51be-41c0-b310-925888d6ed53,
>>> nodeId=null, clusterId=cisco-php.php.domain, cartridgeType=php,
>>> privateIpAddress=null, publicIpAddress=null, allocatedIpAddress=null,
>>> initTime=1416392536541, lbClusterId=null, networkPartitionId=os] Cause:
>>> error running 1 node group(cisco-php) location(RegionOne)
>>> image(1cd412c1-54ce-405f-9894-ce1387073c6c)
>>> size(15c3065c-462c-4977-9143-094d63d1c2c7) options({inboundPorts=[],
>>> autoAssignFloatingIp=false, keyPairName=cisco, userData=[B@5146b659,
>>> configDrive=false,
>>> novaNetworks=[Network{networkUuid=b55f009a-1cc6-4b17-924f-4ae0ee18db5e,
>>> portUuid=null, fixedIp=10.0.0.210}]})
>>> Execution failures:
>>>
>>> 0 error[s]
>>> Node failures:
>>>
>>> 1) IllegalStateException on node
>>> RegionOne/c7e335ea-95e3-4f0a-924d-97c7365f9966:
>>> java.lang.IllegalStateException:
>>> node(RegionOne/c7e335ea-95e3-4f0a-924d-97c7365f9966) didn't achieve the
>>> status running; aborting after 9 seconds with final status: ERROR
>>>     at
>>> org.jclouds.compute.functions.PollNodeRunning.apply(PollNodeRunning.java:69)
>>>     at
>>> org.jclouds.compute.functions.PollNodeRunning.apply(PollNodeRunning.java:42)
>>>     at
>>> org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.call(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:117)
>>>     at
>>> org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.apply(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:142)
>>>     at
>>> org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.apply(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:49)
>>>     at
>>> com.google.common.util.concurrent.Futures$1.apply(Futures.java:715)
>>>     at
>>> com.google.common.util.concurrent.Futures$ChainingListenableFuture.run(Futures.java:863)
>>>     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:744)
>>>
>>>
>>> 1 error[s]
>>>     at
>>> org.apache.stratos.autoscaler.client.cloud.controller.CloudControllerClient.spawnAnInstance(CloudControllerClient.java:157)
>>>     at
>>> org.apache.stratos.autoscaler.rule.RuleTasksDelegator.delegateSpawn(RuleTasksDelegator.java:92)
>>>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>     at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>>     at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>>     at java.lang.reflect.Method.invoke(Method.java:606)
>>>     at
>>> org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.getMethod(ReflectiveAccessorOptimizer.java:1104)
>>>     at
>>> org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.getMethod(ReflectiveAccessorOptimizer.java:987)
>>>     at
>>> org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.compileGetChain(ReflectiveAccessorOptimizer.java:377)
>>>     at
>>> org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.optimizeAccessor(ReflectiveAccessorOptimizer.java:143)
>>>     at org.mvel2.ast.ASTNode.optimize(ASTNode.java:159)
>>>     at org.mvel2.ast.ASTNode.getReducedValueAccelerated(ASTNode.java:115)
>>>     at org.mvel2.MVELRuntime.execute(MVELRuntime.java:85)
>>>     at
>>> org.mvel2.compiler.CompiledExpression.getDirectValue(CompiledExpression.java:123)
>>>     at
>>> org.mvel2.compiler.CompiledExpression.getValue(CompiledExpression.java:119)
>>>     at
>>> org.mvel2.compiler.CompiledExpression.getValue(CompiledExpression.java:113)
>>>     at org.mvel2.MVEL.executeExpression(MVEL.java:930)
>>>     at
>>> org.drools.base.mvel.MVELConsequence.evaluate(MVELConsequence.java:104)
>>>     at
>>> org.drools.common.DefaultAgenda.fireActivation(DefaultAgenda.java:1287)
>>>     at
>>> org.drools.common.DefaultAgenda.fireNextItem(DefaultAgenda.java:1221)
>>>     at
>>> org.drools.common.DefaultAgenda.fireAllRules(DefaultAgenda.java:1456)
>>>     at
>>> org.drools.common.AbstractWorkingMemory.fireAllRules(AbstractWorkingMemory.java:710)
>>>     at
>>> org.drools.common.AbstractWorkingMemory.fireAllRules(AbstractWorkingMemory.java:674)
>>>     at
>>> org.drools.impl.StatefulKnowledgeSessionImpl.fireAllRules(StatefulKnowledgeSessionImpl.java:230)
>>>     at
>>> org.apache.stratos.autoscaler.rule.AutoscalerRuleEvaluator.evaluateMinCheck(AutoscalerRuleEvaluator.java:86)
>>>     at
>>> org.apache.stratos.autoscaler.monitor.ClusterMonitor.monitor(ClusterMonitor.java:99)
>>>     at
>>> org.apache.stratos.autoscaler.monitor.ClusterMonitor.run(ClusterMonitor.java:72)
>>>     at java.lang.Thread.run(Thread.java:744)
>>> Caused by: org.apache.axis2.AxisFault: Failed to start an instance.
>>> MemberContext
>>> [memberId=cisco-php.php.domain4a37cd86-51be-41c0-b310-925888d6ed53,
>>> nodeId=null, clusterId=cisco-php.php.domain, cartridgeType=php,
>>> privateIpAddress=null, publicIpAddress=null, allocatedIpAddress=null,
>>> initTime=1416392536541, lbClusterId=null, networkPartitionId=os] Cause:
>>> error running 1 node group(cisco-php) location(RegionOne)
>>> image(1cd412c1-54ce-405f-9894-ce1387073c6c)
>>> size(15c3065c-462c-4977-9143-094d63d1c2c7) options({inboundPorts=[],
>>> autoAssignFloatingIp=false, keyPairName=cisco, userData=[B@5146b659,
>>> configDrive=false,
>>> novaNetworks=[Network{networkUuid=b55f009a-1cc6-4b17-924f-4ae0ee18db5e,
>>> portUuid=null, fixedIp=10.0.0.210}]})
>>> Execution failures:
>>>
>>> 0 error[s]
>>> Node failures:
>>>
>>> 1) IllegalStateException on node
>>> RegionOne/c7e335ea-95e3-4f0a-924d-97c7365f9966:
>>> java.lang.IllegalStateException:
>>> node(RegionOne/c7e335ea-95e3-4f0a-924d-97c7365f9966) didn't achieve the
>>> status running; aborting after 9 seconds with final status: ERROR
>>>     at
>>> org.jclouds.compute.functions.PollNodeRunning.apply(PollNodeRunning.java:69)
>>>     at
>>> org.jclouds.compute.functions.PollNodeRunning.apply(PollNodeRunning.java:42)
>>>     at
>>> org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.call(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:117)
>>>     at
>>> org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.apply(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:142)
>>>     at
>>> org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.apply(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:49)
>>>     at
>>> com.google.common.util.concurrent.Futures$1.apply(Futures.java:715)
>>>     at
>>> com.google.common.util.concurrent.Futures$ChainingListenableFuture.run(Futures.java:863)
>>>     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:744)
>>>
>>>
>>> 1 error[s]
>>>     at
>>> org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531)
>>>     at
>>> org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:370)
>>>     at
>>> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:445)
>>>     at
>>> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
>>>     at
>>> org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
>>>     at
>>> org.apache.stratos.cloud.controller.stub.CloudControllerServiceStub.startInstance(CloudControllerServiceStub.java:1139)
>>>     at
>>> org.apache.stratos.autoscaler.client.cloud.controller.CloudControllerClient.spawnAnInstance(CloudControllerClient.java:145)
>>>     ... 27 more
>>> [2014-11-19 10:22:27,028] ERROR
>>> {org.apache.stratos.autoscaler.monitor.ClusterMonitor} -  Cluster monitor:
>>> Monitor failed.ClusterMonitor [clusterId=cisco-php.php.domain,
>>> serviceId=php, deploymentPolicy=Deployment Policy
>>> [id]economyDeploymentPolicy [partitions]
>>> [org.apache.stratos.cloud.controller.stub.deployment.partition.Partition@704d769d],
>>> autoscalePolicy=ASPolicy [id=simpleAutoscalePolicy, displayName=null,
>>> description=null], lbReferenceType=null]
>>> Exception executing consequence for rule "Minimum Rule" in
>>> org.apache.stratos.autoscaler.rule: [Error: $delegator.delegateSpawn($ctxt,
>>> clusterId, lbRef): Cannot spawn an instance]
>>> [Near : {... $delegator.delegateSpawn($ctxt ....}]
>>>              ^
>>> [Line: 1, Column: 1]
>>>     at
>>> org.drools.runtime.rule.impl.DefaultConsequenceExceptionHandler.handleException(DefaultConsequenceExceptionHandler.java:39)
>>>     at
>>> org.drools.common.DefaultAgenda.fireActivation(DefaultAgenda.java:1297)
>>>     at
>>> org.drools.common.DefaultAgenda.fireNextItem(DefaultAgenda.java:1221)
>>>     at
>>> org.drools.common.DefaultAgenda.fireAllRules(DefaultAgenda.java:1456)
>>>     at
>>> org.drools.common.AbstractWorkingMemory.fireAllRules(AbstractWorkingMemory.java:710)
>>>     at
>>> org.drools.common.AbstractWorkingMemory.fireAllRules(AbstractWorkingMemory.java:674)
>>>     at
>>> org.drools.impl.StatefulKnowledgeSessionImpl.fireAllRules(StatefulKnowledgeSessionImpl.java:230)
>>>     at
>>> org.apache.stratos.autoscaler.rule.AutoscalerRuleEvaluator.evaluateMinCheck(AutoscalerRuleEvaluator.java:86)
>>>     at
>>> org.apache.stratos.autoscaler.monitor.ClusterMonitor.monitor(ClusterMonitor.java:99)
>>>     at
>>> org.apache.stratos.autoscaler.monitor.ClusterMonitor.run(ClusterMonitor.java:72)
>>>     at java.lang.Thread.run(Thread.java:744)
>>> Caused by: [Error: $delegator.delegateSpawn($ctxt, clusterId, lbRef):
>>> Cannot spawn an instance]
>>> [Near : {... $delegator.delegateSpawn($ctxt ....}]
>>>              ^
>>> [Line: 1, Column: 1]
>>>     at
>>> org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.compileGetChain(ReflectiveAccessorOptimizer.java:416)
>>>     at
>>> org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.optimizeAccessor(ReflectiveAccessorOptimizer.java:143)
>>>     at org.mvel2.ast.ASTNode.optimize(ASTNode.java:159)
>>>     at org.mvel2.ast.ASTNode.getReducedValueAccelerated(ASTNode.java:115)
>>>     at org.mvel2.MVELRuntime.execute(MVELRuntime.java:85)
>>>     at
>>> org.mvel2.compiler.CompiledExpression.getDirectValue(CompiledExpression.java:123)
>>>     at
>>> org.mvel2.compiler.CompiledExpression.getValue(CompiledExpression.java:119)
>>>     at
>>> org.mvel2.compiler.CompiledExpression.getValue(CompiledExpression.java:113)
>>>     at org.mvel2.MVEL.executeExpression(MVEL.java:930)
>>>     at
>>> org.drools.base.mvel.MVELConsequence.evaluate(MVELConsequence.java:104)
>>>     at
>>> org.drools.common.DefaultAgenda.fireActivation(DefaultAgenda.java:1287)
>>>     ... 9 more
>>> Caused by: java.lang.reflect.InvocationTargetException
>>>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>     at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>>     at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>>     at java.lang.reflect.Method.invoke(Method.java:606)
>>>     at
>>> org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.getMethod(ReflectiveAccessorOptimizer.java:1104)
>>>     at
>>> org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.getMethod(ReflectiveAccessorOptimizer.java:987)
>>>     at
>>> org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.compileGetChain(ReflectiveAccessorOptimizer.java:377)
>>>     ... 19 more
>>> Caused by: java.lang.RuntimeException: Cannot spawn an instance
>>>     at
>>> org.apache.stratos.autoscaler.rule.RuleTasksDelegator.delegateSpawn(RuleTasksDelegator.java:110)
>>>     ... 26 more
>>> Caused by: org.apache.stratos.autoscaler.exception.SpawningException:
>>> Failed to start an instance. MemberContext
>>> [memberId=cisco-php.php.domain4a37cd86-51be-41c0-b310-925888d6ed53,
>>> nodeId=null, clusterId=cisco-php.php.domain, cartridgeType=php,
>>> privateIpAddress=null, publicIpAddress=null, allocatedIpAddress=null,
>>> initTime=1416392536541, lbClusterId=null, networkPartitionId=os] Cause:
>>> error running 1 node group(cisco-php) location(RegionOne)
>>> image(1cd412c1-54ce-405f-9894-ce1387073c6c)
>>> size(15c3065c-462c-4977-9143-094d63d1c2c7) options({inboundPorts=[],
>>> autoAssignFloatingIp=false, keyPairName=cisco, userData=[B@5146b659,
>>> configDrive=false,
>>> novaNetworks=[Network{networkUuid=b55f009a-1cc6-4b17-924f-4ae0ee18db5e,
>>> portUuid=null, fixedIp=10.0.0.210}]})
>>> Execution failures:
>>>
>>> 0 error[s]
>>> Node failures:
>>>
>>> 1) IllegalStateException on node
>>> RegionOne/c7e335ea-95e3-4f0a-924d-97c7365f9966:
>>> java.lang.IllegalStateException:
>>> node(RegionOne/c7e335ea-95e3-4f0a-924d-97c7365f9966) didn't achieve the
>>> status running; aborting after 9 seconds with final status: ERROR
>>>     at
>>> org.jclouds.compute.functions.PollNodeRunning.apply(PollNodeRunning.java:69)
>>>     at
>>> org.jclouds.compute.functions.PollNodeRunning.apply(PollNodeRunning.java:42)
>>>     at
>>> org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.call(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:117)
>>>     at
>>> org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.apply(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:142)
>>>     at
>>> org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.apply(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:49)
>>>     at
>>> com.google.common.util.concurrent.Futures$1.apply(Futures.java:715)
>>>     at
>>> com.google.common.util.concurrent.Futures$ChainingListenableFuture.run(Futures.java:863)
>>>     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:744)
>>>
>>>
>>> 1 error[s]
>>>     at
>>> org.apache.stratos.autoscaler.client.cloud.controller.CloudControllerClient.spawnAnInstance(CloudControllerClient.java:157)
>>>     at
>>> org.apache.stratos.autoscaler.rule.RuleTasksDelegator.delegateSpawn(RuleTasksDelegator.java:92)
>>>     ... 26 more
>>> Caused by: org.apache.axis2.AxisFault: Failed to start an instance.
>>> MemberContext
>>> [memberId=cisco-php.php.domain4a37cd86-51be-41c0-b310-925888d6ed53,
>>> nodeId=null, clusterId=cisco-php.php.domain, cartridgeType=php,
>>> privateIpAddress=null, publicIpAddress=null, allocatedIpAddress=null,
>>> initTime=1416392536541, lbClusterId=null, networkPartitionId=os] Cause:
>>> error running 1 node group(cisco-php) location(RegionOne)
>>> image(1cd412c1-54ce-405f-9894-ce1387073c6c)
>>> size(15c3065c-462c-4977-9143-094d63d1c2c7) options({inboundPorts=[],
>>> autoAssignFloatingIp=false, keyPairName=cisco, userData=[B@5146b659,
>>> configDrive=false,
>>> novaNetworks=[Network{networkUuid=b55f009a-1cc6-4b17-924f-4ae0ee18db5e,
>>> portUuid=null, fixedIp=10.0.0.210}]})
>>> Execution failures:
>>>
>>> 0 error[s]
>>> Node failures:
>>>
>>> 1) IllegalStateException on node
>>> RegionOne/c7e335ea-95e3-4f0a-924d-97c7365f9966:
>>> java.lang.IllegalStateException:
>>> node(RegionOne/c7e335ea-95e3-4f0a-924d-97c7365f9966) didn't achieve the
>>> status running; aborting after 9 seconds with final status: ERROR
>>>     at
>>> org.jclouds.compute.functions.PollNodeRunning.apply(PollNodeRunning.java:69)
>>>     at
>>> org.jclouds.compute.functions.PollNodeRunning.apply(PollNodeRunning.java:42)
>>>     at
>>> org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.call(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:117)
>>>     at
>>> org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.apply(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:142)
>>>     at
>>> org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.apply(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.java:49)
>>>     at
>>> com.google.common.util.concurrent.Futures$1.apply(Futures.java:715)
>>>     at
>>> com.google.common.util.concurrent.Futures$ChainingListenableFuture.run(Futures.java:863)
>>>     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:744)
>>>
>>>
>>> 1 error[s]
>>>     at
>>> org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531)
>>>     at
>>> org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:370)
>>>     at
>>> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:445)
>>>     at
>>> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
>>>     at
>>> org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
>>>     at
>>> org.apache.stratos.cloud.controller.stub.CloudControllerServiceStub.startInstance(CloudControllerServiceStub.java:1139)
>>>     at
>>> org.apache.stratos.autoscaler.client.cloud.controller.CloudControllerClient.spawnAnInstance(CloudControllerClient.java:145)
>>>     ... 27 more
>>>
>>>
>>> --
>>> Rajkumar Rajaratnam
>>> Committer & PMC Member, Apache Stratos
>>> Software Engineer, WSO2
>>>
>>
>>
>>
>> --
>> Reka Thirunavukkarasu
>> Senior Software Engineer,
>> WSO2, Inc.:http://wso2.com,
>> Mobile:
>> +94776442007
>>
>> --
>> <%2B94776442007>
>> <%2B94776442007>
>> Thanks and Regards,
>>
>> Isuru H.
>> <%2B94776442007>
>> +94 716 358 048 <%2B94776442007>* <http://wso2.com/>*
>>
>>
>> * <http://wso2.com/>*
>>
>>
>>


-- 
--
Lahiru Sandaruwan
Committer and PMC member, Apache Stratos,
Senior Software Engineer,
WSO2 Inc., http://wso2.com
lean.enterprise.middleware

email: lahirus@wso2.com blog: http://lahiruwrites.blogspot.com/
linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146

Mime
View raw message