Bug 1810406
Summary: | [v2v] No response in CFME to Delete Conversion host VM action, after it was removed from RHV | ||
---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Ilanit Stein <istein> |
Component: | V2V | Assignee: | Fabien Dupont <fdupont> |
Status: | CLOSED ERRATA | QA Contact: | Maayan Hadasi <mguetta> |
Severity: | medium | Docs Contact: | Red Hat CloudForms Documentation <cloudforms-docs> |
Priority: | low | ||
Version: | 5.11.4 | CC: | bthurber, fdupont, mguetta, nachandr, pvauter, simaishi |
Target Milestone: | GA | Keywords: | ZStream |
Target Release: | 5.11.6 | Flags: | pm-rhel:
cfme-5.11.z+
|
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | 5.11.6.0 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-06-10 13:39:10 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | Bug | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | V2V | Target Upstream Version: | |
Embargoed: |
Description
Ilanit Stein
2020-03-05 07:40:30 UTC
An invalid conversion host cannot be selected to run a conversion, so ask #1 is already covered. For the second point, we can add a condition here: https://github.com/ManageIQ/manageiq/blob/master/app/models/conversion_host/configurations.rb#L118, to not call the 'disable_conversion_host_role' method if the resource doesn't exist. New commit detected on ManageIQ/manageiq/ivanchuk: https://github.com/ManageIQ/manageiq/commit/7e2c4a7386309067db9a069ee1a787d1ff924658 commit 7e2c4a7386309067db9a069ee1a787d1ff924658 Author: Adam Grare <agrare> AuthorDate: Wed May 13 12:36:49 2020 +0000 Commit: Adam Grare <agrare> CommitDate: Wed May 13 12:36:49 2020 +0000 Merge pull request #20133 from fdupont-redhat/v2v_bz_1810406 [V2V] Don't run Ansible playbook if conversion host resource is absent or archived (cherry picked from commit 5916d54d21a9ea3b32abbecb5479e19643fe2ad7) https://bugzilla.redhat.com/show_bug.cgi?id=1810406 app/models/conversion_host.rb | 6 + spec/models/conversion_host_spec.rb | 36 + 2 files changed, 42 insertions(+) This fix is applicable for both conversion host & VM. Can be verified by enabling a conversion host. The remove the host from RHV. 1. Check that VM migration plan do not pick this host for migration. 2. Try to delete the conversion host, it should fail. Verified as fixed with CFME 5.11.6.0 After removing host from RHV - the conversion host in CFME was removed, and is not listed in Rails Console As expected, the followed migration picked the other valid conversion host Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2020:2480 |