Name validation too strict in the UI

Bug #1632631 reported by Luca Miccini
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Jiri Tomasek

Bug Description

Naming a node throws an error, regardless if the node in manually defined or imported via instackenv.json. Screenshot attached. It works if the name is in uppercase.
Ironic spec http://developer.openstack.org/api-ref/baremetal/ doesn't mention any uppercase requirements for the name field.
Importing the nodes definition via CLI works as expected regardless of the upper/lower-case.

Revision history for this message
Luca Miccini (lmiccini2) wrote :
Julie Pichon (jpichon)
tags: added: ui
Changed in tripleo:
status: New → Triaged
importance: Undecided → High
milestone: none → ocata-1
tags: added: newton-backport-potential
Jiri Tomasek (jtomasek)
Changed in tripleo:
assignee: nobody → Jiri Tomasek (jtomasek)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-ui (master)

Fix proposed to branch: master
Review: https://review.openstack.org/385418

Changed in tripleo:
status: Triaged → In Progress
Revision history for this message
Dan Trainor (dtrainor) wrote :

I had filed a similar bug which may give some more details:

https://bugs.launchpad.net/tripleo/+bug/1609917

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-ui (stable/newton)

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/386199

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-ui (master)

Reviewed: https://review.openstack.org/385418
Committed: https://git.openstack.org/cgit/openstack/tripleo-ui/commit/?id=228aa2ab6aace295dcb531eccb1528d9edaca045
Submitter: Jenkins
Branch: master

commit 228aa2ab6aace295dcb531eccb1528d9edaca045
Author: Jiri Tomasek <email address hidden>
Date: Wed Oct 12 13:51:07 2016 +0200

    Ignore case in Node name validation regexp

    Closes-Bug: 1609917
    Closes-Bug: 1632631
    Change-Id: Ia298f9f99ce491ff5f963b0936db6ea97da06274

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-ui (stable/newton)

Reviewed: https://review.openstack.org/386199
Committed: https://git.openstack.org/cgit/openstack/tripleo-ui/commit/?id=68e6cfcc9032dbc7eacb56bbe941af03f2a880c3
Submitter: Jenkins
Branch: stable/newton

commit 68e6cfcc9032dbc7eacb56bbe941af03f2a880c3
Author: Jiri Tomasek <email address hidden>
Date: Wed Oct 12 13:51:07 2016 +0200

    Ignore case in Node name validation regexp

    Closes-Bug: 1609917
    Closes-Bug: 1632631
    Change-Id: Ia298f9f99ce491ff5f963b0936db6ea97da06274
    (cherry picked from commit 228aa2ab6aace295dcb531eccb1528d9edaca045)

tags: added: in-stable-newton
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-ui 1.0.4

This issue was fixed in the openstack/tripleo-ui 1.0.4 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-ui 2.0.0

This issue was fixed in the openstack/tripleo-ui 2.0.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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