Bug #6975
BE: reasonably switch between DEBUG True/False for dev vs. packaged
% Done:
0%
Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):
Description
Recent changes added conditionals to calamari's settings.py to change settings based
on the value of DEBUG, and set DEBUG to True; that broke the package install
(which doesn't modify those values). Need to make it work for both use cases.
History
#1 Updated by John Spray about 10 years ago
- Status changed from New to Resolved
- Target version set to v1.2 Backlog
On wip-2.0, the "if DEBUG" stuff is all gone, in favour of respecting a calmari.conf file.
"Development mode" is just using a specially crafted calamari.conf pointing to local paths, as opposed to being an explicit flag now.