Comments (6)
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.
@wenxin-liu, which stemcell are you using?
The error message seems to come from deep within Erlang: https://github.com/erlang/otp/blob/master/lib/kernel/src/inet_config.erl#L260
@hairyhum @michaelklishin, would you expect the ~ts~n^M
to be interpolated into something more meaningful? It looks like an attempt to do a printf
equivalent.
My guess would be that this is caused by parsing the file /var/vcap/store/rabbitmq/erl_inetrc
. A good one looks like:
{host, {10,0,4,10}, ["eaee322bf5da343c18b95dcb08dabad5"]}.
{host, {10,0,4,11}, ["dce07ff98e3da0dcee2c738aabbb8f1e"]}.
{host, {10,0,4,12}, ["881881c9ed15cef3c0417de34b239e29"]}.
{lookup, [file, native]}.
What does your file look like?
from cf-rabbitmq-release.
Hey @blgm and everyone,
Thanks for your suggestion, we've just recently managed to work around the problem, and indeed as you pointed out, it was to do with a syntax error in the erl_inetrc file. We're currently using ubuntu-trusty/v3586.36.
Although we've managed to work around the issue, although the core problem is not fixed. The core problem is: The release does not work when using a dynamic bosh network.
We are hosted in GCP and therefore use a dynamic network (defers IP selection to the IaaS provider). During deployment of the rmq release, it fails because the erl_inetrc file created needs to have the hosts information in the format of {host, IP, alias}. But when using a dynamic network, during deployment bosh only 'knows' the DNS names of the vms in the cluster, not the IPs. As a result, the resulting erl_inetrc file is in the format of {host, DNS name, alias}. The pre-start script then fails, and we get an error that the file cannot be parsed because it has a syntax error and it's not sorted in the right order. We discovered that if we switch to using a manual network, because bosh assigns the IPs, it also 'knows' the IPs and is able to put them into the erl_inetrc file as required. The resulting erl_inetrc file has the correct format, that is {host, IP, alias}. This works around the issue. But ideally this release should either fetch the IPs in a different way (currently the release uses Bosh links), or even better, not use IPs at all but DNS addresses (as using IPs means tightly coupled).
from cf-rabbitmq-release.
@blgm I'm not sure how the log message ends up in the stderr
, but it seems like it's formatted correctly to the stdout
.
from cf-rabbitmq-release.
Thanks for raising this and for sharing your investigation @wenxin-liu !
We have added a note to the README, mentioning that the release has only been tested using "manual" networks. We are planning to add support for BOSH DNS soon, hopefully after that we will be able to support other network types as well.
We are going to close the issue for now. Feel free to re-open if you have further questions.
@ferozjilla and @nodo
from cf-rabbitmq-release.
Thanks @nodo !
from cf-rabbitmq-release.
Related Issues (20)
- Test Github/Slack integration HOT 3
- Issue upgrading to version 3.7.7 HOT 8
- 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.