Bug 1774104

Summary: [RFE] Associate a VM via API or hammer to a compute resource
Product: Red Hat Satellite Reporter: Kenny Tordeurs <ktordeur>
Component: APIAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact: Jitendra Yejare <jyejare>
Severity: high Docs Contact:
Priority: high    
Version: 6.6.0CC: apatel, bkearney, dmatoule, gtalreja, ofedoren, ymakias
Target Milestone: UnspecifiedKeywords: FutureFeature, Triaged
Target Release: UnusedFlags: bkearney: needinfo? (apatel)
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-07-09 17:02:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Kenny Tordeurs 2019-11-19 15:19:39 UTC
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 customer need this? (List the business requirements
here)
- 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 customer like to achieve this? (List the functional
requirements here)
Hammer or API call for:
~~~
https://satellite-server/compute_resources/compute_resource_id/vms/instance_uuid/associate.
~~~

Comment 8 Dominik Matoulek 2021-06-10 10:40:36 UTC
Created redmine issue https://projects.theforeman.org/issues/32769 from this bug

Comment 9 Mike McCune 2021-07-09 17:02:24 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and while we recognize that it is a valid request, we do not expect this to be implemented in the product in the foreseeable future. This is due to other priorities for the product, and not a reflection on the request itself. We are therefore closing this out as WONTFIX. If you have any concerns about this feel free to contact your Red Hat Account Team. Thank you.

Comment 10 Yifat Makias 2021-07-22 08:06:30 UTC

*** This bug has been marked as a duplicate of bug 1937470 ***