Project

Profile

Help

Issue #8235

Updated by daviddavis about 3 years ago

Reproducer: 

 1. Have pulpcore and pulp_ansible installed 
 2. Unset `CONTENT_ORIGIN` in your settings file. 

 Observe that you get an ugly AttributeError instead of [the user friendly error that pulpcore raises](https://github.com/pulp/pulpcore/blob/f8a8c64bb28cbe3908720ea56f417312a4389862/pulpcore/app/settings.py#L279-L281).  

 This is caused because pulpcore loads the plugin It looks like ansible's settings get loaded before checking if CONTENT_ORIGIN is defined. pulpcore's.

Back