Bug 1274679
Summary: | [userinterface_public_525]Number indicating used cpu/memroy is incorrect if client's time is ahead of the server's time. | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | OKD | Reporter: | Yanping Zhang <yanpzhan> | ||||||||||
Component: | Management Console | Assignee: | Samuel Padgett <spadgett> | ||||||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Yanping Zhang <yanpzhan> | ||||||||||
Severity: | medium | Docs Contact: | |||||||||||
Priority: | medium | ||||||||||||
Version: | 3.x | CC: | aos-bugs, mmccomas | ||||||||||
Target Milestone: | --- | ||||||||||||
Target Release: | --- | ||||||||||||
Hardware: | Unspecified | ||||||||||||
OS: | Unspecified | ||||||||||||
Whiteboard: | |||||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||||
Doc Text: | Story Points: | --- | |||||||||||
Clone Of: | Environment: | ||||||||||||
Last Closed: | 2015-11-23 21:18:50 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: | |||||||||||||
Attachments: |
|
Description
Yanping Zhang
2015-10-23 10:52:36 UTC
Created attachment 1085812 [details]
incorrent-number
(In reply to Samuel Padgett from comment #2) > https://github.com/openshift/origin/pull/5356 Please try with this fix. Tested with latest origin code containing the pr5356. openshift v1.0.6-946-g5954394 kubernetes v1.2.0-alpha.1-1107-g4c8e6f4 etcd 2.1.2 When client host local time is ahead of the time on server host, view the pod's metrics. 1.Choose Time Range"last 30 minutes". The used memory/cpu would always show number 0, but from chart it exactly consumed memory/cpu.S o the number in the circle icon has less meaning to reflect the usage. Most of the time, it has the same result when choose Time Range "Last hour". 2.Choose Time Range "Last 4 hours". It would show the used memory number, not 0 now, but the available number is still the total number. Pls refer to the attachment. Created attachment 1086405 [details]
30minutes
Created attachment 1086406 [details]
1hour
Created attachment 1086407 [details]
4hours
The fix is working as intended -- we no longer show negative values for CPU usage when there are gaps in the data -- but I understand why this is still a problem. It's difficult to know whether there is a clock skew or just no data because the container or Hawkular is stopped. Let me see if there is a way to use server time for the chart. Will test after pr5402 is merged. (In reply to Yanping Zhang from comment #11) > Will test after pr5402 is merged. Thanks, the fix just merged in origin. Tested on latest origin code. openshift v1.0.6-997-gff3b522 kubernetes v1.2.0-alpha.1-1107-g4c8e6f4 etcd 2.1.2 There is still issue that available number is not matched with used number when choose different Time Range. Since the original issue has been fixed, so move the bug to Verified, and file another bug to track the latter issue. https://bugzilla.redhat.com/show_bug.cgi?id=1275918 |