Introspection Fails During Baremetal Provisioning Due to the FMS Error
Problem
During baremetal provisioning, Introspection fails due to the FMS Error.
Environment
Platform9 Managed OpenStack - v8.0 and Higher
Ironic Regions
Cause
This is a known bug and is reported internally with ID: IAAS-10796
In ironic-inspector logs (on Management Plane), check for the below logs.
The dnsmasq filter sync fails while fetching
ironic_macsin dnsmasq driver due to 504 error.
[Timestamp] 25367 ERROR ironic_inspector.pxe_filter.base [-] The PXE filter DnsmasqFilter, state=initialized encountered an exception: HttpException: 504: Server Error for url: https://[DU-FQDN]/ironic/v1/ports?fields=address, 504 Gateway Time-out: nginx/1.18.0; resetting the filter: openstack.exceptions.HttpException: HttpException: 504: Server Error for url: https://[DU-FQDN]/ironic/v1/ports?fields=address, 504 Gateway Time-out: nginx/1.18.0
[Timestamp] 25367 DEBUG ironic_inspector.pxe_filter.base [-] Resetting the PXE filter driver DnsmasqFilter, state=initialized reset /opt/pf9/ironic-inspector/lib/python3.9/site-packages/ironic_inspector/pxe_filter/base.py:121
[Timestamp] 772 25367 WARNING ironic_inspector.pxe_filter.base [-] Filter driver DnsmasqFilter, state=uninitialized disabling periodic sync task because of an invalid state.: ironic_inspector.pxe_filter.base.InvalidFilterDriverState: The PXE filter driver DnsmasqFilter, state=uninitialized: my fsm encountered an exception: Can not transition from state 'uninitialized' on event 'sync' (no defined transition)The following introspection attempt after this fails due to the FSM error.
Workaround
Workaround is to add exception handling for the ironic API call.
Patch the controller host with below fix:
Restart Ironic services
Additional Information
The issue is fixed in the Platform9 Managed Openstack v5.10.1 Release.
PreviousLive Migration Failure With Error: "The instance requires a newer hypervisor version than has been provided."
NextVM Migration Failed Due to Insufficient Memory
Last updated
