Bug 1236532
| Summary: | Cannot get content view filter description using hammer info | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Oleksandr Shtaier <oshtaier> |
| Component: | Hammer | Assignee: | Brad Buckingham <bbuckingham> |
| Status: | CLOSED ERRATA | QA Contact: | Og Maciel <omaciel> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.1.0 | CC: | bbuckingham, bkearney, cwelton, omaciel |
| Target Milestone: | Unspecified | Keywords: | Triaged |
| Target Release: | Unused | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| URL: | http://projects.theforeman.org/issues/11959 | ||
| Whiteboard: | FAILEDQA in Upstream | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-07-27 11:15:32 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: | |||
|
Description
Oleksandr Shtaier
2015-06-29 11:25:14 UTC
Connected to: Bug 1233612 - hammer info doesn't return all values for location Bug 1082157 - hammer cli for sync-plan info does not return the sync plan description ... 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. Created redmine issue http://projects.theforeman.org/issues/11959 from this bug hammer-cli-katello PR: https://github.com/Katello/hammer-cli-katello/pull/321 example output: hammer> content-view filter info --organization-id 1 --content-view-id 2 --id 1 Filter ID: 1 Name: filter test Type: rpm Inclusion: false Description: this is a filter test Repositories: Rules: Upstream bug component is Content Management Moving to POST since upstream bug http://projects.theforeman.org/issues/11959 has been closed ------------- Brad Buckingham Applied in changeset commit:hammer-cli-katello|314d5ee5fab9a0ad27147f5a4d33255dbbd86ae8. FAILEDQA: # rpm -qa | grep foreman nec-em17.rhts.eng.bos.redhat.com-foreman-client-1.0-1.noarch foreman-1.11.0-0.develop.201510121538gitb6b977a.el7.noarch tfm-rubygem-hammer_cli_foreman_docker-0.0.3-4.el7.noarch nec-em17.rhts.eng.bos.redhat.com-foreman-proxy-client-1.0-1.noarch tfm-rubygem-hammer_cli_foreman-0.4.0-1.201510071112git33fd59b.el7.noarch foreman-debug-1.11.0-0.develop.201510121538gitb6b977a.el7.noarch foreman-release-1.11.0-0.develop.201510121538gitb6b977a.el7.noarch foreman-postgresql-1.11.0-0.develop.201510121538gitb6b977a.el7.noarch foreman-vmware-1.11.0-0.develop.201510121538gitb6b977a.el7.noarch tfm-rubygem-foreman_hooks-0.3.9-1.el7.noarch tfm-rubygem-foreman-tasks-0.7.6-1.fm1_10.el7.noarch tfm-rubygem-hammer_cli_foreman_tasks-0.0.8-1.el7.noarch tfm-rubygem-foreman_bootdisk-6.0.0-2.fm1_10.el7.noarch foreman-release-scl-1-1.el7.x86_64 foreman-libvirt-1.11.0-0.develop.201510121538gitb6b977a.el7.noarch foreman-selinux-1.11.0-0.develop.201510071426git6234447.el7.noarch foreman-ovirt-1.11.0-0.develop.201510121538gitb6b977a.el7.noarch tfm-rubygem-hammer_cli_foreman_bootdisk-0.1.3-3.el7.noarch tfm-rubygem-foreman_gutterball-0.0.1-3.el7.noarch nec-em17.rhts.eng.bos.redhat.com-foreman-proxy-1.0-2.noarch tfm-rubygem-foreman_discovery-4.1.0-1.fm1_10.el7.noarch tfm-rubygem-foreman_docker-1.4.1-2.fm1_10.el7.noarch foreman-proxy-1.11.0-0.develop.201510120849git5f36f2e.el7.noarch foreman-compute-1.11.0-0.develop.201510121538gitb6b977a.el7.noarch foreman-gce-1.11.0-0.develop.201510121538gitb6b977a.el7.noarch steps: # hammer -u admin -p changeme content-view filter info --name 'test_filter' --content-view con_view --organization-id 1 Filter ID: 1 Name: test_filter Type: rpm Inclusion: true Repositories: Rules: *** This bug is failing in upstream ****. Upstream bug component is Hammer Moving to POST since upstream bug http://projects.theforeman.org/issues/11959 has been closed ------------- Brad Buckingham Applied in changeset commit:hammer-cli-katello|314d5ee5fab9a0ad27147f5a4d33255dbbd86ae8. *** This bug is failing in upstream ****. # rpm -qa | grep foreman foreman-proxy-1.11.0-0.develop.201510201341git00875b3.el7.noarch foreman-selinux-1.11.0-0.develop.201510071426git6234447.el7.noarch tfm-rubygem-hammer_cli_foreman_bootdisk-0.1.3-3.el7.noarch tfm-rubygem-foreman_docker-1.4.1-2.fm1_10.el7.noarch foreman-libvirt-1.11.0-0.develop.201510201422git6eb234a.el7.noarch foreman-compute-1.11.0-0.develop.201510201422git6eb234a.el7.noarch foreman-release-scl-1-1.el7.x86_64 foreman-gce-1.11.0-0.develop.201510201422git6eb234a.el7.noarch foreman-debug-1.11.0-0.develop.201510201422git6eb234a.el7.noarch tfm-rubygem-foreman_gutterball-0.0.1-3.el7.noarch hp-sl2x170zg6-01.rhts.eng.bos.redhat.com-foreman-proxy-1.0-2.noarch tfm-rubygem-foreman_discovery-4.1.1-1.fm1_11.el7.noarch foreman-vmware-1.11.0-0.develop.201510201422git6eb234a.el7.noarch tfm-rubygem-foreman_hooks-0.3.9-1.el7.noarch tfm-rubygem-foreman-tasks-0.7.6-1.fm1_10.el7.noarch tfm-rubygem-hammer_cli_foreman_tasks-0.0.8-1.el7.noarch tfm-rubygem-foreman_bootdisk-6.0.0-2.fm1_10.el7.noarch hp-sl2x170zg6-01.rhts.eng.bos.redhat.com-foreman-client-1.0-1.noarch hp-sl2x170zg6-01.rhts.eng.bos.redhat.com-foreman-proxy-client-1.0-1.noarch foreman-ovirt-1.11.0-0.develop.201510201422git6eb234a.el7.noarch foreman-1.11.0-0.develop.201510201422git6eb234a.el7.noarch tfm-rubygem-hammer_cli_foreman_docker-0.0.3-4.el7.noarch foreman-release-1.11.0-0.develop.201510201422git6eb234a.el7.noarch foreman-postgresql-1.11.0-0.develop.201510201422git6eb234a.el7.noarch tfm-rubygem-hammer_cli_foreman-0.4.0-1.201510201150gitab068d9.el7.noarch steps: # hammer -u admin -p changeme content-view filter info --name 'test_filter' --content-view con_view1 --organization-id 1 Filter ID: 1 Name: test_filter Type: rpm Inclusion: true Repositories: Rules: there is no description field . Moving to POST since upstream bug http://projects.theforeman.org/issues/11959 has been closed ------------- Brad Buckingham Applied in changeset commit:hammer-cli-katello|314d5ee5fab9a0ad27147f5a4d33255dbbd86ae8. [root@cloud-qe-10 ~]# hammer -u admin -p changeme content-view filter create --name 'filter_test' --type rpm --content-view MEaNAFSQaK --organization-id 3 --description 'My Test' Warning: Option --id is deprecated. This option will be removed in Katello 2.5, Use --uuid Filter created [root@cloud-qe-10 ~]# hammer -u admin -p changeme content-view filter info --name 'filter_test' --content-view MEaNAFSQaK --organization-id 3 Warning: Option --id is deprecated. This option will be removed in Katello 2.5, Use --uuid Filter ID: 1 Name: filter_test Type: rpm Inclusion: false Description: My Test Repositories: Rules: [root@cloud-qe-10 ~]# hammer -u admin -p changeme content-view filter create --name 'filter_test_two' --type rpm --content-view MEaNAFSQaK --organization-id 3 Warning: Option --id is deprecated. This option will be removed in Katello 2.5, Use --uuid Filter created [root@cloud-qe-10 ~]# hammer -u admin -p changeme content-view filter info --name 'filter_test_two' --content-view MEaNAFSQaK --organization-id 3 Warning: Option --id is deprecated. This option will be removed in Katello 2.5, Use --uuid Filter ID: 2 Name: filter_test_two Type: rpm Inclusion: false Description: Repositories: Rules: Verified as per previous comment on Satellite 6.2.0 SNAP 5.1 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 |