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 1303080 - Error message needs to be improved on creating package or package-group with incorrect host-id
Summary: Error message needs to be improved on creating package or package-group with ...
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Hosts - Content
Version: Nightly
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-29 13:39 UTC by Sachin Ghai
Modified: 2019-09-26 13:57 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-03-13 20:15:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 13465 0 None None None 2016-04-22 16:56:20 UTC

Description Sachin Ghai 2016-01-29 13:39:20 UTC
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:

Comment 1 Sachin Ghai 2016-01-29 13:39:53 UTC
Created redmine issue http://projects.theforeman.org/issues/13465 from this bug

Comment 3 Bryan Kearney 2016-02-14 17:01:04 UTC
Upstream bug component is Hosts

Comment 4 Bryan Kearney 2016-07-26 15:25:24 UTC
Moving 6.2 bugs out to sat-backlog.

Comment 5 Bryan Kearney 2016-07-26 15:36:36 UTC
Moving 6.2 bugs out to sat-backlog.

Comment 7 Bryan Kearney 2016-08-10 19:13:19 UTC
Upstream bug component is Hosts - Content

Comment 8 Bryan Kearney 2016-08-10 20:14:18 UTC
Upstream bug component is Hosts

Comment 9 Bryan Kearney 2016-08-10 22:13:57 UTC
Upstream bug component is Hosts - Content

Comment 10 Bryan Kearney 2017-03-13 20:15:40 UTC
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.


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