Bug 1956235
Summary: | rabbitmq-server-3.7.28 has broken chown commands for the erlang cookie | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Luca Miccini <lmiccini> |
Component: | rabbitmq-server | Assignee: | Peter Lemenkov <plemenko> |
Status: | CLOSED ERRATA | QA Contact: | pkomarov |
Severity: | urgent | Docs Contact: | |
Priority: | urgent | ||
Version: | 13.0 (Queens) | CC: | ahyder, apevec, jeckersb, lhh, mburns, michele, plemenko, psedlak, sathlang |
Target Milestone: | z16 | Keywords: | Triaged, ZStream |
Target Release: | 13.0 (Queens) | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | rabbitmq-server-3.7.28-2.el7ost | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-06-16 10:59:50 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
Luca Miccini
2021-05-03 09:12:43 UTC
We have found this issue in the latest osp 13 compose, but this also affects 16.2 composes where we have rabbitmq-server-3.7.28-1.el8ost.1.x86_64. The problem is that the variables have not expanded correctly in some commands: grep -ir '@RABBITMQ_USER@:@RABBITMQ_GROUP@' /etc/ /usr /usr/sbin/rabbitmqctl: chown @RABBITMQ_USER@:@RABBITMQ_GROUP@ "$_erlang_cookie" /usr/sbin/rabbitmq-plugins: chown @RABBITMQ_USER@:@RABBITMQ_GROUP@ "$_erlang_cookie" /usr/sbin/rabbitmq-server: chown @RABBITMQ_USER@:@RABBITMQ_GROUP@ "$_erlang_cookie" rabbitmq-server-3.7.23-2.el8ost.x86_64 is not affectd and we have correct commands there: chown rabbitmq:rabbitmq "$_erlang_cookie" *** Bug 1956269 has been marked as a duplicate of this bug. *** Specifically the problem is that we seem to have dropped http://pkgs.devel.redhat.com/cgit/rpms/rabbitmq-server/commit/?h=rhos-16.1-rhel-8-trunk&id=260d939d9ed557bd6bef54aee289c99be2e2c9ee in 3.7.28 and we had it in 3.7.23 Note also that: This affects also 16.2 where we have the .el8 build of rabbitmqserver. The reason it only fails on osp 13 UC install is due to another (sigh) bug in the undercloud installation, namely that the cookie set by tripleoclient ends up in a hiera variable (rabbit_cookie) that never gets applied nor used. If we did not have that bug, it's unlikely we would have seen this issue for a longer time. Let me look. Should be easy to fix. (In reply to Peter Lemenkov from comment #4) > Let me look. Should be easy to fix. We fixed it by reincluding those patches mentioned at c#3. We test it and we should be good now The scratch build we used is here https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=1055853 So the BZ has been fixed via rabbitmq-server-3.7.28-2.el7ost (we tested both UC/OC deployment on osp13). The fixed in used in the commit for this build http://pkgs.devel.redhat.com/cgit/rpms/rabbitmq-server/commit/?h=rhos-13.0-rhel-7&id=7054b6f5331377f38c734d30969405cb261b596e was the original rebase bug since that was really the root cause and had all the acks already. 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 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-2021:2385 |