Bug 1823470
| Summary: | 51-hosts is flooding the logs with host list because of debug mode set -x | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | David Vallee Delisle <dvd> |
| Component: | openstack-tripleo-image-elements | Assignee: | James Slagle <jslagle> |
| Status: | CLOSED ERRATA | QA Contact: | nlevinki <nlevinki> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 13.0 (Queens) | CC: | aschultz, emacchi, mburns, mircea.vutcovici |
| Target Milestone: | --- | Keywords: | Triaged, ZStream |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | openstack-tripleo-image-elements-8.0.3-2.el7ost | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-10-28 18:23:44 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
David Vallee Delisle
2020-04-13 19:10:20 UTC
The fix is located in the following upstream commit:
commit 5ed09ac4e7fb5cebf789f2a4af04820f15d4d220
Author: David Vallee Delisle <dvd>
Date: Mon Apr 13 15:20:42 2020 -0400
Removing debug output of 51-hosts
This floods the logs for no real value added.
Change-Id: I88eb15289415ccb227365bd3ddfed024469106e2
Closes-bug: #1872528
diff --git a/elements/hosts/os-refresh-config/configure.d/51-hosts b/elements/hosts/os-refresh-config/configure.d/51-hosts
index 03b510c2..a35e8922 100755
--- a/elements/hosts/os-refresh-config/configure.d/51-hosts
+++ b/elements/hosts/os-refresh-config/configure.d/51-hosts
@@ -1,6 +1,6 @@
#!/bin/bash
-set -eux
+set -eu
set -o pipefail
write_entries() {
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 (Red Hat OpenStack Platform 13.0 director bug fix 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/RHBA-2020:4388 |