openstacksdk/releasenotes/notes/normalize-machine-290d9f2a3b3a7ef0.yaml
Dmitry Tantsur 5db3323be1 Consistent normalization of Machine objects in the cloud layer
Currently some functions call node._to_munch, some - _normalize_machine,
some both. When only _normalize_machine is used, the machine's fields
are not normalized to their server-side representation, breaking
the os_ironic ansible module expecting node['uuid'].

This change makes _normalize_machine call _to_munch to ensure that
normalization always happens. All cloud calls are changed to use
_normalize_machine and not _to_munch.

Change-Id: Ic431f1340c017a24eafe07832da6e6c579fb1921
2020-03-10 11:39:27 -05:00

5 lines
95 B
YAML

---
fixes:
- |
Fixes normalization of bare metal machines in the ``patch_machine`` call.