Bug 1683456

Summary: [v2v][OSP] Migration of VM with special chars in name fails with error "<URI::InvalidComponentError>: <bad component(expected absolute path component)"
Product: Red Hat CloudForms Management Engine Reporter: Shveta <sshveta>
Component: V2VAssignee: Brett Thurber <bthurber>
Status: CLOSED NOTABUG QA Contact: Shveta <sshveta>
Severity: medium Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: high    
Version: 5.10.1CC: bthurber, dmetzger, fdupont, jprause, mshriver, smallamp, ytale
Target Milestone: GA   
Target Release: 5.10.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: v2v
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-04-03 13:18:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: V2V Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1683443    
Attachments:
Description Flags
Logs attached none

Description Shveta 2019-02-26 21:39:05 UTC
Created attachment 1538983 [details]
Logs attached

Description of problem:


Version-Release number of selected component (if applicable):
5.10.1.2.20190219165527_7a4a22b

How reproducible:


Steps to Reproduce:
1. Add OSP and VMware.
2. create a VM with special chars in name . I created "#@$%%"
3. Migrate VM . 

Actual results:Migration fails with error .
[----] E, [2019-02-26T15:52:44.028693 #46767:a03ab38] ERROR -- : MiqAeServiceModelBase.ar_method raised: <URI::InvalidComponentError>: <bad component(expected absolute path component): /vmfs/volumes/env-vcenter67-ims-iscsi-netapp-rdu-01b/#@$%2525%2525/%23@$%2525%2525.vmx>
[----] E, [2019-02-26T15:52:44.028784 #46767:a03ab38] ERROR -- : /usr/share/ruby/uri/generic.rb:769:in `check_path'
/usr/share/ruby/uri/generic.rb:817:in `path='
/usr/share/ruby/uri/generic.rb:191:in `initialize'
/usr/share/ruby/uri/generic.rb:136:in `new'



Expected results:


Additional info:

Comment 6 Sudhir Mallamprabhakara 2019-04-03 13:18:31 UTC
Closing it as this is a documented limitation.