Project

General

Profile

Feature #32769

Associate a VM via API to a compute resource

Added by Dominik Matoulek 7 months ago. Updated 2 months ago.

Status:
Closed
Priority:
High
Assignee:
-
Category:
Compute resources
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:

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

Related to Hammer CLI - Feature #33047: Associate a single VM via hammer to a compute resourceClosed

Associated revisions

Revision ee07dbe2 (diff)
Added by Adi Abramovitch 5 months ago

Fixes #32769 - Associate a VM via API to a compute resource

History

#1 Updated by Adi Abramovitch 6 months ago

  • Category deleted (19)
  • Subject changed from Associate a VM via API or hammer to a compute resource to Associate a VM via API to a compute resource

#2 Updated by Adi Abramovitch 6 months ago

Dominik Matoulek wrote:

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.
~
~

#3 Updated by The Foreman Bot 6 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/8677 added

#4 Updated by yifat makias 6 months ago

  • Is duplicate of Feature #33047: Associate a single VM via hammer to a compute resource added

#5 Updated by yifat makias 6 months ago

  • Status changed from Ready For Testing to Duplicate

#6 Updated by yifat makias 6 months ago

  • Bugzilla link changed from 1774104 to 1937470

#7 Updated by The Foreman Bot 5 months ago

  • Fixed in Releases 3.1.0 added

#8 Updated by Ondřej Ezr 5 months ago

  • Status changed from Duplicate to Closed

#9 Updated by Ondřej Ezr 5 months ago

  • Is duplicate of deleted (Feature #33047: Associate a single VM via hammer to a compute resource)

#10 Updated by Ondřej Ezr 5 months ago

  • Related to Feature #33047: Associate a single VM via hammer to a compute resource added

#11 Updated by Amit Upadhye 2 months ago

  • Category set to Compute resources

Also available in: Atom PDF