Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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

Summary: Trying to apply errata on host-collection using hammer fails
Product: Red Hat Satellite Reporter: Mihir Lele <mlele>
Component: Host CollectionsAssignee: Tomas Strachota <tstrachota>
Status: CLOSED DUPLICATE QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2.7CC: bbuckingham, dhlavacd, dlezzoum, jcallaha, mhulan, tstrachota
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-01 13:21:48 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 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 ***