Bug 2248873
| Summary: | [OSP17.1] After FFU, resize doesn't work because /proc/$PID/loginuid already set to 1001. | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | ggrimaux |
| Component: | openstack-tripleo-common | Assignee: | OSP DFG:Compute <osp-dfg-compute> |
| Status: | CLOSED ERRATA | QA Contact: | OSP DFG:Compute <osp-dfg-compute> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 17.1 (Wallaby) | CC: | alifshit, bdobreli, dasmith, eglynn, fboboc, gregraka, jgrosso, jhakimra, joflynn, jschluet, kchamart, ldavidde, mariel, mburns, osp-dfg-compute, pgrist, sbauza, sgordon, slinaber, smooney, tschaibl, vromanso |
| Target Milestone: | z3 | Keywords: | Triaged |
| Target Release: | 17.1 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | openstack-tripleo-common-15.4.1-17.1.20230927010821.el9ost | Doc Type: | Bug Fix |
| Doc Text: |
With some versions of Pluggable Authentication Modules (PAM), the pam_loginuid module `/proc/self/loginuid` must be writable. This is not the case in the `sshd` container used for migrations. Migrations failed because SSH login between Compute hosts was failing. With this update, the `pam_loginuid` module has been removed from the PAM config and, as a result, SSH login between Compute hosts, and migrations, work again.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2024-05-22 20:39:38 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
ggrimaux
2023-11-09 12:41:42 UTC
this would appar to be the same issue as reported here https://bugs.launchpad.net/kolla/+bug/1651395 in 16.1 and older we used to build our image using kolla images as a base although not that spciric image https://opendev.org/openstack/kolla/commit/aae9193675ed214f7a4455708409532ea1665255 looking at the tcib defs in triplo-common i do not see a similar workaround in place my guess is in the past this was optional in the base image either due to a rpm we installed our a customisation in the lower level rhel/oepnstack images and that has change recently. we could take the same approach as openstack-ansibel and kolla and set this to optional by adding a sed command here https://github.com/openstack/tripleo-common/blob/stable/wallaby/container-images/tcib/base/os/nova-base/nova-compute/nova-compute.yaml#L9 we use the nova_compute image to run the ssh migration target container and do not have a dedicated nova-ssh contienr as kolla did. I'm not sure why this is now broken but presumabel either rheldel removed a downstream customiastion, a package update change this to required or something else we have inherited for the generic container building workflow. it looks like they recently fixed this for chrond as part of 2219765 https://github.com/openstack/tripleo-common/commit/dfd9325672f24ed4954b248815eef2776f2605c4 ill comment there but it looks like they missed fixing this in https://bugzilla.redhat.com/show_bug.cgi?id=2219765 Updated doc text: With some versions of Pluggable Authentication Modules (PAM), the pam_loginuid module must /proc/self/loginuid be writable. This is not the case in our sshd container used for migrations. Migrations failed because SSH login between Compute hosts was failing.With this update, the pam_loginuid module has been removed from the PAM config and, as a result, SSH login between Compute hosts, and migrations, work again. ===================================================== Previous doc text: Cause: With some version of PAM, the pam_loginuid module /proc/self/loginuid needs to be writable. This is not the case in our sshd container used for migrations. Consequence: Migrations would fail because SSH login between compute host was failing. Fix: Remove the pam_loginuid module from the PAM config. Result: SSH login between compute hosts, and migrations, work again. 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 17.1.3 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/RHBA-2024:2741 The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days |