test_vmware_vmdk fails with no such option: glance_api_version

Bug #1290883 reported by Sascha Peilicke
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
Sascha Peilicke

Bug Description

% nosetests cinder.tests.test_vmware_vmdk
E
======================================================================
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>
    version=CONF.glance_api_version):
  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)

Tags: drivers vmware
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

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

Changed in cinder:
assignee: nobody → Sascha Peilicke (saschpe)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (stable/havana)

Fix proposed to branch: stable/havana
Review: https://review.openstack.org/79633

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (stable/grizzly)

Fix proposed to branch: stable/grizzly
Review: https://review.openstack.org/79634

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

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)
tags: added: drivers
Thierry Carrez (ttx)
Changed in cinder:
milestone: none → icehouse-rc1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in cinder:
milestone: icehouse-rc1 → 2014.1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on cinder (stable/havana)

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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.