yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #44483
[Bug 1427328] Re: [sahara] The mechanism used to avoid duplicate script names in jobs binaries is fragile
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/1427328
Title:
[sahara] The mechanism used to avoid duplicate script names in jobs
binaries is fragile
Status in OpenStack Dashboard (Horizon):
Invalid
Bug description:
Create a Job Binary in the internal db, with a specific script name
(for example, "script_name").
If the user creates another job binary with the same script name, a unique UUID is added so that the name is unique.
But, if the script name is long, the addition of the UUID can make it longer than the field limit (80 characters) and the job creation fails.
Moreover, this mechanism is counterintuitive as it is not implemented for the job binary "name" field (an error is returned).
Proposal:
- remove the mechanism which tries to create an unique script name, and simply returns a validation error if a script name is duplicated.
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1427328/+subscriptions
References