Integration is provided via a plugin. There are multiple configuration settings required for proper indexing and incremental updates. Some of the settings are specified in Searchlight configuration files. Others are provided in other service configuration files.
Searchlight resource configuration options are shown below with their configuration file.
See Searchlight Plugin Documentation for common options with their default values, general configuration information, and an example complete configuration.
[resource_plugin:os_ironic_chassis]
notifications_topics_exchanges = ironic_versioned_notifications,ironic
Note
Chassis is not parent resource for node because chassis is not mandatory for a node.
[resource_plugin:os_ironic_node]
notifications_topics_exchanges = ironic_versioned_notifications,ironic
[resource_plugin:os_ironic_port]
notifications_topics_exchanges = ironic_versioned_notifications,ironic
The ironic services must be configured properly to work with searchlight.
Notifications must be configured properly for searchlight to process incremental updates. Enable notifications using the following:
[DEFAULT]
notification_level = info
[oslo_messaging_notifications]
driver = messagingv2
Note
Restart ironic api and conductor services after making changes.
properties
node’s field mapped to node_properties
due to limitation of
older elasticsearch versions.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.