Can't change the node->chassis OR port-> node association
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
Fix Released
|
High
|
Lucas Alvares Gomes |
Bug Description
The way we change the relation of a port with a node OR a node with a chassis is by replacing the 'node_uuid' OR 'chassis_uuid' fields from Ports and Nodes respectively.
The API is failing to if you try to replace those fields, LOG:
[stack@localhost devstack]$ ironic node-update f0fd1ec8-
Couldn't apply patch '[{'path': '/chassis_uuid', 'value': u'56bb1063-
[stack@localhost devstack]$ ironic port-update 3551aa44-
Couldn't apply patch '[{'path': '/node_uuid', 'value': u'f0fd1ec8-
Both 'chassis_uuid' and 'node_uuid' fields in the API are special, they _only_ exists in the API object and internally they get translated to their numerical ID.
Changed in ironic: | |
status: | New → Incomplete |
status: | Incomplete → In Progress |
assignee: | nobody → Lucas Alvares Gomes (lucasagomes) |
importance: | Undecided → High |
summary: |
- Can't change the node->chassis OR port-> node relation + Can't change the node->chassis OR port-> node association |
Changed in ironic: | |
milestone: | none → juno-2 |
Changed in ironic: | |
status: | Fix Committed → Fix Released |
Changed in ironic: | |
milestone: | juno-2 → 2014.2 |
Fix proposed to branch: master /review. openstack. org/106083
Review: https:/