Project

General

Profile

Actions

Bug #31609

closed

"hammer host update --id <id> --owner-id <id>" does not set new owner

Added by Oleh Fedorenko over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Category:
Hosts
Target version:
-
Difficulty:
Triaged:
Yes
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

Description

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

Description of problem:

Updating the owner of a host via

  1. hammer host update --id <host_id> --owner-id <owner_id>

returns "Host updated." but changes are not applied.

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

tfm-rubygem-hammer_cli-2.1.2-1

How reproducible:

  1. hammer host info --id 30 | grep 'Owner Id'
    Owner Id: 22
  1. hammer host update --id 30 --owner-id 4
    Host updated.
  1. hammer host info --id 30 | grep 'Owner Id'
    Owner Id: 22

Actual results:

owner_id 22 is still assigned to host_id 30

Expected results:

owner_id 4 should be assigned to host_id 30

Additional info:

Worked fine on Satellite 6.7.x.

Actions #1

Updated by Oleh Fedorenko over 3 years ago

  • Status changed from New to Assigned
  • Assignee set to Oleh Fedorenko
  • Triaged changed from No to Yes
Actions #2

Updated by The Foreman Bot over 3 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/hammer-cli-foreman/pull/556 added
Actions #3

Updated by The Foreman Bot over 3 years ago

  • Fixed in Releases hammer-cli-foreman-2.4.0 added
Actions #4

Updated by Oleh Fedorenko over 3 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF