[PR #4169] [MERGED] [Corollary to #4161] Redis Connection Check when Using Sentinel #12780

Closed
opened 2025-12-29 22:23:33 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/4169
Author: @dstarner
Created: 2/14/2020
Status: Merged
Merged: 2/14/2020
Merged by: @jeremystretch

Base: developHead: redis-sentinel-conn-check


📝 Commits (2)

  • 03a7f6b ammend redis conn check to acccount for sentinel
  • ec0f45e remove redis conn check from extras AppConfig

📊 Changes

1 file changed (+0 additions, -17 deletions)

View changed files

📝 netbox/extras/apps.py (+0 -17)

📄 Description

Fixes: #3985, #3984, and a bug introduced in #4161

Redis Sentinel support was adding to the settings and configuration, but the extras AppConfig was not updated to account for Sentinel when starting the application. Without this fix it shouldn't cause the application to crash, but to throw a false positive connection issue. This fixes the check to account for when sentinel is configured


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbox-community/netbox/pull/4169 **Author:** [@dstarner](https://github.com/dstarner) **Created:** 2/14/2020 **Status:** ✅ Merged **Merged:** 2/14/2020 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `redis-sentinel-conn-check` --- ### 📝 Commits (2) - [`03a7f6b`](https://github.com/netbox-community/netbox/commit/03a7f6bbda63e1fa638804376686f87b39f15d4a) ammend redis conn check to acccount for sentinel - [`ec0f45e`](https://github.com/netbox-community/netbox/commit/ec0f45e20dffde593f157b789a922aca1c9fe64a) remove redis conn check from extras AppConfig ### 📊 Changes **1 file changed** (+0 additions, -17 deletions) <details> <summary>View changed files</summary> 📝 `netbox/extras/apps.py` (+0 -17) </details> ### 📄 Description <!-- Thank you for your interest in contributing to NetBox! Please note that our contribution policy requires that a feature request or bug report be opened for approval prior to filing a pull request. This helps avoid wasting time and effort on something that we might not be able to accept. Please indicate the relevant feature request or bug report below. IF YOUR PULL REQUEST DOES NOT REFERENCE AN ACCEPTED BUG REPORT OR FEATURE REQUEST, IT WILL BE MARKED AS INVALID AND CLOSED. --> ### Fixes: #3985, #3984, and a bug introduced in #4161 <!-- Please include a summary of the proposed changes below. --> Redis Sentinel support was adding to the settings and configuration, but the `extras` AppConfig was not updated to account for Sentinel when starting the application. Without this fix **it shouldn't cause the application to crash**, but to throw a false positive connection issue. This fixes the check to account for when sentinel is configured --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 22:23:33 +01:00
adam closed this issue 2025-12-29 22:23:34 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#12780