Catch general Exception on upgrade ceph osd
This is reqired for pass check on ceph upgrade. In fuel/8.0 ceph calculates wrong PGS count. Change-Id: I46d4ef5c48d9cde682243e5f6cf8145aa115b3e2 Related-Bug: 1541418 Closes-Bug: 1622543
This commit is contained in:
parent
5e6953bc93
commit
9a58209dc1
|
@ -15,7 +15,6 @@ import logging
|
|||
from octane.handlers import upgrade
|
||||
from octane.util import ceph
|
||||
from octane.util import node as node_util
|
||||
from octane.util import subprocess
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
@ -26,7 +25,7 @@ class CephOsdUpgrade(upgrade.UpgradeHandler):
|
|||
def preupgrade(self):
|
||||
try:
|
||||
ceph.check_cluster(self.node)
|
||||
except subprocess.CalledProcessError as exc:
|
||||
except Exception as exc:
|
||||
LOG.warning("Ceph cluster health is not OK, ignoring: %s", exc)
|
||||
|
||||
def prepare(self):
|
||||
|
|
Loading…
Reference in New Issue