← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1186450] Re: Glance did not sync

 

** 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/1186450

Title:
  Glance did not sync

Status in ANVIL for forging OpenStack.:
  Fix Released

Bug description:
  It seems like after the install put the rpms in place then glance
  fails at syncing (wrong pycrpyto version?)

  INFO: @anvil.components.glance : Syncing glance to database: glance
   ____________________
  / We are the knights \
  \ who say.... NI!    /
   --------------------
    \         ||       ||
      \    __ ||-----mm||
        \ (  )/_________)//
          (oo)/
          v--v
  ProcessExecutionError: Unexpected error while running command.
  Command: /usr/bin/glance-manage --debug -v db_sync
  Exit code: 1
  Stdout: ''
  Stderr: 'Traceback (most recent call last):\n  File "/usr/bin/glance-manage", line 47, in <module>\n    import glance.db.sqlalchemy.api\n  File "/usr/lib/python2.6/site-packages/glance/db/__init__.py", line 22, in <module>\n    from glance.common import crypt\n  File "/usr/lib/python2.6/site-packages/glance/common/crypt.py", line 26, in <module>\n    from Crypto import Random\nImportError: cannot import name Random\n'

  python-crypto-2.0.1-22.el6.x86_64   doesn't seem to work.

  I did the following to get past this.

  # pip-python install pycrypto==2.3

  Using a newer version of pycrypto > 2.3 seems to not work.

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