Description of problem: ----------------------- Service Chargeback costs are not displayed in SSUI. I have verified that the Chargeback data is coming from the API.I was not able to test Chargeback costs in 5.8.0.2 since I was unable to provision services through SSUI due to a bug. https://xx.yy.zz.aa/api/services/1?attributes=chargeback_report {"href":"https://xx.yy.zz.aa/api/services/1","id":1,"name":"nan-multiple-vms-20170306-185330","description":"nan-multiple-vms","guid":"0c8ceb5e-02c8-11e7-abe0-fa163e9e134e","service_template_id":1,"options":{"dialog":{"dialog_nan_element":"f"},"power_status":"stop_complete"},"display":false,"created_at":"2017-03-06T23:53:08Z","updated_at":"2017-03-07T05:14:24Z","evm_owner_id":1,"miq_group_id":2,"retired":false,"tenant_id":1, "chargeback_report":{"results":[{"start_date":"2017-03-01T00:00:00.000Z","display_range":"Mar 2017","vm_id":395,"vm_name":"nchandr-583-s001","cpu_allocated_cost":143.0,"cpu_used_metric":29.016336298204507,"cpu_used_cost":82.9867218128649,"memory_used_metric":42.73285088942209,"memory_used_cost":122.21595354374718,"disk_io_used_metric":3.604206740860239,"disk_io_used_cost":2.577007819715071,"net_io_used_metric":0.13683005386916036,"net_io_used_cost":71.5,"storage_allocated_metric":21474836480.0,"storage_allocated_cost":"143.0","storage_used_metric":21775183843.356644,"storage_used_cost":"5799.999999999999105930328369140625"}, Version-Release number of selected component (if applicable): ------------------------------------- 5.8.0.3 How reproducible: ----------------- Always Steps to Reproduce: ------------------ 1.Create service in admin UI 2.Provision this service in SSUI 3.Let services run for at least 1 day. Actual results: --------------- Service Chargeback costs not displayed in SSUI. Expected results: ----------------- Service Chargeback costs should be displayed in SSUI. Additional info: ----------------
Could you please provide a screenshot from when the chargeback was previous showing, and one where it is not showing?
Allen - While we are waiting on info, can you please take a look at this to see if we have missed something?
Created attachment 1263416 [details] Screen shot of service Chargeback cost on SUI Dashboard in 5.7
Created attachment 1263417 [details] Screen shot of service Chargeback cost on SUI Dashboard in 5.8
*** Bug 1432601 has been marked as a duplicate of this bug. ***
(In reply to Nandini Chandra from comment #5) > Created attachment 1263417 [details] > Screen shot of service Chargeback cost on SUI Dashboard in 5.8 I gotta thank you Nandini for an extremely thorough report. The object you posted in the description tells us all we need to know, some of the costs in the report were recorded as strings, while others as type number. Fix incoming!
As promised: https://github.com/ManageIQ/manageiq-ui-service/pull/591
Created attachment 1266206 [details] chageback data in 5.8
Verified in 5.8.0.7.20170321164727_1c97ccd
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2017:1367