Bug 1786326

Summary: chown: invalid user: ‘@RABBITMQ_USER@:@RABBITMQ_GROUP@’
Product: Red Hat OpenStack Reporter: Mauro Oddi <moddi>
Component: rabbitmq-serverAssignee: Peter Lemenkov <plemenko>
Status: CLOSED ERRATA QA Contact: pkomarov
Severity: high Docs Contact:
Priority: high    
Version: 15.0 (Stein)CC: apevec, dustymabe, extras-qa, jeckersb, lemenkov, lhh, lmiccini, michele, plemenko, rjones, s
Target Milestone: z2Keywords: Triaged, ZStream
Target Release: 15.0 (Stein)   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: rabbitmq-server-3.7.23-2.el8ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1755152 Environment:
Last Closed: 2020-02-19 16:03:09 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:
Bug Depends On: 1755152    
Bug Blocks:    

Description Mauro Oddi 2019-12-24 12:38:20 UTC
+++ This bug was initially created as a clone of Bug #1755152 +++

Description of problem:

Issue in rabbitmq-plugins in rabbitmq-server-3.7.16-1.fc30.x86_64


```
[vagrant@vanilla-f30 ~]$ sudo rabbitmq-plugins enable rabbitmq_management
Enabling plugins on node rabbit@vanilla-f30:
rabbitmq_management
The following plugins have been configured:
  rabbitmq_management
  rabbitmq_management_agent
  rabbitmq_web_dispatch
Applying plugin configuration to rabbit@vanilla-f30...
The following plugins have been enabled:
  rabbitmq_management
  rabbitmq_management_agent
  rabbitmq_web_dispatch

set 3 plugins.
Offline change; changes will take effect at broker restart.
chown: invalid user: ‘@RABBITMQ_USER@:@RABBITMQ_GROUP@’

```

It looks like this upstream commit to the specfile [1] wasn't properly synced downstream into [2] because there is no sed command to replace `@RABBITMQ_USER@:@RABBITMQ_GROUP@` in our version of the spec file. 

[1] https://github.com/rabbitmq/rabbitmq-server-release/commit/7d43d3538bbafb12b7083ea2f75ac472d24167ad
[2] https://src.fedoraproject.org/rpms/rabbitmq-server/blob/master/f/rabbitmq-server.spec

Comment 2 John Eckersberg 2020-01-06 14:47:37 UTC
(In reply to Mauro Oddi from comment #0)
> Issue in rabbitmq-plugins in rabbitmq-server-3.7.16-1.fc30.x86_64

Please verify this is indeed the installed version, that is a Fedora build

Comment 3 Dusty Mabe 2020-01-06 14:58:06 UTC
The text in the description is from the Fedora bug he cloned. I imagine he's having the same problem but from a different build.

Comment 4 John Eckersberg 2020-01-06 17:12:56 UTC
(In reply to Dusty Mabe from comment #3)
> The text in the description is from the Fedora bug he cloned. I imagine he's
> having the same problem but from a different build.

Ah right, I completely missed that this was a clone.

Comment 9 errata-xmlrpc 2020-02-19 16:03:09 UTC
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:0553