Bug 1790184
Summary: | default dns timeout value is nil | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Tomer Brisker <tbrisker> |
Component: | Settings | Assignee: | Lukas Zapletal <lzap> |
Status: | CLOSED ERRATA | QA Contact: | Omkar Khatavkar <okhatavk> |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 6.7.0 | CC: | apatel, desingh, mhulan, pcreech |
Target Milestone: | 6.7.0 | Keywords: | Triaged, Upgrades |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | foreman-1.24.1.1-1 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-04-14 13:28:29 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Tomer Brisker
2020-01-12 11:21:05 UTC
Created from redmine issue https://projects.theforeman.org/issues/27585 *** Bug 1790186 has been marked as a duplicate of this bug. *** *** Bug 1790185 has been marked as a duplicate of this bug. *** Upstream bug assigned to lzap Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/27585 has been resolved. This is caused by an upgrade of a system that has the `dns_conflict_timeout` set to the default value. in some cases, it can cause the upgraded system to have the setting `dns_timeout` set to `nil` or `[nil]`, which causes any dns lookups to fail. To verify: 1. On Sat 6.6, Make sure `dns_conflict_timeout` is set to the default value (`Setting.find_by_name('dns_conflict_timeout')[:value] == nil`) 2. Upgrade to 6.7 3. Make sure `dns_timeout` setting is set to the default value (`Setting.find_by_name('dns_timeout')[:value] == nil && Setting[:dns_timeout] == [5, 10, 15, 20]` Make sure to run Rails.cache.delete(Setting.cache_key("dns_timeout")) Rails.cache.delete(Setting.cache_key("dns__conflict_timeout")) between steps to ensure the cache is cleaned. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2020:1454 |