Bug 809623
Summary: | [as7] 'startTime' metric on 'Managed Server' Resources returns null value | ||
---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Ian Springer <ian.springer> |
Component: | Plugins | Assignee: | Heiko W. Rupp <hrupp> |
Status: | CLOSED NOTABUG | QA Contact: | Mike Foley <mfoley> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 4.3 | CC: | ccrouch, hrupp |
Target Milestone: | --- | ||
Target Release: | RHQ 4.4.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-04-09 17:12:02 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 707223 |
Description
Ian Springer
2012-04-03 20:23:03 UTC
This now lives at core-service=platform-mbean/type=runtime:start-time for standalone for host=* for host=*/server=*/ master 64d1d7f Note the failure in integration tests comes from the fact that the startTime lives on the runtime part of a managed server at /host=master/server=X -- this is not present for servers that are not started while they can still be defined at /host=master/server-config=X Currently we are returning nothing here, as there is no start time. Ian what do you propose we do with the startTime for non-started servers? // (pseudo-code) if (metricName.equals("startTime")) { if (pingServer()) { return getAttribute("startTime"); } else { return null; } } Closing this, as returning a null value for the 'startTime' trait for a non-started Managed Server is the expected behavior. |