Project

General

Custom queries

Profile

Actions

Bug #20725

closed

'hammer host update' removes existing host parameters

Added by Anthony Chevalet over 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Hosts
Target version:
-
Difficulty:
trivial
Triaged:
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

Description

# rpm -q foreman
foreman-1.15.3-1.el7.noarch
# hammer --version
hammer (0.10.2)
 * hammer_cli_foreman (0.10.2)
 * hammer_cli_foreman_bootdisk (0.1.3)
 * hammer_cli_foreman_docker (unknown version)
 * hammer_cli_foreman_remote_execution (unknown version)
 * hammer_cli_foreman_tasks (unknown version)
 * hammer_cli_import (0.11.3)
 * hammer_cli_katello (0.10.0)
# hammer host info --name client1.local | grep param
# hammer host update --name client1.local --parameters param1=value1,param2=value2
Host updated
# hammer host info --name client1.local | grep param    param1 => value1
    param2 => value2
# hammer host update --name client1.local --parameters param3=value3
Host updated
# hammer host info --name client1.local | grep param
    param3 => value3
# hammer host update --name client1.local 
Host updated
# hammer host info --name client1.local | grep param
#

Related issues 1 (0 open1 closed)

Has duplicate Hammer CLI - Bug #26926: hammer cli wipes host parameters when build is toggled (UI or API does not)ClosedActions
#1

Updated by Ivan Necas over 7 years ago

  • Project changed from Foreman to Hammer CLI
#2

Updated by Tomáš Strachota over 7 years ago

  • Category set to Hosts
  • Difficulty set to trivial
#3

Updated by Tomáš Strachota over 7 years ago

  • Bugzilla link set to 1486696
#4

Updated by Rahul Bajaj over 7 years ago

  • Assignee set to Rahul Bajaj
#5

Updated by Rahul Bajaj over 7 years ago

  • Target version set to 220
#6

Updated by Rahul Bajaj over 7 years ago

  • Target version changed from 220 to 230
#7

Updated by Ivan Necas almost 7 years ago

  • Bugzilla link changed from 1486696 to 1554774
#8

Updated by The Foreman Bot almost 7 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/hammer-cli-foreman/pull/368 added
#9

Updated by Rahul Bajaj over 6 years ago

  • Status changed from Ready For Testing to Closed
#10

Updated by Martin Bacovsky almost 6 years ago

  • Has duplicate Bug #26926: hammer cli wipes host parameters when build is toggled (UI or API does not) added
Actions

Also available in: Atom PDF