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.
Description of problem:
When manifest is uploaded via hammer, you do not see all the products available (again, via hammer).
Version-Release number of selected component (if applicable):
Satellite-6.1.0-RHEL-6-20150217.0-x86_64
How reproducible:
always
Steps to Reproduce:
1. Upload the manifest:
# hammer --username <user> --password <pass> subscription upload \
--organization-id 3 --file manifest.zip
2. List products:
# hammer --username <user> --password <pass> product list \
--organization-id 3 --per-page 100
3. Refresh manifest:
# hammer --username <user> --password <pass> subscription refresh-manifest --organization-id 3
4. List products again:
# hammer --username <user> --password <pass> product list \
--organization-id 3 --per-page 100
Actual results:
In step 2 I see only few products listed:
# hammer --username admin --password changeme product list --organization-id 3 --per-page 100
/usr/lib/ruby/gems/1.8/gems/hammer_cli-0.1.4/lib/hammer_cli/./apipie/../abstract.rb:68: warning: already initialized constant DEFAULT_LABEL_INDENT
----|------------------------------------------------------------|-------------|--------------|--------------|-----------
ID | NAME | DESCRIPTION | ORGANIZATION | REPOSITORIES | SYNC STATE
----|------------------------------------------------------------|-------------|--------------|--------------|-----------
114 | Oracle Java for RHEL Server | | satellite-qa | 0 | not_synced
112 | Red Hat Beta | | satellite-qa | 0 | not_synced
113 | Red Hat Enterprise Linux 7 Public Beta | | satellite-qa | 0 | not_synced
115 | Red Hat Enterprise Linux High Availability for RHEL Server | | satellite-qa | 0 | not_synced
117 | Red Hat Enterprise Linux Load Balancer for RHEL Server | | satellite-qa | 0 | not_synced
119 | Red Hat Enterprise Linux Resilient Storage for RHEL Server | | satellite-qa | 0 | not_synced
116 | Red Hat Enterprise Linux Server | | satellite-qa | 0 | not_synced
120 | Red Hat Enterprise Linux Workstation | | satellite-qa | 0 | not_synced
----|------------------------------------------------------------|-------------|--------------|--------------|-----------
and in step 4 all seems fine:
# hammer --username admin --password changeme product list --organization-id 3 --per-page 1000 | wc -l
/usr/lib/ruby/gems/1.8/gems/hammer_cli-0.1.4/lib/hammer_cli/./apipie/../abstract.rb:68: warning: already initialized constant DEFAULT_LABEL_INDENT
114
Expected results:
I should be able to see all products in step 2 of the reproducer as well.
Comment 2RHEL Program Management
2015-02-18 20:06:30 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.
Ok, so looks like refreshing manifest is not enough.
Also tested via webUI that most of products are missing.
There is probably some background process running which makes this quite non-deterministic.
Description of problem: When manifest is uploaded via hammer, you do not see all the products available (again, via hammer). Version-Release number of selected component (if applicable): Satellite-6.1.0-RHEL-6-20150217.0-x86_64 How reproducible: always Steps to Reproduce: 1. Upload the manifest: # hammer --username <user> --password <pass> subscription upload \ --organization-id 3 --file manifest.zip 2. List products: # hammer --username <user> --password <pass> product list \ --organization-id 3 --per-page 100 3. Refresh manifest: # hammer --username <user> --password <pass> subscription refresh-manifest --organization-id 3 4. List products again: # hammer --username <user> --password <pass> product list \ --organization-id 3 --per-page 100 Actual results: In step 2 I see only few products listed: # hammer --username admin --password changeme product list --organization-id 3 --per-page 100 /usr/lib/ruby/gems/1.8/gems/hammer_cli-0.1.4/lib/hammer_cli/./apipie/../abstract.rb:68: warning: already initialized constant DEFAULT_LABEL_INDENT ----|------------------------------------------------------------|-------------|--------------|--------------|----------- ID | NAME | DESCRIPTION | ORGANIZATION | REPOSITORIES | SYNC STATE ----|------------------------------------------------------------|-------------|--------------|--------------|----------- 114 | Oracle Java for RHEL Server | | satellite-qa | 0 | not_synced 112 | Red Hat Beta | | satellite-qa | 0 | not_synced 113 | Red Hat Enterprise Linux 7 Public Beta | | satellite-qa | 0 | not_synced 115 | Red Hat Enterprise Linux High Availability for RHEL Server | | satellite-qa | 0 | not_synced 117 | Red Hat Enterprise Linux Load Balancer for RHEL Server | | satellite-qa | 0 | not_synced 119 | Red Hat Enterprise Linux Resilient Storage for RHEL Server | | satellite-qa | 0 | not_synced 116 | Red Hat Enterprise Linux Server | | satellite-qa | 0 | not_synced 120 | Red Hat Enterprise Linux Workstation | | satellite-qa | 0 | not_synced ----|------------------------------------------------------------|-------------|--------------|--------------|----------- and in step 4 all seems fine: # hammer --username admin --password changeme product list --organization-id 3 --per-page 1000 | wc -l /usr/lib/ruby/gems/1.8/gems/hammer_cli-0.1.4/lib/hammer_cli/./apipie/../abstract.rb:68: warning: already initialized constant DEFAULT_LABEL_INDENT 114 Expected results: I should be able to see all products in step 2 of the reproducer as well.