Validation doesn't say which process is wrong

Bug #1283289 reported by Andrew Lazarev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Sahara
Fix Released
Low
Vitalii Gridnev

Bug Description

Steps to repro:
1. Send request to create cluster with one process name misspelled

Expected result:
Validation error pointing on wrong process name

Observed result:
Validation error with list of supported processes like this:

{
    "error_name": "INVALID_REFERENCE",
    "error_message": "Plugin supports the following node procesess: ['PrimaryNameNode', 'DataNode', 'SecondaryNameNode', 'Manager', 'Oozie', 'JobTracker', 'TaskTracker']",
    "error_code": 400
}

It is not clear which process was spelled wrong.

Changed in savanna:
importance: Undecided → Low
status: New → Confirmed
milestone: none → next
Changed in savanna:
assignee: nobody → Digambar (digambarpatil15)
Revision history for this message
Andrew Lazarev (alazarev) wrote :

Removing assignment because of long inactivity.

Changed in sahara:
assignee: Digambar (digambarpatil15) → nobody
Changed in sahara:
milestone: next → kilo-3
Changed in sahara:
assignee: nobody → Vitaly Gridnev (vgridnev)
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/154483

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

Reviewed: https://review.openstack.org/154483
Committed: https://git.openstack.org/cgit/openstack/sahara/commit/?id=0ce861f72cd78ecd52084175c3c3ed417c88fed7
Submitter: Jenkins
Branch: master

commit 0ce861f72cd78ecd52084175c3c3ed417c88fed7
Author: Vitaly Gridnev <email address hidden>
Date: Tue Feb 10 17:02:23 2015 +0300

    Improve messages for validation

    Change-Id: Icce40f843e97ffff11c6f7e26438e94d7fed247b
    Closes-bug: #1283289

Changed in sahara:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in sahara:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in sahara:
milestone: kilo-3 → 2015.1.0
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.