Public bug reported: In nova/conf/paths.py, I can read:
path_opts = [ cfg.StrOpt('pybasedir', default=os.path.abspath(os.path.join(os.path.dirname(__file__), '../../')), help='Directory where the nova python module is installed'), This means that, wherever nova source code is installed to generate nova.conf is going to be the default value for pybasedir. This has all the chances in the world to be a wrong value. For example, if building from /home/zigo/sources/mitaka/nova/nova, we end up with: # Directory where the nova python module is installed (string value) #pybasedir = /home/zigo/sources/openstack/mitaka/nova/build-area/nova-13.0.0/debian/tmp/usr/lib/python2.7/dist-packages instead of: #pybasedir = /usr/lib/python2.7/dist-packages Unfortunately, this ends up in the package. ** Affects: nova Importance: Undecided Status: New -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova). https://bugs.launchpad.net/bugs/1592535 Title: wrong default value for $pybasedir Status in OpenStack Compute (nova): New Bug description: In nova/conf/paths.py, I can read: path_opts = [ cfg.StrOpt('pybasedir', default=os.path.abspath(os.path.join(os.path.dirname(__file__), '../../')), help='Directory where the nova python module is installed'), This means that, wherever nova source code is installed to generate nova.conf is going to be the default value for pybasedir. This has all the chances in the world to be a wrong value. For example, if building from /home/zigo/sources/mitaka/nova/nova, we end up with: # Directory where the nova python module is installed (string value) #pybasedir = /home/zigo/sources/openstack/mitaka/nova/build-area/nova-13.0.0/debian/tmp/usr/lib/python2.7/dist-packages instead of: #pybasedir = /usr/lib/python2.7/dist-packages Unfortunately, this ends up in the package. To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1592535/+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