<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","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;}
span.EmailStyle17
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
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]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">No, I’ve not done the patch yet (forthcoming and depending on further comment).<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">The “gentle reminder” is from the previous version and in the
<a href="https://bugs.launchpad.net/keystone/+bug/1166182">bug report</a>:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Courier New";color:#333333;background:white"># Please set these, they are ONLY SAMPLE PASSWORDS!</span><span style="font-size:7.5pt;font-family:"Courier New";color:#333333"><br>
<span style="background:white">ADMIN_PASSWORD=${ADMIN_PASSWORD:-secrete}</span><br>
<span style="background:white">if [[ "$ADMIN_PASSWORD" == "secrete" ]]; then</span><br>
<span style="background:white"> echo "The default admin password has been detected. Please consider"</span><br>
<span style="background:white"> echo "setting an actual password in environment variable ADMIN_PASSWORD"</span><br>
<span style="background:white">fi</span><br>
<span style="background:white">SERVICE_PASSWORD=${SERVICE_PASSWORD:-$ADMIN_PASSWORD}</span><br>
<span style="background:white">if [[ "$SERVICE_PASSWORD" == "$ADMIN_PASSWORD" ]]; then</span><br>
<span style="background:white"> echo "The default service password has been detected. Please consider"</span><br>
<span style="background:white"> echo "setting an actual password in environment variable SERVICE_PASSWORD"</span><br>
<span style="background:white">fi</span></span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Dolph Mathews [mailto:dolph.mathews@gmail.com]
<br>
<b>Sent:</b> Monday, April 22, 2013 10:11 AM<br>
<b>To:</b> OpenStack Development Mailing List<br>
<b>Subject:</b> Re: [openstack-dev] Keystone sample_data.sh bug 1166182 fix request for comments<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">Sounds good, is there a patch up somewhere? If there is, it's not linked to launchpad.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal">Is this not the "gentle suggestion" you are referring to? <a href="https://github.com/openstack/keystone/blob/master/tools/sample_data.sh#L66">https://github.com/openstack/keystone/blob/master/tools/sample_data.sh#L66</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><br clear="all">
<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal">-Dolph<o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On Sun, Apr 21, 2013 at 10:09 AM, Hyerle, Robert <<a href="mailto:hyerle@hp.com" target="_blank">hyerle@hp.com</a>> wrote:<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Arial","sans-serif"">I’ve taken
</span><a href="https://bugs.launchpad.net/keystone/+bug/1166182" target="_blank">https://bugs.launchpad.net/keystone/+bug/1166182</a>,
<span style="font-family:"Arial","sans-serif"">and the proposed fix in the bug report seems quite reasonable: returns
<a href="https://github.com/openstack/keystone/blob/master/tools/sample_data.sh" target="_blank">
script</a> to functionality from previous versions (and before application of </span>
<a href="https://bugs.launchpad.net/keystone/+bug/1073291" target="_blank">https://bugs.launchpad.net/keystone/+bug/1073291</a><span style="font-family:"Arial","sans-serif"">) allowing environment variables to override the admin password used as an example
in the <a href="http://docs.openstack.org/trunk/openstack-compute/install/yum/content/setting-up-tenants-users-and-roles-manually.html" target="_blank">
install and deploy docs</a>. The fix will not break the work done for 1073291, bringing the script into compliance with the installation docs.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Arial","sans-serif""> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Arial","sans-serif"">Previous versions of the script provided a gentle suggestion that the default password should be changed in a production environment
and the fix to 1073291 removed this warning along with removing the override feature. I propose adding this warning back, but welcome other suggestions.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Arial","sans-serif""> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Arial","sans-serif"">-- robert/ranger6</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</body>
</html>