<div dir="ltr"><div dir="ltr">Hi Yatin,<div><br></div><div>Thank you for the confirmation! I re-enabled the pacemaker and haproxy roles and I have been since digging into why HA has been failing and I am seeing the following:</div><div><br></div><div>1. pacemaker.service won't start due to Corosync not running.</div><div>2. Corosync seems to be failing to start due to not having the /etc/corosync/corosync.conf file as it does not exist. </div><div>3. The pcsd log file shows the following errors:</div><div>---</div><div>Config files sync started<br>Config files sync skipped, this host does not seem to be in a cluster of at least 2 nodes<br></div><div>---<br></div><div>This is what originally led me to believe that it wouldn't work without a proper HA environment with 3 nodes.</div><div><br></div><div>The overcloud deployment itself simply times out at "Wait for puppet host configuration to finish". I saw that step_1 seems to be where things are failing (due to pacemaker), and when running it manually, I am seeing the following messages:</div><div><br></div><div>---</div><div>Debug: Executing: '/bin/systemctl is-enabled -- corosync'<br>Debug: Executing: '/bin/systemctl is-enabled -- pacemaker'<br>Debug: Executing: '/bin/systemctl is-active -- pcsd'<br>Debug: Executing: '/bin/systemctl is-enabled -- pcsd'<br>Debug: Exec[check-for-local-authentication](provider=posix): Executing check '/sbin/pcs status pcsd controller 2>&1 | grep 'Unable to authenticate''<br>Debug: Executing: '/sbin/pcs status pcsd controller 2>&1 | grep 'Unable to authenticate''<br>Debug: /Stage[main]/Pacemaker::Corosync/Exec[check-for-local-authentication]: '/bin/echo 'local pcsd auth failed, triggering a reauthentication'' won't be executed because of failed check 'onlyif'<br>Debug: /Stage[main]/Pacemaker::Corosync/Exec[reauthenticate-across-all-nodes]: '/sbin/pcs host auth <a href="http://controller.cloud.hirstgroup.net">controller.cloud.hirstgroup.net</a> -u hacluster -p oaJOCgGDxRfJ1dLK' won't be executed because of failed check 'refreshonly'<br>Debug: /Stage[main]/Pacemaker::Corosync/Exec[auth-successful-across-all-nodes]: '/sbin/pcs host auth <a href="http://controller.cloud.hirstgroup.net">controller.cloud.hirstgroup.net</a> -u hacluster -p oaJOCgGDxRfJ1dLK' won't be executed because of failed check 'refreshonly'<br>Debug: Exec[wait-for-settle](provider=posix): Executing check '/sbin/pcs status | grep -q 'partition with quorum' > /dev/null 2>&1'<br>Debug: Executing: '/sbin/pcs status | grep -q 'partition with quorum' > /dev/null 2>&1'<br>Debug: /Stage[main]/Pacemaker::Corosync/Exec[wait-for-settle]/unless: Error: error running crm_mon, is pacemaker running?<br>Debug: /Stage[main]/Pacemaker::Corosync/Exec[wait-for-settle]/unless:   Could not connect to the CIB: Transport endpoint is not connected<br>Debug: /Stage[main]/Pacemaker::Corosync/Exec[wait-for-settle]/unless:   crm_mon: Error: cluster is not available on this node<br>Debug: /Stage[main]/Pacemaker::Corosync/Exec[wait-for-settle]/returns: Exec try 1/360<br>Debug: Exec[wait-for-settle](provider=posix): Executing '/sbin/pcs status | grep -q 'partition with quorum' > /dev/null 2>&1'<br>Debug: Executing: '/sbin/pcs status | grep -q 'partition with quorum' > /dev/null 2>&1'<br>Debug: /Stage[main]/Pacemaker::Corosync/Exec[wait-for-settle]/returns: Sleeping for 10.0 seconds between tries<br>Debug: /Stage[main]/Pacemaker::Corosync/Exec[wait-for-settle]/returns: Exec try 2/360<br>Debug: Exec[wait-for-settle](provider=posix): Executing '/sbin/pcs status | grep -q 'partition with quorum' > /dev/null 2>&1'<br>Debug: Executing: '/sbin/pcs status | grep -q 'partition with quorum' > /dev/null 2>&1'<br>Debug: /Stage[main]/Pacemaker::Corosync/Exec[wait-for-settle]/returns: Sleeping for 10.0 seconds between tries<br></div><div>---</div><div><br></div><div>How does the corosync.conf file get created? Is it related to the pcsd error saying that config sync can't proceed due to the cluster not having a minimum of two members?</div><div><br></div><div>Thanks,<br>James H</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 28 Dec 2020 at 11:26, YATIN KAREL <<a href="mailto:yatinkarel@gmail.com">yatinkarel@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"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hi James,</div></div><div><br></div><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Dec 27, 2020 at 4:04 PM James Hirst <<a href="mailto:jdhirst12@gmail.com" target="_blank">jdhirst12@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 All,<div><br></div><div>I am attempting to set up a single controller overcloud with tripleo Victoria. I keep running into issues where pcsd is attempting to be started in puppet step 1 on the controller and it fails. I attempted to solve this by simply removing the pacemaker service from my roles_data.yaml file, but then I ran into other errors requiring that the pacemaker service be enabled.</div><div><br></div></div></blockquote><div><div>HA Deployment is enabled by default since Ussuri release[1] with [2]. So pacemaker will be deployed by default whether you set up 1 or more controller nodes since Ussuri. Without pacemaker deployment is possible but would need more changes(apart from removing pacemaker from roles_data.yaml file), like adjusting resource_registry to use non pacemaker resources. HA with 1 Controller works fine as we have green jobs[3][4] running with both 1 controller/3 controllers, so would recommend to look why pcsd is failing for you and proceed with HA. But if you still want to go without pacemaker then can try adjusting resource-registry to enable/disable pacemaker resources<br></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>I have ControllerCount set to 1, which according to the docs is all I need to do to tell tripleo that I'm not using HA.</div><div><br></div></div></blockquote><div>Docs might be outdated if it specifies just setting ControllerCount to 1 is enough to deploy without a pacemaker, you can report a bug or send a patch to fix that with the docs link you using.<br></div><div><br></div><div><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></div><div>Thanks,</div><div>James H</div></div>
_______________________________________________<br>
users mailing list<br>
<a href="mailto:users@lists.rdoproject.org" target="_blank">users@lists.rdoproject.org</a><br>
<a href="http://lists.rdoproject.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.rdoproject.org/mailman/listinfo/users</a><br>
<br>
To unsubscribe: <a href="mailto:users-unsubscribe@lists.rdoproject.org" target="_blank">users-unsubscribe@lists.rdoproject.org</a><br>
</blockquote></div></div><div><br></div><div><div><br></div><div>[1] <a href="https://docs.openstack.org/releasenotes/tripleo-heat-templates/ussuri.html#relnotes-12-3-0-stable-ussuri-other-notes" target="_blank">https://docs.openstack.org/releasenotes/tripleo-heat-templates/ussuri.html#relnotes-12-3-0-stable-ussuri-other-notes</a></div><div>[2] <a href="https://review.opendev.org/c/openstack/tripleo-heat-templates/+/359060" target="_blank">https://review.opendev.org/c/openstack/tripleo-heat-templates/+/359060</a></div><div>[3] <a href="https://logserver.rdoproject.org/openstack-periodic-integration-stable1/opendev.org/openstack/tripleo-ci/master/periodic-tripleo-ci-centos-8-ovb-1ctlr_1comp-featureset002-victoria/0bccbf6/logs/undercloud/home/zuul/overcloud_deploy.log.txt.gz" target="_blank">https://logserver.rdoproject.org/openstack-periodic-integration-stable1/opendev.org/openstack/tripleo-ci/master/periodic-tripleo-ci-centos-8-ovb-1ctlr_1comp-featureset002-victoria/0bccbf6/logs/undercloud/home/zuul/overcloud_deploy.log.txt.gz</a></div><div>[4] <a href="https://logserver.rdoproject.org/openstack-periodic-integration-stable1/opendev.org/openstack/tripleo-ci/master/periodic-tripleo-ci-centos-8-ovb-3ctlr_1comp-featureset001-victoria/a5dd4bc/logs/undercloud/home/zuul/overcloud_deploy.log.txt.gz" target="_blank">https://logserver.rdoproject.org/openstack-periodic-integration-stable1/opendev.org/openstack/tripleo-ci/master/periodic-tripleo-ci-centos-8-ovb-3ctlr_1comp-featureset001-victoria/a5dd4bc/logs/undercloud/home/zuul/overcloud_deploy.log.txt.gz</a></div><div><br></div><br></div><div>Thanks and regards<br></div><div><div dir="ltr"><div dir="ltr">Yatin Karel</div></div></div></div></div></div></div>
</blockquote></div></div>