Skip to content

Commit

Permalink
known issue: ghe-repl-promote when the primary is down (#53098)
Browse files Browse the repository at this point in the history
Co-authored-by: Vanessa <[email protected]>
  • Loading branch information
tyliec and vgrl authored Nov 14, 2024
1 parent 3a5b701 commit d419bba
Show file tree
Hide file tree
Showing 14 changed files with 63 additions and 2 deletions.
4 changes: 4 additions & 0 deletions data/release-notes/enterprise-server/3-13/0-rc1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,10 @@ sections:
When enabling log forwarding, specific service logs, including babeld, are duplicated. For more information, see "[AUTOTITLE](/admin/monitoring-activity-in-your-enterprise/exploring-user-activity-in-your-enterprise/log-forwarding#enabling-log-forwarding)."
- |
{% data reusables.release-notes.2024-06-possible-frontend-5-minute-outage-during-hotpatch-upgrade %} [Updated: 2024-06-17]
- |
{% data reusables.release-notes.2024-11-ghe-repl-promote-primary-down %}
[Updated: 2024-11-13]
deprecations:
# https://github.com/github/releases/issues/2732
Expand Down
6 changes: 5 additions & 1 deletion data/release-notes/enterprise-server/3-13/0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,11 @@ sections:
Following an upgrade, Elasticsearch search migrations are sometimes incorrectly reported as failing in the audit log, even though the migrations completed successfully. [Updated: 2024-08-02]
- |
Images embedded in wiki pages may stop rendering shortly after being published. [Updated: 2024-10-16]
- |
{% data reusables.release-notes.2024-11-ghe-repl-promote-primary-down %}
[Updated: 2024-11-13]
deprecations:
# https://github.com/github/releases/issues/2732
- |
Expand Down
4 changes: 4 additions & 0 deletions data/release-notes/enterprise-server/3-13/2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,3 +171,7 @@ sections:
Following an upgrade, Elasticsearch search migrations are sometimes incorrectly reported as failing in the audit log, even though the migrations completed successfully. [Updated: 2024-08-02]
- |
Images embedded in wiki pages may stop rendering shortly after being published. [Updated: 2024-10-16]
- |
{% data reusables.release-notes.2024-11-ghe-repl-promote-primary-down %}
[Updated: 2024-11-13]
5 changes: 5 additions & 0 deletions data/release-notes/enterprise-server/3-13/3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,11 @@ sections:
{% data reusables.release-notes.2024-08-resolvconf-wont-start %}
[Updated: 2024-08-26]
- |
{% data reusables.release-notes.2024-11-ghe-repl-promote-primary-down %}
[Updated: 2024-11-13]
errata:
- |
These release notes previously indicated as a known issue that on GitHub Enterprise Server 3.13.3 when log forwarding is enabled, some forwarded log entries may be duplicated.
Expand Down
5 changes: 5 additions & 0 deletions data/release-notes/enterprise-server/3-13/4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,5 +76,10 @@ sections:
Services may respond with a `503` status due to an out of date `haproxy` configuration. This can usually be resolved with a `ghe-config-apply` run.
- |
For customers using Secret Scanning, internal jobs were created and not worked that could contribute to performance issues.
- |
{% data reusables.release-notes.2024-11-ghe-repl-promote-primary-down %}
[Updated: 2024-11-13]
errata:
- 'The "[Known issues](/admin/release-notes#3.13.4-known-issues)" section previously indicated that `Instance setup in AWS with IMDSv2 enforced fails if no public IP is present` is still an issue. The issue is resolved and is documented in the "[Bug fixes](/admin/release-notes#3.13.4-bugs)" section. [Updated: 2024-09-30]'
4 changes: 4 additions & 0 deletions data/release-notes/enterprise-server/3-13/5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,7 @@ sections:
When restoring from a backup snapshot, a large number of `mapper_parsing_exception` errors may be displayed.
- |
Services may respond with a `503` status due to an out of date `haproxy` configuration. This can usually be resolved with a `ghe-config-apply` run.
- |
{% data reusables.release-notes.2024-11-ghe-repl-promote-primary-down %}
[Updated: 2024-11-13]
4 changes: 4 additions & 0 deletions data/release-notes/enterprise-server/3-13/6.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,7 @@ sections:
Services may respond with a `503` status due to an out of date `haproxy` configuration. This can usually be resolved with a `ghe-config-apply` run.
- |
Customers doing feature version upgrade to 3.13.6 may experience issues with database migrations due to data issues during database conversions. [Added: 2024-11-08]
- |
{% data reusables.release-notes.2024-11-ghe-repl-promote-primary-down %}
[Updated: 2024-11-13]
4 changes: 4 additions & 0 deletions data/release-notes/enterprise-server/3-14/0-rc1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,10 @@ sections:
In the header bar displayed to site administrators, some icons are not available.
- |
When restoring from a backup snapshot, a large number of `mapper_parsing_exception` errors may be displayed.
- |
{% data reusables.release-notes.2024-11-ghe-repl-promote-primary-down %}
[Updated: 2024-11-13]
deprecations:
- |
Expand Down
4 changes: 4 additions & 0 deletions data/release-notes/enterprise-server/3-14/0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,10 @@ sections:
Following an upgrade, Elasticsearch search migrations are sometimes incorrectly reported as failing in the audit log, even though the migrations completed successfully. [Updated: 2024-09-27]
- |
Images embedded in wiki pages may stop rendering shortly after being published. [Updated: 2024-10-16]
- |
{% data reusables.release-notes.2024-11-ghe-repl-promote-primary-down %}
[Updated: 2024-11-13]
deprecations:
- |
Expand Down
4 changes: 4 additions & 0 deletions data/release-notes/enterprise-server/3-14/1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,7 @@ sections:
Services may respond with a `503` status due to an out of date `haproxy` configuration. This can usually be resolved with a `ghe-config-apply` run.
- |
Images embedded in wiki pages may stop rendering shortly after being published. [Updated: 2024-10-16]
- |
{% data reusables.release-notes.2024-11-ghe-repl-promote-primary-down %}
[Updated: 2024-11-13]
4 changes: 4 additions & 0 deletions data/release-notes/enterprise-server/3-14/2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,7 @@ sections:
Services may respond with a `503` status due to an out of date `haproxy` configuration. This can usually be resolved with a `ghe-config-apply` run.
- |
Images embedded in wiki pages may stop rendering shortly after being published. [Updated: 2024-10-16]
- |
{% data reusables.release-notes.2024-11-ghe-repl-promote-primary-down %}
[Updated: 2024-11-13]
6 changes: 5 additions & 1 deletion data/release-notes/enterprise-server/3-14/3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ sections:
Packages have been updated to the latest security version.
- |
**HIGH**: An attacker could bypass SAML single sign-on (SSO) authentication with the optional encrypted assertions feature, allowing unauthorized provisioning of users and access to the instance, by exploiting an improper verification of cryptographic signatures vulnerability in GitHub Enterprise Server. This is a follow up fix for [CVE-2024-9487](https://www.cve.org/cverecord?id=CVE-2024-9487) to further harden the encrypted assertions feature against this type of attack. Please note that encrypted assertions are not enabled by default. Instances not utilizing SAML SSO, or utilizing SAML SSO authentication without encrypted assertions, are not impacted. Additionally, an attacker would require direct network access as well as a signed SAML response or metadata document to exploit this vulnerability.
- |
- |
**HIGH**: An attacker with Enterprise Administrator access to the GitHub Enterprise Server instance could escalate privileges to SSH root access. This is achieved by exploiting the pre-receive hook environment to bypass symlink checks in the `ghe-firejail` path and execute malicious scripts. GitHub has requested CVE ID [CVE-2024-10007](https://www.cve.org/cverecord?id=CVE-2024-10007) for this vulnerability, which was reported via the [GitHub Bug Bounty program](https://bounty.github.com/). [Updated: 2024-11-07]
bugs:
- |
Expand Down Expand Up @@ -76,3 +76,7 @@ sections:
Services may respond with a `503` status due to an out of date `haproxy` configuration. This can usually be resolved with a `ghe-config-apply` run.
- |
Customers doing feature version upgrade to 3.14.3 may experience issues with database migrations due to data issues during database conversions. [Added: 2024-11-08]
- |
{% data reusables.release-notes.2024-11-ghe-repl-promote-primary-down %}
[Updated: 2024-11-13]
3 changes: 3 additions & 0 deletions data/release-notes/enterprise-server/3-15/0-rc1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,9 @@ sections:
Services may respond with a `503` status due to an out of date `haproxy` configuration. This can usually be resolved with a `ghe-config-apply` run.
- |
Customers doing feature version upgrade to 3.14.3 may experience issues with database migrations due to data issues during database conversions.
- |
{% data reusables.release-notes.2024-11-ghe-repl-promote-primary-down %}
[Updated: 2024-11-13]
closing_down:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
When operating in a high availability configuration, running `ghe-repl-promote` on a replica node may fail if the original primary cannot be reached by the replica node. This is because the `ghe-repl-promote` script attempts to decommission all Elasticsearch nodes other than the promoted node, however these requests are made to the original primary node which is no longer reachable.
The error message will be similar to:

```shell
Maintenance mode has been enabled for active replica <REPLICA_HOSTNAME>
{"message": "No server is currently available to service your request. Sorry about that. Please try resubmitting your request and contact your local GitHub Enterprise site administrator if the problem persists."}
jq: error (at :3): Cannot index string with string "node"
```

0 comments on commit d419bba

Please sign in to comment.