<html 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=utf-8">
<meta name="Title" content="">
<meta name="Keywords" content="">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Courier New";
        panose-1:2 7 3 9 2 2 5 2 4 4;}
@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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
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:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Courier;}
span.gmail-p
        {mso-style-name:gmail-p;}
span.gmail-n
        {mso-style-name:gmail-n;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:Calibri;
        color:windowtext;}
span.msoIns
        {mso-style-type:export-only;
        mso-style-name:"";
        text-decoration:underline;
        color:teal;}
.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>
</head>
<body bgcolor="white" lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">Hi Marios,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">Thanks for your reply.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">Referred example mentioned at
</span><span style="font-size:11.0pt;font-family:Calibri;color:black"><a href="https://docs.openstack.org/developer/tripleo-docs/advanced_deployment/extra_config.html">https://docs.openstack.org/developer/tripleo-docs/advanced_deployment/extra_config.html</a>
 , it is failing with error mentioned at </span><span style="font-size:11.0pt;font-family:Calibri"><a href="http://paste.openstack.org/show/609644/">http://paste.openstack.org/show/609644/</a></span><span style="font-size:11.0pt;font-family:Calibri;color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">Dnyaneshwar<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><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-family:Calibri;color:black">From: </span>
</b><span style="font-family:Calibri;color:black">Marios Andreou <mandreou@redhat.com><br>
<b>Reply-To: </b>"OpenStack Development Mailing List (not for usage questions)" <openstack-dev@lists.openstack.org><br>
<b>Date: </b>Tuesday, May 16, 2017 at 11:59 AM<br>
<b>To: </b>"OpenStack Development Mailing List (not for usage questions)" <openstack-dev@lists.openstack.org><br>
<b>Subject: </b>Re: [openstack-dev] [tripleo] Issue while applying customs configuration to overcloud.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On Tue, May 16, 2017 at 7:33 AM, Dnyaneshwar Pawar <<a href="mailto:Dnyaneshwar.Pawar@veritas.com" target="_blank">Dnyaneshwar.Pawar@veritas.com</a>> wrote:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<p class="MsoNormal" style="margin-bottom:12.0pt">Hi TripleO team,<br>
<br>
I am trying to apply custom configuration to an existing overcloud. (using openstack overcloud deploy command)<br>
Though there is no error, the configuration is in not applied to overcloud.<br>
Am I missing anything here?<br>
<a href="http://paste.openstack.org/show/609619/" target="_blank">http://paste.openstack.org/show/609619/</a><br>
<br>
<o:p></o:p></p>
</blockquote>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<pre><span style="font-family:Courier;color:black">[stack@h-uc test]$ cat tripleo_ocata.yaml<o:p></o:p></span></pre>
<pre><span style="font-family:Courier;color:black">resource_registry:<o:p></o:p></span></pre>
<pre><span style="font-family:Courier;color:black">  OS::TripleO::ControllerServer: /home/stack/test/heat3_ocata.yaml<o:p></o:p></span></pre>
<pre><span style="font-family:Courier;color:black"><o:p> </o:p></span></pre>
<pre><span style="font-family:Courier;color:black">^^^ this bit won't work for you. The 'normal' ControllerServer points to 'OS::TripleO::Server' and then 'OS::Nova::Server' <a href="https://github.com/openstack/tripleo-heat-templates/blob/66b39c2c21b6629222c0d212642156437119e977/overcloud-resource-registry-puppet.j2.yaml#L44-L47">https://github.com/openstack/tripleo-heat-templates/blob/66b39c2c21b6629222c0d212642156437119e977/overcloud-resource-registry-puppet.j2.yaml#L44-L47</a> <o:p></o:p></span></pre>
<pre><span style="font-family:Courier;color:black">You're overriding it with something that defines a 'normal' SoftwareConfig (afaics it is 'correct' heat template syntax fwiw) but I don't think it is going to run on any servers && surprised you don't get an error for the properties being passed in here <a href="https://github.com/openstack/tripleo-heat-templates/blob/ef82c3a010cf6161f1da1020698dbd38257f5a12/puppet/controller-role.yaml#L168-L175">https://github.com/openstack/tripleo-heat-templates/blob/ef82c3a010cf6161f1da1020698dbd38257f5a12/puppet/controller-role.yaml#L168-L175</a> <o:p></o:p></span></pre>
<pre><span style="font-family:Courier;color:black">[stack@h-uc test]$ openstack overcloud deploy --templates -e  tripleo_ocata.yaml 2>&1 |tee dny4.log<o:p></o:p></span></pre>
<pre><span style="font-family:Courier;color:black"><o:p> </o:p></span></pre>
<pre><span style="font-family:Courier;color:black">^^^ here be aware that you should re-specify all the environment files you used on the original deploy in addition to your customization environments at the end (tripleo_ocata.yaml). Otherwise you'll be getting all the defaults specified by the /usr/share/openstack-tripleo-heat-templates<o:p></o:p></span></pre>
<pre><span style="font-family:Courier;color:black"><o:p> </o:p></span></pre>
<pre><span style="font-family:Courier;color:black">Have you see this <a href="https://docs.openstack.org/developer/tripleo-docs/advanced_deployment/extra_config.html">https://docs.openstack.org/developer/tripleo-docs/advanced_deployment/extra_config.html</a> there are some examples there that do what you want.<o:p></o:p></span></pre>
<pre><span style="font-family:Courier;color:black">Instead of overriding the ControllerServer try "OS<span class="gmail-p">::</span><span class="gmail-n">TripleO</span><span class="gmail-p">::</span><span class="gmail-n">NodeUserData" for example</span><o:p></o:p></span></pre>
<pre><span style="font-family:Courier;color:black"><o:p> </o:p></span></pre>
<pre><span style="font-family:Courier;color:black"><br>hope it helps<o:p></o:p></span></pre>
<pre><span style="font-family:Courier;color:black"><o:p> </o:p></span></pre>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<p class="MsoNormal">Thanks and Regards,<br>
Dnyaneshwar<br>
<br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">
OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</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>
</blockquote>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>