oslo-config-generator returns Ok when error appeared

Bug #1419458 reported by Valeriy Ponomaryov
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
oslo.config
Fix Released
Undecided
Valeriy Ponomaryov

Bug Description

oslo-config-generator is used to generate config sample iterating all entry points provided to it.

But if some error appears, return code will be absent.

It is critical to have it running in CI.

See result of error In Manila project:

http://logs.openstack.org/50/139850/17/check/gate-manila-tox-genconfig/76129bd/console.html#_2015-02-07_10_16_08_488

Error exists but job passed.

Tags: generator
Changed in oslo.config:
assignee: nobody → Valeriy Ponomaryov (vponomaryov)
tags: added: generator
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to oslo.config (master)

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

Changed in oslo.config:
status: New → In Progress
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to oslo.config (master)

Reviewed: https://review.openstack.org/153863
Committed: https://git.openstack.org/cgit/openstack/oslo.config/commit/?id=b392cf18914b9ee9ab983099398e33551dc92da3
Submitter: Jenkins
Branch: master

commit b392cf18914b9ee9ab983099398e33551dc92da3
Author: vponomaryov <email address hidden>
Date: Tue Feb 24 09:11:31 2015 +0200

    Add exception handling for entry points

    oslo-config-generator is used to generate config sample iterating all
    entry points provided to it.
    But if some error appears, return code will be absent.
    It is critical to have it running in CI.
    So, add new func that will be used for error handling and provide it
    to stevedore that suppresses all errors by default.

    Change-Id: Ia78cc0d4e8ab842cd0e279713badd68606a67a58
    Closes-Bug: #1419458

Changed in oslo.config:
status: In Progress → Fix Committed
Changed in oslo.config:
milestone: none → 1.8.0
status: Fix Committed → 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.