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
This commit is contained in:
Billy Olsen 2017-06-09 11:38:48 -07:00
parent b0dc9c29c1
commit 26afba1c3f
1 changed files with 1 additions and 0 deletions

View File

@ -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