<p dir="ltr">Hi,</p>
<p dir="ltr">To run a multi-region scenario you need to have both regions deployed before a tempest run is started, so you would need a extra configuration items.  But I'm not convinced that would be in scope for tempest - there's no single way to deploy multiple regions.</p>
<p dir="ltr">To run the same scenario tests against multiple regions (or clouds) you could have multiple tempest folders (use "tempest init" to create them) or you could have a single folder and point tempest to a different configuration file, depending on whether you wish to keep your testr db separated per region or not. In any case you'll need multiple config files.</p>
<p dir="ltr">You can use a template config and change only the bits that you need using tools like crudini or jinja2 templates (if you use ansible).</p>
<p dir="ltr">Andrea</p>
<br><div class="gmail_quote"><div dir="ltr">On Fri, 25 Mar 2016 5:18 pm Danny Choi (dannchoi), <<a href="mailto:dannchoi@cisco.com">dannchoi@cisco.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="word-wrap:break-word;color:rgb(0,0,0);font-size:14px;font-family:Calibri,sans-serif">
<div>Hi,</div>
<span>
<div style="word-wrap:break-word;color:rgb(0,0,0);font-size:14px;font-family:Calibri,sans-serif">
<div><br>
</div>
<div>There are variables defined in the tempest.conf.  How does tempest read them and use them in the tests?</div>
<div><br>
</div>
<div>I’m trying to write scenario tests in multiple regions.</div>
<div><br>
</div>
<div>Under tempest.conf:</div>
<div><br>
</div>
<div>
<p style="margin:0px;font-size:11px;font-family:Menlo">[identity]</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">Region = RegionOne</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"><br>
</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">[compute]</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">image_ref = b6f85abb-c582-40e4-ad18-5a01431a6bfd</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"></p>
<p style="margin:0px;font-size:11px;font-family:Menlo">image_ref_alt = b6f85abb-c582-40e4-ad18-5a01431a6bfd</p>
</div>
<div><br>
</div>
<div>
<p style="margin:0px;font-size:11px;font-family:Menlo">[network]</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">public_network_id = 51efe3a5-390f-4a40-a480-8aa41d704c69</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"><br>
</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">I’m thinking to change these variables within the test on the fly to run test within that particular region</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">(region name, image id, public network id).</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"><br>
</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">My question is what tempest variables uses these conf variables?</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"><br>
</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">Is this the right approach or there is a better way to do it?</p>
<p style="margin:0px;font-size:11px;font-family:Menlo"><br>
</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">Thanks,</p>
<p style="margin:0px;font-size:11px;font-family:Menlo">Danny</p>
</div>
</div>
</span>
</div>

__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</blockquote></div>