Hi Raj,

I am using the autoscale policy name correctly during subscription & cartridge 
gets spawned, fetches catalog from puppet-master & becoming Active.
After this I am getting Cluster monitor: Monitor Failed.

If I will use the wrong autoscale-policy name for cartridge subscription, it 
will fail there only.

Regards
Manas

From: Rajkumar Rajaratnam [mailto:rajkum...@wso2.com]
Sent: Monday, October 27, 2014 5:20 PM
To: dev@stratos.apache.org
Subject: Re: Getting Cluster Monitor Failure Messages in wso2carbon.log

oops. so we don't need subscription json to subscribe. I confused with 
kubernetes stuff.

AFAIK, this error happens when the relevant autoscale policy is not found in 
Policy Manager. When we pass autoscale policy name, AS is loading the autoscale 
policy from Policy Manager. If the policy with the name you provided is not 
there, it will give this error. Please make sure that you have given the 
correct autoscale policy name.

Thanks.

On Mon, Oct 27, 2014 at 5:00 PM, Rajkumar Rajaratnam 
<rajkum...@wso2.com<mailto:rajkum...@wso2.com>> wrote:
Hi Manas,

If possible, can you share your subscription json and autoscale policy json?

Thanks.

On Mon, Oct 27, 2014 at 4:56 PM, Manas Padegaonkar -T (mpadegao - ARICENT 
TECHNOLOGIES HOLDINGS LIMITED at Cisco) 
<mpade...@cisco.com<mailto:mpade...@cisco.com>> wrote:
Hi Raj,

I am not using Stratos-GUI & working from CLI only.

Regards
Manas

From: Rajkumar Rajaratnam [mailto:rajkum...@wso2.com<mailto:rajkum...@wso2.com>]
Sent: Monday, October 27, 2014 4:53 PM
To: dev@stratos.apache.org<mailto:dev@stratos.apache.org>
Subject: Re: Getting Cluster Monitor Failure Messages in wso2carbon.log

I assumed you were using CLI or Curl commands. If you are using management 
console, did you select the autoscale policy from autoscale policies drop down 
list? And could you please tell me whether you are using master branch or some 
other branch?

Thanks.

On Mon, Oct 27, 2014 at 4:42 PM, Rajkumar Rajaratnam 
<rajkum...@wso2.com<mailto:rajkum...@wso2.com>> wrote:
Hi Manas,

Reason is your autoscale policy is null. You need to give a deployed autoscale 
policy name along with subscription json.

Thanks.

On Mon, Oct 27, 2014 at 4:36 PM, Manas Padegaonkar -T (mpadegao - ARICENT 
TECHNOLOGIES HOLDINGS LIMITED at Cisco) 
<mpade...@cisco.com<mailto:mpade...@cisco.com>> wrote:
Hi,

I am getting following  messages periodically in wso2carbon.log for all of the 
subscribed cartridges which came Active.
Want to know what is triggering this error to come & what is its impact if any.



TID: [0] [STRATOS] [2014-10-13 13:04:59,436] ERROR 
{org.apache.stratos.autoscaler.monitor.ClusterMonitor} -  Cluster monitor: 
Monitor failed.ClusterMonitor [clusterId=1-14.1-14.domain, serviceId=1-14, 
deploymentPolicy=Deployment Policy [id]static-1-Core [partitions] 
[org.apache.stratos.cloud.controller.stub.deployment.partition.Partition@118c06f9],
 autoscalePolicy=null, lbReferenceType=null, hasPrimary=false ] 
{org.apache.stratos.autoscaler.monitor.ClusterMonitor}
[Error: null pointer: autoscalePolicy.getLoadThresholds()]
[Near : {... autoscalePolicy.getLoadThresho ....}]


Regards
Manas




--
Rajkumar Rajaratnam
Software Engineer | WSO2, Inc.
Mobile +94777568639<tel:%2B94777568639> | +94783498120<tel:%2B94783498120>



--
Rajkumar Rajaratnam
Software Engineer | WSO2, Inc.
Mobile +94777568639<tel:%2B94777568639> | +94783498120<tel:%2B94783498120>



--
Rajkumar Rajaratnam
Software Engineer | WSO2, Inc.
Mobile +94777568639<tel:%2B94777568639> | +94783498120<tel:%2B94783498120>



--
Rajkumar Rajaratnam
Software Engineer | WSO2, Inc.
Mobile +94777568639 | +94783498120
  • ... Manas Padegaonkar -T (mpadegao - ARICENT TECHNOLOGIES HOLDINGS LIMITED at Cisco)
    • ... Rajkumar Rajaratnam
      • ... Rajkumar Rajaratnam
        • ... Manas Padegaonkar -T (mpadegao - ARICENT TECHNOLOGIES HOLDINGS LIMITED at Cisco)
          • ... Rajkumar Rajaratnam
            • ... Udara Liyanage
            • ... Rajkumar Rajaratnam
              • ... Manas Padegaonkar -T (mpadegao - ARICENT TECHNOLOGIES HOLDINGS LIMITED at Cisco)
                • ... Rajkumar Rajaratnam
                • ... Rajkumar Rajaratnam
                • ... Manas Padegaonkar -T (mpadegao - ARICENT TECHNOLOGIES HOLDINGS LIMITED at Cisco)
                • ... Rajkumar Rajaratnam
                • ... Manas Padegaonkar -T (mpadegao - ARICENT TECHNOLOGIES HOLDINGS LIMITED at Cisco)
    • ... Manula Chathurika Thantriwatte
      • ... Manas Padegaonkar -T (mpadegao - ARICENT TECHNOLOGIES HOLDINGS LIMITED at Cisco)

Reply via email to