Comments (7)
This cookbook's master has long dropped RabbitMQ 3.6 support and bumped the major version. That series has been out of support for 19 months in general. I would not mind dropping support for it in v5.x
with a clear warning in the change log.
from chef-cookbook.
are you thinking divergent code paths based on running rabbit version or a major bump of this cookbook dropping RabbitMQ version <3.7
support? I can put up a PR for this if you want, just wanna make sure i'm on the same page as you
from chef-cookbook.
this can be observed by running sudo rabbitmqctl cluster_status
on a 3.7
rabbit node and then on a 3.8
node to see the output differences and why the string would not be parsed correctly
from chef-cookbook.
I suggest using the JSON formatter:
rabbitmqctl cluster_status --silent --formatter json
from chef-cookbook.
@jtschelling we are quite aware of the changes. Are there examples of Chef resources that capture JSON output that you can recommend?
from chef-cookbook.
@lukebakken I know you know - hah - but just noting here that 3.7
and 3.8
both have the same running_nodes
field that would be perfect for cross-compatibility here. Was that formatter flag introduced at some previous version of rabbit or there since the beginning? It seems like the best way to fix this, but if that json formatter flag was introduced at 3.6
or something there'd still be compatibility issues that would need to be denoted or code path changed in this cookbook
@michaelklishin since you're using the provider design pattern in this cookbook I'd probably just use the ruby core native json module
from chef-cookbook.
JSON formatting is supported since version 3.7.0
:
(20.3)lbakken@MESSIAEN ~/issues/rmq-generic-unix/rabbitmq_server-3.7.0
$ ./sbin/rabbitmqctl cluster_status --formatter json
{"nodes":{"disc":["rabbit@MESSIAEN"]},"running_nodes":["rabbit@MESSIAEN"],"cluster_name":"rabbit@localhost","partitions":[],"alarms":{"rabbit@MESSIAEN":[]}}
RabbitMQ 3.6 isn't supported anymore and the RMQ team does everything we can to discourage its use.
from chef-cookbook.
Related Issues (20)
- logrotate_app works only for upstart HOT 4
- CLI tools are not included in PATH for non-login shells HOT 1
- Environment variable file is not named correctly on Windows
- Plugin installation breaks on Chef >= 16 HOT 4
- Incorrect config file path when deploying Rabbit 3.6.x HOT 4
- Permissions containing backslash not correctly handled
- Socat RPM for CentOS 6 is no longer available HOT 4
- oracle support HOT 2
- Bintray deprecation HOT 2
- Cloudsmith url points to non-existing binary HOT 4
- Code error: providers/cluster.rb#L259 HOT 1
- undefined method 'unified_mode' HOT 2
- Is rabbit_auth_backend_cache supported to avoid too many connections to ldap in chef-cookbook syntax? HOT 1
- chef-client 16: undefined method `dpkg_autostart' at early stage of the cookbook HOT 3
- RabbitMQ restart each time I run chef-client
- Make all LWRPs in to custom resources HOT 3
- Chef >=14 compatibility only? HOT 2
- Invalid configuration produced for Ubuntu 22.04 / 3.9.13 HOT 2
- Unable to install versions 24 or 25 of erlang on Ubuntu 18.04 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chef-cookbook.