Commit Graph

17 Commits

Author SHA1 Message Date
Luigi Toscano 5d05a3db2f Remove CentOS6/RHEL6 support
Deprecated in Pike, and removed from diskimage-builder for a while.

Story: 2001996
Task: 19626
Change-Id: I9b4eab56fcbfcb2e97805fba805eafeeafa5d540
2018-05-15 18:22:50 +02:00
Vitaliy Levitski 35f7276131 Remove support for MapR 5.0.0 images
Implements: blueprint remove-mapr-500
Change-Id: I6ce676240d053941de6eaafdddd18d3190f353f7
2017-02-01 15:54:44 +00:00
Vitaliy Levitski c7045335ec Upgrade packages for MapR 5.2 according to latest versions pack MEP 2.0
Implements: blueprint add-new-mapr-services
Change-Id: I8998178edd10f06b75980d98697a205ee0b75400
2017-01-31 15:02:31 +00:00
Telles Nobrega 3446f21130 Adding rhel7 to elements checks
Up to now we only check for fedora, centos, centos7 and rhel. Rhel7 is
being added to allow the use of rhel7 images

Change-Id: Id0dfa9aab51ec7bb2fe4838c2aa0650f3f026128
2016-09-20 17:28:02 -03:00
Elise Gafford 42c4a37ab7 Re-adding mapr-eco-repository repo
The final state of review https://review.openstack.org/#/c/364363 ended
with the localize_repo function to enable the ecosystem repository
commented. It appears from a plain reading of the code that this was
an error.

Change-Id: I3100d73c8499e9deaf720a97dba71116a9a555b7
2016-09-14 23:40:23 -04:00
Grigoriy Rozhkov e568680b7a Add support for building MapR 5.2 prebuilt images
Implements: blueprint add-mapr-520-image-building
Depends-On: I450168cb69f4b053a41b99d6daceaf7896a5d7eb
Change-Id: I33271122f81520b1c7902eb331d886b7cba5a626
2016-09-02 15:38:17 +03:00
Telles Nobrega feff7a5b87 Adding ability to create CentOS7 images with MapR
This patch enables the creation of CentOS7 images with MapR plugin.

Change-Id: I915ca1f0f5e890e9b32b64d0d9e31061b7fe5f2c
2016-08-26 14:18:18 -03:00
groghkov 21162980ac Add support of building images for MapR 5.1.0
Change-Id: I2983604ab081e025a0aff5056305e9a0958eb344
Implements: blueprint add-mapr-510
Depends-On: Ibeeb6106480b759814b22ba9da5cc4fdb2ff162e
2016-03-03 11:46:18 +00:00
groghkov e99db2f051 Remove support for building unsupported MapR versions
Support for bulding images for MapR 3.1.1 4.0.1 4.0.2
and mapr-spark must be removed since Sahara does not
support these versions in Mitaka release

Implements: blueprint deprecate-old-mapr-versions

Change-Id: I265007076a5031cca561a6a9096137a5d459b716
2016-02-20 18:13:22 +00:00
Artem Osadchyi 9f07499188 Added support of MapR 5.0.0 to sahara-image-elements
Change-Id: I7a2cb387bc6c28dbe1d411e0579a3bb31213a70b
Implements: blueprint mapr-50-dib
2015-08-19 13:46:00 +03:00
Artem Osadchyi c34c1aa69f Added ability to specify exact package versions for MapR
List of improvements:
1. Ecosystem repo is downloaded from repo instead of giant tar archive
2. Mapping of MapR packages moved from python script to separate json file
3. Versions of packages to keep are specified exactly instead of "several last versions"
4. Versions of packages to keep are specified in separate json files for each MapR version
5. Code for repo creating moved to separate script
6. curl and tar invocations merged together
7. Resources aren't copied to image
8. Removed unreachable code
9. Hive 0.12 was removed from remote repo so now it's removed from package list

Change-Id: I93ad9be3b02d5a2f6f0e4c13303ecce7ba32c84b
Implements: blueprint mapr-versions
2015-08-13 12:08:39 +03:00
Sergey Kolekonov 45b298a581 Add quotes to unsafe if conditions in mapr element
In some cases unsafe if conditions can produce errors. Quotes should be used
to avoid problems with empty variables

Change-Id: Ia977bfa570ff9c3703a1a2dd370e1be0bf1b7a85
Closes-bug: #1463144
2015-06-08 22:19:33 +03:00
Pino Toscano 2fb2422da8 Make almost all the element scripts as e/u/pipefail
Following the latest dib-lint reporting, make sure almost all the
scripts are enabling -e, -u, and pipefail.  This eases the discovery of
failing commands, and the usage of unset variables.

There are few exceptions with flags not set:

* elements/hadoop-hdp/install.d/40-install-hdp, set -e
  when installing HDP 2.0, it tries to install tez, which does not seem
  to exist in Hortonworks' repositories

* elements/ssh/install.d/33-ssh, set -e
  the version of augtool (part of augeas 0.10) in older Ubuntu versions
  (like Precise, needed by the cloudera plugin) exits with wrong return
  values in autosave mode

* elements/storm/install.d/60-storm, set -e
  It tries to change the permission of /etc/supervisord.conf, which does
  not seem to exist

Change-Id: Ic1314639dfc6a66c48ca87b6820707a2b0cb1dbd
Partial-Bug: #1435306
2015-04-07 12:46:39 +02:00
Artem Osadchyi 12167c7dbb Add MapR 4.0.2 support
Added ability to build prepared images for MapR 4.0.2

Change-Id: Iceadfc00bd61d5ad3215392ecb618e2661f11693
Closes-Bug: #1439179
2015-04-01 23:39:37 +03:00
Denis Egorenko db50f5ba97 Check distro name from DISTRO_NAME
Use default 'DISTRO_NAME' variable for check which distro is use
for current image build

Change-Id: Ieba71733fbcd554a1c7416efb0c4b740939d06a8
Closes-bug: #1436807
2015-03-27 17:09:35 +04:00
Pino Toscano 55a21cd746 Adopt DIB_DEBUG_TRACE for tracing in elements
Mimic commit 36b59c001c1643217449646b371df46d2cb11b91 in
diskimage-builder, by adopting the usage of $DIB_DEBUG_TRACE to check
whether enable tracing in scripts.

Unlike with the diskimage-builder commit, the default is to not enable
tracing even in the few scripts that used to unconditionally "set -x".

Enabling tracing can be done by either:
- passing -x to disk-image-create
- exporting DIB_DEBUG_TRACE=N, with N=0/1

Change-Id: I56ccd6753df31f7ddda641640cdb1985b2d9e856
Partial-Bug: #1435306
2015-03-23 20:12:41 +01:00
Artem Osadchiy 61823d408c Image Elements for MapR
Change-Id: I87fde2f5d5b430b935c3261d31b86a7b68ac3244
Implements: blueprint mapr-image-elements
2014-11-28 14:57:34 +02:00