Bug 1245691

Summary: SCVMM provisioning from template fails to extrapolate the destination storage correctly
Product: Red Hat CloudForms Management Engine Reporter: Chris Pelland <cpelland>
Component: ProvisioningAssignee: Bronagh Sorota <bsorota>
Status: CLOSED ERRATA QA Contact: Jeff Teehan <jteehan>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.4.0CC: bsorota, cpelland, dajohnso, fdewaley, gblomqui, jhardy, jteehan, mfeifer, ncatling, obarenbo
Target Milestone: GAKeywords: ZStream
Target Release: 5.4.2   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: 5.4.2.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1234990 Environment:
Last Closed: 2015-09-09 12:25:49 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1234990    
Bug Blocks:    

Comment 2 CFME Bot 2015-07-31 15:26:41 UTC
New commit detected on cfme/5.4.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=890af7bb4ab22b079144808b394d810a588f3231

commit 890af7bb4ab22b079144808b394d810a588f3231
Author:     Bronagh Sorota <bsorota>
AuthorDate: Wed Jul 29 15:37:58 2015 -0400
Commit:     Bronagh Sorota <bsorota>
CommitDate: Thu Jul 30 10:45:53 2015 -0400

    Correctly handles manipulation of the datastore name.
    
    Handles:
     - URI decoding (note, we encode the datastore path in the SCVMM parser;  as I understand it, this is a requirement for SSA )
    -  more complex datastore paths
    -  converting forward slashes to backslashes suitable for running the command on a Windows Server
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1245691

 vmdb/app/models/miq_provision_microsoft/cloning.rb | 5 +++--
 vmdb/spec/models/miq_provision_microsoft_spec.rb   | 5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

Comment 3 CFME Bot 2015-07-31 15:26:59 UTC
New commit detected on cfme/5.4.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=18f2b3614c1ec0a763bc0b5fd45ecb2e32f23803

commit 18f2b3614c1ec0a763bc0b5fd45ecb2e32f23803
Merge: 3ef8ddc 890af7b
Author:     Greg Blomquist <gblomqui>
AuthorDate: Fri Jul 31 11:24:46 2015 -0400
Commit:     Greg Blomquist <gblomqui>
CommitDate: Fri Jul 31 11:24:46 2015 -0400

    Merge branch 'scvmm_provisioning_extrapolate_dsname-5.4.z' into '5.4.z'
    
    SCVMM Provisioning - Correctly handles manipulation of the datastore name.
    
    Handles:
     - URI decoding (note, we encode the datastore path in the SCVMM parser;  as I understand it, this is a requirement for SSA )
    -  more complex datastore paths
    -  converting forward slashes to backslashes suitable for running the command on a Windows Server
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1245691
    
    See merge request !206

 vmdb/app/models/miq_provision_microsoft/cloning.rb | 5 +++--
 vmdb/spec/models/miq_provision_microsoft_spec.rb   | 5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

Comment 5 Jeff Teehan 2015-09-01 00:01:26 UTC
I tried on SCVMM SP1 and R2 with various hosts and all the physical drives appeared as expected and I was able to create VMs on them.  

I'm going to move this to verified in version 5.4.2.

Comment 7 errata-xmlrpc 2015-09-09 12:25:49 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-2015-1744.html