Create cluster with Hadoop 2.4.0 failed

Bug #1342821 reported by Sergey Reshetnyak
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Sahara
Fix Released
High
Sergey Reshetnyak

Bug Description

Steps to repro:
1. Create cluster with vanilla 2.4.0 plugin
2. Get error:

21:06:57 2014-07-15 17:06:34.533 24103 INFO sahara.service.api [-] Cluster status has been changed: id=3811201c-f81f-4c1b-97bd-631cd6379355, New status=Validating
21:06:57 2014-07-15 17:06:34.689 24103 INFO sahara.service.api [-] Cluster status has been changed: id=3811201c-f81f-4c1b-97bd-631cd6379355, New status=Error
21:06:57 2014-07-15 17:06:34.689 24103 ERROR sahara.utils.api [-] Request aborted with status code 500 and message 'Internal Server Error'
21:06:57 2014-07-15 17:06:34.691 24103 ERROR sahara.utils.api [-] Traceback (most recent call last):
21:06:57 File "/usr/local/lib/python2.7/dist-packages/sahara/utils/api.py", line 87, in handler
21:06:57 return func(**kwargs)
21:06:57 File "/usr/local/lib/python2.7/dist-packages/sahara/service/validation.py", line 50, in handler
21:06:57 return func(*args, **kwargs)
21:06:57 File "/usr/local/lib/python2.7/dist-packages/sahara/api/v10.py", line 44, in clusters_create
21:06:57 return u.render(api.create_cluster(data).to_wrapped_dict())
21:06:57 File "/usr/local/lib/python2.7/dist-packages/sahara/service/api.py", line 112, in create_cluster
21:06:57 LOG.info(g.format_cluster_status(cluster))
21:06:57 File "/usr/local/lib/python2.7/dist-packages/sahara/openstack/common/excutils.py", line 82, in __exit__
21:06:57 six.reraise(self.type_, self.value, self.tb)
21:06:57 File "/usr/local/lib/python2.7/dist-packages/sahara/service/api.py", line 106, in create_cluster
21:06:57 plugin.validate(cluster)
21:06:57 File "/usr/local/lib/python2.7/dist-packages/sahara/plugins/vanilla/plugin.py", line 64, in validate
21:06:57 cluster.hadoop_version).validate(cluster)
21:06:57 File "/usr/local/lib/python2.7/dist-packages/sahara/plugins/vanilla/v2_4_0/versionhandler.py", line 55, in validate
21:06:57 vl.validate_cluster_creating(cluster)
21:06:57 TypeError: validate_cluster_creating() takes exactly 2 arguments (1 given)

Changed in sahara:
assignee: nobody → Sergey Reshetnyak (sreshetniak)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to sahara (master)

Fix proposed to branch: master
Review: https://review.openstack.org/107436

Changed in sahara:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to sahara (master)

Reviewed: https://review.openstack.org/107436
Committed: https://git.openstack.org/cgit/openstack/sahara/commit/?id=4d100bd282a940d131ee6828a955c1da87816593
Submitter: Jenkins
Branch: master

commit 4d100bd282a940d131ee6828a955c1da87816593
Author: Sergey Reshetnyak <email address hidden>
Date: Wed Jul 16 20:34:41 2014 +0400

    Fix creating cluster with Vanilla 2.4.0 plugin

    Fixes bug: #1342821

    Change-Id: Id1499cf85b7dc84ea369bb718fd3ab63306dfe2b

Changed in sahara:
status: In Progress → Fix Committed
Changed in sahara:
milestone: none → juno-2
importance: Undecided → High
Changed in sahara:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in sahara:
milestone: juno-2 → 2014.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.