Image detail view shows incorrect usage data on the summary cards
Summary
Account details view is not including all the time that an image was running on the cards, see the screenshot below:
The card indicates that OpenShift was running for 764 hours but it was running for 783 hours just like shown for the account 166297360271
.
During January 2018 the image got two instances running one the entire month:
Started at: 2018-1-1 04:00 Stopped at: 2018-1-31 21:00
The second one was run for about two days:
Started at: 2018-1-11 07:00 Stopped at: 2018-1-13 05:00
That gives a total of 2818800 seconds which is 783 hours.
Steps to Reproduce
- Create a cloud account
- Ensure it has the instance usage data similar to what is described in the description above.
- Access the cloud account detail view and check the cards on the top of the page.
Expected Result
- The usage data was consistent on both image list and the cards.
Actual Result
- The usage data is correct on the image list but not correct on the cards.