Lahiru Sandaruwan created STRATOS-1209:
------------------------------------------

             Summary: Mock iaas send 0 as health stat for one stat type 
intermittently
                 Key: STRATOS-1209
                 URL: https://issues.apache.org/jira/browse/STRATOS-1209
             Project: Stratos
          Issue Type: Bug
          Components: Mock IaaS
    Affects Versions: 4.0.0 Alpha
            Reporter: Lahiru Sandaruwan
             Fix For: 4.1.0 RC1


Noticed $subject.

Configs,
            <pattern factor="load-average" mode="continue">

                <!-- Sample values -->

                <sampleValues>20</sampleValues>

                <!-- Duration of each sample value in seconds -->

                <sampleDuration>60</sampleDuration>

            </pattern>


See below logs,

[2015-02-24 00:34:06,846]  INFO 
{org.apache.stratos.mock.iaas.statistics.generator.MockHealthStatisticsUpdater} 
-  Continuing last sample value: [cartridge-type] php [factor] LoadAverage 
[value] 20

[2015-02-24 00:34:06,846]  INFO 
{org.apache.stratos.mock.iaas.statistics.generator.MockHealthStatisticsGenerator}
 -  Mock statistics updater task stopped: [service-name] php [factor] 
LoadAverage


....

[2015-02-24 00:34:36,539] DEBUG {org.apache.stratos.autoscaler.rule.RuleLog} -  
[scaling]  [cluster] php1.php.domain RIF predicted value: 0.0

[2015-02-24 00:34:36,539] DEBUG {org.apache.stratos.autoscaler.rule.RuleLog} -  
[scaling]  [cluster] php1.php.domain RIF threshold: 50.0

[2015-02-24 00:34:36,540] DEBUG {org.apache.stratos.autoscaler.rule.RuleLog} -  
[scaling]  [cluster] php1.php.domain MC predicted value: 20.0

[2015-02-24 00:34:36,540] DEBUG {org.apache.stratos.autoscaler.rule.RuleLog} -  
[scaling]  [cluster] php1.php.domain MC threshold: 40.0

[2015-02-24 00:34:36,540] DEBUG {org.apache.stratos.autoscaler.rule.RuleLog} -  
[scaling]  [cluster] php1.php.domain LA predicted value: 0.0

[2015-02-24 00:34:36,541] DEBUG {org.apache.stratos.autoscaler.rule.RuleLog} -  
[scaling]  [cluster] php1.php.domain LA threshold: 40.0



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to