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.
DescriptionOleksandr Shtaier
2016-09-28 11:39:22 UTC
Description of problem:
It seems that 'organization*' parameters are removed for 'update' and 'delete' sub-commands for content-view filter command, but not for 'create'. It is not obvious what scenario correct, so it necessary to make a decision and choose only one.
hammer content-view filter create [OPTIONS]
Options:
--content-view CONTENT_VIEW_NAME Content view name to search by
--content-view-id CONTENT_VIEW_ID content view numeric identifier
--description DESCRIPTION description of the filter
--inclusion INCLUSION specifies if content should be included or excluded, default:
inclusion=false
One of true/false, yes/no, 1/0.
--name NAME name of the filter
--organization ORGANIZATION_NAME Organization name to search by
--organization-id ORGANIZATION_ID Organization ID to search by
--organization-label ORGANIZATION_LABEL Organization label to search by
--original-packages ORIGINAL_PACKAGES add all packages without errata to the included/excluded list. (package
filter only)
One of true/false, yes/no, 1/0.
--repositories REPOSITORY_NAMES Comma separated list of values.
--repository-ids REPOSITORY_IDS list of repository ids
Comma separated list of values.
--type TYPE type of filter (e.g. rpm, package_group, erratum)
hammer content-view filter delete [OPTIONS]
Options:
--content-view CONTENT_VIEW_NAME Content view name to search by
--content-view-id CONTENT_VIEW_ID content view numeric identifier
--id ID filter identifier
--name NAME Name to search by
hammer content-view filter update [OPTIONS]
Options:
--content-view CONTENT_VIEW_NAME Content view name to search by
--content-view-id CONTENT_VIEW_ID content view numeric identifier
--id ID filter identifier
--inclusion INCLUSION specifies if content should be included or excluded, default:
inclusion=false
One of true/false, yes/no, 1/0.
--name NAME Name to search by
--new-name NEW_NAME new name for the filter
--original-packages ORIGINAL_PACKAGES add all packages without errata to the included/excluded list. (package
filter only)
One of true/false, yes/no, 1/0.
--repositories REPOSITORY_NAMES Comma separated list of values.
--repository-ids REPOSITORY_IDS list of repository ids
Version-Release number of selected component (if applicable):
6.3 SNAP 2
How reproducible:
Always
Steps to Reproduce:
1.
2.
3.
Actual results:
There are no same approach in entity sub-commands
Expected results:
One approach should be chosen
Additional info:
Description of problem: It seems that 'organization*' parameters are removed for 'update' and 'delete' sub-commands for content-view filter command, but not for 'create'. It is not obvious what scenario correct, so it necessary to make a decision and choose only one. hammer content-view filter create [OPTIONS] Options: --content-view CONTENT_VIEW_NAME Content view name to search by --content-view-id CONTENT_VIEW_ID content view numeric identifier --description DESCRIPTION description of the filter --inclusion INCLUSION specifies if content should be included or excluded, default: inclusion=false One of true/false, yes/no, 1/0. --name NAME name of the filter --organization ORGANIZATION_NAME Organization name to search by --organization-id ORGANIZATION_ID Organization ID to search by --organization-label ORGANIZATION_LABEL Organization label to search by --original-packages ORIGINAL_PACKAGES add all packages without errata to the included/excluded list. (package filter only) One of true/false, yes/no, 1/0. --repositories REPOSITORY_NAMES Comma separated list of values. --repository-ids REPOSITORY_IDS list of repository ids Comma separated list of values. --type TYPE type of filter (e.g. rpm, package_group, erratum) hammer content-view filter delete [OPTIONS] Options: --content-view CONTENT_VIEW_NAME Content view name to search by --content-view-id CONTENT_VIEW_ID content view numeric identifier --id ID filter identifier --name NAME Name to search by hammer content-view filter update [OPTIONS] Options: --content-view CONTENT_VIEW_NAME Content view name to search by --content-view-id CONTENT_VIEW_ID content view numeric identifier --id ID filter identifier --inclusion INCLUSION specifies if content should be included or excluded, default: inclusion=false One of true/false, yes/no, 1/0. --name NAME Name to search by --new-name NEW_NAME new name for the filter --original-packages ORIGINAL_PACKAGES add all packages without errata to the included/excluded list. (package filter only) One of true/false, yes/no, 1/0. --repositories REPOSITORY_NAMES Comma separated list of values. --repository-ids REPOSITORY_IDS list of repository ids Version-Release number of selected component (if applicable): 6.3 SNAP 2 How reproducible: Always Steps to Reproduce: 1. 2. 3. Actual results: There are no same approach in entity sub-commands Expected results: One approach should be chosen Additional info: