** Changed in: horizon
       Status: Fix Committed => Fix Released

** Changed in: horizon
    Milestone: None => juno-1

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1302532

Title:
  docs build for django-based projects should run with
  DJANGO_SETTINGS_MODULE envvar

Status in Django OpenStack Auth:
  Fix Committed
Status in OpenStack Dashboard (Horizon):
  Fix Released
Status in OpenStack Core Infrastructure:
  In Progress

Bug description:
  When running docs build in the gate and post jobs for django-based
  projects (e.g., horizon, django_openstack_auth,  ...), we need to set
  DJANGO_SETTINGS_MODULE envvar.

  We can see the following errors in console logs:

  horizon-docs, gate-horizon-docs:
  ImproperlyConfigured: The SECRET_KEY setting must not be empty.
  https://jenkins.openstack.org/view/All/job/horizon-docs/
  https://jenkins.openstack.org/view/All/job/gate-horizon-docs/

  django-openstack-auth:
  error: invalid command 'build_sphinx'
  ERROR: InvocationError: 
'/home/jenkins/workspace/gate-django_openstack_auth-docs/.tox/venv/bin/python 
setup.py build_sphinx'
  It also comes from lack of DJANGO_SETTINGS_MODULES.
  https://jenkins.openstack.org/view/All/job/gate-django_openstack_auth-docs/
  https://jenkins.openstack.org/view/All/job/django_openstack_auth-docs/

To manage notifications about this bug go to:
https://bugs.launchpad.net/django-openstack-auth/+bug/1302532/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to