Bug 1377271

Summary: [z-stream clone - 4.0.5] Special characters in VMware cluster and data center name should be handled correctly
Product: Red Hat Enterprise Virtualization Manager Reporter: rhev-integ
Component: ovirt-engineAssignee: Sharon Gratch <sgratch>
Status: CLOSED ERRATA QA Contact: Nisim Simsolo <nsimsolo>
Severity: medium Docs Contact:
Priority: high    
Version: 3.6.7CC: berrange, bgraveno, dornelas, gklein, lsurette, mavital, mgoldboi, michal.skrivanek, nsimsolo, rbalakri, Rhev-m-bugs, rjones, sgratch, srevivo, tjelinek, ykaul
Target Milestone: ovirt-4.0.5Keywords: ZStream
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
This update fixes an issue where V2V fails for a VMware external provider which contains special characters in a data center, cluster, or folder name. The characters are now encoded on the V2V engine side before sending them to the VDSM. 1) This solution encodes the VMware data center and VMware cluster parts of the uri. For example, in the URI vpx://user@vcenter/<DATACENTER>/<CLUSTER>/esxi?no_verify=1 the <DATACENTER> and <CLUSTER> parts are encoded, including folders if they exist. Other parts of the URI are left decoded. 2) The UI will display the data center and cluster as was originally typed by the user. 3. The encoding is done on the frontend and should be also done while using REST APIs for VMware V2V.
Story Points: ---
Clone Of: 1356767
: 1379363 (view as bug list) Environment:
Last Closed: 2016-11-16 15:30:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1356767, 1389998, 1390000    
Bug Blocks: 1379363    

Comment 5 Nisim Simsolo 2016-11-09 15:05:30 UTC
Verified: ovirt-engine-4.0.5.5-0.1.el7ev
Test case added to external trackers.

Comment 7 errata-xmlrpc 2016-11-16 15:30:10 UTC
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://rhn.redhat.com/errata/RHBA-2016-2786.html