Bug 1180644
| Summary: | hammer erratum list: Search with repository name fails | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | sthirugn <sthirugn> |
| Component: | Hammer | Assignee: | Martin Bacovsky <mbacovsk> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | sthirugn <sthirugn> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | Nightly | CC: | bbuckingham, bkearney |
| Target Milestone: | Unspecified | Keywords: | Triaged |
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | http://projects.theforeman.org/issues/9971 | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-08-12 13:57:34 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1130651, 1188301 | ||
|
Description
sthirugn@redhat.com
2015-01-09 15:49:05 UTC
Created redmine issue http://projects.theforeman.org/issues/9971 from this bug Upstream bug assigned to mbacovsk When hammer is trying to find out what id repository=Org1Repo has, it fails on missing organization. As repository_id is not mandatory parameter, the error is ignored and list command is performed without the repository_id filter. In the related PR I fixed the behaviour to *not* ignore search errors on non-mandatory parameters when they were specified by name on CLI. With the fix the above mentioned list ends up with: Error: Could not find organization, please set one of options --organization, --organization-label, --organization-id Moving to POST since upstream bug http://projects.theforeman.org/issues/9971 has been closed ------------- Anonymous Applied in changeset commit:hammer-cli-foreman|cb1470713ff4509620ce2eec12ea5ae62396f286. Verified. Version Tested: Satellite-6.1.0-RHEL-6-20150429.2 # erratum list --repository=customrepo1 --product=customproduct1 --organization-id=1 -------------------------------------|----------------|----------|------------------ ID | ERRATA ID | TYPE | TITLE -------------------------------------|----------------|----------|------------------ 1eed8380-e7c9-4910-91b5-3821e8b3b8e7 | RHEA-2012:5629 | BugFix | 1_Erratum This bug is slated to be released with Satellite 6.1. This bug was fixed in version 6.1.1 of Satellite which was released on 12 August, 2015. |