test_vmware_vmdk fails with no such option: glance_api_version

Bug #1290883 reported by Sascha Peilicke on 2014-03-11
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Sascha Peilicke

Bug Description

% nosetests cinder.tests.test_vmware_vmdk
ERROR: Failure: NoSuchOptError (no such option: glance_api_version)
Traceback (most recent call last):
  File "/home/saschpe/Projects/openstack/cinder/.venv27/lib/python2.7/site-packages/nose/loader.py", line 411, in loadTestsFromName
    addr.filename, addr.module)
  File "/home/saschpe/Projects/openstack/cinder/.venv27/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/home/saschpe/Projects/openstack/cinder/.venv27/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/home/saschpe/Projects/openstack/cinder/cinder/tests/test_vmware_vmdk.py", line 27, in <module>
    from cinder.image import glance
  File "/home/saschpe/Projects/openstack/cinder/cinder/image/glance.py", line 67, in <module>
  File "/home/saschpe/Projects/openstack/cinder/.venv27/lib/python2.7/site-packages/oslo/config/cfg.py", line 1648, in __getattr__
    raise NoSuchOptError(name)
NoSuchOptError: no such option: glance_api_version

Ran 1 test in 0.001s

FAILED (errors=1)

Fix proposed to branch: master
Review: https://review.openstack.org/79621

Changed in cinder:
assignee: nobody → Sascha Peilicke (saschpe)
status: New → In Progress

Reviewed: https://review.openstack.org/79621
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=2a20befd8f300b3970c20677da2d210c0ed85d17
Submitter: Jenkins
Branch: master

commit 2a20befd8f300b3970c20677da2d210c0ed85d17
Author: Sascha Peilicke <email address hidden>
Date: Tue Mar 11 15:50:38 2014 +0100

    Add missing config values for vmwware_vmdk test

    Import CONF.glance_api_version from cinder.common.config

    Closes-Bug: 1290883
    Change-Id: I9f64c2f60efe517ad8e4ee2a98ed8da4be257b47

Changed in cinder:
status: In Progress → Fix Committed
tags: added: vmware
Mike Perez (thingee) on 2014-03-25
tags: added: drivers
Thierry Carrez (ttx) on 2014-03-27
Changed in cinder:
milestone: none → icehouse-rc1
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2014-04-17
Changed in cinder:
milestone: icehouse-rc1 → 2014.1

Change abandoned by Sascha Peilicke (<email address hidden>) on branch: stable/havana
Review: https://review.openstack.org/79633
Reason: Honestly don't care anymore, just trying to get rid of the notification....

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers