Bug 1328197
| Summary: | Container overview page doesn't show any data when metrics needed fields are nil | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Christian Jung <cbolz> | ||||
| Component: | Providers | Assignee: | Ari Zellner <azellner> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Einat Pacifici <epacific> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 5.5.0 | CC: | azellner, cpelland, dron, fsimonce, jfrey, jhardy, obarenbo, psavage, simaishi, snaim | ||||
| Target Milestone: | GA | Keywords: | ZStream | ||||
| Target Release: | 5.6.0 | Flags: | snaim:
automate_bug+
|
||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | container | ||||||
| Fixed In Version: | 5.6.0.5 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | |||||||
| : | 1329298 (view as bug list) | Environment: | |||||
| Last Closed: | 2016-06-29 15:50:44 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: | 1329298 | ||||||
| Attachments: |
|
||||||
|
Description
Christian Jung
2016-04-18 16:34:33 UTC
This is an extract from production.log which might be related to the problem: [----] I, [2016-04-18T16:39:15.110683 #30346:66d988] INFO -- : Completed 500 Internal Server Error in 143ms (Views: 56.1ms | ActiveRecord: 27.4ms) [----] I, [2016-04-18T16:39:20.321064 #30346:66d988] INFO -- : Started GET "/container_dashboard/data" for 88.128.81.207 at 2016-04-18 16:39:20 +0000 [----] I, [2016-04-18T16:39:20.323133 #30346:66d988] INFO -- : Processing by ContainerDashboardController#data as HTML [----] F, [2016-04-18T16:39:20.398341 #30346:66d988] FATAL -- : Error caught: [TypeError] nil can't be coerced into Fixnum /var/www/miq/vmdb/app/services/container_dashboard_service.rb:174:in `+' /var/www/miq/vmdb/app/services/container_dashboard_service.rb:174:in `block in ems_utilization' /opt/rh/cfme-gemset/gems/activerecord-4.2.6/lib/active_record/relation/delegation.rb:46:in `each' /opt/rh/cfme-gemset/gems/activerecord-4.2.6/lib/active_record/relation/delegation.rb:46:in `each' /var/www/miq/vmdb/app/services/container_dashboard_service.rb:172:in `ems_utilization' /var/www/miq/vmdb/app/services/container_dashboard_service.rb:16:in `all_data' /var/www/miq/vmdb/app/controllers/container_dashboard_controller.rb:30:in `collect_data' Created attachment 1148255 [details]
current logs
upstream PR - https://github.com/ManageIQ/manageiq/pull/8080 PR merged 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/RHBA-2016:1348 |