Bug 1383566 - [BUG] Content counts show 0(zero) after uploaded rpms into custom repository [NEEDINFO]
Summary: [BUG] Content counts show 0(zero) after uploaded rpms into custom repository
Keywords:
Status: CLOSED DUPLICATE of bug 1386670
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Repositories
Version: 6.2.2
Hardware: Unspecified
OS: Unspecified
medium
medium with 1 vote vote
Target Milestone: Unspecified
Assignee: Brad Buckingham
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-11 05:42 UTC by Selim Jahangir
Modified: 2017-01-26 14:21 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-10-20 20:20:33 UTC
Target Upstream Version:
bbuckingham: needinfo? (mjahangi)


Attachments (Terms of Use)
Package Count after rpms uploaded (82.42 KB, image/png)
2016-10-11 05:42 UTC, Selim Jahangir
no flags Details

Description Selim Jahangir 2016-10-11 05:42:21 UTC
Created attachment 1209015 [details]
Package Count after rpms uploaded

Description of problem:
After creating custom repository without URL reference, rpms were uploaded but it does not display the uploaded packages under Content Count. It shows 0 (zero).

Version-Release number of selected component (if applicable):
 Satellite 6.2.2

How reproducible: always

Steps to Reproduce:
1. Create a custom product (e.g. test_product)
2. Create a repository (e.g. test_repo)
3. Provide no URL for the repository
4. Select Upload Package
5. Upload successfully

Actual results:
showing package count 0

Expected results:
Should show package count greater than 0, after uploaded rpms

Additional info:
Attached screen shots

Comment 2 Brad Buckingham 2016-10-19 21:03:31 UTC
I performed the same test on a Satellite 6.2.2 and the count was updated.

Were there any errors reported in the logs? (e.g. /var/log/messages, /var/log/foreman/production.log)

Would it be possible to attach the foreman-debug?

If the user closes the repo and re-selects it in the UI, is the count updated?

Comment 3 Stanislav Tkachenko 2016-10-20 12:03:26 UTC
I can see same behavior on Satellite 6.3.0 Snap 4.0 and Satellite 6.2.3.

> If the user closes the repo and re-selects it in the UI, is the count updated?
No. Relogin also doesn't help.

Hammer/API also shows 0 packages. The only way to update count and make packages available is to upload another package via hammer/API.

Comment 5 David Davis 2016-10-20 20:20:33 UTC
Selim and Stanislav, are you in a time zone that's ahead of UTC (e.g. UTC+2)? I think this is the same as https://bugzilla.redhat.com/show_bug.cgi?id=1386670. Let me know if your Satellite installs aren't running on servers in a UTC+ time zone though.

*** This bug has been marked as a duplicate of bug 1386670 ***


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