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

Duncan Thomas duncan.thomas at gmail.com
Mon Mar 2 11:54:57 UTC 2015

I'm assuming your mean the following lines in nova policy.js:

These 2 calls are not intended to be made directly via an end user, but via
cinder, as a privileged user.

Please do not patch tempest, since this is a real bug it is highlighting.
The fix is to get cinder to use a privileged user account to make this
call. Please raise a cinder bug.



As part of tempest job " gate-tempest-dsvm-full-glusterfs
run [1], the test case " test_snapshot_create_with_volume_in_use" [2] is
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.

[3] https://github.com/openstack/nova/blob/master/etc/nova/policy.json#L329

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

OpenStack Development Mailing List (not for usage questions)
Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150302/7247fce7/attachment.html>

More information about the OpenStack-dev mailing list