<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style>
<!--
@font-face
        {font-family:Calibri}
@font-face
        {font-family:Tahoma}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif"}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif"}
span.EmailStyle17
        {font-family:"Calibri","sans-serif";
        color:windowtext}
span.BalloonTextChar
        {font-family:"Tahoma","sans-serif"}
.MsoChpDefault
        {font-family:"Calibri","sans-serif"}
@page WordSection1
        {margin:1.0in 1.0in 1.0in 1.0in}
div.WordSection1
        {}
-->
</style>
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hi everyone,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I’m forwarding my own email previously posted on the QA list.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I would like to discuss about the cleanup() process used right after a stress test run in Tempest.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">For what I see now by using it and by reading the code, the cleanup() seems a bit rough since it is using an “admin_manager” in order to get all kind of test resources actually available : servers, key pairs, volumes, .etc…</p>
<p class="MsoNormal">More precisely, when it comes to clean servers, it is searching for servers on all tenants. I find this behavior a little rough since it will blow all objects on the target OpenStack, even object unrelated to the stress tests that just
 ran.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Actually before reading the cleanup() I had a problem when one of my stress test erased all the servers and volumes on another tenant, which impaired other people working on our OpenStack.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I can imagine that for some scenarios, using an admin user to deeply clean an OpenStack is required, but I believe that most of the time the cleanup() process should focus only on the tenant used during the stress test and leave the other
 tenants alone.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Am I doing something wrong ? Is there a way to restrain the cleanup() process ?</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">If no parameters or configuration allows me to do so, should I improve the cleanup() code in order to allow it to remove only the test resources created for the test?</p>
<p class="MsoNormal">I do not wish to make this kind of code if the OpenStack community believe that the present behavior is totally intended and should not be modified.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Best Regards, </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span lang="FR">Julien LELOUP</span></p>
<p class="MsoNormal"><span lang="FR">julien.leloup@3ds.com</span></p>
</div>
<p style="font-size:9pt; margin:0px 0px 0px 35.4pt; color:#9d9d9d; font-style:italic; font-family:Arial,Helvetica,sans-serif">
This email and any attachments are intended solely for the use of the individual or entity to whom it is addressed and may be confidential and/or privileged.</p>
<p style="font-size:9pt; margin:0px 0px 0px 35.4pt; color:#9d9d9d; font-style:italic; font-family:Arial,Helvetica,sans-serif">
If you are not one of the named recipients or have received this email in error, </p>
<p style="font-size:9pt; margin:0px 0px 0px 35.4pt; color:#9d9d9d; font-style:italic; font-family:Arial,Helvetica,sans-serif">
(i) you should not read, disclose, or copy it,</p>
<p style="font-size:9pt; margin:0px 0px 0px 35.4pt; color:#9d9d9d; font-style:italic; font-family:Arial,Helvetica,sans-serif">
(ii) please notify sender of your receipt by reply email and delete this email and all attachments,</p>
<p style="font-size:9pt; margin:0px 0px 0px 35.4pt; color:#9d9d9d; font-style:italic; font-family:Arial,Helvetica,sans-serif">
(iii) Dassault Systemes does not accept or assume any liability or responsibility for any use of or reliance on this email.</p>
<p style="font-style:italic; margin:0px 0px 0px 35.4pt; font-family:Arial,Helvetica,sans-serif; color:#9d9d9d; font-size:9pt">
</p>
<p style="font-size:9pt; margin:0px 0px 0px 35.4pt; color:#9d9d9d; font-style:italic; font-family:Arial,Helvetica,sans-serif">
For other languages, go to http://www.3ds.com/terms/email-disclaimer </p>
</body>
</html>