-
-
Notifications
You must be signed in to change notification settings - Fork 498
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
[WIP] Add CentOS/RHEL 8 Support #842
Conversation
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.
This looks to be reverting the modulesync 2.12.0. Could you fix that?
@ekohl Maybe i'm doing something wrong, but i did the following:
Get my module fork:
Run modulesync:
Is this correct? |
@ekohl FYI looks like my modulesync changes are consistent with the But they are different on the I can run modulesync again against master if you prefer? |
@nmaludy yeah, the modulesync PRs should be in a separate commit, at least. I can run one against the repo and then you can rebase / squash your branch |
Hrm, actually, yeah, since it is already synced against 2.12.0, should just leave it out. |
@wyardley i was using modulesync to add in the new beaker acceptance sets, i can just do it manually for now since these modulesync changes are not desired, standby for an updated commit |
Looks like this module is actually on master. We've been making changes to simplify things using voxpupuli-acceptance but looks like we didn't do that via a real tag. @nmaludy for now, I think you can use master to modulesync (or manual). @bastelfreak should we do a 2.13.0 where we introduce voxpupuli-acceptance? Then later we can do the big breaking one wiht whitespace. |
I can make that... just thought generally we're only supposed to sync off a tag. |
@nmaludy can you rebase and then squash down into logical commits? |
Looks like acceptance tests are hanging when trying to start the |
So, this indeed failed for me when using Beaker on my local box. I tried to reproduce with a standard docker setup using Vagrant and this setup worked correctly:
Running the commands:
Trying to figure out what is different from the container i created an the one that Beaker created? Maybe it isn't running in |
Think i found the problem... my container mounts the volume I was able to find this by doing: $ docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
81b21fb99204 89c3755d835c "/sbin/init" 3 minutes ago Up 2 minutes 0.0.0.0:4088->22/tcp sweet_lehmann
888c591e1b22 centos:8 "/sbin/init" 20 minutes ago Up 20 minutes puppet-rabbitmq_default_1593455879
$ docker inspect --format='{{.Mounts}}' 888c591e1b22
[{bind /sys/fs/cgroup /sys/fs/cgroup ro false rprivate}]
$ docker inspect --format='{{.Mounts}}' 81b21fb99204
[] |
I've figured out how to add this volume mount to the nodeset in beaker and modified the travis config to match. This test round should get further than last time (at least the service should start)! |
7704aab
to
7e5c9a7
Compare
Volume mounting worked in Travis, got passed the issue with systemd service restarts. Ran into an issue with plugin idempotency and found a bug where we were only listing Explicitly enabled plugins. Since our test installs |
Thanks for digging into that. That one for sure should be a separate issue / PR, so that it's visible in the changelog etc, if you wouldn't mind cherry-picking that change separately (and maybe filing an issue for it). Why wouldn't that issue come up with the integration tests for other versions? |
@wyardley looks like this was introduced in RabbitMQ 3.6.7 rabbitmq/rabbitmq-cli@e087171 I'll add a version switch in the code, it looks like we'll want to pass in |
data/family/RedHat-8.yaml
Outdated
@@ -0,0 +1,3 @@ | |||
--- | |||
rabbitmq::python_package: 'python3' | |||
rabbitmq::repos_ensure: true |
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.
I see why you're doing this here, but I think probably we shouldn't use non-default params for one specific OS version for this.
If you want to switch the default to repos_ensure as a major (breaking) change, I'm onboard with that, though it may be a bit of an involved process.
Got it. yeah, the integration tests just run with the default version. I'm Ok with a couple of options:
#3 probably makes the most sense, but is also potentially a lot of work. I take responsibility for the current behavior, introduced back in |
If someone ever has the time / inclination, I think hitting the APIs vs. using the CLI would also be better. Someone started down that path, but don't think anything is happening in that regard these days. |
Absolutely! |
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.
Other than https://github.com/voxpupuli/puppet-rabbitmq/pull/842/files#r447265521 this looks pretty good. Would you mind rebasing on master and squashing the commits?
0df8c3d
to
102bca0
Compare
Doing a lot more digging and was having issues trying to do consistent realtime version checks when listing plugins. Checking with older versions of RabbitMQ and the oldest one i could get my hands on was 3.5.1 and Fighting with this all day and i think the best option is to change |
@wyardley ok, i'm ready to talk about splitting this up into different PRs now! |
if they pass across all supported versions, I think we should be good. You could also run the beaker set for the default RMQ version and manually validate that it works there. As long as it works with our min current supported version, should be Ok. As far as breaking up, here's what I propose:
After all that, I can make a release PR with the updated docs, changelog, etc., targeting a major version. |
|
|
2d62deb
to
eb95628
Compare
@wyardley I've squashed this PR down and removed the extra changes caused by
Once we merge those two PRs, this is ready to go after a quick rebase. |
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? |
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 |
Pull Request (PR) description
This PR adds support for installing RabbitMQ on CentOS 8 / RHEL 8.
Also added back into the README information to the end-user about the need to use an external
erlang
module on RHEL systems.This Pull Request (PR) fixes the following issues
Fixes #816
Closes #826