Thanks Bharat for starting this thread I would like to invite suggestions/opinions from tempest folks on whats the right way to get this to work ?
1) Use priviledge user in cinder.conf --or -- 2) Modify tempest volume snapshot_in_use testcase to bump the user to admin, run the test, revert back to demo before leaving the testcase thanx, deepak On Fri, Feb 27, 2015 at 11:57 AM, Bharat Kumar <bharat.kobag...@redhat.com> wrote: > 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 , the test case " test_snapshot_create_with_volume_in_use"  is > failing. > This is because demo user is unable to create online snapshots, due to > nova policy rules. > > 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. > >  > http://logs.openstack.org/11/159711/1/experimental/gate-tempest-dsvm-full-glusterfs/b2cb37e/ >  > https://github.com/openstack/tempest/blob/master/tempest/api/volume/test_volumes_snapshots.py#L66 >  > 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-requ...@lists.openstack.org?subject:unsubscribe > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > >
__________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev