Created attachment 1775875 [details] mini-rhel7⁄mguetta Description of problem: In Create migration plan wizard, the VM name contains '%2f' instead of '/' character of the original source VM name (please see attached image) Version-Release number of selected component (if applicable): MTV-2.0.0-20 (iib 69034) How reproducible: 100% Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Fabien, do we still need this fixed in 2.1.0? Do you think it needs a fix in the UI or should the inventory API pass the properly rendered name?
That's a good question. I think the API should pass the properly rendered name. If it marshals the string when storing it in the DB, it should unmarshal it, too. @jortel, what do you think?
The VM.name is being returned by the vmware govmomi property collector as URL-encoded. Makes sense to decode before storing in the DB.
Verified as fixed. Versions: MTV 2.1.0-44 iib 96817 CNV 4.8.1-17 iib 97584 OCP 4.8.4 (PSI)
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 (Migration Toolkit for Virtualization 2.1.0), 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/RHEA-2021:3278