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)
Updated by Dan Mick about 10 years ago
- Status changed from New to Fix Under Review
- Assignee set to Dan Mick
Updated by Dan Mick about 10 years ago
- Subject changed from install.py warns "Attempted to install invalid local file" when there's no local key to install.py warns "Attempted to install invalid local file" when there's no 'local' key
Updated by Dan Mick about 10 years ago
- Status changed from Fix Under Review to Resolved
Actions