Mark Goddard 71e26d1728 Fix missing node facts with BIFROST_INVENTORY_SOURCE=ironic
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
2020-11-27 12:19:52 +00:00
2020-11-03 11:31:14 +01:00
2020-09-02 11:41:11 +02:00
2019-04-19 19:42:51 +00:00
2019-12-23 21:44:45 -08:00
2020-03-17 07:48:42 +01:00
2020-06-10 15:03:47 +02:00
2020-08-06 12:09:41 +02:00
2019-04-22 17:16:46 +02:00
2015-04-16 15:58:23 -04:00
2019-04-22 17:16:46 +02:00
2020-04-05 17:46:26 +02:00
2020-11-04 13:45:58 +00:00

Bifrost

Bifrost (pronounced bye-frost) is a set of Ansible playbooks that automates the task of deploying a base image onto a set of known hardware using ironic. It provides modular utility for one-off operating system deployment with as few operational requirements as reasonably possible.

Team and repository tags:

image

Use Cases

  • Installation of ironic in standalone/noauth mode without other OpenStack components.
  • Deployment of an operating system to a known pool of hardware as a batch operation.
  • Testing and development of ironic in a standalone use case.

Documentation

Bifrost's documentation can be found at the OpenStack documentation site.

The project source code repository is located at:

https://opendev.org/openstack/bifrost/

Bugs can be filed in storyboard:

https://storyboard.openstack.org/#!/project/941

Release notes

https://docs.openstack.org/releasenotes/bifrost/

Description
Ansible roles and playbooks to enable a standalone Ironic install
Readme 27 MiB
Languages
Python 55.4%
Jinja 27%
Shell 17.6%