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

check rabbitmq version and use different api to validate a users pass… #33641

Merged
merged 2 commits into from Jun 1, 2016
Merged

check rabbitmq version and use different api to validate a users pass… #33641

merged 2 commits into from Jun 1, 2016

Conversation

glomium
Copy link
Contributor

@glomium glomium commented May 31, 2016

What does this PR do?

Rabbitmq added in version 3.5.7 a cli command to check users credentials. The command executed by modules/rabbitmq.py to check the user credentials seems to an internal api, which was renamed or removed from rabbitmq.

This PR introduces a version check (code adapted from line 58) and use the public API to validate the user credentials if rabbitmq >= 3.5.7. is detected - solving #33588

What issues does this PR fix or reference?

#33588

Tests written?

No

@cachedout
Copy link
Contributor

Hi @glomium

Thanks for this. Could you have a look at the lint suggestions here, please? https://jenkins.saltstack.com/job/PR/job/salt-pr-lint-n/2215/violations/file/salt/modules/rabbitmq.py/

@cachedout cachedout added the Pending-Discussion The issue or pull request needs more discussion before it can be closed or merged label May 31, 2016
@cachedout cachedout merged commit 9d433da into saltstack:develop Jun 1, 2016
@rallytime rallytime added ZZZ[Done]-back-ported-bf RETIRED The pull request has been back-ported to an older branch. and removed Pending-Discussion The issue or pull request needs more discussion before it can be closed or merged labels Jun 2, 2016
cachedout pushed a commit that referenced this pull request Jun 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ZZZ[Done]-back-ported-bf RETIRED The pull request has been back-ported to an older branch.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants