cinder tests fail.

Bug #1130129 reported by Chuck Short
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
Unassigned

Bug Description

To reproduce:

1. git clone git://github.com/openstack/cinder.git
2. cd cinder ; python setup.py sdist
3. cd cinder/dist
4. tar -zxvf cinder-xxxx.tar.gz
5 cd cinder-xxx
6. ./run_test.sh -N

You get tracebacks like the following:

----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/buildd/cinder-2013.1.a160.g0c52162/cinder/tests/test_test.py", line 33, in test_service_isolation
    self.start_service('volume')
  File "/tmp/buildd/cinder-2013.1.a160.g0c52162/cinder/test.py", line 184, in start_service
    svc.start()
  File "/tmp/buildd/cinder-2013.1.a160.g0c52162/cinder/service.py", line 340, in start
    version_string = version.version_string()
  File "/tmp/buildd/cinder-2013.1.a160.g0c52162/cinder/openstack/common/version.py", line 63, in version_string
    for part in self.release_string().split('.'):
AttributeError: 'NoneType' object has no attribute 'split'

Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote :

Chuck, We'll need this one in oslo - https://review.openstack.org/#/c/22181/

Revision history for this message
John Griffith (john-griffith) wrote :

Yes, known problem. The OSLO versioning code merge introduced a requirement that you have Cinder installed (ie python setup.py install).

Hope to have something soon to address this, meanwhile I've installed cinder on my laptop.

Revision history for this message
Chuck Short (zulcss) wrote :

this is fixed for us now.

Changed in cinder:
status: New → Fix Committed
Thierry Carrez (ttx)
Changed in cinder:
milestone: none → grizzly-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in cinder:
milestone: grizzly-3 → 2013.1
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.