** No longer affects: nova/essex

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

Title:
  Glance team does not preserve older versions of glance

Status in OpenStack Image Registry and Delivery Service (Glance):
  Invalid
Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  Trying to run unit tests for a branch of Nova, based upon Essex - the
  version of Glance that is available to download via Pip is far too new
  -

  (.venv)scolli001c@HQSML-1081304 ~/git/comcast/nova ±0edd3cb » ./run_tests.sh
  cleaning *.pyc files
  ERROR

  ======================================================================
  ERROR: <nose.suite.ContextSuite context=nova.tests>
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File 
"/Users/scolli001c/git/comcast/nova/.venv/lib/python2.7/site-packages/nose/suite.py",
 line 208, in run
      self.setUp()
    File 
"/Users/scolli001c/git/comcast/nova/.venv/lib/python2.7/site-packages/nose/suite.py",
 line 291, in setUp
      self.setupContext(ancestor)
    File 
"/Users/scolli001c/git/comcast/nova/.venv/lib/python2.7/site-packages/nose/suite.py",
 line 314, in setupContext
      try_run(context, names)
    File 
"/Users/scolli001c/git/comcast/nova/.venv/lib/python2.7/site-packages/nose/util.py",
 line 478, in try_run
      return func()
    File "/Users/scolli001c/git/comcast/nova/nova/tests/__init__.py", line 48, 
in setup
      from nova.network import manager as network_manager
    File "/Users/scolli001c/git/comcast/nova/nova/network/manager.py", line 56, 
in <module>
      from nova.compute import api as compute_api
    File "/Users/scolli001c/git/comcast/nova/nova/compute/__init__.py", line 
24, in <module>
      API = nova.utils.import_class(nova.flags.FLAGS.compute_api_class)
    File "/Users/scolli001c/git/comcast/nova/nova/utils.py", line 80, in 
import_class
      raise exception.ClassNotFound(class_name=class_str, exception=exc)
  ClassNotFound: Class API could not be found: cannot import name 
aggregate_states

  ----------------------------------------------------------------------
  Ran 0 tests in 0.002s

  FAILED (errors=1)
  (.venv)scolli001c@HQSML-1081304 ~/git/comcast/nova ±0edd3cb » mvim 
nova/compute/__init__.py     1 ↵

  (.venv)scolli001c@HQSML-1081304 ~/git/comcast/nova ±0edd3cb » python          
                  1 ↵
  Python 2.7.1 (r271:86832, Jul 31 2011, 19:30:53)
  [GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on darwin
  Type "help", "copyright", "credits" or "license" for more information.
  >>> from nova.compute import aggregate_states
  Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
    File "nova/compute/__init__.py", line 24, in <module>
      API = nova.utils.import_class(nova.flags.FLAGS.compute_api_class)
    File "nova/utils.py", line 76, in import_class
      __import__(mod_str)
    File "nova/compute/api.py", line 39, in <module>
      import nova.image
    File "nova/image/__init__.py", line 22, in <module>
      from nova.image import glance
    File "nova/image/glance.py", line 44, in <module>
      GlanceClient = utils.import_class('glance.client.Client')
    File "nova/utils.py", line 80, in import_class
      raise exception.ClassNotFound(class_name=class_str, exception=exc)
  nova.exception.ClassNotFound: Class Client could not be found: No module 
named client

  The only version available via PyPi is 2011.3.1 - which is far too old
  to run on Essex - and the most recent version of Glance is not
  compatible with Essex - Nova Essex has a bug where it just requires a
  version of glance >= 2011.3.1 - but that ends up fetching the latest
  version that is targeted to Folsom.

  I was hoping that I could at least install the Essex version of
  Glance, which I believe is 2012.1.2 - but it seems that you guys nuked
  that one.

  (.venv)scolli001c@HQSML-1081304 ~/git/comcast/nova ±comcast/essex⚡ »
  pip install -r tools/pip-requires

  No distributions matching the version for glance==2012.1.2 (from -r 
tools/pip-requires (line 22))
  Storing complete log in /Users/scolli001c/.pip/pip.log

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to