Actions
Bug #7278
closedinstall.py warns "Attempted to install invalid local file" when there's no 'local' key
% Done:
0%
Source:
Development
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):
Description
'config' should be passed into _get_local_dir() and
ldir = None for tsk in ctx.config['tasks']: if 'install' in tsk: try: ldir = tsk['install']['local'] break except (TypeError, KeyError): log.info("Attempted to install invalid local file")
should be
ldir = config.get('local', None)
Actions