Bug 1305345

Summary: Failure to launch Hadoop Cluster via Sahara Wizards on RDO Liberty
Product: [Community] RDO Reporter: Boris Derzhavets <bderzhavets>
Component: openstack-saharaAssignee: Elise Gafford <egafford>
Status: CLOSED NOTABUG QA Contact: Luigi Toscano <ltoscano>
Severity: high Docs Contact:
Priority: unspecified    
Version: LibertyCC: bderzhavets
Target Milestone: ---   
Target Release: Liberty   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-08 12:27:53 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:
Attachments:
Description Flags
sahara-engine.log, sahara-api.log, heat-engine.log none

Description Boris Derzhavets 2016-02-07 11:21:31 UTC
Created attachment 1121881 [details]
sahara-engine.log, sahara-api.log, heat-engine.log

Description of problem:

Attempt to launch Hadoop cluster vis heat templates auto generated by
Sahara fails with error :-
Return code: 1
STDERR:
mv: cannot move temp-file-c25429c6-a9b7-4a1e-9847-c19974b81d93 to /opt/hadoop/etc/hadoop/mapred-site.xml: No such file or directory

Version-Release number of selected component (if applicable):
RDO Liberty

[root@ServerCentOS7 ~]# rpm -qa \*sahara\*
openstack-sahara-engine-3.0.0-5.cc218ddgit.el7.noarch
python-saharaclient-0.11.1-1.el7.noarch
openstack-sahara-api-3.0.0-5.cc218ddgit.el7.noarch
openstack-sahara-common-3.0.0-5.cc218ddgit.el7.noarch

[root@ServerCentOS7 ~]# rpm -qa \*heat\*

python-heatclient-0.8.0-1.el7.noarch
openstack-heat-common-5.0.0-1.el7.noarch
openstack-heat-api-5.0.0-1.el7.noarch
openstack-heat-engine-5.0.0-1.el7.noarch

How reproducible:

Steps to Reproduce:
1. Create node templates like follows
hadoop-master-node with daemons
 "node_processes": [
        "namenode",
        "resourcemanager",
        "historyserver",
        "oozie"
hadoop-worker-node templates with daemons

   "node_processes": [
        "datanode",
        "nodemanager"
    ],

2. Create cluster template based on
hadoop-master-node template
hadoop-worker-node templlate

3. Attempt to launch Cluster via created cluster's template

Actual results:

Return code: 1
STDERR:
mv: cannot move temp-file-c25429c6-a9b7-4a1e-9847-c19974b81d93 to /opt/hadoop/etc/hadoop/mapred-site.xml: No such file or directory

Expected results:

Cluster after spawning goes to active state. 

Additional info:

Comment 1 Boris Derzhavets 2016-02-07 11:24:42 UTC
Target release Liberty.

Comment 2 Boris Derzhavets 2016-02-07 17:22:56 UTC
Number of data nodes increased up 3 ( as required ) same error.

Comment 3 Boris Derzhavets 2016-02-07 18:54:10 UTC
Plugin been used Vanilla 2.7.1

Comment 4 Luigi Toscano 2016-02-08 10:09:13 UTC
How did you generate the image?

Comment 5 Luigi Toscano 2016-02-08 10:32:30 UTC
See also: 
https://bugs.launchpad.net/mos/+bug/1542105
(that's why I was asking about the image)

Comment 6 Boris Derzhavets 2016-02-08 12:26:05 UTC
I am very sorry . I've just succeeded with upstream image 

   sahara-liberty-vanilla-2.7.1-ubuntu-14.04.qcow2

from http://sahara-files.mirantis.com/images/upstream/liberty/

using vanilla 2.7.1 plugin. 4 Node Master+3*Workers was launched.
Web reports from all VMs running in Cluster are in right shape.

Bug closed.