Bug 1371649

Summary: Wrapper script must be adapted for RHEL and product support matrix
Product: Red Hat OpenStack Reporter: Elise Gafford <egafford>
Component: sahara-image-elementsAssignee: Telles Nobrega <tenobreg>
Status: CLOSED ERRATA QA Contact: Luigi Toscano <ltoscano>
Severity: high Docs Contact:
Priority: unspecified    
Version: 10.0 (Newton)CC: jschluet, matt, mlopes, tenobreg
Target Milestone: rcKeywords: Triaged
Target Release: 10.0 (Newton)   
Hardware: noarch   
OS: Linux   
Whiteboard:
Fixed In Version: sahara-image-elements-5.0.0-2.el7ost Doc Type: Enhancement
Doc Text:
This enhancement updates the main script on `sahara-image-element` to only allow the creation of images for supported plugins. For example, you can use the following command to create a CDH 5.7 image using Red Hat Enterprise Linux 7: ---- >> ./diskimage-create/diskimage-create.sh -p cloudera -v 5.7 Usage: diskimage-create.sh [-p cloudera|mapr|ambari] [-v 5.5|5.7|2.3|2.4] [-r 5.1.0] ----
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-14 15:54:51 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:

Description Elise Gafford 2016-08-30 17:30:05 UTC
Description of problem:

As we do not test RHEL subscription in the upstream CI, we must add it to sahara-image-elements/diskimage-create/diskimage-create.sh in each release (as per RHOS 9.)

Additionally, this script must be modified to remove unsupported distributions, plugins, and versions. At present we intend to support only:

Distributions:
1) CentOS 7
2) RHEL 7

Plugins:
1) CDH 5.5 and 5.7
2) Ambari 2.3 and 2.4
3) MapR 5.1

It should be noted that since 9.0, we are no longer removing unsupported elements from the codebase. These elements should be left in place, and only the wrapper script and doc should be modified.

Comment 6 Luigi Toscano 2016-11-03 17:37:17 UTC
The wrapper script was changed to show only the relevant plugins/plugin versions.

Usage: diskimage-create.sh
         [-p cloudera|mapr|ambari]
         [-v 5.5|5.7|2.3|2.4]
         [-r 5.1.0]
....

Verified on:
sahara-image-elements-5.0.0-2.el7ost.noarch

Comment 8 errata-xmlrpc 2016-12-14 15:54:51 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/RHEA-2016-2948.html