-
-
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
use of new 6.0.0 module on new installation fails #611
Comments
|
|
@bostrowski13 this is all very helpful, will try to reproduce. Do I think inetrc shoudl be empty unless ipv6 is enabled, so that seems normal. I think the chicken / egg problems with the facts are also a known issue (since RabbitMQ isn't running, they won't work, including the version one, though we might want to make it a little more tolerant of the failure). Are you setting |
startup_log contains notning, err contains the line i mentioned above. we do have ipv6 disabled, and I saw this should be empty, just trying to be thorough. No, that is where we are setting the version number to pin 3.6.3. I thought i recently asked or read something about the depricated used of "$version", and to pin it was to use this param instead of that. |
pin the version, without using "version" and using "package_ensure" was in #154 |
Correct, yeah, I just wanted to make sure you weren't using the fact from the module to pin, since this would create a chicken / egg situation. I'm not sure if the In addition, depending on the package source, you may need a version suffix (the yum provider is pretty picky about versions matching the package name; sometimes it needs to have the release tag added). Is rabbitmq user in the |
fwiw, on CentOS 7:
It could potentially be directory permissions on |
so here's a really fun one... apparently the image of the server once had the pivotal version of rabbitmq installed with the RPM on it, and so the result of the groups command showed...
after i added the rabbitmq user to the rabbitmq group, no issues at all. |
👍 |
thanks for your guidance. gotta get a cleaner image from our build team. |
@bostrowski13 I don't think the failure in the fact is actually causing you any problems (it's not used). But I would be interested to know why it's throwing an error. |
@bostrowski13 @alexjfisher I think #615 may fix this, in the case where |
PE 2017.2
Target OS: RHEL 7.4
RabbitMQ Version: 3.6.3
Erlang Version: 18.3
Module version: puppet-rabbitmq (v6.0.0-rc0)
The first error seen is...
Error: Facter: error while resolving custom fact "rabbitmq_nodename": undefined method
[]' for nil:NilClass`but I believe this is because RabbitMQ is not running, and can't execute rabbitmqctl.
Upon further investigation, looking in the startup_err log, i see...
I validated that this file exists, and looking at the permissions on /etc/rabbitmq/rabbitmq-env.conf, it
That file contains...
and the inetrc file exists, as well, and contains nothing (except the puppet header)...
The text was updated successfully, but these errors were encountered: