71e26d1728
In Ussuri and earlier releases, the Bifrost custom inventory returns all node fields as facts. Currently, most of these are returned as null. This happened following the switch to openstacksdk. The plugin checks for the presence of a properties field, and gets detailed node information if it is missing. This worked with shade, but with openstacksdk, the returned node object has most fields present but set to null. One of the most obvious consequences is that provisioning fails, since the 'Deploy to hardware - Using custom instance_info.' task tries to use the instance_info value of null. This change fixes the issue by removing the check and always getting the detailed node information. Change-Id: Ia87c8332994f3b0f037ada953a299987bba246e5 Story: 2008394 Task: 41321
8 lines
299 B
YAML
8 lines
299 B
YAML
---
|
|
fixes:
|
|
- |
|
|
Fixes an issue with the Bifrost inventory plugin when used with
|
|
``BIFROST_INVENTORY_SOURCE=ironic``. All node fields are now returned as
|
|
facts, as in Ussuri and earlier releases. See `story 2008394
|
|
<https://storyboard.openstack.org/#!/story/2008394>`__ for details.
|