index sync fails if ironic plugin's enabled but service is not present

Bug #1661388 reported by Steve McLellan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Searchlight
Fix Released
Critical
Steve McLellan

Bug Description

ironicclient doesn't return the EndpointNotFound exception we look for if it's not present; instead it returns the ironically (pun intended) ambiguous (ditto) AmbiguousAuthSystem.

For now, wrapping the exception in openstack_clients is perhaps best. Disabling fully by default is also an option.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to searchlight (master)

Fix proposed to branch: master
Review: https://review.openstack.org/428427

Changed in searchlight:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to searchlight (master)

Reviewed: https://review.openstack.org/428427
Committed: https://git.openstack.org/cgit/openstack/searchlight/commit/?id=1157d5c4cbe53dd92a75f074b246e55c8e7085d1
Submitter: Jenkins
Branch: master

commit 1157d5c4cbe53dd92a75f074b246e55c8e7085d1
Author: Steve McLellan <email address hidden>
Date: Thu Feb 2 15:13:41 2017 -0600

    Handle ironic service not being present

    ironicclient raises an AmbiguousAuthSystem error instead of the
    expected (by us) EndpointNotFound, which causes indexing to fail.
    This patch intercepts it and replaces it with an EndpointNotFound.

    Change-Id: Iddf4efa67c551a9acd22f0785e7273b774852b73
    Closes-Bug: #1661388

Changed in searchlight:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/searchlight 2.0.0.0rc1

This issue was fixed in the openstack/searchlight 2.0.0.0rc1 release candidate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.