yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #44506
[Bug 1427277] Re: [UI] Detailed error on job binary creation is not shown
** Summary changed:
- [sahara] Detailed error on job binary creation is not shown
+ [UI] Detailed error on job binary creation is not shown
** Tags removed: sahara
** Tags added: dashboard
** Also affects: sahara
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1427277
Title:
[UI] Detailed error on job binary creation is not shown
Status in OpenStack Dashboard (Horizon):
Invalid
Status in Sahara:
New
Bug description:
When a job binary with an invalid name is created (for example: too long, like currently test_script_name_a5a330ee-bce0-11e4-beaf-3c970e1836cf), Sahara returns an well-defined exception, from the logs:
DEBUG sahara.utils.api [-] Validation Error occurred: error_code=400, error_message=u'test_script_name_a5a330ee-bce0-11e4-beaf-3c970e1836cf' is too long, error_name=VALIDATION_ERROR bad_request /usr/lib/python2.7/site-packages/sahara/utils/api.py:245
but Horizon just says:
Error: Unable to create job binary
Tested on current Horizon master, Sahara from Juno (even if this is an
horizon issue, I think).
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1427277/+subscriptions
References