Bug 1876153
| Summary: | Using split-stack leads to large number of duplicates in /etc/hosts for undercloud.ctlplane over time | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Kellen Gattis <kgattis> |
| Component: | python-tripleoclient | Assignee: | Emilien Macchi <emacchi> |
| Status: | CLOSED ERRATA | QA Contact: | David Rosenfeld <drosenfe> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 16.1 (Train) | CC: | cjeanner, emacchi, gregraka, hbrock, jamsmith, jslagle, lmiccini, mbultel, mburns, michele |
| Target Milestone: | --- | Keywords: | Triaged, ZStream |
| Target Release: | --- | Flags: | kgattis:
needinfo-
|
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | python-tripleoclient-12.3.2-1.20200815213404.29686a6.el8ost | Doc Type: | If docs needed, set a value |
| Doc Text: |
The entry in `/etc/hosts` for the undercloud duplicates anytime the Compute stack is updated on the undercloud and overcloud nodes. This occurs for split-stack deployments where the Controllers and Compute nodes are divided into multiple stacks.
+
Other indications of this problem are the following:
+
** mysql reporting errors about packets exceeding their maximum size.
** The Orchestration service (heat) warning that templates are exceeding their maximum size.
** The Workflow service (mistral) warning that fields are exceeding their maximum size.
As a workaround, in the file generated by running the `openstack overcloud export` command that is included in the Compute stack, under `ExtraHostFileEntries`, remove the erroneous entry for the undercloud.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-10-28 15:39:36 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
Kellen Gattis
2020-09-05 21:00:05 UTC
Does applying https://review.opendev.org/#/c/740543/ to your undercloud fix it in your case? (In reply to Michele Baldessari from comment #1) > Does applying https://review.opendev.org/#/c/740543/ to your undercloud fix > it in your case? I applied the patch and it definitely helped to stop undercloud.ctlplane from multiplying in /etc/hosts - thanks for the recommendation. The only oddity after applying the patch was that I ended up with two identical lines in /etc/hosts for the undercloud entry on both the undercloud and the overcloud compute stack nodes after I ran the compute stack creation/update. I never saw more than two undercloud lines appear regardless of how many stack updates I ran and I didn't notice any misbehaving operation as a result, so pretty harmless overall. I removed the undercloud entry from the central export file's ExtraHostFileEntries (same procedure as the workaround mentioned in the bugzilla's description of the problem) and the double entry went away when I performed a subsequent stack update. 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 16.1 bug fix and enhancement 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/RHEA-2020:4284 |