
This patch is introducing a mechanism which prevents nodes to be named with some reserved words that are implicitly not allowed today due the way the Ironic API works. For example, the way we fetch a node by its name in the API is issuing a GET to the http://<address>/v1/nodes/<node name> but, we have some words that are valid endpoints under the same path. One example is of it is the /detail endpoint, a GET request to v1/nodes/detail should return detailed information about all the nodes. Apart from that, due the way pecan/wsme parses/routes the requests the words 'ports', 'vendor_passthru', 'management', 'maintenance' can not be used. These words are attributes pointing to a controller in the node's API object (e.g v1/nodes/(ident)/ports) and naming a node as such confuses pecan/wsme. The API microversion was not bumped because this error should be prevented across all versions. Closes-Bug: #1572651 Change-Id: Ibba5ed16e6961805864bdf46b94296b1b0c09469
Ironic
Ironic is an integrated OpenStack project which aims to provision bare metal machines instead of virtual machines, forked from the Nova Baremetal driver. It is best thought of as a bare metal hypervisor API and a set of plugins which interact with the bare metal hypervisors. By default, it will use PXE and IPMI together to provision and turn on/off machines, but Ironic also supports vendor-specific plugins which may implement additional functionality.
Project Resources
- Free software: Apache license
- Documentation: http://docs.openstack.org/developer/ironic
- Source: http://git.openstack.org/cgit/openstack/ironic
- Bugs: http://bugs.launchpad.net/ironic
- Wiki: https://wiki.openstack.org/wiki/Ironic
Project status, bugs, and blueprints are tracked on Launchpad:
Anyone wishing to contribute to an OpenStack project should find a good reference here:
Description
Languages
Python
97.9%
Shell
2.1%