GithubHelp home page GithubHelp logo

When I deployed the latest version (225.0.0) of cf-rabbitmq, post-deploy scripts failed (rabbitmq-server) about cf-rabbitmq-release HOT 8 CLOSED

pivotal-cf avatar pivotal-cf commented on July 2, 2024
When I deployed the latest version (225.0.0) of cf-rabbitmq, post-deploy scripts failed (rabbitmq-server)

from cf-rabbitmq-release.

Comments (8)

cf-gitbot avatar cf-gitbot commented on July 2, 2024

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.

eujungkim avatar eujungkim commented on July 2, 2024

Can you check this too? It seems similar issue.
docker-library/rabbitmq#147

from cf-rabbitmq-release.

albertoleal avatar albertoleal commented on July 2, 2024

Hi @eujungkim, thanks for reporting that.

If you adjust the disk alarm threshold -- rabbitmq-server.disk_alarm_threshold -- to be 50000000, are you able to deploy after that? [1]

[1] https://github.com/pivotal-cf/cf-rabbitmq-release/blob/master/jobs/rabbitmq-server/spec#L57

from cf-rabbitmq-release.

eujungkim avatar eujungkim commented on July 2, 2024

Thanks for your fast reply.
I adjusted the disk alarm threshold to be 50000000 and tried to deploy.
The deployment task still logged error like below, but there is no post-deploy error log in the rabbitmq-server vms.
I checked /var/vcap/sys/log/rabbitmq-server/post-deploy.stderr.log file of each rabbitmq-server vm and the file size was zero. And "rabbitmq-ctl status" in each vm displayed normal status, too.
So I ignored the error and proceeded and succeeded to create rabbitmq-service-broker and service anyway. And binding service to app was succeeded.


02:13:28 | Error: Action Failed get_task: Task 4e473323-a1b9-4734-50c3-b656aa4423f8 result: 1 of 4 post-deploy scripts failed. Failed Jobs: rabbitmq-server. Successful Jobs: rabbitmq-statsdb-reset-cron-test, permissions-test, syslog-configuration-test.

Started Fri Apr 21 02:10:19 UTC 2017
Finished Fri Apr 21 02:13:28 UTC 2017
Duration 00:03:09

Task 134 error

Capturing task '134' output:
Expected task '134' to succeed but was state is 'error'

from cf-rabbitmq-release.

albertoleal avatar albertoleal commented on July 2, 2024

Regarding post-deploy error: we've changed the way we're triggering the disk alarm [1]. The default behaviour now is relative to 40% of the memory.

Then our users have two options:

  1. Increase persistent disk
  2. Adjust disk alarm threshold to use free disk space (that's what I suggested you do do..)

But what you've reported is quite interesting! The job failed but apparently you could create/bind to a service. Would you mind sharing the deployment manifest you're using to deploy cf-rabbitmq?

[1] https://www.rabbitmq.com/disk-alarms.html

from cf-rabbitmq-release.

eujungkim avatar eujungkim commented on July 2, 2024

I attached my deployment manifest files. (I added ".txt" to filename for upload.)
Please let me know, if there are any mistakes.

cf-rabbitmq.yml.txt
lite-cloud-config.yml.txt

from cf-rabbitmq-release.

albertoleal avatar albertoleal commented on July 2, 2024

Hey @eujungkim -- I managed to deploy a slightly different version of the manifest you've provided me. I changed some urls and credentials, because I have diff ones, and the task succeeded :)

Task 2649 done

Started         2017-04-22 16:02:45 UTC
Finished        2017-04-22 16:11:43 UTC
Duration        00:08:58

Deployed `cf-rabbitmq' to `garden-bosh'

from cf-rabbitmq-release.

eujungkim avatar eujungkim commented on July 2, 2024

Thanks for your test.
Because the service works normally, I'll keep this deployment.
If the problem recurs next time, I'll let you know.

from cf-rabbitmq-release.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.