This repository was archived by the owner on Sep 21, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 104
This repository was archived by the owner on Sep 21, 2022. It is now read-only.
failed jobs: cf-mysql-broker, quota-enforcer #96
Copy link
Copy link
Closed
Description
I did checkout developer version and have deployed.
While deploying, following error occured.
$ bosh deploy
...
Started preparing deployment > Preparing deployment. Done (00:00:00)
Started preparing package compilation > Finding packages to compile. Done (00:00:00)
Started updating job cf-mysql-broker > cf-mysql-broker/0 (8772b80e-dcfe-4160-a4e6-f0e16f98a1a2) (canary). Failed: `cf-mysql-broker/0 (8772b80e-dcfe-4160-a4e6-f0e16f98a1a2)' is not running after update. Review logs for failed jobs: cf-mysql-broker, quota-enforcer (00:10:24)
Error 400007: `cf-mysql-broker/0 (8772b80e-dcfe-4160-a4e6-f0e16f98a1a2)' is not running after update. Review logs for failed jobs: cf-mysql-broker, quota-enforcer
I connected to cf-mysql-broker via ssh and reviewed logs cf-mysql-broker, quota-enforcer
$ vi /var/vcap/sys/log/cf-mysql-broker/db_migrate.combined.log
NoMethodError: undefined method `[]' for nil:NilClass
/var/vcap/data/packages/cf-mysql-broker/47cdbff74dadd949abd599bbd259fe7a53bbd68f.1-c79f348b93e1d2afe8343be5b8ee889dbfd02936/config/initializers/omniauth.rb:5:in `<top (required)>'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.13/lib/active_support/dependencies.rb:223:in `load'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.13/lib/active_support/dependencies.rb:223:in `block in load'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.13/lib/active_support/dependencies.rb:214:in `load_dependency'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.13/lib/active_support/dependencies.rb:223:in `load'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/railties-4.0.13/lib/rails/engine.rb:609:in `block (2 levels) in <class:Engine>'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/railties-4.0.13/lib/rails/engine.rb:608:in `each'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/railties-4.0.13/lib/rails/engine.rb:608:in `block in <class:Engine>'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/railties-4.0.13/lib/rails/initializable.rb:30:in `instance_exec'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/railties-4.0.13/lib/rails/initializable.rb:30:in `run'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/railties-4.0.13/lib/rails/initializable.rb:55:in `block in run_initializers'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/railties-4.0.13/lib/rails/initializable.rb:54:in `run_initializers'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/railties-4.0.13/lib/rails/application.rb:215:in `initialize!'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/railties-4.0.13/lib/rails/railtie/configurable.rb:30:in `method_missing'
/var/vcap/data/packages/cf-mysql-broker/47cdbff74dadd949abd599bbd259fe7a53bbd68f.1-c79f348b93e1d2afe8343be5b8ee889dbfd02936/config/environment.rb:5:in `<top (required)>'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.13/lib/active_support/dependencies.rb:229:in `require'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.13/lib/active_support/dependencies.rb:229:in `block in require'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.13/lib/active_support/dependencies.rb:214:in `load_dependency'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.13/lib/active_support/dependencies.rb:229:in `require'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/railties-4.0.13/lib/rails/application.rb:189:in `require_environment!'
/var/vcap/packages/cf-mysql-broker/vendor/bundle/ruby/2.2.0/gems/railties-4.0.13/lib/rails/application.rb:260:in `block in run_tasks_blocks'
Tasks: TOP => db:migrate => environment
(See full trace by running task with --trace)
Migrations failed at Tue Mar 22 08:21:13 UTC 2016
mysql_broker already exists
rake aborted!
$ vi /var/vcap/sys/log/quota-enforcer/quota_enforcer.stdout.log
{"timestamp":"1458635302.694883823","source":"Quota Enforcer","message":"Quota Enforcer.Enforcing Failed: Finding violators: Error executing 'quota violator'.All: Error 1146: Table 'mysql_broker.service_instances' doesn't exist","log_level":1,"data":{}}
What is problem? what does the logs mean?
Metadata
Metadata
Assignees
Labels
No labels