[DIB] Image building fails for CDH when sahara-image-create is called with no version
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Sahara |
Fix Released
|
Medium
|
Luigi Toscano | ||
Newton |
Fix Released
|
Medium
|
Luigi Toscano |
Bug Description
When sahara-image-create is called without version for the cloudera plugin (on CentOS7 and RHEL7), the creation of the 5.7 image fails (and 5.9 would fail too) because the following repository is not found:
http://
The reason is the following code in diskimage-
if [ -n "$DIB_CDH_
# cut minor version number, e.g. from 5.7.1 to 5.7
# this is needed if user specified minor version but didn't specify
# hadoop version by '-v' parameter
HADOOP_
fi
export DIB_CDH_
[...]
if [ -z "$HADOOP_VERSION" -o "$HADOOP_VERSION" = "5.7" ]; then
cloudera_
In this case HADOOP_VERSION is empty, and DIB_CDH_
In general, it is not guaranteed that DIB_CDH_
Changed in sahara: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
assignee: | nobody → Luigi Toscano (ltoscano) |
milestone: | none → ocata-3 |
tags: | removed: in-stable-newton |
Fix proposed to branch: master /review. openstack. org/422811
Review: https:/