Project

General

Profile

Bug #18536

Trying to apply errata on host-collection using hammer fails

Added by Tomáš Strachota over 2 years ago. Updated 11 months ago.

Status:
Closed
Priority:
Normal
Category:
Host Collections
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1422362

Description of problem:

Trying to apply errata on host-collection via hammer when using --name fails.

Steps to Reproduce:

> hammer host-collection erratum install --organization="Default Organization" --name collection1 --errata=RHBA-2017:0038
Could not schedule installation of errata

Expected results:

Successfully applied erratas

Actual results:

Could not schedule installation of errata

Additional info:

hammer debug logs shows "404 resource not found"

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.

Associated revisions

Revision f1497c05 (diff)
Added by Tomas Strachota about 2 years ago

Fixes #18536 - using --name in host collection content actions (#482)

History

#1 Updated by Tomáš Strachota over 2 years ago

  • Subject changed from Trying to apply errata on host-collection using hammer fails to Trying to apply errata on host-collection using hammer fails
  • Status changed from New to Assigned
  • Assignee set to Tomáš Strachota
  • Target version set to 1.11.4

#2 Updated by The Foreman Bot over 2 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/Katello/hammer-cli-katello/pull/482 added

#3 Updated by Marek Hulán about 2 years ago

  • Target version changed from 1.11.4 to 1.12.1

#4 Updated by Anonymous about 2 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#5 Updated by Eric Helms about 2 years ago

  • Legacy Backlogs Release (now unused) set to 211

Also available in: Atom PDF