Bug 1441144
| Summary: | UI: "Refresh Relationships and Power states" on RHOS provider throws error in evm.log | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Satyajit Bulage <sbulage> | ||||
| Component: | Providers | Assignee: | Jerry Keselman <jkeselma> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Satyajit Bulage <sbulage> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 5.8.0 | CC: | agrare, cpelland, dajohnso, fdewaley, jfrey, jhardy, jkeselma, obarenbo, rwsu, sacpatil, sbulage, simaishi | ||||
| Target Milestone: | GA | ||||||
| Target Release: | 5.9.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | ui:provider:cloud:openstack | ||||||
| Fixed In Version: | 5.9.0.1 | Doc Type: | If docs needed, set a value | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2018-03-01 13:11:36 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | CFME Core | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
[----] E, [2017-04-11T05:48:05.554599 #15750:95b140] ERROR -- : [NoMethodError]: undefined method `each' for nil:NilClass Method:[rescue in block in refresh] [----] E, [2017-04-11T05:48:05.555138 #15750:95b140] ERROR -- : /var/www/miq/vmdb/app/models/manageiq/providers/storage_manager/swift_manager/refresh_parser/cross_linkers/openstack.rb:14:in `cross_link' /var/www/miq/vmdb/app/models/manageiq/providers/storage_manager/swift_manager/refresh_parser/cross_linkers.rb:13:in `cross_link' /var/www/miq/vmdb/app/models/manageiq/providers/storage_manager/swift_manager/refresh_parser.rb:30:in `ems_inv_to_hashes' /var/www/miq/vmdb/app/models/manageiq/providers/storage_manager/swift_manager/refresh_parser.rb:9:in `ems_inv_to_hashes' /var/www/miq/vmdb/app/models/manageiq/providers/storage_manager/swift_manager/refresher.rb:6:in `parse_legacy_inventory' /var/www/miq/vmdb/app/models/ems_refresh/refreshers/ems_refresher_mixin.rb:150:in `block in parse_targeted_inventory' *** Bug 1440122 has been marked as a duplicate of this bug. *** Looking at the code, it appears that there are no objects and we are still trying to run through them without checking. Can you validate that there are no objects? I just want to make sure this isn't an issue of the user not being able to see objects that are actually there. A fix is available based on the answer we are awaiting from sbulage. *** Bug 1412847 has been marked as a duplicate of this bug. *** Hello Jerry, Yes, Object is not created on the latest build as I ran "Refresh Relationships and Power States" as soon as a RHOS provider was added. Thanks, Satyajit Bulage. In that case... putting back to ON_DEV. This issue has been fixed via https://github.com/ManageIQ/manageiq/pull/14795. Moving to POST. Jumped to gun moving it to POST before the PR is merged. Moving back to ON_DEV. Satyajit, re-assigning to you in an effort to help osp ON_QAs... please verify if you can. Work with pakotvan and his rhos11 test env. Not getting swift related error in rhos11 provider. Verified Version: 5.9.0.11.20171127204214_e316988 Workaround: Create a swift container as admin user. Example, ~~~ touch file1 swift upload c1 file1 ~~~ and refresh object-storage 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-2018:0380 |
Created attachment 1270719 [details] evm.log during refresh rhos provider Description of problem: Version-Release number of selected component (if applicable):5.8.0.9-alpha2.20170404195944_1d7ece4 How reproducible:100% Steps to Reproduce: 1. Add RHOS provider 2. Select RHOs Provider and "Refresh Relationships and Power states" 3. Actual results: See error in evm.log Expected results: It should not throw any error in evm.log Additional info: