Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1155241

Summary: Create sahara-image-elements package
Product: Red Hat OpenStack Reporter: Michael McCune <mimccune>
Component: sahara-image-elementsAssignee: Elise Gafford <egafford>
Status: CLOSED ERRATA QA Contact: Luigi Toscano <ltoscano>
Severity: high Docs Contact:
Priority: medium    
Version: unspecifiedCC: adahms, egafford, jschluet, kbasil, matt, nlevinki, sgotliv
Target Milestone: gaKeywords: Triaged
Target Release: 7.0 (Kilo)   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: sahara-image-elements-2015.1.0-2.el7ost Doc Type: Enhancement
Doc Text:
This package allows users to create HDP 2.0.6 and CDH 5.3.0 images for use in RHEL OpenStack Platform 7.
Story Points: ---
Clone Of:
: 1207369 (view as bug list) Environment:
Last Closed: 2015-08-05 13:15:14 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:

Description Michael McCune 2014-10-21 16:46:44 UTC
Description of problem:

The Sahara data processing project for OpenStack requires the usage of virtual machine images that are purpose constructed. Although a selection of images can be found through the Sahara documentation, the power to create new images is contained within the sahara-image-elements project. This project contains a diskimage-builder script and several elements files to inform construction of the Sahara images.

Currently there is no official source for sahara-image-elements within Red Hat OpenStack. This package should contain the upstream sahara-image-elements[1], and provide a script to facilitate the image creation.

There are several factors to consider when packaging sahara-image-elements, primarily that diskimage-builder will attempt to modify the locally installed packages during it execution, also in it's current form the image creation scripts must be run as the root user. The script provided in this package should address these issues and ensure that the host system is not damaged or permanently modified after execution.

[1]: https://github.com/openstack/sahara-image-elements

Comment 11 Elise Gafford 2015-05-11 15:27:55 UTC
sahara-image-elements-2015.1.0-2.el7ost corrects several minor issues in the original build:

1) option oracle-java is both nonfunctional and unpackaged; this version removes -j option and always uses openjdk.
2) -x option added to enable trace debugging.

Comment 14 Luigi Toscano 2015-06-22 17:52:58 UTC
The package is available in RHEL-OSP7 (it was already available in RHEL-OSP6). The sahara-disk-image-create script has been updated and can generate images for the plugins/versions enabled in this release: HDP 2.0.6 and CDH 5.3.0.
The generated images pass scenario integration tests for Sahara.

Verified with:
sahara-image-elements-2015.1.0-3.el7ost.noarch

Sahara packages used by the cluster and for testing purpose:
openstack-sahara-common-2015.1.0-4.el7ost.noarch
openstack-sahara-engine-2015.1.0-4.el7ost.noarch
openstack-sahara-api-2015.1.0-4.el7ost.noarch
python-saharaclient-0.9.0-1.el7ost.noarch

Comment 16 errata-xmlrpc 2015-08-05 13:15:14 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://access.redhat.com/errata/RHEA-2015:1548