ironicclient can not create node with uppercase characters in name

Bug #1482693 reported by Kyrylo Romanenko
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Won't Fix
Medium
MOS Ironic

Bug Description

Ironic client can not create node with name containing uppercase symbols

Steps:

1. SSH to controller node, source openrc.
2. Try to create node with uppercase in name:

root@node-1:~# ironic node-create -d fuel_ssh --name NODE
Cannot create node with invalid name Node (HTTP 400)
root@node-1:~# ironic node-create -d fuel_ssh --name Node
Cannot create node with invalid name Node (HTTP 400)
root@node-1:~# ironic node-create -d fuel_ssh --name somethingnamE
Cannot create node with invalid name somethingnamE (HTTP 400)

Expected to create node with name regardless to uppercase or lowercase.

Environment:
VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "7.0"
  openstack_version: "2015.1.0-7.0"
  api: "1.0"
  build_number: "139"
  build_id: "2015-08-05_21-24-26"
  nailgun_sha: "c842770d56680d0e0cdf3573d329ce36d4fb2c64"
  python-fuelclient_sha: "28ddd022fd230fde0e88f2f3e4a6a6dddcb58abe"
  fuel-agent_sha: "1fe47720ba554818a0be707f2e16281791492d50"
  fuel-nailgun-agent_sha: "1512b9af6b41cc95c4d891c593aeebe0faca5a63"
  astute_sha: "e1d3a435e5df5b40cbfb1a3acf80b4176d15a2dc"
  fuel-library_sha: "347d51f391a6f2c621006c00e3416718140889ac"
  fuel-ostf_sha: "5cb828f6200e5ae0da63dd39d11fbf910237db95"
  fuelmain_sha: "858a4ee8336789c10c5c2189c3718f9a605d0eeb"

Ubuntu, Neutron VLAN, Cinder LVM
1 Controller + Ironic
1 Cinder
1 Compute

Tags: ironic
Changed in mos:
milestone: none → 7.0
Changed in mos:
milestone: 7.0 → 8.0
Revision history for this message
Pavlo Shchelokovskyy (pshchelo) wrote :

looks like a known bug/limitation [1], and fixed in upstream [2] in LIberty release.

Before node name had to comply with internet FQDN hostname, now node name needs to comply with RFC3986 [3]

[1] https://bugs.launchpad.net/ironic/+bug/1434376
[2] https://review.openstack.org/#/c/193587/12
[3] https://www.ietf.org/rfc/rfc3986.txt

Changed in mos:
milestone: 8.0 → 7.0
status: New → Won't Fix
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.