From 26afba1c3fa97a9af75ca13b954e77dc3153d083 Mon Sep 17 00:00:00 2001 From: Billy Olsen Date: Fri, 9 Jun 2017 11:38:48 -0700 Subject: [PATCH] Add lib folder to system path for replace_osd action The replace_osd action fails to run because the ceph import cannot be resolved without the lib folder existing in the system path. Change-Id: If85a3ac7edbb22abf11cff5429e6820322ded898 Closes-Bug: #1696958 --- actions/replace_osd.py | 1 + 1 file changed, 1 insertion(+) diff --git a/actions/replace_osd.py b/actions/replace_osd.py index 69ba4a6f..edfa1f7b 100755 --- a/actions/replace_osd.py +++ b/actions/replace_osd.py @@ -18,6 +18,7 @@ import os import sys sys.path.append('hooks/') +sys.path.append('lib/') from charmhelpers.core.hookenv import action_get, log, config, action_fail