RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/
Bug 1269158 - Sahara configuration should be affected by heat availability (broken by default right now)
Summary: Sahara configuration should be affected by heat availability (broken by defau...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RDO
Classification: Community
Component: openstack-packstack
Version: Liberty
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: Liberty
Assignee: Martin Magr
QA Contact: Luigi Toscano
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-06 13:27 UTC by Luigi Toscano
Modified: 2016-03-14 17:19 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-03-14 17:18:05 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 236971 0 None None None Never

Description Luigi Toscano 2015-10-06 13:27:17 UTC
Description of problem:
Sahara can use heat as internal engine to provision and control the Hadoop cluster.
The default engine was by default the Sahara-specific one until Kilo. From Liberty, the default engine is the heat one. 
The sahara.conf file does not acknowledge this and it still shows the comment
# infrastructure_engine = direct

But this is not the problem. The issue is that, if CONFIG_SAHARA_INSTALL=y and CONFIG_HEAT_INSTALL=n, Heat is not installed but Sahara expects it to be working, and cluster provisioning fails.

So, while the default comment in the generated sahara.conf should show heat, that value should change based on the Heat availability.

Version-Release number of selected component (if applicable):
openstack-packstack-2015.2-dev1636.g3015bff.el7.centos.noarch
openstack-packstack-puppet-2015.2-dev1636.g3015bff.el7.centos.noarch
openstack-puppet-modules-2015.2-dev.1150d0da14ad00e6151d11443ab96d6d3e9649b2_8eef2746.el7.centos.noarch

Comment 1 Luigi Toscano 2016-03-14 17:18:05 UTC
When CONFIG_SAHARA_INSTALL is y, packstack automatically sets CONFIG_HEAT_INSTALL to y regardless of its original value.

Verified on an up-to-date CentOS 7, with:

RDO Liberty:
openstack-packstack-7.0.0-0.10.dev1682.g42b3426.el7.noarch
openstack-packstack-puppet-7.0.0-0.10.dev1682.g42b3426.el7.noarch
openstack-puppet-modules-7.0.1-1.el7.noarch

RDO Mitaka (DLRN snapshot):
openstack-packstack-8.0.0-0.20160303124552.0476b9b.el7.centos.noarch
openstack-packstack-puppet-8.0.0-0.20160303124552.0476b9b.el7.centos.noarch
openstack-puppet-modules-8.0.0a0-0.20160304203011.7dc7e93.el7.centos.noarch


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