<div dir="ltr"><div>The puppy implementation executes the following command to get the interface information.</div><div>  /bin/os-net-config -i <interface name></div><div>I'd recommend you check the command output in <b>all overcloud nodes </b>.</div><div><br></div><div>If you need to use different interfaces for different roles then you need to define the parameter</div><div>as role specific one, defined under <role>Parameters.<br></div><div><b></b></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, May 11, 2022 at 4:26 PM Anirudh Gupta <<a href="mailto:anyrude10@gmail.com">anyrude10@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi Takashi,</div><div><br></div><div>Thanks for clarifying my issues regarding the support of PTP in Wallaby Release.</div><div><br></div><div>In Train, I have also tried passing the exact interface name and took 2 runs with and without quotes like below:</div><div><br></div><div><b>PtpInterface: eno1<br></b></div><div><b>PtpInterface: 'eno1'<br></b></div><div><br></div><div>But in both the cases, the issue observed was similar</div><div><br></div><div>2022-05-11 10:33:20.189107 | 5254001f-9952-934d-e901-0000000030be |      FATAL | Wait for puppet host configuration to finish | overcloud-controller-2 | error={"ansible_job_id": "526310775819.36650", "attempts": 3, "changed": true, "cmd": "set -o pipefail; puppet apply  --modulepath=/etc/puppet/modules:/opt/stack/puppet-modules:/usr/share/openstack-puppet/modules --detailed-exitcodes --summarize --color=false   /var/lib/tripleo-config/puppet_step_config.pp 2>&1 | logger -s -t puppet-user", "delta": "0:00:04.289208", "end": "2022-05-11 10:33:08.195052", "failed_when_result": true, "finished": 1, "msg": "non-zero return code", "rc": 1, "start": "2022-05-11 10:33:03.905844", "stderr": "<13>May 11 10:33:03 puppet-user: Warning: The function 'hiera' is deprecated in favor of using 'lookup'. See <a href="https://puppet.com/docs/puppet/5.5/deprecated_language.html%5C%5Cn" target="_blank">https://puppet.com/docs/puppet/5.5/deprecated_language.html\\n</a>   (file & line not available)\n<13>May 11 10:33:03 puppet-user: Warning: /etc/puppet/hiera.yaml: Use of 'hiera.yaml' version 3 is deprecated. It should be converted to version 5\n<13>May 11 10:33:03 puppet-user:    (file: /etc/puppet/hiera.yaml)\n<13>May 11 10:33:03 puppet-user: Warning: Undefined variable '::deploy_config_name'; \\n   (file & line not available)\n<13>May 11 10:33:03 puppet-user: Warning: ModuleLoader: module 'tripleo' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules\\n   (file & line not available)\n<13>May 11 10:33:03 puppet-user: Error: Evaluation Error: A substring operation does not accept a String as a character index. Expected an Integer (file: /etc/puppet/modules/tripleo/manifests/profile/base/time/ptp.pp, line: 41, column: 46) on node overcloud-controller-2.localdomain", "stderr_lines": ["<13>May 11 10:33:03 puppet-user: Warning: The function 'hiera' is deprecated in favor of using 'lookup'. See <a href="https://puppet.com/docs/puppet/5.5/deprecated_language.html%5C%5Cn" target="_blank">https://puppet.com/docs/puppet/5.5/deprecated_language.html\\n</a>   (file & line not available)", "<13>May 11 10:33:03 puppet-user: Warning: /etc/puppet/hiera.yaml: Use of 'hiera.yaml' version 3 is deprecated. It should be converted to version 5", "<13>May 11 10:33:03 puppet-user:    (file: /etc/puppet/hiera.yaml)", "<13>May 11 10:33:03 puppet-user: Warning: Undefined variable '::deploy_config_name'; \\n   (file & line not available)", "<13>May 11 10:33:03 puppet-user: Warning: ModuleLoader: module 'tripleo' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules\\n   (file & line not available)", "<13>May 11 10:33:03 puppet-user: <b>Error: Evaluation Error: A substring operation does not accept a String as a character index. Expected an Integer (file: /etc/puppet/modules/tripleo/manifests/profile/base/time/ptp.pp, line: 41, column: 46) on node overcloud-controller-2.localdomain"], "stdout": "", "stdout_lines": []}</b><br>2022-05-11 10:33:20.190263 | 5254001f-9952-934d-e901-0000000030be |     TIMING | Wait for puppet host configuration to finish | overcloud-controller-2 | 0:12:41.268734 | 7.01s<br></div><div><br></div><div>I'll be highly grateful if you could further extend your support to resolve the issue.</div><div><br></div><div>Regards</div><div>Anirudh Gupta</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, May 10, 2022 at 9:15 PM Takashi Kajinami <<a href="mailto:tkajinam@redhat.com" target="_blank">tkajinam@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, May 11, 2022 at 12:19 AM Anirudh Gupta <<a href="mailto:anyrude10@gmail.com" target="_blank">anyrude10@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi Takashi,</div><div><br></div><div>Thanks for your suggestion.</div><div><br></div><div>I downloaded the updated Train Images and they had the ptp.pp file available on the overcloud and undercloud machines</div><div><br></div><div>[root@overcloud-controller-1 /]# find . -name "ptp.pp"<br><b>./usr/share/openstack-puppet/modules/tripleo/manifests/profile/base/time/ptp.pp</b><br></div><div><br></div><div>With this, I re-executed the deployment and got the below error on the machines</div><div><br></div><div>2022-05-10 20:05:53.133423 | 5254001f-9952-0364-51a1-0000000030ce |      FATAL | Wait for puppet host configuration to finish | overcloud-controller-1 | error={"ansible_job_id": "321785316135.36755", "attempts": 3, "changed": true, "cmd": "set -o pipefail; puppet apply  --modulepath=/etc/puppet/modules:/opt/stack/puppet-modules:/usr/share/openstack-puppet/modules --detailed-exitcodes --summarize --color=false   /var/lib/tripleo-config/puppet_step_config.pp 2>&1 | logger -s -t puppet-user", "delta": "0:00:04.279435", "end": "2022-05-10 20:05:41.355328", "failed_when_result": true, "finished": 1, "msg": "non-zero return code", "rc": 1, "start": "2022-05-10 20:05:37.075893", "stderr": "<13>May 10 20:05:37 puppet-user: Warning: The function 'hiera' is deprecated in favor of using 'lookup'. See <a href="https://puppet.com/docs/puppet/5.5/deprecated_language.html%5C%5Cn" target="_blank">https://puppet.com/docs/puppet/5.5/deprecated_language.html\\n</a>   (file & line not available)\n<13>May 10 20:05:37 puppet-user: Warning: /etc/puppet/hiera.yaml: Use of 'hiera.yaml' version 3 is deprecated. It should be converted to version 5\n<13>May 10 20:05:37 puppet-user:    (file: /etc/puppet/hiera.yaml)\n<13>May 10 20:05:37 puppet-user: Warning: Undefined variable '::deploy_config_name'; \\n   (file & line not available)\n<13>May 10 20:05:37 puppet-user: Warning: ModuleLoader: module 'tripleo' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules\\n   (file & line not available)\n<13>May 10 20:05:37 puppet-user: Error: Evaluation Error: A substring operation does not accept a String as a character index. Expected an Integer (file: /etc/puppet/modules/tripleo/manifests/profile/base/time/ptp.pp, line: 41, column: 46) on node overcloud-controller-1.localdomain", "stderr_lines": ["<13>May 10 20:05:37 puppet-user: Warning: The function 'hiera' is deprecated in favor of using 'lookup'. See <a href="https://puppet.com/docs/puppet/5.5/deprecated_language.html%5C%5Cn" target="_blank">https://puppet.com/docs/puppet/5.5/deprecated_language.html\\n</a>   (file & line not available)", "<13>May 10 20:05:37 puppet-user: Warning: /etc/puppet/hiera.yaml: Use of 'hiera.yaml' version 3 is deprecated. It should be converted to version 5", "<13>May 10 20:05:37 puppet-user:    (file: /etc/puppet/hiera.yaml)", "<13>May 10 20:05:37 puppet-user: Warning: Undefined variable '::deploy_config_name'; \\n   (file & line not available)", "<13>May 10 20:05:37 puppet-user: Warning: ModuleLoader: module 'tripleo' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules\\n   (file & line not available)", "<13>May 10 20:05:37 puppet-user: <b>Error: Evaluation Error: A substring operation does not accept a String as a character index. Expected an Integer (file: /etc/puppet/modules/tripleo/manifests/profile/base/time/ptp.pp, line: 41, column: 46) </b>on node overcloud-controller-1.localdomain"], "stdout": "", "stdout_lines": []}<br></div><div><br></div><div>The file <b>/etc/puppet/modules/tripleo/manifests/profile/base/time/ptp.pp, line: 41, column: 46 </b>had the following code:</div><div> 34 class tripleo::profile::base::time::ptp (<br>     35   $ptp4l_interface                = 'eth0',<br>     36   $ptp4l_conf_slaveonly           = 1,<br>     37   $ptp4l_conf_network_transport   = 'UDPv4',<br>     38 ) {<br>     39<br>     40   $interface_mapping = generate('/bin/os-net-config', '-i', $ptp4l_interface)<br>     41   <b>$ptp4l_interface_name = $interface_mapping[$ptp4l_interface]</b><br></div><div><br></div><div><b>"/usr/share/openstack-tripleo-heat-templates/environments/services/ptp.yaml"</b> file is as below:</div><div><br></div><div>resource_registry:<br>  # FIXME(bogdando): switch it, once it is containerized<br>  OS::TripleO::Services::Ptp: ../../deployment/time/ptp-baremetal-puppet.yaml<br>  OS::TripleO::Services::Timesync: OS::TripleO::Services::Ptp<br><br>parameter_defaults:<br>  # PTP hardware interface name<br>  <b>PtpInterface: 'nic1'</b></div><div><br>  # Configure PTP clock in slave mode<br>  PtpSlaveMode: 1<br><br>  # Configure PTP message transport protocol<br>  PtpMessageTransport: 'UDPv4'<br></div><div><br></div><div>I have also tried modifying the entry as below:</div><div> <b>PtpInterface: 'nic1' #</b>(i.e. without quotes), but the error remains the same.</div><div><br></div><div>Queries:</div><div><ol><li>Any pointers to resolve this?</li></ol></div></div></blockquote><div>I'm not familiar with ptp but you'd need to use the actual interface name</div><div>if you are not using the alias name.<br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><ol><li>You were mentioning something about the support of PTP not there in the wallaby release. Can you please confirm?</li></ol></div></div></blockquote><div>IIUC PTP is still supported even in master. What we removed is the implementation using Puppet</div><div>which was replaced by ansible.</div><div><br></div><div>The warning regarding OS::TripleO::Services::Ptp was added when we decided to merge</div><div>all time sync services to the single service resource which is OS::TripleO::Services::Timesync[1].</div><div>It's related to how resources are defined in Heat and doesn't affect configuration support itself.<br></div><div><br></div><div>[1] <a href="https://review.opendev.org/c/openstack/tripleo-heat-templates/+/586679" target="_blank">https://review.opendev.org/c/openstack/tripleo-heat-templates/+/586679</a></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>It would be a great help if you could extend a little more support to resolve the issues.</div><div><br></div><div>Regards</div><div>Anirudh Gupta</div><div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, May 10, 2022 at 6:07 PM Anirudh Gupta <<a href="mailto:anyrude10@gmail.com" target="_blank">anyrude10@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>I'll check that well. </div><div>By the way, I downloaded the images from the below link</div><div><br></div><div><a href="https://images.rdoproject.org/centos8/train/rdo_trunk/current-tripleo/" target="_blank">https://images.rdoproject.org/centos8/train/rdo_trunk/current-tripleo/</a><br></div><div><br></div><div>They seem to be updated yesterday, I'll download and try the deployment with the latest images.</div><div><br></div><div>Also are you pointing that the support for PTP would not be there in Wallaby Release?</div><div><br></div><div>Regards</div><div>Anirudh Gupta</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, May 10, 2022 at 5:44 PM Takashi Kajinami <<a href="mailto:tkajinam@redhat.com" target="_blank">tkajinam@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, May 10, 2022 at 8:57 PM Anirudh Gupta <<a href="mailto:anyrude10@gmail.com" target="_blank">anyrude10@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi Takashi</div><div><br></div><div>I have checked this in undercloud only. </div><div>I don't find any such file in overcloud. Could this be a concern?</div></div></blockquote><div><br></div><div><div dir="ltr"><div>The manifest should exist in overcloud nodes and the missing file is the exact cause</div><div>of that puppet failure during deployment.</div><div><br></div>Please check your overcloud images used to install overcloud nodes and ensure that</div><div dir="ltr">you're using the right one. You might be using the image for a different release.</div><div dir="ltr">We removed the manifest file during the Wallaby cycle.<br></div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div></div><div><br></div><div>Regards</div><div>Anirudh Gupta</div><div><br></div><div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, May 10, 2022 at 5:08 PM Takashi Kajinami <<a href="mailto:tkajinam@redhat.com" target="_blank">tkajinam@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, May 10, 2022 at 8:33 PM Takashi Kajinami <<a href="mailto:tkajinam@redhat.com" target="_blank">tkajinam@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, May 10, 2022 at 6:58 PM Anirudh Gupta <<a href="mailto:anyrude10@gmail.com" target="_blank">anyrude10@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi Takashi,</div><div><br></div><div>Thanks for your reply.</div><div><br></div><div>I have checked on my machine and the file "ptp.pp" do exist at path "<b>./usr/share/openstack-puppet/modules/tripleo/manifests/profile/base/time/ptp.pp</b>"</div></div></blockquote><div>Did you check this in your undercloud or overcloud ?</div><div>During the deployment all configuration files are generated using puppet modules</div><div>installed in overcloud nodes, so you should check this in overcloud nodes.<br></div><div><br></div><div>Also, the deprecation warning is not implemented<br></div></div></div></blockquote><div>Ignore this incomplete line. I was looking for the implementation which shows the warning</div><div>but I found it in tripleoclient and it looks reasonable according to what we have in</div><div>environments/services/ptp.yaml .</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div></div><div>I tried putting OS::TripleO::Services::Ptp in my roles_data "<b>ServicesDefault" for controller and compute </b>before rendering the templates, but still I am getting the same issue on all the 3 Controllers and 1 Compute</div></div></blockquote><div><br></div><div>IIUC you don't need this because OS::TripleO::Services::Timesync becomes an alias</div><div>to the Ptp service resource when you use the ptp environment file.</div><div> <a href="https://github.com/openstack/tripleo-heat-templates/blob/stable/train/environments/services/ptp.yaml#L5-L6" target="_blank">https://github.com/openstack/tripleo-heat-templates/blob/stable/train/environments/services/ptp.yaml#L5-L6</a></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><br></div><div><div><b>Error: Evaluation Error: Error while evaluating a Function Call, Could not find class ::tripleo::profile::base::time::ptp for overcloud-controller-0.localdomain (file: /var/lib/tripleo-config/puppet_step_config.pp, line: 41, column: 1) on node</b> overcloud-controller-0.localdomain"], "stdout": "", "stdout_lines": []}<br></div><div><br></div><div>Can you suggest any workarounds or any pointers to look further in order to resolve this issue? <br></div></div></div></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><br></div><div>Regards</div><div>Anirudh Gupta</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, May 10, 2022 at 2:18 PM Takashi Kajinami <<a href="mailto:tkajinam@redhat.com" target="_blank">tkajinam@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>I'm not familiar with PTP, but the error you pasted indicates that the required puppet manifest does not exist in your overcloud node/image.</div><div> <a href="https://github.com/openstack/puppet-tripleo/blob/stable/train/manifests/profile/base/time/ptp.pp" target="_blank">https://github.com/openstack/puppet-tripleo/blob/stable/train/manifests/profile/base/time/ptp.pp</a></div><div><br></div><div>This should not happen and the class should exist as long as you have puppet-tripleo from stable/train installed.</div><div><br></div><div>I'd recommend you check installed tripleo/puppet packages and ensure everything is in the consistent release.</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, May 10, 2022 at 5:28 AM Anirudh Gupta <<a href="mailto:anyrude10@gmail.com" target="_blank">anyrude10@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div>Hi All</div><div dir="auto"><br></div><div dir="auto">Any update on this?</div><div dir="auto"><br></div><div dir="auto">Regards</div><div dir="auto">Anirudh Gupta<br><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">On Mon, 9 May, 2022, 17:21 Anirudh Gupta, <<a href="mailto:anyrude10@gmail.com" target="_blank">anyrude10@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">Hi Team,<br><div><br></div><div>Is there any Support for PTP in Openstack TripleO ?</div><div><br></div><div>When I was executing the Overcloud deployment script, passing the PTP yaml, it gave the following option at the starting</div><div><br></div><div><b>service OS::TripleO::Services::Ptp is enabled in /usr/share/openstack-tripleo-heat-templates/environments/services/ptp.yaml. Deprecated in favour of OS::TripleO::Services::Timesync<br>Do you still wish to continue with deployment [y/N]</b><br></div><div><b><br></b></div><div>even if passing Y, it starts executing for sometime and the gives the following error</div><div><br></div><div><div><b>Error: Evaluation Error: Error while evaluating a Function Call, Could not find class ::tripleo::profile::base::time::ptp for overcloud-controller-0.localdomain (file: /var/lib/tripleo-config/puppet_step_config.pp, line: 41, column: 1) on node</b> overcloud-controller-0.localdomain"], "stdout": "", "stdout_lines": []}<br></div><div><br></div><div><br></div><div>Can someone suggest some pointers in order to resolve this issue and move forward?</div></div><div><br></div><div>Regards</div><div>Anirudh Gupta</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, May 6, 2022 at 3:50 PM Anirudh Gupta <<a href="mailto:anyrude10@gmail.com" rel="noreferrer" target="_blank">anyrude10@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Team,<div><br></div><div>I have installed Undercloud with Openstack Train Release successfully.</div><div>I need to enable PTP service while deploying the overcloud for which I have included the service in my deployment</div><div><br></div><div>openstack overcloud deploy --templates \<br>    -n /home/stack/templates/network_data.yaml \<br>    -r /home/stack/templates/roles_data.yaml \<br>    -e /home/stack/templates/environment.yaml \<br>    -e /home/stack/templates/environments/network-isolation.yaml \<br>    -e /home/stack/templates/environments/network-environment.yaml \<br>    -e /usr/share/openstack-tripleo-heat-templates/environments/services/ironic-conductor.yaml \<br>    -e /usr/share/openstack-tripleo-heat-templates/environments/services/ironic-inspector.yaml \<br>    -e /usr/share/openstack-tripleo-heat-templates/environments/services/ironic-overcloud.yaml \<br>   <b> -e /usr/share/openstack-tripleo-heat-templates/environments/services/ptp.yaml \</b><br>    -e /home/stack/templates/ironic-config.yaml \<br>    -e /usr/share/openstack-tripleo-heat-templates/environments/docker-ha.yaml \<br>    -e /usr/share/openstack-tripleo-heat-templates/environments/podman.yaml \<br>    -e /home/stack/containers-prepare-parameter.yaml<br></div><div><br></div><div>But it gives the following error</div><div><br></div><div>2022-05-06 11:30:10.707655 | 5254001f-9952-7fed-4a6d-000000002fde | FATAL | Wait for puppet host configuration to finish | overcloud-controller-0 | error={"ansible_job_id": "5188783868.37685", "attempts": 3, "changed": true, "cmd": "set -o pipefail; puppet apply --modulepath=/etc/puppet/modules:/opt/stack/puppet-modules:/usr/share/openstack-puppet/modules --detailed-exitcodes --summarize --color=false /var/lib/tripleo-config/puppet_step_config.pp 2>&1 | logger -s -t puppet-user", "delta": "0:00:04.440700", "end": "2022-05-06 11:30:12.685508", "failed_when_result": true, "finished": 1, "msg": "non-zero return code", "rc": 1, "start": "2022-05-06 11:30:08.244808", "stderr": "<13>May 6 11:30:08 puppet-user: Warning: The function 'hiera' is deprecated in favor of using 'lookup'. See <a href="https://puppet.com/docs/puppet/6.14/deprecated_language.html%5Cn" rel="noreferrer" target="_blank">https://puppet.com/docs/puppet/6.14/deprecated_language.html\n</a><13>May 6 11:30:08 puppet-user: (file & line not available)\n<13>May 6 11:30:08 puppet-user: Warning: /etc/puppet/hiera.yaml: Use of 'hiera.yaml' version 3 is deprecated. It should be converted to version 5\n<13>May 6 11:30:08 puppet-user: (file: /etc/puppet/hiera.yaml)\n<13>May 6 11:30:08 puppet-user: Warning: Undefined variable '::deploy_config_name'; \n<13>May 6 11:30:08 puppet-user: (file & line not available)\n<13>May 6 11:30:08 puppet-user: Warning: Unknown variable: '::deployment_type'. (file: /etc/puppet/modules/tripleo/manifests/profile/base/database/mysql/client.pp, line: 89, column: 8)\n<13>May 6 11:30:08 puppet-user: error: Could not connect to controller: Connection refused\n<13>May 6 11:30:08 puppet-user: Error: Evaluation Error: Error while evaluating a Function Call, Could not find class ::tripleo::profile::base::time::ptp for overcloud-controller-0.localdomain (file: /var/lib/tripleo-config/puppet_step_config.pp, line: 41, column: 1) on node overcloud-controller-0.localdomain", "stderr_lines": ["<13>May 6 11:30:08 puppet-user: Warning: The function 'hiera' is deprecated in favor of using 'lookup'. See <a href="https://puppet.com/docs/puppet/6.14/deprecated_language.html" rel="noreferrer" target="_blank">https://puppet.com/docs/puppet/6.14/deprecated_language.html</a>", "<13>May 6 11:30:08 puppet-user: (file & line not available)", "<13>May 6 11:30:08 puppet-user: Warning: /etc/puppet/hiera.yaml: Use of 'hiera.yaml' version 3 is deprecated. It should be converted to version 5", "<13>May 6 11:30:08 puppet-user: (file: /etc/puppet/hiera.yaml)", "<13>May 6 11:30:08 puppet-user: Warning: Undefined variable '::deploy_config_name'; ", "<13>May 6 11:30:08 puppet-user: (file & line not available)", "<13>May 6 11:30:08 puppet-user: Warning: Unknown variable: '::deployment_type'. (file: /etc/puppet/modules/tripleo/manifests/profile/base/database/mysql/client.pp, line: 89, column: 8)", "<13>May 6 11:30:08 puppet-user: error: Could not connect to controller: Connection refused", "<13>May 6 11:30:08 puppet-user: <b>Error: Evaluation Error: Error while evaluating a Function Call, Could not find class ::tripleo::profile::base::time::ptp for overcloud-controller-0.localdomain (file: /var/lib/tripleo-config/puppet_step_config.pp, line: 41, column: 1) on node</b> overcloud-controller-0.localdomain"], "stdout": "", "stdout_lines": []}<br></div><div><br></div><div><br></div><div>Can someone please help in resolving this issue?</div><div><br></div><div>Regards</div><div>Anirudh Gupta</div><div><br></div></div>
</blockquote></div></div>
</blockquote></div></div></div>
</blockquote></div>
</blockquote></div></div>
</blockquote></div></div>
</blockquote></div></div>
</blockquote></div></div>
</blockquote></div></div>
</blockquote></div></div>
</blockquote></div></div>
</blockquote></div></div>
</blockquote></div></div>
</blockquote></div>