<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">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">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>