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

Force boot rabbit if mnesia already exists #5317

Closed

Conversation

grahamneville
Copy link

SUMMARY

replaces #5316

related #5314

tells rabbit to force_boot if mnesia database already exists

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME
  • Installer
AWX VERSION
ADDITIONAL INFORMATION

helm/charts#13485

@grahamneville
Copy link
Author

Alternatively to this PR, https://github.com/ansible/awx-rabbitmq/blob/master/launch.sh can be updated by adding the below just before the last line ( docker-entrypoint.sh rabbitmq-server ). However this would require @shanemcd to choose a new image tag, built it, upload to dockerhub and then update the installer to reference the new tag

    if [ "$RABBITMQ_NODENAME" ]; then
        if [ -d "/var/lib/rabbitmq/mnesia/\${RABBITMQ_NODENAME}" ]; then rabbitmqctl force_boot; fi
    fi

@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.

@shanemcd
Copy link
Member

Hello again. From my comment over in #5316:

Another problem with this approach is that our downstream images are not based on Alpine.

Unfortunately this makes this solution presented here a non-starter. Please open a PR including your snippet over at https://github.com/ansible/awx-rabbitmq and I'd be happy to test it out for you, bump the tag, etc.

@shanemcd shanemcd closed this Nov 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants