-
Notifications
You must be signed in to change notification settings - Fork 107
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
Fixed rabbitmq upgrade #1989
Fixed rabbitmq upgrade #1989
Conversation
core/src/epicli/data/common/ansible/playbooks/roles/upgrade/tasks/rabbitmq.yml
Outdated
Show resolved
Hide resolved
...c/epicli/data/common/ansible/playbooks/roles/upgrade/tasks/rabbitmq/check-version-debian.yml
Outdated
Show resolved
Hide resolved
...c/epicli/data/common/ansible/playbooks/roles/upgrade/tasks/rabbitmq/check-version-redhat.yml
Outdated
Show resolved
Hide resolved
core/src/epicli/data/common/ansible/playbooks/roles/upgrade/tasks/rabbitmq.yml
Outdated
Show resolved
Hide resolved
And what about running
|
Additional comment from @przemyslavic:
|
Used rabbitmqctl instead with json formatter as @sk4zuzu suggested. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@atsikham dont we need changelog entry here ? 🤔 |
As we had a release and refer to these bugs in the changelog as "known issues", I will update the changelog. @przemyslavic can we test it somehow before merge? |
I'll try to test this PR today. Let's not merge it for now. |
/azp run |
Tested manually on aws for clustered and not clustered installations. |
@atsikham still doesn't work for v3.7.10:
No |
…ikham/epiphany into feature/rabbitmq-upgrade-fix
/azp run |
How about using lock file approach (upgrade in progress flag file) instead of this condition: The flag file is used for example for ZooKeeper, IMO is a smart way 🏃🏻 |
core/src/epicli/data/common/ansible/playbooks/roles/upgrade/tasks/rabbitmq.yml
Show resolved
Hide resolved
core/src/epicli/data/common/ansible/playbooks/roles/upgrade/tasks/rabbitmq.yml
Show resolved
Hide resolved
/azp run |
…ikham/epiphany into feature/rabbitmq-upgrade-fix
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❤️
/azp run |
@atsikham tested and approved :) |
* Fixed rabbitmq upgrade * Updates according to review * Changed shell to command after latest changes * Updated changelog * Changed version check to supported by 3.7.x command * Applied lock file approach for rabbitmq upgrade * Updated task names * Fixed a few linter warnings Co-authored-by: atsikham <atsikham@users.noreply.github.com>
Tasks #1979 #1984. Made it in the one PR as fixes in the same place are necessary.
Tried to find universal way to check clustering and rabbitmq version.