Unhandled etcd read exception in core plugin

Bug #1651599 reported by Thomas Hambleton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Gluon
Fix Released
Undecided
Thomas Hambleton

Bug Description

The core plugin wrapper code does not handle an exception during an etcd read of the /gluon directory. This can happen on a new system when there are no objects created. This results in a stack trace showing up in the neutron log file.

The code should not assume the /gluon directory exists and handle the exception appropriately.

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

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

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

Reviewed: https://review.openstack.org/413307
Committed: https://git.openstack.org/cgit/openstack/gluon/commit/?id=bf09f4ae47d0d643dbe4e72565119cd8f91d6cc3
Submitter: Jenkins
Branch: master

commit bf09f4ae47d0d643dbe4e72565119cd8f91d6cc3
Author: Thomas Hambleton <email address hidden>
Date: Tue Dec 20 18:56:02 2016 -0600

    Fix unhandled etcd read exception

    The core plugin wrapper code did not handle an exception during an etcd read
    of the /gluon directory. This can happen on a new system when there are no
    objects created yet. This resulted in a stack trace showing up in the neutron
    log file.

    The code was modified to handle the execption gracefully.

    Change-Id: I8dd34a86454d145af03a0d71590de5ad4fa54fcb
    Closes-Bug: #1651599

Changed in python-gluon:
status: In Progress → Fix Released
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.