Comment 3 for bug 1770740

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-ceph-osd (master)

Reviewed: https://review.openstack.org/569085
Committed: https://git.openstack.org/cgit/openstack/charm-ceph-osd/commit/?id=8b2303e8636186a79b1bdbd845848cd05daea9c7
Submitter: Zuul
Branch: master

commit 8b2303e8636186a79b1bdbd845848cd05daea9c7
Author: Alex Kavanagh <email address hidden>
Date: Thu May 17 11:44:23 2018 +0100

    Fix Traceback issue when ceph-osd upgrade fails

    Bug/1770740 surfaced an issue where get_upgrade_position() returns None
    but the calling function expects and exception to the thrown if the
    "None" condition exists. This just fixes the code so that the Traceback
    is stopped and the appropriate error/message is logged for the
    condition.

    Change-Id: Ib7d1fdc8f91bc992ccf618ef6f57e99bb90c2dbc
    Partial-Bug: #1770740