Skip to content
This repository has been archived by the owner on Jul 21, 2023. It is now read-only.

[#1069] [BZ#1775385] Mapping Wizard: Fix OSP conversion host check to be more strict #1108

Merged
merged 3 commits into from Feb 19, 2020

Conversation

mturley
Copy link
Contributor

@mturley mturley commented Feb 18, 2020

Fixes #1069
BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1775385

In the case where the user has more than one OpenStack provider configured, but only has conversion hosts configured in one of them, the mapping wizard was not able to warn them that migrations to the provider with no conversion hosts would fail (it only showed a warning if there were no OSP conversion hosts anywhere).

This PR moves the alert from a wizard-level inline alert into individual alert icons next to each target project (just like RHV conversion host warnings) and appears on any project which is in a provider where there are no OSP conversion hosts.

This also updates the text of the existing RHV warning to make it consistent with the new OSP one, based on @vconzola 's copy here: #1069 (comment)

Screenshot 2020-02-18 16 42 15

@mturley mturley added bug bz Issues filed by QE or having a BZ changelog/no UI Issues and PRs related only to the UI ivanchuk/yes labels Feb 18, 2020
@mturley mturley added this to In progress in v2v UI via automation Feb 18, 2020
@miq-bot
Copy link
Member

miq-bot commented Feb 18, 2020

Checked commits mturley/manageiq-v2v@85a7353~...02745a1 with ruby 2.5.7, rubocop 0.69.0, haml-lint 0.20.0, and yamllint
0 files checked, 0 offenses detected
Everything looks fine. 🍪

@mzazrivec mzazrivec self-assigned this Feb 19, 2020
@mzazrivec mzazrivec merged commit a879780 into ManageIQ:master Feb 19, 2020
v2v UI automation moved this from In progress to Done Feb 19, 2020
@mzazrivec
Copy link
Contributor

This PR effectively fixes #1107

@mturley mturley deleted the 1069-fix-osp-conversion-host-check branch February 19, 2020 17:14
simaishi pushed a commit that referenced this pull request Feb 24, 2020
[#1069] [BZ#1775385] Mapping Wizard: Fix OSP conversion host check to be more strict

(cherry picked from commit a879780)

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1805910
@simaishi
Copy link
Contributor

Ivanchuk backport details:

$ git log -1
commit e7e9b2ac4f63b4d98466fc85bb56d06be7bafe86
Author: Milan Zázrivec <mzazrivec@redhat.com>
Date:   Wed Feb 19 15:21:26 2020 +0100

    Merge pull request #1108 from mturley/1069-fix-osp-conversion-host-check

    [#1069] [BZ#1775385] Mapping Wizard: Fix OSP conversion host check to be more strict

    (cherry picked from commit a879780e9ff47cc2051bc5fef3c28990455db0c9)

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1805910

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug bz Issues filed by QE or having a BZ changelog/no ivanchuk/backported UI Issues and PRs related only to the UI
Projects
v2v UI
  
Done
4 participants