Explicitly fetch baremetal ports and use id on openstacksdk>=0.99.0
Ansible module openstack.cloud.baremetal_node_info no longer returns a detailed list of all baremetal ports [1] in release series 2.x.x. of Ansible OpenStack collection, so we explicitly fetch those ports now. With openstacksdk >=0.99.0, baremetal's node attribute 'uuid' has been renamed to 'id'. Thus previous attribute name is no longer returned by Ansible module openstack.cloud.baremetal_node_info in release series 2.x.x. Both changes are backward compatible to release series 1.x.x of Ansible OpenStack collection. [1] https://review.opendev.org/c/openstack/ansible-collections-openstack/+/854113 Change-Id: I79aafee9537d92efdf7d2466fc7cddc301d32514changes/30/859430/13
parent
de0d4c738e
commit
0329463d77
Loading…
Reference in New Issue