Node-validate with tilde in argument causes server error

Bug #1619291 reported by Kyrylo Romanenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-ironicclient
New
Undecided
Unassigned

Bug Description

Node-validate with tilde in argument causes internal server error.

Example:
$ ironic node-validate 1234~1234~1234
Internal Server Error (HTTP 500)

Same with OSC plugin:
$ openstack baremetal node validate 1234~1234~1234
WARNING: openstackclient.common.utils is deprecated and will be removed after Jun 2017. Please use osc_lib.utils
Internal Server Error (HTTP 500)

Expected variants of behavior are:
a) could not be found. (HTTP 404)
b) unable to convert to uuid_or_name (HTTP 400)

Environment:
Devstack from master branches of components
ironic --version
1.7.0
openstack --version
3.2.1

description: updated
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.