Project

General

Profile

Actions

Feature #15674

closed

Implement host disassociation command

Added by Lukas Zapletal almost 8 years ago. Updated over 5 years ago.

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

Description

We are missing this bit completely from CLI.

From our mailing list:

Anyone know of a command line option in hammer to disassociate a host from
its compute resource? It's easily done through the GUI however I am
attempting to do this as a part of a larger workflow built in something
like Ansible and need to be able to disassociate via CLI.


Related issues 1 (0 open1 closed)

Related to Hammer CLI - Bug #13596: hammer: unable to remove association between hostgroup and environmentClosedActions
Actions #1

Updated by Martin Bacovsky almost 8 years ago

  • Related to Bug #13596: hammer: unable to remove association between hostgroup and environment added
Actions #2

Updated by Dominic Cleal almost 8 years ago

Compute resource disassociation is different to the case in #13596. Environments are a single attribute on a host/host group and it should be possible to set them to null, while compute resource disassociation is performed by a specific action (PUT /api/v2/hosts/:id/disassociate).

Actions #3

Updated by Bryan Kearney almost 8 years ago

  • Bugzilla link set to 1356126
Actions #4

Updated by Tomáš Strachota almost 6 years ago

  • Category changed from Foreman commands (obsolete) to Hosts
Actions #5

Updated by Shira Maximov almost 6 years ago

  • Assignee set to Shira Maximov
  • Triaged set to No
Actions #6

Updated by The Foreman Bot almost 6 years ago

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

Updated by Anonymous over 5 years ago

  • Status changed from Ready For Testing to Closed
Actions #8

Updated by Tomer Brisker over 5 years ago

  • Fixed in Releases hammer-cli-foreman-0.14.0 added
Actions

Also available in: Atom PDF