Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

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:
Embargoed:
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