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.
Reviewed: https:/ /review. openstack. org/569085 /git.openstack. org/cgit/ openstack/ charm-ceph- osd/commit/ ?id=8b2303e8636 186a79b1bdbd845 848cd05daea9c7
Committed: https:/
Submitter: Zuul
Branch: master
commit 8b2303e8636186a 79b1bdbd845848c d05daea9c7
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: Ib7d1fdc8f91bc9 92ccf618ef6f57e 99bb90c2dbc
Partial-Bug: #1770740