Project

General

Profile

Actions

Feature #33047

closed

Associate a single VM via hammer to a compute resource

Added by Adi Abramovitch over 2 years ago. Updated over 2 years ago.

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

Description

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

Proposed title of this feature request
Associate a VM via API or Hammer to a compute resource

What is the nature and description of the request?
Currently it needs to be done for each VM manually via Webui or for all VMs:
Infrastructure -> compute resources -> choose compute_resource -> Virtual Machines -> find desired vm -> hover over "Associate VM" button in the top right corner

Why does the user need this?
- Does not want to associate all VMs only certain VMs and currently this is not possible outside of the Webui.
- For automation

How would the user like to achieve this? (List the functional
requirements here)
Hammer or API call for:
~~
https://foreman-server/compute_resources/compute_resource_id/vms/instance_uuid/associate.
~~


Related issues 2 (0 open2 closed)

Related to Foreman - Feature #32769: Associate a VM via API to a compute resourceClosedActions
Has duplicate Hammer CLI - Feature #33105: Add associate-vm sub command to the compute resource commandDuplicateActions
Actions #1

Updated by Adi Abramovitch over 2 years ago

  • Tracker changed from Bug to Feature
Actions #2

Updated by Tomer Brisker over 2 years ago

  • Bugzilla link set to 1937470
Actions #3

Updated by yifat makias over 2 years ago

  • Has duplicate Feature #32769: Associate a VM via API to a compute resource added
Actions #4

Updated by yifat makias over 2 years ago

  • Status changed from New to Duplicate
Actions #5

Updated by Ondřej Ezr over 2 years ago

  • Has duplicate deleted (Feature #32769: Associate a VM via API to a compute resource)
Actions #6

Updated by Ondřej Ezr over 2 years ago

  • Related to Feature #32769: Associate a VM via API to a compute resource added
Actions #7

Updated by Ondřej Ezr over 2 years ago

  • Project changed from Foreman to Hammer CLI
  • Subject changed from Associate a VM via hammer to a compute resource to Associate a single VM via hammer to a compute resource
  • Category set to Compute resources
  • Status changed from Duplicate to Closed
  • Pull request https://github.com/theforeman/hammer-cli-foreman/pull/577 added
Actions #8

Updated by Ondřej Ezr over 2 years ago

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

Resolved in commit hammer-cli-foreman fe7f25abe34617ff9c08ba39bb16f0a03d0e2462

Actions #9

Updated by Ondřej Ezr over 2 years ago

  • Has duplicate Feature #33105: Add associate-vm sub command to the compute resource command added
Actions

Also available in: Atom PDF