GlusterFS CI for Cinder fails for encrypted volumes tests
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
devstack-plugin-glusterfs |
Fix Committed
|
Critical
|
Deepak C Shetty |
Bug Description
Here is an example:
=======
2015-07-10 06:18:58.777 | Failed 2 tests - output below:
2015-07-10 06:18:58.777 | =======
2015-07-10 06:18:58.777 |
2015-07-10 06:18:58.777 | tempest.
2015-07-10 06:18:58.777 | -------
2015-07-10 06:18:58.777 |
2015-07-10 06:18:58.777 | Captured traceback:
2015-07-10 06:18:58.777 | ~~~~~~~~~~~~~~~~~~~
2015-07-10 06:18:58.778 | Traceback (most recent call last):
2015-07-10 06:18:58.778 | File "tempest/test.py", line 126, in wrapper
2015-07-10 06:18:58.778 | return f(self, *func_args, **func_kwargs)
2015-07-10 06:18:58.778 | File "tempest/
2015-07-10 06:18:58.778 | self.attach_
2015-07-10 06:18:58.778 | File "tempest/
2015-07-10 06:18:58.778 | self.nova_
2015-07-10 06:18:58.778 | File "tempest/
2015-07-10 06:18:58.778 | self.volumes_
2015-07-10 06:18:58.778 | File "tempest/
2015-07-10 06:18:58.778 | raise exceptions.
2015-07-10 06:18:58.778 | tempest.
2015-07-10 06:18:58.779 | Details: Volume 6052619b-
2015-07-10 06:18:58.779 |
tempest.
2015-07-10 06:18:59.066 | -------
2015-07-10 06:18:59.066 |
2015-07-10 06:18:59.066 | Captured traceback:
2015-07-10 06:18:59.066 | ~~~~~~~~~~~~~~~~~~~
2015-07-10 06:18:59.066 | Traceback (most recent call last):
2015-07-10 06:18:59.066 | File "tempest/test.py", line 126, in wrapper
2015-07-10 06:18:59.067 | return f(self, *func_args, **func_kwargs)
2015-07-10 06:18:59.067 | File "tempest/
2015-07-10 06:18:59.067 | self.attach_
2015-07-10 06:18:59.067 | File "tempest/
2015-07-10 06:18:59.067 | self.nova_
2015-07-10 06:18:59.067 | File "tempest/
2015-07-10 06:18:59.067 | self.volumes_
2015-07-10 06:18:59.067 | File "tempest/
2015-07-10 06:18:59.067 | raise exceptions.
2015-07-10 06:18:59.067 | tempest.
2015-07-10 06:18:59.067 | Details: Volume ae6bb02b-
Additional Info to set some context :
TestEncryptedCi nderVolumes testcase(s) of tempest won't be supported by GlusterFS backend until nova volume driver has ability to understand and work with GlusterFS volumes. The same issue is with Ceph too. After recent changes to fix a false positive bug where this testcase was incorrectly being passed, most volume drivers will fail, unless they have support in Nova for handlign encryption for that backend. For more details:
* list email that explains the issue
* http:// lists.openstack .org/pipermail/ openstack- dev/2015- June/068117. html
* Cinder patch to enable 'encryption' for all volume drivers (if specified by admin/user)
* https:/ /review. openstack. org/#/c/ 193673/
* NOTE: GlusterFS CI job fails here and is expected as nova fails to encrypt hence attach the volume
* See http:// logs.openstack. org/73/ 193673/ 3/check/ check-tempest- dsvm-full- glusterfs- nv/1d497c8/ console. html#_2015- 06-29_08_ 25_14_612
* Nova fix to handle the case where cinder volume driver asks for encryption but Nova doesn't have support for it
* https:/ /review. openstack. org/#/c/ 193830/
* Tempest new config option to skip encrypted volume tests
* https:/ /review. openstack. org/#/c/ 193831/