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 1422362 - Trying to apply errata on host-collection using hammer fails
Summary: Trying to apply errata on host-collection using hammer fails
Keywords:
Status: CLOSED DUPLICATE of bug 1405428
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Host Collections
Version: 6.2.7
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: Unspecified
Assignee: Tomas Strachota
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-02-15 06:18 UTC by Mihir Lele
Modified: 2020-07-16 09:13 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-06-01 13:21:48 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 18536 0 None None None 2017-02-16 14:21:50 UTC

Description Mihir Lele 2017-02-15 06:18:12 UTC
Description of problem:

Trying to apply errata on host-collection using hammer fails

Version-Release number of selected component (if applicable):


How reproducible: Always (from my end as well customer end)


Steps to Reproduce:

hammer -d -v host-collection erratum install --organization="acmeinc" --name collection1 --errata=RHBA-2017:0038

Expected results:

Successfully applied erratas

Actual results:

Could not schedule installation of errata

Additional info:

hammer debug logs shows "404 resource not found" 
Try to apply the same advisory through yum and it gets installed successfully.

Comment 4 Tomas Strachota 2017-02-15 08:57:42 UTC
Note that more commands are affected by this bug:
 host-collection erratum install
 host-collection package-group {install,update,remove}
 host-collection package {install,update,remove}

All this commands accept only --id and ignore --name.

Comment 5 Tomas Strachota 2017-02-16 14:21:47 UTC
Created redmine issue http://projects.theforeman.org/issues/18536 from this bug

Comment 7 Satellite Program 2017-02-16 15:12:25 UTC
Upstream bug assigned to tstrachota

Comment 8 Satellite Program 2017-02-16 15:12:28 UTC
Upstream bug assigned to tstrachota

Comment 9 Satellite Program 2017-02-27 15:12:24 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/18536 has been resolved.

Comment 11 Djebran Lezzoum 2017-06-01 13:21:48 UTC

*** This bug has been marked as a duplicate of bug 1405428 ***


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