[openstack-dev] [tempest][glusterfs] Online Snapshot fails with GlusterFS

Bharat Kumar bharat.kobagana at redhat.com
Fri Feb 27 06:27:14 UTC 2015


Hi,

As part of tempest job " gate-tempest-dsvm-full-glusterfs 
<http://logs.openstack.org/11/159711/1/experimental/gate-tempest-dsvm-full-glusterfs/b2cb37e/>" 
run [1], the test case " test_snapshot_create_with_volume_in_use" [2] is 
failing.
This is because demo user is unable to create online snapshots, due to 
nova policy rules[3].

To avoid this issue we can modify test case, to make "demo" user as an 
admin before creating snapshot and reverting after it finishes.

Another approach is to use privileged user 
(https://review.openstack.org/#/c/156940/) to create online snapshot.

[1] 
http://logs.openstack.org/11/159711/1/experimental/gate-tempest-dsvm-full-glusterfs/b2cb37e/
[2] 
https://github.com/openstack/tempest/blob/master/tempest/api/volume/test_volumes_snapshots.py#L66
[3] https://github.com/openstack/nova/blob/master/etc/nova/policy.json#L329

-- 
Warm Regards,
Bharat Kumar Kobagana
Software Engineer
OpenStack Storage – RedHat India

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150227/8ab35bdb/attachment.html>


More information about the OpenStack-dev mailing list