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:
parent
b319505e2f
commit
ff17b5478d
|
@ -52,9 +52,10 @@ class NodeManager(base.CreateManager):
|
|||
'network_interface', 'power_interface',
|
||||
'raid_interface', 'rescue_interface',
|
||||
'storage_interface', 'vendor_interface',
|
||||
'resource_class', 'conductor_group',
|
||||
'automated_clean', 'network_data',
|
||||
'parent_node']
|
||||
'firmware_interface', 'resource_class',
|
||||
'conductor_group', 'automated_clean',
|
||||
'network_data', 'parent_node',
|
||||
'owner', 'lessee', 'shard', 'description']
|
||||
_resource_name = 'nodes'
|
||||
|
||||
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.
|
Loading…
Reference in New Issue