Steve Baker a1c5559fae Handle patching node /protected value with None
Calling baremetal node unset --protected will attempt to set the
protected attribute to None, which raises a 500 error because the
object attribute is not nullable[1]. This change checks for this case
in the patch call and sets protected to False.

This appears to be the only boolean attribute affected by this issue
(node, port, and portgroup boolean attributes were checked).

[1] https://opendev.org/openstack/ironic/src/branch/master/ironic/objects/node.py#L146

Change-Id: I561e059218a99154e77df075aeadd68f56b86267
Story: 2008205
Task: 40989
2020-09-29 13:55:36 +02:00
2020-08-18 16:12:57 +02:00
2019-04-19 19:40:53 +00:00
2020-04-13 07:29:37 -07:00
2013-05-02 14:55:43 -04:00
2019-08-30 17:16:09 +08:00
2020-02-07 16:42:15 -05:00
2020-04-03 17:49:23 +02:00
2020-09-14 11:10:44 +08:00

Ironic

Team and repository tags

image

Overview

Ironic consists of an API and plug-ins for managing and provisioning physical machines in a security-aware and fault-tolerant manner. It can be used with nova as a hypervisor driver, or standalone service using bifrost. By default, it will use PXE and IPMI to interact with bare metal machines. Ironic also supports vendor-specific plug-ins which may implement additional functionality.

Ironic is distributed under the terms of the Apache License, Version 2.0. The full terms and conditions of this license are detailed in the LICENSE file.

Project resources

Project status, bugs, and requests for feature enhancements (RFEs) are tracked in StoryBoard: https://storyboard.openstack.org/#!/project/943

For information on how to contribute to ironic, see https://docs.openstack.org/ironic/latest/contributor

Description
A service for managing and provisioning Bare Metal servers.
Readme 310 MiB
Languages
Python 97.9%
Shell 2.1%