Bug 1538501 - Object store objects and containers are not synched to CFME UI and swift manager refresh ends with errors
Summary: Object store objects and containers are not synched to CFME UI and swift mana...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.8.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.10.0
Assignee: Jerry Keselman
QA Contact: Jad Haj Yahya
URL:
Whiteboard:
Depends On:
Blocks: 1542740 1542741
TreeView+ depends on / blocked
 
Reported: 2018-01-25 08:40 UTC by Jad Haj Yahya
Modified: 2018-07-30 14:44 UTC (History)
11 users (show)

Fixed In Version: 5.10.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1542740 1542741 (view as bug list)
Environment:
Last Closed: 2018-07-30 14:44:09 UTC
Category: ---
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Swift Manager Screenshot (121.73 KB, image/png)
2018-01-25 08:40 UTC, Jad Haj Yahya
no flags Details
evm log (2.05 MB, text/plain)
2018-01-25 08:41 UTC, Jad Haj Yahya
no flags Details

Description Jad Haj Yahya 2018-01-25 08:40:45 UTC
Created attachment 1385952 [details]
Swift Manager  Screenshot

Description of problem:
Object store objects and containers created from OSP are not synched to CFME UI

Error - Less Than A Minute Ago
undefined method `each' for nil:NilClass


Version-Release number of selected component (if applicable):
RHOS 10, CFME 5.8.3.1

How reproducible:
Always

Steps to Reproduce:
1. Created container and objects from object store of Horizon
2. Refresh Cloud Provider
3. Navigate to Storage > Object Storage > Object Store objects

Actual results:
Object store objects and containers does nor appear under Cloud Object Store Objects. undefined method `each' for nil:NilClass error also appear on logs and swift manager page

Expected results:
Cloud Object Store Objects and containers should appear under Cloud Object Store Objects


Additional info:

Comment 1 Jad Haj Yahya 2018-01-25 08:41:54 UTC
Created attachment 1385953 [details]
evm  log

Comment 2 Loic Avenel 2018-01-25 08:53:08 UTC
Can you check in OpenStack Provider what is the refresh status?

Comment 3 Jad Haj Yahya 2018-01-25 14:38:36 UTC
(In reply to Loic Avenel from comment #2)
> Can you check in OpenStack Provider what is the refresh status?

Last Refresh	Success - About 2 Hours Ago

Comment 4 Jad Haj Yahya 2018-01-25 14:41:58 UTC
(In reply to Jadh from comment #3)
> (In reply to Loic Avenel from comment #2)
> > Can you check in OpenStack Provider what is the refresh status?
> 
> Last Refresh	Success - About 2 Hours Ago.

Comment 7 Jerry Keselman 2018-01-25 18:41:10 UTC
Ok never mind on the access for now.  Looking at the log, when the provider attempts to get the info on the containers, it fails because of permissions:

<html><h1>Forbidden</h1><p>Access was denied to this resource.</p></html>

So there is a bug in that the message in the refresh is definitely incorrect.  However - this should NOT be a blocker since this is a authentication issue.

Comment 11 Jad Haj Yahya 2018-01-28 06:49:15 UTC
The setup was re provisioned with RHOS 12 to continue testing
i will inform if it reproduces there

Comment 12 Jerry Keselman 2018-01-29 13:38:20 UTC
Since this is a blocker I would really like access to the appliance on which it is happening as well.  thanks.

Comment 13 Jad Haj Yahya 2018-01-29 15:58:24 UTC
I will try to supply a setup tommorow

Comment 14 Jad Haj Yahya 2018-01-30 10:06:49 UTC
I tried to reproduce the bug on RHOS 10, CFME 5.8.3.1 but it is NOT reproducing now

Comment 15 Jerry Keselman 2018-01-30 20:08:57 UTC
Jadh in that case will you be closing this issue?

Comment 16 Jad Haj Yahya 2018-01-31 08:21:35 UTC
I will give it another try, if not will close it

Comment 19 Jerry Keselman 2018-01-31 21:21:20 UTC
I believe I have found the culprit but I will need someplace to test.

Comment 20 Jerry Keselman 2018-01-31 21:29:10 UTC
https://github.com/ManageIQ/manageiq/pull/16922 should fix this issue.  Should be backported to FINE and Gaprindashvili.

Comment 22 Jerry Keselman 2018-02-01 13:48:10 UTC
Jadh,  when I attempt to reach that address from my machine it times out.  When I attempt from the first address you gave me above (10.35.64.4) the host is unreachable.
Are you sure this is the correct IP address, and is the host up and running?  Thanks.

Comment 23 Jad Haj Yahya 2018-02-01 21:08:18 UTC
Yes i am sure. Marek also works on this setup

Comment 24 Jad Haj Yahya 2018-02-01 21:10:37 UTC
IP of CFME appliance is 10.0.0.69 but host machine is the same: 10.35.64.4

Comment 26 Jerry Keselman 2018-02-01 21:52:34 UTC
I was able to successfully test the fix now.  Thanks!

Comment 27 Jad Haj Yahya 2018-02-02 09:20:50 UTC
Great

Comment 28 Jerry Keselman 2018-02-05 18:26:36 UTC
Jadh is that appliance still available or has it been shut down?

Comment 29 Jerry Keselman 2018-02-06 18:07:20 UTC
PR is merged.

Comment 33 Dave Johnson 2018-07-30 14:44:09 UTC
Closing this as its already been verified in two z-streams and has test coverage around it.


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