Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1441144 - UI: "Refresh Relationships and Power states" on RHOS provider throws error in evm.log
UI: "Refresh Relationships and Power states" on RHOS provider throws error in...
Status: CLOSED ERRATA
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers (Show other bugs)
5.8.0
Unspecified Unspecified
high Severity high
: GA
: 5.9.0
Assigned To: Jerry Keselman
Satyajit Bulage
ui:provider:cloud:openstack
:
: 1412847 1440122 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-04-11 06:04 EDT by Satyajit Bulage
Modified: 2018-03-01 08:11 EST (History)
12 users (show)

See Also:
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 08:11:36 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core


Attachments (Terms of Use)
evm.log during refresh rhos provider (1.68 KB, application/x-gzip)
2017-04-11 06:04 EDT, Satyajit Bulage
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 3017181 None None None 2017-04-28 04:50 EDT
Red Hat Product Errata RHSA-2018:0380 normal SHIPPED_LIVE Moderate: Red Hat CloudForms security, bug fix, and enhancement update 2018-03-01 13:37:12 EST

  None (edit)
Description Satyajit Bulage 2017-04-11 06:04:04 EDT
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:
Comment 2 Adam Grare 2017-04-13 09:21:38 EDT
[----] 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'
Comment 3 Adam Grare 2017-04-17 08:32:19 EDT
*** Bug 1440122 has been marked as a duplicate of this bug. ***
Comment 4 Jerry Keselman 2017-04-17 11:50:58 EDT
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.
Comment 5 Jerry Keselman 2017-04-17 14:13:17 EDT
A fix is available based on the answer we are awaiting from sbulage@redhat.com.
Comment 6 Jerry Keselman 2017-04-17 15:28:29 EDT
*** Bug 1412847 has been marked as a duplicate of this bug. ***
Comment 8 Satyajit Bulage 2017-04-18 09:16:24 EDT
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.
Comment 10 Satoe Imaishi 2017-04-18 09:41:00 EDT
In that case... putting back to ON_DEV.
Comment 11 Jerry Keselman 2017-04-18 14:06:00 EDT
This issue has been fixed via https://github.com/ManageIQ/manageiq/pull/14795.  Moving to POST.
Comment 12 Jerry Keselman 2017-04-18 14:21:12 EDT
Jumped to gun moving it to POST before the PR is merged.  Moving back to ON_DEV.
Comment 13 Dave Johnson 2017-11-15 10:41:01 EST
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.
Comment 14 Satyajit Bulage 2017-12-07 08:36:33 EST
Not getting swift related error in rhos11 provider.

Verified Version: 5.9.0.11.20171127204214_e316988
Comment 15 Sachin 2017-12-28 01:11:39 EST
Workaround: Create a swift container as admin user. Example,
~~~
touch file1
swift upload c1 file1
~~~

and refresh object-storage
Comment 18 errata-xmlrpc 2018-03-01 08:11:36 EST
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

Note You need to log in before you can comment on or make changes to this bug.