ChameleonCloud / chi-in-a-box

Packaging the systems and operations of the Chameleon testbed
Apache License 2.0
14 stars 10 forks source link

enable ironic inspector #263

Closed msherman64 closed 12 months ago

msherman64 commented 1 year ago

for ironic-inspector to work with neutron, the following need to be set:

enabled_inspect_interfaces must contain inspector each node must have its inspect interface set to inspector by running openstack baremetal node set --reset-inspect-interface --inspect-interface inspector

OR, if default_inspect_interface is set to inspector, new nodes will have their interface set to this automatically, as well as when --reset-inspect-interface is called.

Finally, inspection_network MUST be set, or ironic will return a cryptic error message about how "driver IPMI does not support managed inspection".

msherman64 commented 1 year ago

Before this can be merged, we need to be a little careful about what goes in node_custom_config.

Ironic-inspector supports a "standalone mode" that runs without neutron or glance, so it complains if pxe images aren't present in its own directory. I'd rather not stick 500mb of binary into the site config if we can avoid it, so this is still a work in progress ;)

codyhammock commented 1 year ago

Can you be more specific about what settings in node_custom_config might be problematic?

msherman64 commented 12 months ago

Can you be more specific about what settings in node_custom_config might be problematic?

Fixed the issues in this commit to kolla-ansible https://github.com/ChameleonCloud/kolla-ansible/commit/6917bd65e674791f4deeacea8e85cb1b453e6b44

Basically in the "standalone mode", ironic-inspector wants the ironic agent kernel+ramdisk in node_custom_config, but I was able to add a flag to skip this