<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 09/17/2013 04:30 PM, Martinez,
Castulo wrote:<br>
</div>
<blockquote
cite="mid:A358FCC87F48DE4F9CF7E36D34768F536BE53B4B@FMSMSX112.amr.corp.intel.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Webdings;
panose-1:5 3 1 2 1 5 9 6 7 3;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:9.0pt;
font-family:Consolas;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:Consolas;}
span.nd
{mso-style-name:nd;}
span.p
{mso-style-name:p;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">Hi Guys,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I found what seems to be a bug in the
tempest/scenario/manager.py module in Tempest.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">In the “credentials” classmethod definition
for the “OrchestrationScenarioTest” class (Line 637),
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="line-height:13.5pt;background:white"><span
style="font-size:9.0pt;font-family:Consolas;color:#333333"> @classmethod<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:13.5pt;background:white"><span
style="font-size:9.0pt;font-family:Consolas;color:#333333"> <b>def</b>
</span><b><span
style="font-size:9.0pt;font-family:Consolas;color:#990000">credentials</span></b><span
style="font-size:9.0pt;font-family:Consolas;color:#333333">(cls):<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:13.5pt;background:white"><span
style="font-size:9.0pt;font-family:Consolas;color:#333333"> username
<b>=</b> cls<b>.</b>config<b>.</b>identity<b>.</b>admin_username<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:13.5pt;background:white"><span
style="font-size:9.0pt;font-family:Consolas;color:#333333"> password
<b>=</b> cls<b>.</b>config<b>.</b>identity<b>.</b>admin_password<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:13.5pt;background:white"><span
style="font-size:9.0pt;font-family:Consolas;color:#333333"> tenant_name
<b>=</b> cls<b>.</b>config<b>.</b>identity<b>.</b>tenant_name<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:13.5pt;background:white"><span
style="font-size:9.0pt;font-family:Consolas;color:#333333"> <b>return</b>
username, tenant_name, password<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Looks like the following line:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="text-indent:36.0pt"><span
style="font-size:9.0pt;font-family:Consolas;color:#333333">tenant_name
<b>=</b> cls<b>.</b>config<b>.</b>identity<b>.</b>tenant_name</span><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Should be replaced by this one:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="text-indent:36.0pt"><span
style="font-size:9.0pt;font-family:Consolas;color:#333333">tenant_name
<b>=</b> cls<b>.</b>config<b>.</b>identity<b>.admin_</b>tenant_name</span><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Right now the script is trying to use the
admin username and password with the wrong tenant name (a non
admin one).<o:p></o:p></p>
<p class="MsoNormal">Should I open a bug for this? If so, can
somebody instruct me how to do this?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<br>
</div>
</blockquote>
So the same appears in OrchestrationManager.__init__ and
OfficialClientManager._get_orchestration_client.<br>
I'ts strange because I would expect tests to be failing. I have
cc'ed Steve Baker to see if he can shed light on this.<br>
<br>
And you can file a tempest bug at this page:
<a class="moz-txt-link-freetext" href="https://bugs.launchpad.net/tempest/+filebug">https://bugs.launchpad.net/tempest/+filebug</a><br>
<br>
-David<br>
</body>
</html>