Bug 2217640 - No error thrown when attempting to import a VM as a managed Host when it's already associated with a different Host [NEEDINFO]
Summary: No error thrown when attempting to import a VM as a managed Host when it's al...
Keywords:
Status: NEW
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Compute Resources - VMWare
Version: 6.14.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Gaurav Talreja
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-06-26 19:03 UTC by Sam Bible
Modified: 2023-06-27 11:25 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:
lstejska: needinfo? (sbible)


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SAT-18647 0 None None None 2023-06-27 11:20:14 UTC

Description Sam Bible 2023-06-26 19:03:03 UTC
Description of problem:
When you attempt to import a VM as a managed Host, but the underlying VM is already being managed by a different Host, the form allows you to click submit, but it throws no error, and gives no indication as to what happened. It simply stays on the same page. 

Version-Release number of selected component (if applicable):
6.14 - Snap 5

How reproducible:
100%

Steps to Reproduce:
1. Create a compute resource that has some VM associated.
2. Import this VM as a managed Host successfully.
3. Without disassociating or delete the first Host, attempt to import that VM as a managed Host again

Actual results:
When clicking 'Submit', you receive no error, and the page doesn't change at all.

Expected results:
There is some error thrown that indicates that this VM is already being managed by a Host

Additional info:
This was all done with a VMware compute resource, so it's possible the bug only affects this case.

Comment 1 Leos Stejskal 2023-06-27 11:25:04 UTC
Hi, is this a regression?


Note You need to log in before you can comment on or make changes to this bug.