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 ***