Bug 2207696
| Summary: | Corosync hosts frequently lose connection to peers on Azure VMs. | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Gerry Sommerville <gerry> |
| Component: | corosync | Assignee: | Jan Friesse <jfriesse> |
| Status: | CLOSED MIGRATED | QA Contact: | cluster-qe <cluster-qe> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 8.6 | CC: | ccaulfie, cluster-maint, fdinitto |
| Target Milestone: | rc | Keywords: | MigratedToJIRA |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-09-22 20:15:50 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Gerry Sommerville
2023-05-16 14:58:10 UTC
Hi Gerry, can you please enable debug logging in corosync and at the next event collect the logs? I have run many clusters in Azure, but none have shown those issues, even under load. If possible could you share your deployment configuration in Azure? how many nodes? region? image you used to deploy etc? Then I can try to reproduce the problem in the exact similar environment. Thanks Fabio Hey Fabio, Sorry for the delay. FYI I noticed this problem as part of a historical review of past Db2 customer cases, where connectivity is lost without any other indication of network problems. Unfortunately I do not have direct access to the clusters that have hit this issue, so I do not have details about the VMs in those clusters. In general, these clusters are two-node clusters with Azure fencing configured. I believe many of these clusters are deployed in European regions based on the customers location, but I have no conclusive diagnostics stating the exact region. For these reasons, I was looking for more general guidance/suggestions for running Pacemaker/Corosync clusters on Azure in addition to question 1 above. Changing the log level in Corosync.conf sounds doable, is there any impact/considerations to keeping debug logging on for a long period of time (months to years)? You mention you have run clusters in Azure under load without encountering any problems. Have you kept these systems running for long periods of time, such as 12-18 months? Wonder if you could provide your system details which I can then use to compare against clusters which hit this issue in the future. Also do you configure anything from the Azure side to manage VM maintenance windows? It sounds like I will end up reading more about working in Azure to debug/mitigate this issue in the future For now (I might be jumping the gun here) I suspect this pause maintenance from Azure could be the culprit. Specifically this paragraph from the following link. https://learn.microsoft.com/en-us/azure/virtual-machines/maintenance-and-updates#maintenance-that-doesnt-require-a-reboot "When VM impacting maintenance is required it will almost always be completed through a VM pause for less than 10 seconds. In rare circumstances, no more than once every 18 months for general purpose VM sizes, Azure uses a mechanism that will pause the VM for about 30 seconds. After any pause operation the VM clock is automatically synchronized upon resume." Gerry (In reply to Gerry Sommerville from comment #2) > Hey Fabio, > > Sorry for the delay. No worries. > > FYI I noticed this problem as part of a historical review of past Db2 > customer cases, where connectivity is lost without any other indication of > network problems. Unfortunately I do not have direct access to the clusters > that have hit this issue, so I do not have details about the VMs in those > clusters. In general, these clusters are two-node clusters with Azure > fencing configured. I believe many of these clusters are deployed in > European regions based on the customers location, but I have no conclusive > diagnostics stating the exact region. For these reasons, I was looking for > more general guidance/suggestions for running Pacemaker/Corosync clusters on > Azure in addition to question 1 above. I understand and if we need to do proper debugging, we will need those information. > > Changing the log level in Corosync.conf sounds doable, is there any > impact/considerations to keeping debug logging on for a long period of time > (months to years)? No issue to keep it on, worse case scenario it will use a bit more disk space for logging. > > You mention you have run clusters in Azure under load without encountering > any problems. Have you kept these systems running for long periods of time, > such as 12-18 months? No, generally I test for 24/48 hours. > Wonder if you could provide your system details which > I can then use to compare against clusters which hit this issue in the > future. I am using the latest RHEL8 or RHEL9 images, deploy clusters with 4/8 nodes, run tests and then destroy them. Usually I run on eastus-1. > Also do you configure anything from the Azure side to manage VM > maintenance windows? No I do all in-house. > It sounds like I will end up reading more about working > in Azure to debug/mitigate this issue in the future Probably :) > > For now (I might be jumping the gun here) I suspect this pause maintenance > from Azure could be the culprit. Specifically this paragraph from the > following link. > https://learn.microsoft.com/en-us/azure/virtual-machines/maintenance-and- > updates#maintenance-that-doesnt-require-a-reboot That sounds very plausible. Also any kind of disruption in their internal network can cause similar issues, tho we have no access to their logs. > > "When VM impacting maintenance is required it will almost always be > completed through a VM pause for less than 10 seconds. In rare > circumstances, no more than once every 18 months for general purpose VM > sizes, Azure uses a mechanism that will pause the VM for about 30 seconds. > After any pause operation the VM clock is automatically synchronized upon > resume." I guess the best bet would be to check their scheduled maintenance windows with the time of the event. Cheers Fabio Issue migration from Bugzilla to Jira is in process at this time. This will be the last message in Jira copied from the Bugzilla bug. This BZ has been automatically migrated to the issues.redhat.com Red Hat Issue Tracker. All future work related to this report will be managed there. Due to differences in account names between systems, some fields were not replicated. Be sure to add yourself to Jira issue's "Watchers" field to continue receiving updates and add others to the "Need Info From" field to continue requesting information. To find the migrated issue, look in the "Links" section for a direct link to the new issue location. The issue key will have an icon of 2 footprints next to it, and begin with "RHEL-" followed by an integer. You can also find this issue by visiting https://issues.redhat.com/issues/?jql= and searching the "Bugzilla Bug" field for this BZ's number, e.g. a search like: "Bugzilla Bug" = 1234567 In the event you have trouble locating or viewing this issue, you can file an issue by sending mail to rh-issues. You can also visit https://access.redhat.com/articles/7032570 for general account information. |