Closed Omnipresent closed 7 years ago
We have created an issue in Pivotal Tracker to manage this:
https://www.pivotaltracker.com/story/show/135479623
The labels on this github issue will be updated when the story is started.
Hey @Omnipresent,
The 404 is coming from the cf router, basically saying it can't find a route to the service broker. The service broker instances don't seem to be running, so that would be the expected behavior.
I'm not sure how you only have one of the mysql vms up and running, but that's probably the root of the problem. Can you do a bosh cloudcheck
and see if recreating those vms with unresponsive agent
brings everything back online?
Hi @stickfigure
I am on AWS with bosh lite. The VMs probably didn't come back up after I did vagrant halt
and then vagrant up
. However, to eliminate any start/stop issues I set everything up on a new EC2 instance and have not stopped the machine. I followed the README again and it looks like cf-mysql-broker_z1/0
still fails to start
$ bosh vms
Deployment 'cf-warden-mysql'
Director task 25
Task 25 done
+-------------------------------------------------------------+---------+-----+--------------------+------------+
| VM | State | AZ | VM Type | IPs |
+-------------------------------------------------------------+---------+-----+--------------------+------------+
| arbitrator_z3/0 (69ac28a5-4175-445a-8330-da497ed5d7bd) | running | n/a | arbitrator_z3 | 10.244.9.6 |
| cf-mysql-broker_z1/0 (5dccc948-9ecc-4e9a-bb61-f98cb409daba) | failing | n/a | cf-mysql-broker_z1 | 10.244.7.4 |
| cf-mysql-broker_z2/0 (8d0695d9-e48c-48f8-b388-627a587b77f4) | running | n/a | cf-mysql-broker_z2 | 10.244.8.4 |
| mysql_z1/0 (16c2179e-ed20-404f-a73d-2cef8f268943) | running | n/a | mysql_z1 | 10.244.7.2 |
| mysql_z2/0 (eed4a501-c124-4404-bd2a-1a1ee7b472ad) | running | n/a | mysql_z2 | 10.244.8.2 |
| proxy_z1/0 (559b5c85-2a79-4c95-9f9e-f55acfd3ebf1) | running | n/a | proxy_z1 | 10.244.7.3 |
| proxy_z2/0 (0e8f4fa9-0fb5-4eb2-b513-f0020d822a3c) | running | n/a | proxy_z2 | 10.244.8.3 |
+-------------------------------------------------------------+---------+-----+--------------------+------------+
The error is:
E, [2016-12-06 04:11:35 #17758] [task:17] ERROR -- DirectorJobRunner: 'cf-mysql-broker_z1/0 (5dccc948-9ecc-4e9a-bb61-f98cb409daba)' is not running after update. Review logs for failed jobs: cf-mysql-broker, quota-enforcer
/var/vcap/packages/director/gem_home/ruby/2.3.0/gems/bosh-director-1.3262.3.0/lib/bosh/director/instance_updater/state_applier.rb:48:in `post_start'
/var/vcap/packages/director/gem_home/ruby/2.3.0/gems/bosh-director-1.3262.3.0/lib/bosh/director/instance_updater/state_applier.rb:30:in `apply'
/var/vcap/packages/director/gem_home/ruby/2.3.0/gems/bosh-director-1.3262.3.0/lib/bosh/director/instance_updater.rb:109:in `block in update'
Any idea what this means and how to resolve it? Running cloudcheck
or cck
doesn't find anything.
~/workspace/cf-mysql-release$ bosh cck
Acting as user 'admin' on deployment 'cf-warden-mysql' on 'Bosh Lite Director'
Performing cloud check...
Director task 26
Started scanning 7 vms
Started scanning 7 vms > Checking VM states. Done (00:00:00)
Started scanning 7 vms > 7 OK, 0 unresponsive, 0 missing, 0 unbound. Done (00:00:00)
Done scanning 7 vms (00:00:00)
Started scanning 2 persistent disks
Started scanning 2 persistent disks > Looking for inactive disks. Done (00:00:00)
Started scanning 2 persistent disks > 2 OK, 0 missing, 0 inactive, 0 mount-info mismatch. Done (00:00:00)
Done scanning 2 persistent disks (00:00:00)
Task 26 done
Started 2016-12-06 04:21:45 UTC
Finished 2016-12-06 04:21:45 UTC
Duration 00:00:00
Scan is complete, checking if any problems found...
No problems found
~/workspace/cf-mysql-release$ bosh cloudcheck
Acting as user 'admin' on deployment 'cf-warden-mysql' on 'Bosh Lite Director'
Performing cloud check...
Director task 27
Started scanning 7 vms
Started scanning 7 vms > Checking VM states. Done (00:00:00)
Started scanning 7 vms > 7 OK, 0 unresponsive, 0 missing, 0 unbound. Done (00:00:00)
Done scanning 7 vms (00:00:00)
Started scanning 2 persistent disks
Started scanning 2 persistent disks > Looking for inactive disks. Done (00:00:00)
Started scanning 2 persistent disks > 2 OK, 0 missing, 0 inactive, 0 mount-info mismatch. Done (00:00:00)
Done scanning 2 persistent disks (00:00:00)
Task 27 done
Started 2016-12-06 04:21:55 UTC
Finished 2016-12-06 04:21:55 UTC
Duration 00:00:00
Scan is complete, checking if any problems found...
No problems found
Additionally, running bosh run errand broker-registrar
produces the error below
~/workspace/cf-mysql-release$ bosh run errand broker-registrar
Acting as user 'admin' on deployment 'cf-warden-mysql' on 'Bosh Lite Director'
Director task 28
Error 100: invalid deployment:
Task 28 error
Errand 'broker-registrar' did not complete
For a more detailed error report, run: bosh task 28 --debug
My deployment seems to be correct
~/workspace/cf-mysql-release$ bosh status
Config
/home/bhaarat/.bosh_config
Director
Name Bosh Lite Director
URL https://24.17.94.106:25555
Version 1.3262.3.0 (00000000)
User admin
UUID c9ff6012-3899-4540-bca1-77e05f5a32d0
CPI warden_cpi
dns disabled
compiled_package_cache disabled
snapshots disabled
Deployment
Manifest /home/omni/workspace/cf-mysql-release/cf-mysql.yml
Some more details to help troubleshoot the issue.
cf-mysql.yml: https://gist.github.com/Omnipresent/4f7f7c4e27ec3000ae9355439fcb9674
Unfortunately BOSH is not able to surface the details of why jobs are failing to start. You'll need to download the logs to gather more info.
Run: bosh download logs cf-mysql-broker_z1 0
and extract the tgz that is downloaded.
Your output above says that both cf-mysql-broker
and quota-enforcer
jobs are failing.
Have a look at:
./cf-mysql-broker/cf-mysql-broker.log
./cf-mysql-broker/quota_enforcer.stderr.log
./cf-mysql-broker/quota_enforcer.stdout.log
and see if there are any clues to why the jobs are failing to start.
We're closing this as there's been no response in a week; please feel free to reopen if you have logs.
Thanks,
Rob & @jpalermo
I've setup boshlite and CF on AWS. I've setup the mysql service by following the README. I've gotten some success but I can't seem to
create-service
.I can see the service-brokers
I can see the services in marketplace
However, when I try to create-service I get an error
I've also created
security-group
withrule.json
Some more details about my environment
BOSH vms shows everything as running except the following
Should I start the above? If so, how?