[EDP] Job binaries name validation is a bit too strict

Bug #1240144 reported by Chad Roberts
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Sahara
Fix Released
Medium
Andrew Lazarev

Bug Description

Uploading a job binary with a filename of "hadoop-examples-1.2.1.jar" does not work (fails to validate filename). Same for "hadoopexamples.1.1jar". It seems that "no digits after a dot" might be the rule in play.

Ideally, the validation would accept likely filenames (like: hadoop-examples-1.2.1.jar).

Changed in savanna:
milestone: none → 0.3
milestone: 0.3 → next
importance: Undecided → High
tags: added: 0.3
Changed in savanna:
status: New → Triaged
Trevor McKay (tmckay)
Changed in savanna:
status: Triaged → Confirmed
assignee: nobody → Trevor McKay (tmckay)
Changed in savanna:
importance: High → Medium
milestone: next → icehouse-2
tags: removed: 0.3
Revision history for this message
Andrew Lazarev (alazarev) wrote :

Trevor, sorry. Didn't note that bug is already assigned.

Changed in savanna:
assignee: Trevor McKay (tmckay) → Andrew Lazarev (alazarev)
Changed in savanna:
status: Confirmed → In Progress
Changed in savanna:
milestone: icehouse-2 → icehouse-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to savanna (master)

Reviewed: https://review.openstack.org/66745
Committed: https://git.openstack.org/cgit/openstack/savanna/commit/?id=80a0204580412a6b7e3e8cc35bca0b9315cc265b
Submitter: Jenkins
Branch: master

commit 80a0204580412a6b7e3e8cc35bca0b9315cc265b
Author: Andrew Lazarev <email address hidden>
Date: Thu Jan 23 11:34:04 2014 -0800

    Made general name validation less strict

    1. Made valid_name validation much less strict
    2. Changed validation type for cluster, nodegroup and templates to
       new 'valid_name_hostname' that is equal to old "valid_name" validation

    Closes-Bug: #1240144

    Change-Id: I3048e91f8e179aa5be510feb1c5872b40b6dc3c1

Changed in savanna:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in savanna:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in sahara:
milestone: icehouse-3 → 2014.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.