← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1427277] Re: [sahara] Detailed error on job binary creation is not shown

 

Sahara content now lives in https://github.com/openstack/sahara-
dashboard

** Changed in: horizon
     Assignee: Chad Roberts (croberts) => (unassigned)

** Changed in: horizon
       Status: Confirmed => Invalid

-- 
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:
  [sahara] Detailed error on job binary creation is not shown

Status in OpenStack Dashboard (Horizon):
  Invalid

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