cloudfoundry-attic / cf-mysql-broker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

this broker can not be deployed as an app in Cloud Foundry with ruby buildpack https://github.com/cloudfoundry/ruby-buildpack

df010 opened this issue · comments

commented

Here you are:
2015-03-24T22:26:18.27+0800 [API/0] OUT Updated app with guid 3097b670-cf96-413d-9ec3-7d5c4efe6dd6 ({"state"=>"STOPPED"})
2015-03-24T22:26:18.75+0800 [DEA/0] OUT Got staging request for app with id 3097b670-cf96-413d-9ec3-7d5c4efe6dd6
2015-03-24T22:26:41.93+0800 [API/0] OUT Updated app with guid 3097b670-cf96-413d-9ec3-7d5c4efe6dd6 ({"state"=>"STARTED"})
2015-03-24T22:26:44.47+0800 [STG/0] OUT -----> Downloaded app package (36M)
2015-03-24T22:26:46.07+0800 [STG/0] OUT -------> Buildpack version 1.1.3
2015-03-24T22:26:46.30+0800 [STG/0] OUT -----> Compiling Ruby/Rails
2015-03-24T22:26:47.82+0800 [STG/0] OUT -----> Using Ruby version: ruby-1.9.3
2015-03-24T22:26:47.92+0800 [STG/0] OUT -----> Installing dependencies using 1.6.3
2015-03-24T22:26:49.04+0800 [STG/0] OUT Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
2015-03-24T22:26:50.65+0800 [STG/0] OUT Installing minitest 4.7.5
2015-03-24T22:26:50.67+0800 [STG/0] OUT Installing i18n 0.6.5
2015-03-24T22:26:50.68+0800 [STG/0] OUT Installing rake 10.1.0
2015-03-24T22:26:50.72+0800 [STG/0] OUT Installing multi_json 1.10.1
2015-03-24T22:26:50.76+0800 [STG/0] OUT Installing builder 3.1.4
2015-03-24T22:26:50.95+0800 [STG/0] OUT Installing erubis 2.7.0
2015-03-24T22:26:51.06+0800 [STG/0] OUT Installing tzinfo 0.3.37
2015-03-24T22:26:51.08+0800 [STG/0] OUT Installing rack 1.5.2
2015-03-24T22:26:51.10+0800 [STG/0] OUT Installing polyglot 0.3.3
2015-03-24T22:26:51.11+0800 [STG/0] OUT Installing mime-types 1.25
2015-03-24T22:26:51.12+0800 [STG/0] OUT Installing activerecord-deprecated_finders 1.0.3
2015-03-24T22:26:51.18+0800 [STG/0] OUT Installing daemons 1.1.9
2015-03-24T22:26:51.21+0800 [STG/0] OUT Installing arel 4.0.0
2015-03-24T22:26:51.24+0800 [STG/0] OUT Installing hashie 2.1.1
2015-03-24T22:26:51.26+0800 [STG/0] OUT Installing hike 1.2.3
2015-03-24T22:26:51.37+0800 [STG/0] OUT Installing json_pure 1.8.1
2015-03-24T22:26:51.62+0800 [STG/0] OUT Installing atomic 1.1.14
2015-03-24T22:26:55.66+0800 [STG/0] OUT Installing mysql2 0.3.14
2015-03-24T22:26:55.66+0800 [STG/0] OUT Using bundler 1.6.3
2015-03-24T22:26:55.75+0800 [STG/0] OUT Installing thor 0.18.1
2015-03-24T22:26:55.82+0800 [STG/0] OUT Installing tilt 1.4.1
2015-03-24T22:26:59.35+0800 [STG/0] OUT Installing raindrops 0.12.0
2015-03-24T22:26:59.61+0800 [STG/0] OUT Installing sass 3.2.19
2015-03-24T22:26:59.64+0800 [STG/0] OUT Installing settingslogic 2.0.9
2015-03-24T22:26:59.71+0800 [STG/0] OUT Installing cf-uaa-lib 1.3.10
2015-03-24T22:26:59.76+0800 [STG/0] OUT Installing rack-test 0.6.2
2015-03-24T22:26:59.86+0800 [STG/0] OUT Installing treetop 1.4.15
2015-03-24T22:26:59.93+0800 [STG/0] OUT Installing omniauth 1.2.1
2015-03-24T22:27:00.03+0800 [STG/0] OUT Installing thread_safe 0.1.3
2015-03-24T22:27:00.12+0800 [STG/0] OUT Installing sprockets 2.10.0
2015-03-24T22:27:00.24+0800 [STG/0] OUT Installing mail 2.5.4
2015-03-24T22:27:00.24+0800 [STG/0] OUT omniauth-uaa-oauth2 at /tmp/staged/app/vendor/cache/omniauth-uaa-oauth2-2bbb78dc3c13 did not have a valid gemspec.
2015-03-24T22:27:00.25+0800 [STG/0] OUT This prevents bundler from installing bins or native extensions, but that may not affect its functionality.
2015-03-24T22:27:00.25+0800 [STG/0] OUT The validation message from Rubygems was:
2015-03-24T22:27:00.25+0800 [STG/0] OUT [".gitignore"] are not files
2015-03-24T22:27:00.25+0800 [STG/0] OUT Using omniauth-uaa-oauth2 0.0.3 from git://github.com/cloudfoundry/omniauth-uaa-oauth2.git (at /tmp/staged/app/vendor/cache/omniauth-uaa-oauth2-2bbb78dc3c13)
2015-03-24T22:27:00.40+0800 [STG/0] OUT Installing activesupport 4.0.0
2015-03-24T22:27:00.42+0800 [STG/0] OUT Installing kgio 2.8.1
2015-03-24T22:27:00.49+0800 [STG/0] OUT Installing activemodel 4.0.0
2015-03-24T22:27:00.61+0800 [STG/0] OUT Installing actionpack 4.0.0
2015-03-24T22:27:00.80+0800 [STG/0] OUT Installing activerecord 4.0.0
2015-03-24T22:27:00.89+0800 [STG/0] OUT Installing actionmailer 4.0.0
2015-03-24T22:27:01.14+0800 [STG/0] OUT Installing railties 4.0.0
2015-03-24T22:27:01.22+0800 [STG/0] OUT Installing sprockets-rails 2.0.0
2015-03-24T22:27:01.29+0800 [STG/0] OUT Installing rails-api 0.1.0
2015-03-24T22:27:01.66+0800 [STG/0] OUT Installing rails 4.0.2
2015-03-24T22:27:01.94+0800 [STG/0] OUT Installing sass-rails 4.0.3
2015-03-24T22:27:04.13+0800 [STG/0] OUT Installing unicorn 4.6.3
2015-03-24T22:27:05.42+0800 [STG/0] OUT Installing eventmachine 1.0.3
2015-03-24T22:27:06.35+0800 [STG/0] OUT Installing thin 1.6.1
2015-03-24T22:27:06.40+0800 [STG/0] OUT Installing nats 0.5.0.beta.12
2015-03-24T22:27:06.44+0800 [STG/0] OUT Your bundle is complete!
2015-03-24T22:27:06.44+0800 [STG/0] OUT Gems in the groups development and test were not installed.
2015-03-24T22:27:06.44+0800 [STG/0] OUT It was installed into ./vendor/bundle
2015-03-24T22:27:06.45+0800 [STG/0] OUT Bundle completed (17.41s)
2015-03-24T22:27:06.46+0800 [STG/0] OUT Cleaning up the bundler cache.
2015-03-24T22:27:07.32+0800 [STG/0] OUT -----> Writing config/database.yml to read from DATABASE_URL
2015-03-24T22:27:09.49+0800 [STG/0] OUT -----> Preparing app for Rails asset pipeline
2015-03-24T22:27:09.49+0800 [STG/0] OUT Running: rake assets:precompile
2015-03-24T22:27:12.51+0800 [STG/0] OUT I, [2015-03-24T14:27:12.515088 #1335] INFO -- : Writing /tmp/staged/app/public/assets/cf-mysql-logo-4e6709c99d7a1d80183f7da170d69865.png
2015-03-24T22:27:12.53+0800 [STG/0] OUT I, [2015-03-24T14:27:12.529058 #1335] INFO -- : Writing /tmp/staged/app/public/assets/favicon-442891d430a3db9ff19c5105fed94d77.ico
2015-03-24T22:27:41.55+0800 [STG/0] OUT I, [2015-03-24T14:27:41.553686 #1335] INFO -- : Writing /tmp/staged/app/public/assets/application-c2d4f235c30dc3f5d9829f2459bd0053.css
2015-03-24T22:27:41.62+0800 [STG/0] OUT Asset precompilation completed (32.12s)
2015-03-24T22:27:41.62+0800 [STG/0] OUT Cleaning assets
2015-03-24T22:27:41.62+0800 [STG/0] OUT Running: rake assets:clean
2015-03-24T22:27:45.08+0800 [STG/0] OUT ###### WARNING:
2015-03-24T22:27:45.08+0800 [STG/0] OUT Include 'rails_12factor' gem to enable all platform features
2015-03-24T22:27:45.08+0800 [STG/0] OUT See https://devcenter.heroku.com/articles/rails-integration-gems for more information.
2015-03-24T22:27:45.08+0800 [STG/0] OUT ###### WARNING:
2015-03-24T22:27:45.08+0800 [STG/0] OUT Removing vendor/bundle.
2015-03-24T22:27:45.08+0800 [STG/0] OUT Checking in vendor/bundle is not supported. Please remove this directory
2015-03-24T22:27:45.08+0800 [STG/0] OUT and add it to your .gitignore. To vendor your gems with Bundler, use
2015-03-24T22:27:45.08+0800 [STG/0] OUT bundle pack instead.
2015-03-24T22:27:45.08+0800 [STG/0] OUT ###### WARNING:
2015-03-24T22:27:45.08+0800 [STG/0] OUT No Procfile detected, using the default web server (webrick)
2015-03-24T22:27:45.08+0800 [STG/0] OUT https://devcenter.heroku.com/articles/ruby-default-web-server
2015-03-24T22:27:45.17+0800 [STG/0] ERR
2015-03-24T22:27:50.38+0800 [STG/0] OUT -----> Uploading droplet (25M)
2015-03-24T22:27:54.11+0800 [DEA/0] OUT Starting app instance (index 0) with guid 3097b670-cf96-413d-9ec3-7d5c4efe6dd6
2015-03-24T22:27:57.80+0800 [DEA/0] ERR Instance (index 0) failed to start accepting connections
2015-03-24T22:27:57.81+0800 [API/0] OUT App instance exited with guid 3097b670-cf96-413d-9ec3-7d5c4efe6dd6 payload: {"cc_partition"=>"default", "droplet"=>"3097b670-cf96-413d-9ec3-7d5c4efe6dd6", "version"=>"aec72d05-d6fb-435a-a111-875213002e38", "instance"=>"f2aad186632745c0a95d3d9eea9cff4a", "index"=>0, "reason"=>"CRASHED", "exit_status"=>127, "exit_description"=>"failed to accept connections within health check timeout", "crash_timestamp"=>1427207277}
2015-03-24T22:27:57.81+0800 [API/0] OUT App instance exited with guid 3097b670-cf96-413d-9ec3-7d5c4efe6dd6 payload: {"cc_partition"=>"default", "droplet"=>"3097b670-cf96-413d-9ec3-7d5c4efe6dd6", "version"=>"aec72d05-d6fb-435a-a111-875213002e38", "instance"=>"f2aad186632745c0a95d3d9eea9cff4a", "index"=>0, "reason"=>"CRASHED", "exit_status"=>127, "exit_description"=>"failed to accept connections within health check timeout", "crash_timestamp"=>1427207277}
2015-03-24T22:28:37.67+0800 [DEA/0] OUT Starting app instance (index 0) with guid 3097b670-cf96-413d-9ec3-7d5c4efe6dd6
2015-03-24T22:28:40.54+0800 [DEA/0] ERR Instance (index 0) failed to start accepting connections
2015-03-24T22:28:40.55+0800 [API/0] OUT App instance exited with guid 3097b670-cf96-413d-9ec3-7d5c4efe6dd6 payload: {"cc_partition"=>"default", "droplet"=>"3097b670-cf96-413d-9ec3-7d5c4efe6dd6", "version"=>"aec72d05-d6fb-435a-a111-875213002e38", "instance"=>"2c154cbf0aac4b29bb2e55a8c3d185a2", "index"=>0, "reason"=>"CRASHED", "exit_status"=>127, "exit_description"=>"failed to accept connections within health check timeout", "crash_timestamp"=>1427207320}
2015-03-24T22:28:40.56+0800 [API/0] OUT App instance exited with guid 3097b670-cf96-413d-9ec3-7d5c4efe6dd6 payload: {"cc_partition"=>"default", "droplet"=>"3097b670-cf96-413d-9ec3-7d5c4efe6dd6", "version"=>"aec72d05-d6fb-435a-a111-875213002e38", "instance"=>"2c154cbf0aac4b29bb2e55a8c3d185a2", "index"=>0, "reason"=>"CRASHED", "exit_status"=>127, "exit_description"=>"failed to accept connections within health check timeout", "crash_timestamp"=>1427207320}
2015-03-24T22:28:43.85+0800 [DEA/0] OUT Removing crash for app with id 3097b670-cf96-413d-9ec3-7d5c4efe6dd6
2015-03-24T22:28:43.85+0800 [DEA/0] OUT Stopping app instance (index 0) with guid 3097b670-cf96-413d-9ec3-7d5c4efe6dd6
2015-03-24T22:28:43.85+0800 [DEA/0] OUT Stopped app instance (index 0) with guid 3097b670-cf96-413d-9ec3-7d5c4efe6dd6
2015-03-24T22:29:17.68+0800 [DEA/0] OUT Starting app instance (index 0) with guid 3097b670-cf96-413d-9ec3-7d5c4efe6dd6
2015-03-24T22:29:20.33+0800 [DEA/0] ERR Instance (index 0) failed to start accepting connections
2015-03-24T22:29:20.34+0800 [API/0] OUT App instance exited with guid 3097b670-cf96-413d-9ec3-7d5c4efe6dd6 payload: {"cc_partition"=>"default", "droplet"=>"3097b670-cf96-413d-9ec3-7d5c4efe6dd6", "version"=>"aec72d05-d6fb-435a-a111-875213002e38", "instance"=>"c5b3ae3462a24283944b3ad56acc561d", "index"=>0, "reason"=>"CRASHED", "exit_status"=>127, "exit_description"=>"failed to accept connections within health check timeout", "crash_timestamp"=>1427207360}
2015-03-24T22:29:20.34+0800 [API/0] OUT App instance exited with guid 3097b670-cf96-413d-9ec3-7d5c4efe6dd6 payload: {"cc_partition"=>"default", "droplet"=>"3097b670-cf96-413d-9ec3-7d5c4efe6dd6", "version"=>"aec72d05-d6fb-435a-a111-875213002e38", "instance"=>"c5b3ae3462a24283944b3ad56acc561d", "index"=>0, "reason"=>"CRASHED", "exit_status"=>127, "exit_description"=>"failed to accept connections within health check timeout", "crash_timestamp"=>1427207360}
2015-03-24T22:29:24.09+0800 [DEA/0] OUT Removing crash for app with id 3097b670-cf96-413d-9ec3-7d5c4efe6dd6
2015-03-24T22:29:24.09+0800 [DEA/0] OUT Stopping app instance (index 0) with guid 3097b670-cf96-413d-9ec3-7d5c4efe6dd6
2015-03-24T22:29:24.09+0800 [DEA/0] OUT Stopped app instance (index 0) with guid 3097b670-cf96-413d-9ec3-7d5c4efe6dd6
2015-03-24T22:29:57.68+0800 [DEA/0] OUT Starting app instance (index 0) with guid 3097b670-cf96-413d-9ec3-7d5c4efe6dd6
2015-03-24T22:30:00.59+0800 [DEA/0] ERR Instance (index 0) failed to start accepting connections
2015-03-24T22:30:00.61+0800 [API/0] OUT App instance exited with guid 3097b670-cf96-413d-9ec3-7d5c4efe6dd6 payload: {"cc_partition"=>"default", "droplet"=>"3097b670-cf96-413d-9ec3-7d5c4efe6dd6", "version"=>"aec72d05-d6fb-435a-a111-875213002e38", "instance"=>"e8519dc74657407ca19f20f402fd0b7b", "index"=>0, "reason"=>"CRASHED", "exit_status"=>127, "exit_description"=>"failed to accept connections within health check timeout", "crash_timestamp"=>1427207400}
2015-03-24T22:30:00.61+0800 [API/0] OUT App instance exited with guid 3097b670-cf96-413d-9ec3-7d5c4efe6dd6 payload: {"cc_partition"=>"default", "droplet"=>"3097b670-cf96-413d-9ec3-7d5c4efe6dd6", "version"=>"aec72d05-d6fb-435a-a111-875213002e38", "instance"=>"e8519dc74657407ca19f20f402fd0b7b", "index"=>0, "reason"=>"CRASHED", "exit_status"=>127, "exit_description"=>"failed to accept connections within health check timeout", "crash_timestamp"=>1427207400}
2015-03-24T22:30:04.27+0800 [DEA/0] OUT Removing crash for app with id 3097b670-cf96-413d-9ec3-7d5c4efe6dd6
2015-03-24T22:30:04.27+0800 [DEA/0] OUT Stopping app instance (index 0) with guid 3097b670-cf96-413d-9ec3-7d5c4efe6dd6
2015-03-24T22:30:04.27+0800 [DEA/0] OUT Stopped app instance (index 0) with guid 3097b670-cf96-413d-9ec3-7d5c4efe6dd6

We have created an issue in Pivotal Tracker to manage this. You can view the current status of your issue at: https://www.pivotaltracker.com/story/show/91012612.

Hi!

The MySQL service broker is not designed to be deployed to CF as an app without the rest of cf-mysql-release. If you are not familiar with service deployment patterns, see: Services

So, in order to deploy our MySQL for Cloud Foundry service, you'll want to follow the step-by-step instructions in cf-mysql-release.

I hope this helps clarify? I'll close this issue now, please feel free to re-open if you have any questions.

-- Marco Nicosia
Product Manager
Pivotal Software, Inc.