You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by "Lahiru Sandaruwan (JIRA)" <ji...@apache.org> on 2015/02/24 09:21:12 UTC
[jira] [Created] (STRATOS-1209) Mock iaas send 0 as health stat for
one stat type intermittently
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)