← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1791043] Re: wsgi.py - wrong path in it

 

Reviewed:  https://review.openstack.org/600400
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=71be92dd42ca3c6e81ad36909e8fc4bf707b60c8
Submitter: Zuul
Branch:    master

commit 71be92dd42ca3c6e81ad36909e8fc4bf707b60c8
Author: Rafal Ramocki <rafal.ramocki@xxxxxxxxx>
Date:   Thu Sep 6 12:02:31 2018 +0200

    Fixed path after moving wsgi/django.wsgi to wsgi.py
    
    Change-Id: Ia6b1c99c277c4cd5b19deae5212c7806b4b06a23
    Closes-Bug: 1791043


** Changed in: horizon
       Status: In Progress => Fix Released

-- 
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/1791043

Title:
  wsgi.py - wrong path in it

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  When openstack_dashboard/wsgi/django.wsgi was moved in rocky to
  openstack_dashboard/wsgi.py path in there was unchanged and this
  causes initioalization error as it cannot find
  openstack_dashboard.settings module. I believe that

  sys.path.insert(0, os.path.normpath(os.path.join(
      os.path.dirname(os.path.realpath(__file__)), '../..')))

  should be changed to

  sys.path.insert(0, os.path.normpath(os.path.join(
      os.path.dirname(os.path.realpath(__file__)), '..')))

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1791043/+subscriptions


References