docs build for django-based projects should run with DJANGO_SETTINGS_MODULE envvar
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Core Infrastructure |
In Progress
|
Undecided
|
Unassigned | ||
OpenStack Dashboard (Horizon) |
Fix Released
|
Medium
|
Akihiro Motoki | ||
django-openstack-auth |
Fix Released
|
Medium
|
Akihiro Motoki |
Bug Description
When running docs build in the gate and post jobs for django-based projects (e.g., horizon, django_
We can see the following errors in console logs:
horizon-docs, gate-horizon-docs:
ImproperlyConfi
https:/
https:/
django-
error: invalid command 'build_sphinx'
ERROR: InvocationError: '/home/
It also comes from lack of DJANGO_
https:/
https:/
Changed in horizon: | |
milestone: | none → juno-1 |
status: | Fix Committed → Fix Released |
Changed in django-openstack-auth: | |
milestone: | none → 1.1.6 |
status: | Fix Committed → Fix Released |
Changed in horizon: | |
milestone: | juno-1 → 2014.2 |
My plan is: SETTINGS_ MODULE and runs build_sphinx to tox.ini in Horizon and Django OpenStack auth.
- to add "docs" env which defines DJANGO_
- fix run_docs.sh in slave_scripts to use "tox -edocs" rather than "tox -evenv ...."