Project

General

Profile

Bug #26536

Unable to Change Host Location via Hammer

Added by Oleh Fedorenko 7 months ago. Updated about 2 months ago.

Status:
Closed
Priority:
Normal
Category:
Hosts
Target version:
-

Description

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

Description of problem: Changing the Host location via Hammer fails with an error
'Could not update the host: Resource host not found by id 'x''

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

How reproducible:

Steps to Reproduce:
1.Get host-id, using # hammer host list
2.Get location-id, using # hammer location list
3. Change the host's location through hammer, using below command:

  1. hammer host update --id <host-id> --location-id <>

Actual results: hammer host update fails with an error 'Could not update the host: Resource host not found by id 'x'

Expected results: To change the location of hosts using hammer host update

Additional info:

Associated revisions

Revision 031522dc (diff)
Added by Oleh Fedorenko 3 months ago

Fixes #26536 - Possibility to change host loc/org via hammer (#416)

History

#1 Updated by Oleh Fedorenko 7 months ago

  • Assignee set to Oleh Fedorenko
  • Status changed from New to Assigned

#2 Updated by The Foreman Bot 7 months ago

  • Pull request https://github.com/theforeman/hammer-cli-foreman/pull/416 added

#3 Updated by The Foreman Bot 6 months ago

  • Status changed from Assigned to Ready For Testing

#4 Updated by Martin Bacovsky 3 months ago

  • Triaged changed from No to Yes

#5 Updated by The Foreman Bot 3 months ago

  • Fixed in Releases hammer-cli-foreman-0.18.0 added

#6 Updated by Oleh Fedorenko 3 months ago

  • Status changed from Ready For Testing to Closed

#7 Updated by Martin Bacovsky 2 months ago

  • Pull request https://github.com/Katello/hammer-cli-katello/pull/673 added

#8 Updated by The Foreman Bot about 2 months ago

  • Pull request https://github.com/theforeman/hammer-cli-foreman/pull/441 added

Also available in: Atom PDF