← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1427277] Re: [UI] Detailed error on object creation is not shown

 

** Changed in: sahara
       Status: In Progress => Fix Released

-- 
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 object creation is not shown

Status in OpenStack Dashboard (Horizon):
  Invalid
Status in Sahara:
  Fix Released

Bug description:
  When a job binary (or node group template) 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