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

[BUG] RabbitMQ 3.7.10 fails on upgrade to 3.8.9: 'rabbitmqctl version' command not found. #1984

Closed
przemyslavic opened this issue Jan 19, 2021 · 1 comment
Assignees
Labels
Milestone

Comments

@przemyslavic
Copy link
Collaborator

przemyslavic commented Jan 19, 2021

Describe the bug
There is an issue with RabbitMQ upgrade process failing when upgrading from v3.7.10 (that was used up to epicli 0.6) to v3.8.9 (current develop branch).
The issue is that during the upgrade, the command rabbitmqctl version is called which was not implemented in RabbitMQ 3.7.10

How to reproduce
Steps to reproduce the behavior:

  1. Deploy a 0.6 cluster with RabbitMQ component enabled
  2. Upgrade the cluster to the develop branch.

Expected behavior
The cluster has been upgraded successfully.

Environment

  • Cloud provider: [all]
  • OS: [all]

Additional context

2021-01-19T15:39:06.1900963Z[38;21m15:39:06 INFO cli.engine.ansible.AnsibleCommand - TASK [upgrade : RabbitMQ | Check version] **************************************[0m
2021-01-19T15:39:07.3611029Z[31;21m15:39:07 ERROR cli.engine.ansible.AnsibleCommand - fatal: [ec2-35-180-250-76.eu-west-3.compute.amazonaws.com]: FAILED! => {"changed": false, "cmd": ["rabbitmqctl", "version"], "delta": "0:00:00.535395", "end": "2021-01-19 15:39:07.272278", "msg": "non-zero return code", "rc": 64, "start": "2021-01-19 15:39:06.736883", "stderr": "\nCommand 'version' not found. \nDid you mean 'reset'? ", "stderr_lines": ["", "Command 'version' not found. ", "Did you mean 'reset'? "], "stdout": "", "stdout_lines": []}
@przemyslavic
Copy link
Collaborator Author

Tested together with #1979.
✅ upgrade from 3.7.10 to 3.8.9
✅ upgrade from 3.8.3 to 3.8.9
✅ 1 RabbitMQ node
✅ 2 RabbitMQ nodes
✅ 2 RabbitMQ nodes clustered
Azure/AWS x Ubuntu/RHEL

@mkyc mkyc closed this as completed Jan 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants