Bug 1469458
Summary: | Adding disks to RHV miq_provision object fails when duplicate datastore names exist | ||
---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Dustin Scott <dscott> |
Component: | Providers | Assignee: | Oved Ourfali <oourfali> |
Status: | CLOSED DUPLICATE | QA Contact: | Dave Johnson <dajohnso> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 5.7.0 | CC: | dberger, dscott, gblomqui, jfrey, jhardy, masayag, obarenbo |
Target Milestone: | GA | ||
Target Release: | cfme-future | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-07-11 13:21:36 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | RHEVM | Target Upstream Version: | |
Embargoed: |
Description
Dustin Scott
2017-07-11 10:05:01 UTC
Left out a portion of code which includes defined variables in the above example (was trying to simplify). Please use the following correction instead to reproduce: new_disks = [ { :bus => 0, # not sure if applicable, but works...taken from vmware method :pos => 1, # not sure if applicable, but works...taken from vmware method :sizeInMB => 1024, :datastore => 'data' } ] $evm.log(:info, "Inspecting new_disks: #{new_disks.inspect}") # set the provisioning option $evm.root['miq_provision'].set_option(:disk_scsi, new_disks) *** This bug has been marked as a duplicate of bug 1462774 *** |