<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
As part of tempest job "
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<a
href="http://logs.openstack.org/11/159711/1/experimental/gate-tempest-dsvm-full-glusterfs/b2cb37e/"
style="text-decoration: none; color: rgb(6, 84, 172); font-family:
sans-serif; font-size: small; font-style: normal; font-variant:
normal; font-weight: normal; letter-spacing: normal; line-height:
normal; orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255);">gate-tempest-dsvm-full-glusterfs</a>"
run [1], the test case "
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<span style="color: rgb(121, 93, 163); font-family: Consolas,
'Liberation Mono', Menlo, Courier, monospace; font-size: 12px;
font-style: normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: 16.7999992370605px; orphans:
auto; text-align: start; text-indent: 0px; text-transform: none;
white-space: pre; widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px; display: inline !important; float:
none; background-color: rgb(255, 255, 255);">test_snapshot_create_with_volume_in_use"</span>
[2] is failing.<br>
This is because demo user is unable to create online snapshots, due
to nova policy rules[3].<br>
<br>
To avoid this issue we can modify test case, to make "demo" user as
an admin before creating snapshot and reverting after it finishes.<br>
<br>
Another approach is to use privileged user
(<a class="moz-txt-link-freetext" href="https://review.openstack.org/#/c/156940/">https://review.openstack.org/#/c/156940/</a>) to create online
snapshot.<br>
<br>
[1]
<a class="moz-txt-link-freetext" href="http://logs.openstack.org/11/159711/1/experimental/gate-tempest-dsvm-full-glusterfs/b2cb37e/">http://logs.openstack.org/11/159711/1/experimental/gate-tempest-dsvm-full-glusterfs/b2cb37e/</a><br>
[2]
<a class="moz-txt-link-freetext" href="https://github.com/openstack/tempest/blob/master/tempest/api/volume/test_volumes_snapshots.py#L66">https://github.com/openstack/tempest/blob/master/tempest/api/volume/test_volumes_snapshots.py#L66</a><br>
[3]
<a class="moz-txt-link-freetext" href="https://github.com/openstack/nova/blob/master/etc/nova/policy.json#L329">https://github.com/openstack/nova/blob/master/etc/nova/policy.json#L329</a><br>
<pre class="moz-signature" cols="72">--
Warm Regards,
Bharat Kumar Kobagana
Software Engineer
OpenStack Storage – RedHat India
</pre>
</body>
</html>