Bug 1330222

Summary: capsule : pulp storage info is not available on rhel6
Product: Red Hat Satellite Reporter: Kedar Bidarkar <kbidarka>
Component: Content ManagementAssignee: Shlomi Zadok <szadok>
Status: CLOSED ERRATA QA Contact: Sanket Jagtap <sjagtap>
Severity: high Docs Contact:
Priority: high    
Version: 6.2.0CC: bbuckingham, bkearney, ehelms, mhrivnak, ohadlevy, omaciel, sjagtap
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/15673
Whiteboard:
Fixed In Version: rubygem-smart_proxy_pulp-1.2.2-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-27 11:24: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:
Attachments:
Description Flags
pulp storage error
none
Sat 6.2 Snap 17 RHEL 6
none
Sat 6.2 Snap 17 RHEL7
none
Storage info
none
packages none

Description Kedar Bidarkar 2016-04-25 16:27:34 UTC
Description of problem:

2016-04-25 12:13:01 [app] [W] Error connecting. Got: ERF50-5345 [Foreman::WrappedException]: Unable to connect ([ProxyAPI::ProxyException]: ERF12-3580 [ProxyAPI::ProxyException]: Unable to detect pulp storage ([RestClient::Inte...)
2016-04-25 12:13:01 [app] [I]   Rendered text template (0.1ms)
2016-04-25 12:13:01 [app] [I] Completed 200 OK in 716ms (Views: 0.9ms | ActiveRecord: 8.7ms)

"Error retrieving Pulp storage"


Version-Release number of selected component (if applicable):
sat62-snap9.0

How reproducible:


Steps to Reproduce:
1. Navigate to capsule 
2. Check the overview page to see this issue
3.

Actual results:

We see this message, "Error retrieving Pulp storage"


Expected results:

Pulp storage info should be available.

Additional info:

Comment 1 Kedar Bidarkar 2016-04-25 16:36:23 UTC
Created attachment 1150554 [details]
pulp storage error

Comment 3 Brad Buckingham 2016-04-26 18:54:17 UTC
*** Bug 1330588 has been marked as a duplicate of this bug. ***

Comment 4 Shlomi Zadok 2016-05-01 14:08:15 UTC
Created redmine issue http://projects.theforeman.org/issues/14894 from this bug

Comment 5 Michael Hrivnak 2016-06-06 20:33:25 UTC
Just because I was pinged about this, I'll clarify that this does not appear to be a bug in pulp.

Comment 8 Sanket Jagtap 2016-06-23 11:12:27 UTC
Build : Satellite 6.2 snap 17

Web UI
Pulp storage
Error retrieving Pulp storage

Error in Log
2016-06-23 07:11:10 [app] [W] Error connecting. Got: ERF50-5345 [Foreman::WrappedException]: Unable to connect ([ProxyAPI::ProxyException]: ERF12-3580 [ProxyAPI::ProxyException]: Unable to detect pulp storage ([RestClient::Inte...)

Comment 10 Shlomi Zadok 2016-06-26 06:15:23 UTC
Created attachment 1172430 [details]
Sat 6.2 Snap 17 RHEL 6

Comment 11 Shlomi Zadok 2016-06-26 06:15:57 UTC
Created attachment 1172431 [details]
Sat 6.2 Snap 17 RHEL7

Comment 13 Ohad Levy 2016-07-13 10:54:14 UTC
this happens because the output of df -B1024 ... is different between RHEL6 and 7. note the capacity header vs percent. and 1024-blocks vs 1k-blocks.

I suggest to use -P feature (POSIX output)

Comment 14 Ohad Levy 2016-07-13 13:04:35 UTC
added http://projects.theforeman.org/issues/15673 to fix the issue above.

Comment 15 Bryan Kearney 2016-07-13 14:15:07 UTC
Upstream bug component is Content Management

Comment 17 Sanket Jagtap 2016-07-18 09:26:53 UTC
Created attachment 1180999 [details]
Storage info

Build : Satellite 6.2 snap 20.2 

Can now, view pulp storage info on via Web UI.


Additional Info: 
See attached screenshots.

Comment 18 Sanket Jagtap 2016-07-18 09:28:18 UTC
Created attachment 1181001 [details]
packages

Comment 19 Bryan Kearney 2016-07-27 11:24:44 UTC
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:1501