-
-
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
Installation of latest Rabbit (3.7) fails on EL7 due to erlang 20 dependency #788
Comments
I think the I have run across the same problem when testing things. If you want to do a pass at reworking things, I’d be happy to review the PR. One option would be a new param, disabled by default, to use the rmq provided erlang package On the permissions problem, you may want to file a separate issue. |
As far as I can see, there is no information in the README (though I am not very skilled on reading documentation, may be I've overlooked something). The README is quite short and references the REFERENCE file - which is quite big. I was doing some searching through the REFERENCE file yesterday without finding anything obvious. Hence the documentation probably ought to be improved, as a minimum. I think letting the module set up the rabbitmq-erlang repo if a parameter is set to "true" (and cross-documented from the repos_ensure) is a reasonable fix for this issue (obviously we don't want to break backward compatibility, but a parameter with the name "repos_ensure" ought to fix all needed repositories). I probably don't have capacity to deal with this myself anytime soon, and my motivation for fixing it has also been reduced now as I already got rabbitmq up and working now. |
(The permission problem disappeared when letting puppet-rabbitmq control the rabbitmq-server repo and controlling the rabbitmq-erlang repo on my side. I find it bizarre ... but I don't have capacity to try to reproduce it at the moment). |
Yes, you’re right, in fact, I took out those docs, probably because they were so out of date, in af1c79b https://www.rabbitmq.com/which-erlang.html is a good breakdown of the different ways of handling the erlang deps. If someone can take a stab at improving the docs and / or implementing an option to allow installing the erlang deps, that would be great. |
This also affects Debian and Ubuntu. Maybe we should migrate to Bintray, since they also provide packages for Erlang.
|
@dhoppe This is probably one of the better options. |
I'm now using this module for the first time, so perhaps my perspective on things might be helpful. I am not very familiar with RabbitMQ or Erlang at all. So for me, it would have been very helpful to have a parameter I could pass to
This is totally not a concern for me, and I expect that goes for many people like me: my use case for this module is that I need to set up a Linux box with RabbitMQ on it for a Magento installation that resides on another node, and nobody in my entire company does anything at all with Erlang. My two cents would be to make it optional for people to have other versions of Erlang on their nodes, and to have them pass in a The way the module works now, I have to spend time looking into how to get the correct version of Erlang to install - I'm glad you're being considerate of what I might want to do with Erlang but since I honestly don't know, I'd rather you show a little less concern. :) |
I needed to deploy rabbitmq as well for my shop and have encountered this problem. I was able to install erlang like so:
Which does end up working correctly on the cli
However the module starts throwing errors during runs:
I can work around this for now but just wanted to provide some addition information when upgrading to a newer rabbit/erlang version. |
Have you tried configuring the system’s locale to utf-8? There are some existing workarounds in the module that try to force it in the env of commands that run but could be that. |
ps - as far as Erlang goes, once the puppet-erlang module actually gets released, I’m hoping someone will work on getting the changes in #845 to work, which I think would help with some of these issues. |
I've tried what I could think of. My system appears to be utf-8 already. Searching for this error yeilds really old threads mostly and I've tried some of the solutions in those.
I think this related to the newer version of Rabbit, as using the
Then Puppet runs cleanly. So it may be directly related to that provider or something it inherits. Sadly my Ruby isn't good :( |
Going to close this since el7 isn’t supported any longer |
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
rabbitmq::repos_ensure is set to true in hieradata, except for that I'm doing a plain
"include rabbitmq"
What are you seeing
It seems like the 3.7-version of rabbitmq requires a newer erlang than what comes out of the box with EL7. I believe this can be fixed by setting up the correct repository for newer erlang as well.
What behaviour did you expect instead
I did expect the puppet module to organize the latest erlang version for me as well.
Output log
Any additional information you'd like to impart
The text was updated successfully, but these errors were encountered: