Cinder unit tests fail on virtio VMs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Undecided
|
Dirk Mueller |
Bug Description
Hi,
when using an udev with this commit:
there are no /dev/disk/by-path/ symlinks available for virtio devices, which causes tests to fail:
08:02:26 Traceback (most recent call last):
08:02:26 File "/var/lib/
08:02:26 self.connector.
08:02:26 File "/var/lib/
08:02:26 retval = f(*args, **kwargs)
08:02:26 File "/var/lib/
08:02:26 devices = self.driver.
08:02:26 File "/var/lib/
08:02:26 files = os.listdir(dir)
08:02:26 OSError: [Errno 2] No such file or directory: '/dev/disk/
Changed in cinder: | |
assignee: | nobody → Dirk Mueller (dmllr) |
status: | New → In Progress |
Changed in cinder: | |
milestone: | none → havana-2 |
status: | Fix Committed → Fix Released |
Changed in cinder: | |
milestone: | havana-2 → 2013.2 |
Reviewed: https:/ /review. openstack. org/35002 github. com/openstack/ cinder/ commit/ dec8fb779253b62 bd86b1d198ee89b 22f19ab3e1
Committed: http://
Submitter: Jenkins
Branch: master
commit dec8fb779253b62 bd86b1d198ee89b 22f19ab3e1
Author: Dirk Mueller <email address hidden>
Date: Sat Jun 29 19:28:27 2013 +0200
Skip brick_initiator test in virtual environments
/dev/ disk/by- path does not exist in certain virtual
environments. Skip the test.
Fixes LP Bug #1196464
Change-Id: Ifc5bb061db59aa a6b7c089eda5e4e b1c9eff2dbf