<div dir="ltr"><div dir="ltr">On Fri, Aug 26, 2022 at 11:03 PM Lokendra Rathour <<a href="mailto:lokendrarathour@gmail.com">lokendrarathour@gmail.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(77,77,77);padding-left:1ex"><div dir="auto">Hi John,<div dir="auto">It got resolved, reason was NTP.</div><div dir="auto">The NTP time was not in sync., i noticed thay recently the NTP is not getting configured properly on the controller and xompute nodes.</div><div dir="auto">After enabling thr time sync and validation we redeployed and it worked fine.</div><div dir="auto"><br></div><div dir="auto">I have another querry w.r.t to storage integration with a tripleo.</div><div dir="auto"><br></div><div dir="auto">We have noticed that only passing the external-ceph.yaml is not doing the deployment, we also need to pass ceph parameters in container-prepare.</div><div dir="auto">We did see some containers getting downloaded as well but after the deployment is done we do not see them anywhere.</div><div dir="auto">What can be the reason for such containers if not used ?</div><div dir="auto">Any point would help me further ensure 100% offline tripleO</div></div></blockquote><div><br></div><div>You'll need the ceph container if:</div><div><br></div><div>1. If you're using NFS Ganesha with external ceph</div><div>2. If you're using ceph-ansible with external ceph</div><div><br></div><div>You should be using Wallaby however as per [1]. If you're only using RBD you shouldn't need the ceph container. This role should set up your ceph conf and key files.</div><div><br></div><div> <a href="https://github.com/openstack/tripleo-ansible/tree/stable/wallaby/tripleo_ansible/roles/tripleo_ceph_client">https://github.com/openstack/tripleo-ansible/tree/stable/wallaby/tripleo_ansible/roles/tripleo_ceph_client</a><br></div><div><br></div><div>For offline tripleo, you need overcloud containers (regardless of if the ceph container is one of them). The solution to that problem is to use the undercloud as a container registry as per [2].</div><div><br></div><div> John</div><div><br></div><div>[1] <a href="https://docs.openstack.org/project-deploy-guide/tripleo-docs/latest/features/ceph_external.html">https://docs.openstack.org/project-deploy-guide/tripleo-docs/latest/features/ceph_external.html</a></div><div>[2] <a href="https://docs.openstack.org/project-deploy-guide/tripleo-docs/latest/deployment/container_image_prepare.html">https://docs.openstack.org/project-deploy-guide/tripleo-docs/latest/deployment/container_image_prepare.html</a></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(77,77,77);padding-left:1ex"><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 4 Aug 2022, 17:07 Lokendra Rathour, <<a href="mailto:lokendrarathour@gmail.com" target="_blank">lokendrarathour@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(77,77,77);padding-left:1ex"><div dir="ltr">Hi Team,<div>I was trying to integrate External Ceph with Triple0 Wallaby, and at the end of deployment in step4 getting the below error:</div><div><br></div><div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><span style="color:rgb(191,191,191);font-family:"Segoe UI",system-ui,"Apple Color Emoji","Segoe UI Emoji",sans-serif;font-size:14px;background-color:rgb(15,23,61)">2022-08-03 18:37:21,158 p=507732 u=stack n=ansible | 2022-08-03 18:37:21.157962 | 525400fe-86b8-65d9-d100-0000000080d2 | TASK | Create containers from /var/lib/tripleo-config/container-startup-config/step_4</span><br style="box-sizing:border-box;color:rgb(191,191,191);font-family:"Segoe UI",system-ui,"Apple Color Emoji","Segoe UI Emoji",sans-serif;font-size:14px;background-color:rgb(15,23,61)"><span style="color:rgb(191,191,191);font-family:"Segoe UI",system-ui,"Apple Color Emoji","Segoe UI Emoji",sans-serif;font-size:14px;background-color:rgb(15,23,61)">2022-08-03 18:37:21,239 p=507732 u=stack n=ansible | 2022-08-03 18:37:21.238718 | 69e98219-f748-4af7-a6d0-f8f73680ce9b | INCLUDED | /usr/share/ansible/roles/tripleo_container_manage/tasks/create.yml | overcloud-controller-2</span><br style="box-sizing:border-box;color:rgb(191,191,191);font-family:"Segoe UI",system-ui,"Apple Color Emoji","Segoe UI Emoji",sans-serif;font-size:14px;background-color:rgb(15,23,61)"><span style="color:rgb(191,191,191);font-family:"Segoe UI",system-ui,"Apple Color Emoji","Segoe UI Emoji",sans-serif;font-size:14px;background-color:rgb(15,23,61)">2022-08-03 18:37:21,273 p=507732 u=stack n=ansible | 2022-08-03 18:37:21.272340 | 525400fe-86b8-65d9-d100-0000000086d9 | TASK | Create containers managed by Podman for /var/lib/tripleo-config/container-startup-config/step_4</span><br style="box-sizing:border-box;color:rgb(191,191,191);font-family:"Segoe UI",system-ui,"Apple Color Emoji","Segoe UI Emoji",sans-serif;font-size:14px;background-color:rgb(15,23,61)"><span style="color:rgb(191,191,191);font-family:"Segoe UI",system-ui,"Apple Color Emoji","Segoe UI Emoji",sans-serif;font-size:14px;background-color:rgb(15,23,61)">2022-08-03 18:37:24,532 p=507732 u=stack n=ansible | 2022-08-03 18:37:24.530812 | | WARNING | ERROR: Can't run container nova_libvirt_init_secret</span><br style="box-sizing:border-box;color:rgb(191,191,191);font-family:"Segoe UI",system-ui,"Apple Color Emoji","Segoe UI Emoji",sans-serif;font-size:14px;background-color:rgb(15,23,61)"><span style="color:rgb(191,191,191);font-family:"Segoe UI",system-ui,"Apple Color Emoji","Segoe UI Emoji",sans-serif;font-size:14px;background-color:rgb(15,23,61)">stderr:</span><br style="box-sizing:border-box;color:rgb(191,191,191);font-family:"Segoe UI",system-ui,"Apple Color Emoji","Segoe UI Emoji",sans-serif;font-size:14px;background-color:rgb(15,23,61)"><span style="color:rgb(191,191,191);font-family:"Segoe UI",system-ui,"Apple Color Emoji","Segoe UI Emoji",sans-serif;font-size:14px;background-color:rgb(15,23,61)">2022-08-03 18:37:24,533 p=507732 u=stack n=ansible | 2022-08-03 18:37:24.532811 | 525400fe-86b8-65d9-d100-0000000082ec | FATAL | Create containers managed by Podman for /var/lib/tripleo-config/container-startup-</span><span style="color:rgb(191,191,191);font-family:"Segoe UI",system-ui,"Apple Color Emoji","Segoe UI Emoji",sans-serif;font-size:14px;background-color:rgb(102,75,0)">config/step_4 | overcloud-novacompute-0 | error={"changed": false, "msg": "Failed containers: nova_libvirt_init_secret"}</span><br style="box-sizing:border-box;color:rgb(191,191,191);font-family:"Segoe UI",system-ui,"Apple Color Emoji","Segoe UI Emoji",sans-serif;font-size:14px;background-color:rgb(15,23,61)"><span style="color:rgb(191,191,191);font-family:"Segoe UI",system-ui,"Apple Color Emoji","Segoe UI Emoji",sans-serif;font-size:14px;background-color:rgb(15,23,61)">2022-08-03 18:37:44,282 p=507732 u</span><br></div></blockquote></div><div><br></div><div><b>external-ceph.conf:</b></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div>parameter_defaults:</div><div> # Enable use of RBD backend in nova-compute</div><div> NovaEnableRbdBackend: True</div><div> # Enable use of RBD backend in cinder-volume</div><div> CinderEnableRbdBackend: True</div><div> # Backend to use for cinder-backup</div><div> CinderBackupBackend: ceph</div><div> # Backend to use for glance</div><div> GlanceBackend: rbd</div><div> # Name of the Ceph pool hosting Nova ephemeral images</div><div> NovaRbdPoolName: vms</div><div> # Name of the Ceph pool hosting Cinder volumes</div><div> CinderRbdPoolName: volumes</div><div> # Name of the Ceph pool hosting Cinder backups</div><div> CinderBackupRbdPoolName: backups</div><div> # Name of the Ceph pool hosting Glance images</div><div> GlanceRbdPoolName: images</div><div> # Name of the user to authenticate with the external Ceph cluster</div><div> CephClientUserName: admin</div><div> # The cluster FSID</div><div> CephClusterFSID: 'ca3080-aaaa-4d1a-b1fd-4aaaa9a9ea4c'</div><div> # The CephX user auth key</div><div> CephClientKey: 'AQDgRjhiuLMnAxAAnYwgERERFy0lzH6ufSl70A=='</div><div> # The list of Ceph monitors</div><div> CephExternalMonHost: 'abcd:abcd:abcd::11,abcd:abcd:abcd::12,abcd:abcd:abcd::13'</div><div>~</div></blockquote><div><div><br></div><div>Have tried checking and validating the ceph client details and they seem to be correct, further digging the container log I could see something like this :</div><div><br></div><div>[root@overcloud-novacompute-0 containers]# tail -f nova_libvirt_init_secret.log<br>tail: cannot open 'nova_libvirt_init_secret.log' for reading: No such file or directory<br>tail: no files remaining<br>[root@overcloud-novacompute-0 containers]# tail -f stdouts/nova_libvirt_init_secret.log<br>2022-08-04T11:48:47.689898197+05:30 stdout F ------------------------------------------------<br>2022-08-04T11:48:47.690002011+05:30 stdout F Initializing virsh secrets for: ceph:admin<br>2022-08-04T11:48:47.690590594+05:30 stdout F Error: /etc/ceph/ceph.conf was not found<br>2022-08-04T11:48:47.690625088+05:30 stdout F Path to nova_libvirt_init_secret was ceph:admin<br>2022-08-04T16:20:29.643785538+05:30 stdout F ------------------------------------------------<br>2022-08-04T16:20:29.643785538+05:30 stdout F Initializing virsh secrets for: ceph:admin<br>2022-08-04T16:20:29.644785532+05:30 stdout F Error: /etc/ceph/ceph.conf was not found<br>2022-08-04T16:20:29.644785532+05:30 stdout F Path to nova_libvirt_init_secret was ceph:admin<br>^C<br>[root@overcloud-novacompute-0 containers]# tail -f stdouts/nova_compute_init_log.log<br></div><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">~ Lokendra<br></div><div>skype: lokendrarathour</div><div dir="ltr"><img width="200" height="41" src="https://ci3.googleusercontent.com/mail-sig/AIorK4zyd6LpJOGqagxmzUlY59eMQx0-FN0t8HtjdtGE7VLZSKIxBUz3bI7z-MBqbgDVg1-XbtvHgN_ATJ10N6bonyO-JSGTtl5s_mNSbDoXBg"><br></div><div dir="ltr"><br></div></div></div></div></div></div>
</blockquote></div>
</blockquote></div></div>