Open Django configuration file:
user@work:~/$ cd <Horizon Installation Dir> && nano settings.pyPlease, make sure that no local/local_settings.py file exists.
Add to import section
from muranoclient.common import exceptions as muranoclientAnd this so muranoclient exceptions can be safely handle by horizon:
RECOVERABLE_EXC = (muranoclient.HTTPException, muranoclient.CommunicationError, muranoclient.Forbidden) EXTENDED_RECOVERABLE_EXCEPTIONS = tuple( exceptions.RECOVERABLE + RECOVERABLE_EXC) NOT_FOUND_EXC = (muranoclient.HTTPNotFound, muranoclient.EndpointNotFound) EXTENDED_NOT_FOUND_EXCEPTIONS = tuple(exceptions.NOT_FOUND + NOT_FOUND_EXC) UNAUTHORIZED_EXC = (muranoclient.HTTPUnauthorized, ) EXTENDED_UNAUTHORIZED_EXCEPTIONS = tuple( exceptions.UNAUTHORIZED + UNAUTHORIZED_EXC)And finally edit HORIZON_CONFIG and INSTALLED_APPS sections
HORIZON_CONFIG = { ... 'exceptions': {'recoverable': EXTENDED_RECOVERABLE_EXCEPTIONS, 'not_found': EXTENDED_NOT_FOUND_EXCEPTIONS, 'unauthorized': EXTENDED_UNAUTHORIZED_EXCEPTIONS}, 'customization_module': 'muranodashboard.panel.overrides' } ... INSTALLED_APPS = ( ... 'muranodashboard', ... )


