<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 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:"Calibri Light";
        panose-1:2 15 3 2 2 2 4 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 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;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
span.EmailStyle18
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@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">Hi all,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">I was playing some time with puppet-keystone deployments,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">and also reported one issue related to this:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><a href="https://bugs.launchpad.net/puppet-keystone/+bug/1547394">https://bugs.launchpad.net/puppet-keystone/+bug/1547394</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">but in general my observations are that keystone_service is using v3 credentials with openstack cli commands that are not compatible<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">e.g.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri Light",sans-serif;color:#333333;background:white">Error: Failed to apply catalog: Execution of '/bin/openstack service list --quiet --format csv --long' returned 2: usage: openstack service
 list [-h] [-f {csv,table}] [-c COLUMN]</span><span style="font-size:11.0pt;font-family:"Calibri Light",sans-serif;color:#333333"><br>
<span style="background:white">                              [--max-width <integer>]</span><br>
<span style="background:white">                              [--quote {all,minimal,none,nonnumeric}]</span><br>
<span style="background:white">openstack service list: error: unrecognized arguments: --long<o:p></o:p></span></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New";color:#333333;background:white"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New";color:#333333;background:white"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">It can’t be bug, because whole module will not work due to this
</span><span style="font-size:11.0pt;font-family:Wingdings">J</span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">I think I miss something important somewhere …<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">My latest manifest file is :<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><o:p> </o:p></span></p>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:.5in;margin-bottom:.0001pt;background:white">
<span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black">Exec { logoutput => 'on_failure' }    <o:p></o:p></span></p>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:.5in;margin-bottom:.0001pt;background:white;orphans: auto;widows: 1;-webkit-text-stroke-width: 0px;word-spacing:0px">
<span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black">package { 'curl': ensure => present }<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:.5in;margin-bottom:.0001pt;background:white;orphans: auto;widows: 1;-webkit-text-stroke-width: 0px;word-spacing:0px">
<span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black"> <o:p></o:p></span></p>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:.5in;margin-bottom:.0001pt;background:white;orphans: auto;widows: 1;-webkit-text-stroke-width: 0px;word-spacing:0px">
<span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black">node keystone {<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:.5in;margin-bottom:.0001pt;background:white;orphans: auto;widows: 1;-webkit-text-stroke-width: 0px;word-spacing:0px">
<span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black"> <o:p></o:p></span></p>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:.5in;margin-bottom:.0001pt;background:white;orphans: auto;widows: 1;-webkit-text-stroke-width: 0px;word-spacing:0px">
<span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black">  class { '::mysql::server': }<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:.5in;margin-bottom:.0001pt;background:white;orphans: auto;widows: 1;-webkit-text-stroke-width: 0px;word-spacing:0px">
<span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black">  class { '::keystone::db::mysql':<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:.5in;margin-bottom:.0001pt;background:white;orphans: auto;widows: 1;-webkit-text-stroke-width: 0px;word-spacing:0px">
<span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black">    password => 'keystone',<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:.5in;margin-bottom:.0001pt;background:white;orphans: auto;widows: 1;-webkit-text-stroke-width: 0px;word-spacing:0px">
<span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black">  }<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:.5in;margin-bottom:.0001pt;background:white;orphans: auto;widows: 1;-webkit-text-stroke-width: 0px;word-spacing:0px">
<span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black"> <o:p></o:p></span></p>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:.5in;margin-bottom:.0001pt;background:white;orphans: auto;widows: 1;-webkit-text-stroke-width: 0px;word-spacing:0px">
<span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black">  class { '::keystone':<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:.5in;margin-bottom:.0001pt;background:white;orphans: auto;widows: 1;-webkit-text-stroke-width: 0px;word-spacing:0px">
<span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black">    verbose             => true,<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:.5in;margin-bottom:.0001pt;background:white;orphans: auto;widows: 1;-webkit-text-stroke-width: 0px;word-spacing:0px">
<span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black">    debug               => true,<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:.5in;margin-bottom:.0001pt;background:white;orphans: auto;widows: 1;-webkit-text-stroke-width: 0px;word-spacing:0px">
<span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black">    database_connection => 'mysql://keystone:keystone@127.0.0.1/keystone',<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:.5in;margin-bottom:.0001pt;background:white;orphans: auto;widows: 1;-webkit-text-stroke-width: 0px;word-spacing:0px">
<span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black">    catalog_type        => 'sql',<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:.5in;margin-bottom:.0001pt;background:white;orphans: auto;widows: 1;-webkit-text-stroke-width: 0px;word-spacing:0px">
<span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black">    admin_token         => 'admin_token',<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:.5in;margin-bottom:.0001pt;background:white;orphans: auto;widows: 1;-webkit-text-stroke-width: 0px;word-spacing:0px">
<span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black">  }<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:.5in;margin-bottom:.0001pt;background:white;orphans: auto;widows: 1;-webkit-text-stroke-width: 0px;word-spacing:0px">
<span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black"> <o:p></o:p></span></p>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:.5in;margin-bottom:.0001pt;background:white;orphans: auto;widows: 1;-webkit-text-stroke-width: 0px;word-spacing:0px">
<span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black">  class { '::keystone::roles::admin':<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:.5in;margin-bottom:.0001pt;background:white;orphans: auto;widows: 1;-webkit-text-stroke-width: 0px;word-spacing:0px">
<span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black">    email    => 'example@abc.com',<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:.5in;margin-bottom:.0001pt;background:white;orphans: auto;widows: 1;-webkit-text-stroke-width: 0px;word-spacing:0px">
<span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black">    password => 'ChangeMe',<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:.5in;margin-bottom:.0001pt;background:white;orphans: auto;widows: 1;-webkit-text-stroke-width: 0px;word-spacing:0px">
<span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black">  }<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:.5in;margin-bottom:.0001pt;background:white;orphans: auto;widows: 1;-webkit-text-stroke-width: 0px;word-spacing:0px">
<span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black"> <o:p></o:p></span></p>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:.5in;margin-bottom:.0001pt;background:white;orphans: auto;widows: 1;-webkit-text-stroke-width: 0px;word-spacing:0px">
<span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black">  class { '::keystone::endpoint':<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:.5in;margin-bottom:.0001pt;background:white;orphans: auto;widows: 1;-webkit-text-stroke-width: 0px;word-spacing:0px">
<span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black">    public_url => "http://${::fqdn}:5000/v2.0",<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:.5in;margin-bottom:.0001pt;background:white;orphans: auto;widows: 1;-webkit-text-stroke-width: 0px;word-spacing:0px">
<span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black">    admin_url  => "http://${::fqdn}:35357/v2.0",<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:.5in;margin-bottom:.0001pt;background:white;orphans: auto;widows: 1;-webkit-text-stroke-width: 0px;word-spacing:0px">
<span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black">  }<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:.5in;margin-bottom:.0001pt;background:white;orphans: auto;widows: 1;-webkit-text-stroke-width: 0px;word-spacing:0px">
<span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black">} <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Env variables looks as follows(before service list is called with --long)<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:black">{"OS_IDENTITY_API_VERSION"=>"3", "OS_TOKEN"=>"admin_token", "OS_URL"=>"http://127.0.0.1:35357/v3"}<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:black">Debug: Executing: '/bin/openstack service list --quiet --format csv --long'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Thanks for any hint,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Michal<o:p></o:p></span></p>
</div>
<p>--------------------------------------------------------------<br>
Intel Research and Development Ireland Limited<br>
Registered in Ireland<br>
Registered Office: Collinstown Industrial Park, Leixlip, County Kildare<br>
Registered Number: 308263</p>


<p>This e-mail and any attachments may contain confidential material for the
sole use of the intended recipient(s). Any review or distribution by others is
strictly prohibited. If you are not the intended recipient, please contact the
sender and delete all copies.</p>

<p></p>
</body>
</html>