Fix on-creation ability
On node creation, the underlying code does a validate of the fields passed, and errors if you try to pass excess fields which are not in a super easy to miss list, because actual OSC testing doesn't fully exercise the entire command execution. Change-Id: Iae35f80c1ae547044dea615a4309b6810ea8fee9
This commit is contained in:
@@ -52,9 +52,10 @@ class NodeManager(base.CreateManager):
|
|||||||
'network_interface', 'power_interface',
|
'network_interface', 'power_interface',
|
||||||
'raid_interface', 'rescue_interface',
|
'raid_interface', 'rescue_interface',
|
||||||
'storage_interface', 'vendor_interface',
|
'storage_interface', 'vendor_interface',
|
||||||
'resource_class', 'conductor_group',
|
'firmware_interface', 'resource_class',
|
||||||
'automated_clean', 'network_data',
|
'conductor_group', 'automated_clean',
|
||||||
'parent_node']
|
'network_data', 'parent_node',
|
||||||
|
'owner', 'lessee', 'shard', 'description']
|
||||||
_resource_name = 'nodes'
|
_resource_name = 'nodes'
|
||||||
|
|
||||||
def list(self, associated=None, maintenance=None, marker=None,
|
def list(self, associated=None, maintenance=None, marker=None,
|
||||||
|
@@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
Fixes the list of fields permitted when creating a node. The following
|
||||||
|
fields can now be set: firmware_interface, automated_clean, network_data,
|
||||||
|
parent_node, owner, lessee, shard, desription.
|
Reference in New Issue
Block a user