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 1481977 - hammer content-view filter rule create does not properly set the architecture
Summary: hammer content-view filter rule create does not properly set the architecture
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Hammer - Content
Version: 6.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: Brad Buckingham
QA Contact: Peter Ondrejka
URL:
Whiteboard:
Depends On:
Blocks: 1481976
TreeView+ depends on / blocked
 
Reported: 2017-08-16 08:13 UTC by Evgeni Golov
Modified: 2019-08-12 14:06 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-02-21 17:06:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
screenshot of the created filter rule (13.14 KB, image/png)
2017-08-16 08:13 UTC, Evgeni Golov
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 20749 0 None None None 2017-08-25 20:05:23 UTC

Description Evgeni Golov 2017-08-16 08:13:09 UTC
Created attachment 1313988 [details]
screenshot of the created filter rule

Description of problem:
when creating a filter rule, the architecture information is not passed to katello

setting sev: high as that might have interesting results on the clients

Version-Release number of selected component (if applicable):
tfm-rubygem-hammer_cli_foreman-0.10.2-1.el7sat.noarch
tfm-rubygem-hammer_cli-0.10.2-1.el7sat.noarch
tfm-rubygem-hammer_cli_katello-0.10.0-1.el7sat.noarch

How reproducible:
100%

Steps to Reproduce:
1. create a filter with name=foo, arch=x86_64, version=1234
   hammer content-view filter rule create --content-view-filter-id 3 --name foo --arch x86_64 --version 1234

Actual results:
The created rule has no architecture set (according to the WebUI)

Expected results:
The created rule has an architecture set

Additional info:

Comment 1 Evgeni Golov 2017-08-16 08:14:38 UTC
bonus, it also creates rules with invalid arch values passed:

# hammer content-view filter rule create --content-view-filter-id 3 --name fooaaa --arch burp --version 1234
Filter rule created

Comment 3 Brad Buckingham 2017-08-25 20:05:21 UTC
Created redmine issue http://projects.theforeman.org/issues/20749 from this bug

Comment 4 Satellite Program 2017-08-29 22:19:52 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/20749 has been resolved.

Comment 5 Peter Ondrejka 2017-11-14 09:58:06 UTC
Verified on Sat 6.3 snap 24, architecture is correctly assigned to the cv filter rule

Comment 6 Bryan Kearney 2018-02-21 17:06:51 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/RHSA-2018:0336


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