Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rabbitmq.list_users is missing the last user #25000

Closed
shawnbutts opened this issue Jun 26, 2015 · 4 comments
Closed

rabbitmq.list_users is missing the last user #25000

shawnbutts opened this issue Jun 26, 2015 · 4 comments
Labels
Bug broken, incorrect, or confusing behavior Execution-Module help-wanted Community help is needed to resolve this P4 Priority 4 Platform Relates to OS, containers, platform-based utilities like FS, system based apps severity-medium 3rd level, incorrect or bad functionality, confusing and lacks a work around
Milestone

Comments

@shawnbutts
Copy link

           Salt: 2015.5.2
         Python: 2.6.9 (unknown, Apr  1 2015, 18:16:00)
         Jinja2: 2.7.2
       M2Crypto: 0.21.1
 msgpack-python: 0.4.6
   msgpack-pure: Not Installed
       pycrypto: 2.6.1
        libnacl: Not Installed
         PyYAML: 3.10
          ioflo: Not Installed
          PyZMQ: 14.3.1
           RAET: Not Installed
            ZMQ: 3.2.5
           Mako: Not Installed
# salt-call rabbitmq.list_users
local:
    ----------
    admin:
    user1:
    user2:
    user3:
    user4:
    user5:
    user6:


# rabbitmqctl list_users
Listing users ...
admin   [administrator]
user1     [monitoring,user]
user2     [monitoring,user]
user3     [monitoring,user]
user4     [monitoring,user]
user5     [monitoring,user]
user6     [monitoring,user]
user7 [monitoring]

This breaks a number of states for me.

@shawnbutts
Copy link
Author

The workaround I've found is to manually add a user

@jfindlay jfindlay added Bug broken, incorrect, or confusing behavior severity-medium 3rd level, incorrect or bad functionality, confusing and lacks a work around P4 Priority 4 Platform Relates to OS, containers, platform-based utilities like FS, system based apps Execution-Module help-wanted Community help is needed to resolve this labels Jun 29, 2015
@jfindlay jfindlay added this to the Approved milestone Jun 29, 2015
@jfindlay
Copy link
Contributor

@shawnbutts, thanks for the report.

@simonbp
Copy link
Contributor

simonbp commented Dec 3, 2015

This appears to be fixed as of 2015.8.1 (Beryllium)

# rabbitmqctl list_users
Listing users ...
admin   [administrator]
app_user    []
...done.

# salt-call rabbitmq.list_users
stdin: is not a tty
[INFO    ] Executing command 'rabbitmqctl list_users' as user 'root' in directory '/root'
local:
    ----------
    admin:
    app_user:

@jfindlay
Copy link
Contributor

jfindlay commented Dec 3, 2015

Since this issue seems to be fixed, I'm going to close it. Thanks @shawnbutts, @simonbp.

@jfindlay jfindlay closed this as completed Dec 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug broken, incorrect, or confusing behavior Execution-Module help-wanted Community help is needed to resolve this P4 Priority 4 Platform Relates to OS, containers, platform-based utilities like FS, system based apps severity-medium 3rd level, incorrect or bad functionality, confusing and lacks a work around
Projects
None yet
Development

No branches or pull requests

3 participants