-
-
Notifications
You must be signed in to change notification settings - Fork 500
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
Change repos_ensure default from false to true #845
Conversation
@wyardley Looking at the build failures here and we may have opened a can of worms. Debian: https://travis-ci.org/github/voxpupuli/puppet-rabbitmq/jobs/703736212#L1799-L1837 In both cases, the repo enabled by the I think if we want this to be the default, we'll have to craft our own Erlang module that has flags to support enabling the PackageCloud/Bintray repos. Thoughts? |
@nmaludy yeah, tried to warn you that this was a big can of worms 😆 A new erlang module would be ideal, and if we can get that stood up (could either just start a brand new one or fork garethr). Additionally, we could consider a bool (defaulting to false) to use the RabbitMQ provided erlang packages from their repos? This won't work for everyone's use case, though, and even if we had such an option, if it defaults to Since we document that the erlang dep has to be satisfied, you could use some other method of bootstrapping erlang in the acceptance test helpers, but that could get kind of hairy across the different things we support. I'm almost never there, but might be good to kick around some of these ideas in #voxpupuli on Freenode IRC. |
@wyardley I've started on my own implementation of an erlang module. My plan is to donate this to Vox once i complete it, hopefully in the next few days. https://github.com/nmaludy/puppet-erlang |
Given garethr/erlang used to be approved, would it make sense to try and transfer it to VP? |
I feel like I might have tried to ask him about it ages ago, but could be wrong. |
20465de
to
36ebf1f
Compare
36ebf1f
to
e3e1892
Compare
I don't have bandwidth to look at this right now. But from some initial debugging, it looks like RabbitMQ is hanging when starting up in this configuration.
Setting up erlang-examples (1:21.3-1) ...
Setting up logrotate (3.8.7-1+b1) ...
Setting up socat (1.7.2.4-2) ...
Setting up rabbitmq-server (3.8.5-1) ...
Adding group `rabbitmq' (GID 117) ...
Done.
Adding system user `rabbitmq' (UID 110) ...
Adding new user `rabbitmq' (UID 110) with group `rabbitmq' ...
Not creating home directory `/var/lib/rabbitmq'.
Job for rabbitmq-server.service failed. See 'systemctl status rabbitmq-server.service' and 'journalctl -xn' for details.
invoke-rc.d: initscript rabbitmq-server, action "start" failed.
dpkg: error processing package rabbitmq-server (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for systemd (215-17+deb8u13) ...
Errors were encountered while processing:
rabbitmq-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
Some next steps are:
|
Dear @nmaludy, thanks for the PR! This is Vox Pupuli Tasks, your friendly Vox Pupuli Github Bot. I noticed that your pull request has CI failures. Can you please have a look at the failing CI jobs? |
@wyardley this PR is still a struggle for me... are you OK with us getting RHEL8 support in there with the one override for |
@nmaludy Anything I can help with? and is the puppet-erlang module released yet? I still don't see a tag cut there. My thought is that once that's released, it should be relatively easy to get this working and release it as a major / breaking release.. I don't think it's ideal to have RHEL8 support a different set of configurations from the default (though you could override that setting in your local config, presumably) |
@wyardley the integration tests are failing because rabbitmq fails to start on the hosts with the new repo, haven't been able to figure out why it's failing to start and/or how to fix it. |
Can we get a tag cut of the vox erlang mofule you wrote? Can you try adding your erlang stuff as needed replacing the garethr stuff here
And then take it out of the acceptance test’s test manifests for now? |
Dear @nmaludy, thanks for the PR! This is Vox Pupuli Tasks, your friendly Vox Pupuli GitHub Bot. I noticed that your pull request contains merge conflict. Can you please rebase? You can find my sourcecode at voxpupuli/vox-pupuli-tasks |
closing in favor of #926 |
Pull Request (PR) description
As part of the work i was doing to enable CentOS/RHEL 8 support in #842 i ran into an issue where EPEL no longer ships RabbitMQ packages. In that PR i had made some hacky fixes to enable the RabbitMQ repos, via the
repos_ensure
parameter, by default on that OS. After some discussions it was decided that we should instead, simply change the default value ofrepos_ensure
totrue
on all OSes.Note: This is a breaking change!