| Summary: | Error message needs to be improved on creating package or package-group with incorrect host-id | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Sachin Ghai <sghai> |
| Component: | Hosts - Content | Assignee: | satellite6-bugs <satellite6-bugs> |
| Status: | CLOSED DEFERRED | QA Contact: | Katello QA List <katello-qa-list> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | Nightly | CC: | bkearney, jsherril |
| Target Milestone: | Unspecified | Keywords: | Triaged |
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | http://projects.theforeman.org/issues/13465 | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-03-13 20:15:40 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: | |
Created redmine issue http://projects.theforeman.org/issues/13465 from this bug Upstream bug component is Hosts Moving 6.2 bugs out to sat-backlog. Moving 6.2 bugs out to sat-backlog. Upstream bug component is Hosts - Content Upstream bug component is Hosts Upstream bug component is Hosts - Content This has been copied to an issue upstream. When the upstream issue is fixed, the next version of satellite will contain it. We will no longer track this downstream. |
Description of problem: Error message needs to be improved on creating package or package-group with incorrect host-id ]# hammer -u admin -p changeme host package list --host-id 89 Couldn't find Host::Managed with 'id'=89 [WHERE "hosts"."type" IN ('Host::Managed')] ~]# hammer -u admin -p changeme host package install --packages zsh --host-id 89 Could not install packages: Couldn't find Host::Managed with 'id'=89 [WHERE "hosts"."type" IN ('Host::Managed')] ~]# hammer -u admin -p changeme host package-group install --groups 'Development Tools' --host-id 12 Could not install package-groups: Couldn't find Host::Managed with 'id'=12 [WHERE "hosts"."type" IN ('Host::Managed')] Please fix all package and package-groups sub-commands Version-Release number of selected component (if applicable): katello-2.5.0-3.nightly.el7.noarch foreman-release-1.11.0-0.develop.201601211808gitd546fd0.el7.noarch tfm-rubygem-hammer_cli_katello-0.0.20-1.el7.noarch tfm-rubygem-hammer_cli-0.5.1-2.el7.noarch How reproducible: always Steps to Reproduce: 1. hammer -u admin -p changeme host package --help 2. hammer -u admin -p changeme host package-groups --help 3. Actual results: Expected results: Error message needs to be improved on creating package or package-group with incorrect host-id Additional info: