Project

General

Profile

Actions

Bug #31609

closed

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

Added by Oleh Fedorenko almost 4 years ago. Updated almost 4 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

Also available in: Atom PDF