Comments (7)
We have created an issue in Pivotal Tracker to manage this. Unfortunately, the Pivotal Tracker project is private so you may be unable to view the contents of the story.
The labels on this github issue will be updated when the story is started.
from cf-rabbitmq-release.
You want definitions import. I highly recommend not reinventing them on top of BOSH.
from cf-rabbitmq-release.
Are you talking about Load definitions at startup?
If we can specify this in the deployment manifest - which is not possible currently - this could indeed solve our problem.
from cf-rabbitmq-release.
@MatthiasWinzeler yes, that section. I'm pretty sure there is a way to specify arbitrary config settings in Ops Manager, so presumably there should be a way to do that with straight BOSH.
Even if somehow that's not possible or very difficult, making that possible should be the goal instead of reinventing definitions import with BOSH and rabbitmqctl
.
from cf-rabbitmq-release.
@michaelklishin You're right, we could set the config entry load_definitions
using the rabbitmq-server.config
key.
But: load_definitions
needs a JSON file on the server itself - so we would need to add a mechanism to the BOSH release to write this file to the server.
What do you guys think about this:
# Introduce a new configuration item
rabbitmq-server.load_definitions:
description: definitions (JSON) to be imported on RabbitMQ startup
default: null
example: |
{
"users": [{
"name": "defuser",
"password": "defpasswd",
"tags": "administrator"
}],
"vhosts": [{
"name": "from-def"
}],
"permissions": [{
"user": "defuser",
"vhost": "from-def",
"configure": ".*",
"write": ".*",
"read": ".*"
}]
}
This would then write the contents as a file to the FS and point the RMQ config entry to it.
from cf-rabbitmq-release.
@MatthiasWinzeler we recently implemented this feature. We expose load_definitions
property in the rabbitmq-server
. Differently from your suggestion the property is not a json serialized as string but directly a structure that will be serialized and loaded using http://www.rabbitmq.com/management.html#load-definitions.
The feature is available from release v226.6
rabbitmq-server.load_definitions:
description: definitions (JSON) to be imported on RabbitMQ startup
default: null
example:
vhosts:
- {name: from-def}
users:
- name: defuser
password: pwd
tags: administrator
permissions:
- user: defuser
vhost: from-def
configure: '*.'
write: '.*'
read: '.*'
from cf-rabbitmq-release.
Nice to hear - thank you!
from cf-rabbitmq-release.
Related Issues (20)
- Test Github/Slack integration HOT 3
- Issue upgrading to version 3.7.7 HOT 8
- rabbitmq-server job pre-start script fail during deployment HOT 6
- Configure rabbitmq clusters with haproxy using TLS HOT 1
- 266.0.0 install 3.7.14 HOT 1
- balance leastconn HOT 1
- inconsistencies with tags HOT 2
- Can we set a cluster name using a deployment manifest? HOT 2
- rabbitmq-server.ssl.disable_non_ssl_listeners doesn't work HOT 2
- How to run custom `rabbitmqctl` commands post start RabbitMQ server? HOT 3
- Regression: deleting broker user on startup bricks running Java applications HOT 3
- Releases are no longer published on bosh.io HOT 9
- test HOT 2
- Wrong Cuttlefish-format - 50-overrideConfig.conf.erb HOT 5
- Since 2021-02-24, `disk_alarm_threshold` does not accept integer values anymore HOT 5
- Compile Erlang consistently with other RabbitMQ releases HOT 4
- New bosh links doesn't seem to work with previous manifest HOT 3
- New bosh links doesn't seem to work with previous manifest HOT 2
- Support for RabbitMQ 3.10.x HOT 2
- Not able to deploy rabbitmq-bosh-release on Azure CF Platform
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 cf-rabbitmq-release.