← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1245553] Re: test_xenapi fails when nova and tests are in different directory trees

 

** Changed in: nova
     Assignee: Dirk Mueller (dmllr) => (unassigned)

** Changed in: nova
       Status: Incomplete => Invalid

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

Title:
  test_xenapi fails when nova and tests are in different directory trees

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  Nova's xenapi tests uses realpath joined together with "../../../../"
  to determine the parent directory, which does not work if one of the
  parent directories is a symlink, as it traverses then into a different
  than the original directory subtree.

  It should use "normpath" which simply works by stripping off path
  components, as other unit tests for determining the root dir already
  do.

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