Bug 1186415 - [fog] Booting block_device_mapping_v2 from image fails
Summary: [fog] Booting block_device_mapping_v2 from image fails
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Appliance
Version: 5.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: GA
: 5.3.3
Assignee: Brandon Dunne
QA Contact: Dave Johnson
URL:
Whiteboard:
Depends On: 1186413
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-01-27 16:00 UTC by Brandon Dunne
Modified: 2019-07-11 08:34 UTC (History)
9 users (show)

Fixed In Version: 5.3.3
Doc Type: Bug Fix
Doc Text:
Fog gem was missing functionality, wherein volume_size was not being passed to the API in the fog gem. As a result, CloudForms could not provision and boot a VM via volume in OpenStack. The required functionality has been added to the Fog gem. CloudForms can now provision and boot a VM via volume in OpenStack.
Clone Of: 1186413
Environment:
Last Closed: 2015-02-25 16:12:45 UTC
Category: Bug
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:0261 0 normal SHIPPED_LIVE cfme (5.3.3) bug fix and enhancement update 2015-02-25 21:09:28 UTC

Comment 2 Dave Johnson 2015-01-28 20:14:58 UTC
I copied the openstack_preprovision method in the automate explorer under ManageIQ domain / Cloud / VM / Provisioning / StateMachines / Methods and added the following option to provision a existing image and attach a extra volume to it with a specified size.  It did honor the size, created a vm, created a volume with the size specified, and attached it to the instance.  Success  \o/

prov = $evm.root['miq_provision']

prov.set_option(
  :clone_options, {
    :image_ref => nil,
    :block_device_mapping_v2 => [{
      :boot_index => 0,
      :uuid => "c269b145-6b70-4793-a797-5a4eaceec08b",
      :device_name => "vda",
      :source_type => "image",
      :destination_type => "volume",
      :volume_size => 3,
      :delete_on_termination => false
    }]
  }
)

Comment 3 Dave Johnson 2015-02-23 17:44:22 UTC
good 2 go in 5.3.3.2

Comment 5 errata-xmlrpc 2015-02-25 16:12:45 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-0261.html


Note You need to log in before you can comment on or make changes to this bug.