← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1218229] Re: Build fails when there are no dependencies to build

 

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

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to anvil.
https://bugs.launchpad.net/bugs/1218229

Title:
  Build fails when there are no dependencies to build

Status in ANVIL for forging OpenStack.:
  Fix Released

Bug description:
  When all needed dependencies are already present in repos, anvil-deps-
  sources directory is not created, and build action fails:

  [...]
   __________________________
  / We'd better not risk     \
  | another frontal assault, |
  \ that rabbit's dynamite.  /
   --------------------------
    \         ||       ||
      \    __ ||-----mm||
        \ (  )/_________)//
          (oo)/
          v--v
  Traceback (most recent call last):
    File "/home/melnikov/anvil/anvil/__main__.py", line 217, in main
      run(args)
    File "/home/melnikov/anvil/anvil/__main__.py", line 121, in run
      runner.run(persona_obj)
    File "/home/melnikov/anvil/anvil/actions/base.py", line 341, in run
      self._run(persona, component_order, instances)
    File "/home/melnikov/anvil/anvil/actions/build.py", line 40, in _run
      dependency_handler.build_binary()
    File "/home/melnikov/anvil/anvil/packaging/yum.py", line 172, in build_binary
      files_only=True):
    File "/home/melnikov/anvil/anvil/shell.py", line 242, in listdir
      all_contents = os.listdir(path)
  OSError: [Errno 2] No such file or directory: '/home/melnikov/openstack/repo/anvil-deps-sources'

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