bosh icon indicating copy to clipboard operation
bosh copied to clipboard

Bosh cck doesn't detect a problem with a failing job

Open tomoe opened this issue 10 years ago • 2 comments

Version 1.3146.10.0 (00000000)

Precondition: one of the jobs is "failing" state

ubuntu@ops-manager:/var/tempest/workspaces$ bosh instances --ps                                                                                                                                                                                                                 
Acting as user 'director' on deployment 'p-redis-7610e87c76d5313640d8' on 'p-bosh-f3b1fb3436882cdaa51b'

Director task 424

Task 424 done

+--------------------------------------------------+---------+------------------------------------------------+-----------+
| Instance                                         | State   | Resource Pool                                  | IPs       |
+--------------------------------------------------+---------+------------------------------------------------+-----------+
| cf-redis-broker-partition-2a76849bdc38728d413f/0 | running | cf-redis-broker-partition-2a76849bdc38728d413f | 10.0.0.86 |
|   process-watcher                                | running |                                                |           |
|   cf-redis-broker                                | running |                                                |           |
|   broker-nginx                                   | running |                                                |           |
|   route-registrar                                | running |                                                |           |
|   syslog-configurator                            | running |                                                |           |
+--------------------------------------------------+---------+------------------------------------------------+-----------+
| dedicated-node-partition-2a76849bdc38728d413f/0  | failing | dedicated-node-partition-2a76849bdc38728d413f  | 10.0.0.87 |
|   redis-agent                                    | running |                                                |           |
|   redis                                          | unknown |                                                |           |
|   nginx                                          | running |                                                |           |
|   syslog-configurator                            | running |                                                |           |
+--------------------------------------------------+---------+------------------------------------------------+-----------+

I tried bosh cck hoping that would detect the problem and prompts me for fix options, but said the following:

ubuntu@ops-manager:/var/tempest/workspaces$ bosh cck
Acting as user 'director' on deployment 'p-redis-7610e87c76d5313640d8' on 'p-bosh-f3b1fb3436882cdaa51b'
Performing cloud check...

Director task 425
  Started scanning 2 vms
  Started scanning 2 vms > Checking VM states. Done (00:00:01)
  Started scanning 2 vms > 2 OK, 0 unresponsive, 0 missing, 0 unbound, 0 out of sync. Done (00:00:00)
     Done scanning 2 vms (00:00:01)

  Started scanning 2 persistent disks
  Started scanning 2 persistent disks > Looking for inactive disks. Done (00:00:01)
  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:01)

Task 425 done

Started         2016-04-13 04:49:57 UTC
Finished        2016-04-13 04:49:59 UTC
Duration        00:00:02

Scan is complete, checking if any problems found...
No problems found

Corresponding task log:

Director task 425
I, [2016-04-13T04:49:52.609739 #2545] [0x2b1a692e5334]  INFO -- TaskHelper: Director Version: 1.3146.10.0
I, [2016-04-13T04:49:52.609840 #2545] [0x2b1a692e5334]  INFO -- TaskHelper: Enqueuing task: 425
I, [2016-04-13 04:49:55 #21301] []  INFO -- DirectorJobRunner: Looking for task with task id 425
D, [2016-04-13 04:49:55 #21301] [] DEBUG -- DirectorJobRunner: (0.000491s) SELECT NULL
D, [2016-04-13 04:49:55 #21301] [] DEBUG -- DirectorJobRunner: (0.000529s) SELECT * FROM "tasks" WHERE "id" = 425
I, [2016-04-13 04:49:55 #21301] []  INFO -- DirectorJobRunner: Found task #<Bosh::Director::Models::Task @values={:id=>425, :state=>"queued", :timestamp=>2016-04-13 04:49:52 +0000, :description=>"scan cloud", :result=>nil, :output=>"/var/vcap/store/director/tasks/425", :checkpoint_time=>2016-04-13 04:49:52 +0000, :type=>"cck_scan", :username=>"director"}>
I, [2016-04-13 04:49:55 #21301] []  INFO -- DirectorJobRunner: Starting task: 425
I, [2016-04-13 04:49:55 #21301] [task:425]  INFO -- DirectorJobRunner: Creating job
D, [2016-04-13 04:49:55 #21301] [task:425] DEBUG -- DirectorJobRunner: (0.000218s) SELECT NULL
D, [2016-04-13 04:49:55 #21301] [task:425] DEBUG -- DirectorJobRunner: (0.000200s) SELECT NULL
D, [2016-04-13 04:49:55 #21301] [task:425] DEBUG -- DirectorJobRunner: (0.000534s) SELECT * FROM "deployments" WHERE ("name" = 'p-redis-7610e87c76d5313640d8') LIMIT 1
D, [2016-04-13 04:49:55 #21301] [task:425] DEBUG -- DirectorJobRunner: (0.000193s) SELECT NULL
D, [2016-04-13 04:49:55 #21301] [task:425] DEBUG -- DirectorJobRunner: (0.000371s) SELECT * FROM "tasks" WHERE "id" = 425
D, [2016-04-13 04:49:55 #21301] [task:425] DEBUG -- DirectorJobRunner: (0.000196s) SELECT NULL
D, [2016-04-13 04:49:55 #21301] [task:425] DEBUG -- DirectorJobRunner: (0.000342s) SELECT * FROM "tasks" WHERE "id" = 425
I, [2016-04-13 04:49:55 #21301] [task:425]  INFO -- DirectorJobRunner: Performing task: #<Bosh::Director::Models::Task @values={:id=>425, :state=>"queued", :timestamp=>2016-04-13 04:49:52 +0000, :description=>"scan cloud", :result=>nil, :output=>"/var/vcap/store/director/tasks/425", :checkpoint_time=>2016-04-13 04:49:52 +0000, :type=>"cck_scan", :username=>"director"}>
D, [2016-04-13 04:49:55 #21301] [task:425] DEBUG -- DirectorJobRunner: (0.000397s) SELECT NULL
D, [2016-04-13 04:49:55 #21301] [task:425] DEBUG -- DirectorJobRunner: (0.000161s) BEGIN
D, [2016-04-13 04:49:55 #21301] [task:425] DEBUG -- DirectorJobRunner: (0.000513s) UPDATE "tasks" SET "state" = 'processing', "timestamp" = '2016-04-13 04:49:55.080436+0000', "description" = 'scan cloud', "result" = NULL, "output" = '/var/vcap/store/director/tasks/425', "checkpoint_time" = '2016-04-13 04:49:55.080600+0000', "type" = 'cck_scan', "username" = 'director' WHERE ("id" = 425)
D, [2016-04-13 04:49:55 #21301] [task:425] DEBUG -- DirectorJobRunner: (0.002663s) COMMIT
I, [2016-04-13 04:49:55 #21301] [task:425]  INFO -- DirectorJobRunner: Acquiring deployment lock on p-redis-7610e87c76d5313640d8
D, [2016-04-13 04:49:55 #21301] [task:425] DEBUG -- DirectorJobRunner: Acquiring lock: lock:deployment:p-redis-7610e87c76d5313640d8
D, [2016-04-13 04:49:55 #21301] [task:425] DEBUG -- DirectorJobRunner: Acquired lock: lock:deployment:p-redis-7610e87c76d5313640d8
D, [2016-04-13 04:49:55 #21301] [] DEBUG -- DirectorJobRunner: Renewing lock: lock:deployment:p-redis-7610e87c76d5313640d8
D, [2016-04-13 04:49:55 #21301] [task:425] DEBUG -- DirectorJobRunner: (0.001978s) SELECT NULL
D, [2016-04-13 04:49:55 #21301] [task:425] DEBUG -- DirectorJobRunner: (0.001052s) SELECT NULL
D, [2016-04-13 04:49:55 #21301] [task:425] DEBUG -- DirectorJobRunner: (0.000307s) SELECT NULL
D, [2016-04-13 04:49:55 #21301] [task:425] DEBUG -- DirectorJobRunner: (0.000508s) UPDATE "deployment_problems" SET "state" = 'closed' WHERE (("state" = 'open') AND ("deployment_problems"."deployment_id" = 5))
D, [2016-04-13 04:49:57 #21301] [task:425] DEBUG -- DirectorJobRunner: excon.request {:chunk_size=>1048576, :ciphers=>"HIGH:!SSLv2:!aNULL:!eNULL:!3DES", :connect_timeout=>60, :debug_request=>false, :debug_response=>true, :headers=>{"User-Agent"=>"fog/1.34.0 fog-core/1.32.1", "Content-Type"=>"application/json", "Host"=>"88.198.234.162:5000"}, :idempotent=>false, :instrumentor_name=>"excon", :middlewares=>[Excon::Middleware::ResponseParser, Excon::Middleware::Expects, Excon::Middleware::Idempotent, Excon::Middleware::Instrumentor, Excon::Middleware::Mock], :mock=>false, :nonblock=>true, :omit_default_port=>false, :persistent=>false, :read_timeout=>60, :retry_limit=>4, :ssl_verify_peer=>true, :tcp_nodelay=>false, :thread_safe_sockets=>true, :uri_parser=>URI, :versions=>"excon/0.45.4 (x86_64-linux) ruby/2.1.7", :write_timeout=>60, :host=>"88.198.234.162", :hostname=>"88.198.234.162", :path=>"/v2.0/tokens", :port=>5000, :query=>nil, :scheme=>"http", :instrumentor=>Bosh::OpenStackCloud::ExconLoggingInstrumentor, :expects=>[200, 204], :body=>"{\"auth\":{\"passwordCredentials\":{\"username\":\"demo\",\"password\":\"9d3e0c9a16d34758\"},\"tenantName\":\"demo\"}}", :method=>"POST", :retries_remaining=>4, :connection=>#<Excon::Connection:55e2bad40718 @data={:chunk_size=>1048576, :ciphers=>"HIGH:!SSLv2:!aNULL:!eNULL:!3DES", :connect_timeout=>60, :debug_request=>false, :debug_response=>true, :headers=>{"User-Agent"=>"fog/1.34.0 fog-core/1.32.1"}, :idempotent=>false, :instrumentor_name=>"excon", :middlewares=>[Excon::Middleware::ResponseParser, Excon::Middleware::Expects, Excon::Middleware::Idempotent, Excon::Middleware::Instrumentor, Excon::Middleware::Mock], :mock=>false, :nonblock=>true, :omit_default_port=>false, :persistent=>false, :read_timeout=>60, :retry_limit=>4, :ssl_verify_peer=>true, :tcp_nodelay=>false, :thread_safe_sockets=>true, :uri_parser=>URI, :versions=>"excon/0.45.4 (x86_64-linux) ruby/2.1.7", :write_timeout=>60, :host=>"88.198.234.162", :hostname=>"88.198.234.162", :path=>"/v2.0/tokens", :port=>5000, :query=>nil, :scheme=>"http", :instrumentor=>Bosh::OpenStackCloud::ExconLoggingInstrumentor} @socket_key="http://88.198.234.162:5000">, :stack=>#<Excon::Middleware::ResponseParser:0x0055e2bad33ae0 @stack=#<Excon::Middleware::Expects:0x0055e2bad33b08 @stack=#<Excon::Middleware::Idempotent:0x0055e2bad33b30 @stack=#<Excon::Middleware::Instrumentor:0x0055e2bad33b58 @stack=#<Excon::Middleware::Mock:0x0055e2bad33b80 @stack=#<Excon::Connection:55e2bad40718 @data={:chunk_size=>1048576, :ciphers=>"HIGH:!SSLv2:!aNULL:!eNULL:!3DES", :connect_timeout=>60, :debug_request=>false, :debug_response=>true, :headers=>{"User-Agent"=>"fog/1.34.0 fog-core/1.32.1"}, :idempotent=>false, :instrumentor_name=>"excon", :middlewares=>[Excon::Middleware::ResponseParser, Excon::Middleware::Expects, Excon::Middleware::Idempotent, Excon::Middleware::Instrumentor, Excon::Middleware::Mock], :mock=>false, :nonblock=>true, :omit_default_port=>false, :persistent=>false, :read_timeout=>60, :retry_limit=>4, :ssl_verify_peer=>true, :tcp_nodelay=>false, :thread_safe_sockets=>true, :uri_parser=>URI, :versions=>"excon/0.45.4 (x86_64-linux) ruby/2.1.7", :write_timeout=>60, :host=>"88.198.234.162", :hostname=>"88.198.234.162", :path=>"/v2.0/tokens", :port=>5000, :query=>nil, :scheme=>"http", :instrumentor=>Bosh::OpenStackCloud::ExconLoggingInstrumentor} @socket_key="http://88.198.234.162:5000">>>>>>}
D, [2016-04-13 04:49:57 #21301] [task:425] DEBUG -- DirectorJobRunner: excon.response {:body=>"{\"access\": {\"token\": {\"issued_at\": \"2016-04-13T04:49:57.054280\", \"expires\": \"2016-04-13T05:49:57Z\", \"id\": \"3fd231dea1654094b54d9b23212fc3fe\", \"tenant\": {\"description\": \"default tenant\", \"enabled\": true, \"id\": \"64b58e5635cd4a57a7f6af2647fb5f88\", \"name\": \"demo\"}, \"audit_ids\": [\"zUD0FFOYQY-KhX-dXXFRmw\"]}, \"serviceCatalog\": [{\"endpoints\": [{\"adminURL\": \"http://88.198.234.162:8774/v2/64b58e5635cd4a57a7f6af2647fb5f88\", \"region\": \"RegionOne\", \"internalURL\": \"http://88.198.234.162:8774/v2/64b58e5635cd4a57a7f6af2647fb5f88\", \"id\": \"28ff97ee4dc24a8b8cf09cd4c47922c4\", \"publicURL\": \"http://88.198.234.162:8774/v2/64b58e5635cd4a57a7f6af2647fb5f88\"}], \"endpoints_links\": [], \"type\": \"compute\", \"name\": \"nova\"}, {\"endpoints\": [{\"adminURL\": \"http://88.198.234.162:9696\", \"region\": \"RegionOne\", \"internalURL\": \"http://88.198.234.162:9696\", \"id\": \"2707a27848794fc59a21ff864ff81e5a\", \"publicURL\": \"http://88.198.234.162:9696\"}], \"endpoints_links\": [], \"type\": \"network\", \"name\": \"neutron\"}, {\"endpoints\": [{\"adminURL\": \"http://88.198.234.162:8776/v2/64b58e5635cd4a57a7f6af2647fb5f88\", \"region\": \"RegionOne\", \"internalURL\": \"http://88.198.234.162:8776/v2/64b58e5635cd4a57a7f6af2647fb5f88\", \"id\": \"19425bd0b5eb45bb8769aeda58983d2c\", \"publicURL\": \"http://88.198.234.162:8776/v2/64b58e5635cd4a57a7f6af2647fb5f88\"}], \"endpoints_links\": [], \"type\": \"volumev2\", \"name\": \"cinderv2\"}, {\"endpoints\": [{\"adminURL\": \"http://127.0.0.1:8774/v3\", \"region\": \"RegionOne\", \"internalURL\": \"http://127.0.0.1:8774/v3\", \"id\": \"063bc8b248e747318d0aaeefbaff8792\", \"publicURL\": \"http://127.0.0.1:8774/v3\"}], \"endpoints_links\": [], \"type\": \"computev3\", \"name\": \"novav3\"}, {\"endpoints\": [{\"adminURL\": \"http://88.198.234.162:8080\", \"region\": \"RegionOne\", \"internalURL\": \"http://88.198.234.162:8080\", \"id\": \"5541e6ba4afb42f1a98ea9cbf9b89fcf\", \"publicURL\": \"http://88.198.234.162:8080\"}], \"endpoints_links\": [], \"type\": \"s3\", \"name\": \"swift_s3\"}, {\"endpoints\": [{\"adminURL\": \"http://88.198.234.162:9292\", \"region\": \"RegionOne\", \"internalURL\": \"http://88.198.234.162:9292\", \"id\": \"57cf19c6f17f4c25b2a04bed2e450813\", \"publicURL\": \"http://88.198.234.162:9292\"}], \"endpoints_links\": [], \"type\": \"image\", \"name\": \"glance\"}, {\"endpoints\": [{\"adminURL\": \"http://88.198.234.162:8777\", \"region\": \"RegionOne\", \"internalURL\": \"http://88.198.234.162:8777\", \"id\": \"237a734a90a5432da7fb80e5bb6ae65e\", \"publicURL\": \"http://88.198.234.162:8777\"}], \"endpoints_links\": [], \"type\": \"metering\", \"name\": \"ceilometer\"}, {\"endpoints\": [{\"adminURL\": \"http://88.198.234.162:8776/v1/64b58e5635cd4a57a7f6af2647fb5f88\", \"region\": \"RegionOne\", \"internalURL\": \"http://88.198.234.162:8776/v1/64b58e5635cd4a57a7f6af2647fb5f88\", \"id\": \"a6367e54c5af4e78bcfc3b723d667217\", \"publicURL\": \"http://88.198.234.162:8776/v1/64b58e5635cd4a57a7f6af2647fb5f88\"}], \"endpoints_links\": [], \"type\": \"volume\", \"name\": \"cinder\"}, {\"endpoints\": [{\"adminURL\": \"http://88.198.234.162:8773/services/Admin\", \"region\": \"RegionOne\", \"internalURL\": \"http://88.198.234.162:8773/services/Cloud\", \"id\": \"81599afa55f14c6997e4d4608aa6314b\", \"publicURL\": \"http://88.198.234.162:8773/services/Cloud\"}], \"endpoints_links\": [], \"type\": \"ec2\", \"name\": \"nova_ec2\"}, {\"endpoints\": [{\"adminURL\": \"http://88.198.234.162:8080\", \"region\": \"RegionOne\", \"internalURL\": \"http://88.198.234.162:8080/v1/AUTH_64b58e5635cd4a57a7f6af2647fb5f88\", \"id\": \"336b4904a8d9405484ef1fe9c35a07f5\", \"publicURL\": \"http://88.198.234.162:8080/v1/AUTH_64b58e5635cd4a57a7f6af2647fb5f88\"}], \"endpoints_links\": [], \"type\": \"object-store\", \"name\": \"swift\"}, {\"endpoints\": [{\"adminURL\": \"http://88.198.234.162:35357/v2.0\", \"region\": \"RegionOne\", \"internalURL\": \"http://88.198.234.162:5000/v2.0\", \"id\": \"2050e031a4c14ef29767752fde9a9aec\", \"publicURL\": \"http://88.198.234.162:5000/v2.0\"}], \"endpoints_links\": [], \"type\": \"identity\", \"name\": \"keystone\"}], \"user\": {\"username\": \"demo\", \"roles_links\": [], \"id\": \"9f891456f768435d990682af2c829970\", \"roles\": [{\"name\": \"_member_\"}], \"name\": \"demo\"}, \"metadata\": {\"is_admin\": 0, \"roles\": [\"9fe2ff9ee4384b1894a90878d3e92bab\"]}}}", :headers=>{"Date"=>"Wed, 13 Apr 2016 04:49:57 GMT", "Server"=>"Apache/2.4.6 (CentOS)", "Vary"=>"X-Auth-Token,Accept-Encoding", "x-openstack-request-id"=>"req-f68505d2-0a02-4bc4-826a-afdfb3e8cd33", "Content-Length"=>"4023", "Connection"=>"close", "Content-Type"=>"application/json"}, :status=>200, :status_line=>"HTTP/1.1 200 OK\r\n", :reason_phrase=>"OK", :remote_ip=>"88.198.234.162", :local_port=>52568, :local_address=>"10.0.0.6"}
D, [2016-04-13 04:49:57 #21301] [task:425] DEBUG -- DirectorJobRunner: excon.request {:chunk_size=>1048576, :ciphers=>"HIGH:!SSLv2:!aNULL:!eNULL:!3DES", :connect_timeout=>60, :debug_request=>false, :debug_response=>true, :headers=>{"User-Agent"=>"fog/1.34.0 fog-core/1.32.1", "Content-Type"=>"application/json", "Host"=>"88.198.234.162:5000"}, :idempotent=>false, :instrumentor_name=>"excon", :middlewares=>[Excon::Middleware::ResponseParser, Excon::Middleware::Expects, Excon::Middleware::Idempotent, Excon::Middleware::Instrumentor, Excon::Middleware::Mock], :mock=>false, :nonblock=>true, :omit_default_port=>false, :persistent=>false, :read_timeout=>60, :retry_limit=>4, :ssl_verify_peer=>true, :tcp_nodelay=>false, :thread_safe_sockets=>true, :uri_parser=>URI, :versions=>"excon/0.45.4 (x86_64-linux) ruby/2.1.7", :write_timeout=>60, :host=>"88.198.234.162", :hostname=>"88.198.234.162", :path=>"/v2.0/tokens", :port=>5000, :query=>nil, :scheme=>"http", :instrumentor=>Bosh::OpenStackCloud::ExconLoggingInstrumentor, :expects=>[200, 204], :body=>"{\"auth\":{\"passwordCredentials\":{\"username\":\"demo\",\"password\":\"9d3e0c9a16d34758\"},\"tenantName\":\"demo\"}}", :method=>"POST", :retries_remaining=>4, :connection=>#<Excon::Connection:55e2babb2338 @data={:chunk_size=>1048576, :ciphers=>"HIGH:!SSLv2:!aNULL:!eNULL:!3DES", :connect_timeout=>60, :debug_request=>false, :debug_response=>true, :headers=>{"User-Agent"=>"fog/1.34.0 fog-core/1.32.1"}, :idempotent=>false, :instrumentor_name=>"excon", :middlewares=>[Excon::Middleware::ResponseParser, Excon::Middleware::Expects, Excon::Middleware::Idempotent, Excon::Middleware::Instrumentor, Excon::Middleware::Mock], :mock=>false, :nonblock=>true, :omit_default_port=>false, :persistent=>false, :read_timeout=>60, :retry_limit=>4, :ssl_verify_peer=>true, :tcp_nodelay=>false, :thread_safe_sockets=>true, :uri_parser=>URI, :versions=>"excon/0.45.4 (x86_64-linux) ruby/2.1.7", :write_timeout=>60, :host=>"88.198.234.162", :hostname=>"88.198.234.162", :path=>"/v2.0/tokens", :port=>5000, :query=>nil, :scheme=>"http", :instrumentor=>Bosh::OpenStackCloud::ExconLoggingInstrumentor} @socket_key="http://88.198.234.162:5000">, :stack=>#<Excon::Middleware::ResponseParser:0x0055e2babb1640 @stack=#<Excon::Middleware::Expects:0x0055e2babb1668 @stack=#<Excon::Middleware::Idempotent:0x0055e2babb1690 @stack=#<Excon::Middleware::Instrumentor:0x0055e2babb16b8 @stack=#<Excon::Middleware::Mock:0x0055e2babb16e0 @stack=#<Excon::Connection:55e2babb2338 @data={:chunk_size=>1048576, :ciphers=>"HIGH:!SSLv2:!aNULL:!eNULL:!3DES", :connect_timeout=>60, :debug_request=>false, :debug_response=>true, :headers=>{"User-Agent"=>"fog/1.34.0 fog-core/1.32.1"}, :idempotent=>false, :instrumentor_name=>"excon", :middlewares=>[Excon::Middleware::ResponseParser, Excon::Middleware::Expects, Excon::Middleware::Idempotent, Excon::Middleware::Instrumentor, Excon::Middleware::Mock], :mock=>false, :nonblock=>true, :omit_default_port=>false, :persistent=>false, :read_timeout=>60, :retry_limit=>4, :ssl_verify_peer=>true, :tcp_nodelay=>false, :thread_safe_sockets=>true, :uri_parser=>URI, :versions=>"excon/0.45.4 (x86_64-linux) ruby/2.1.7", :write_timeout=>60, :host=>"88.198.234.162", :hostname=>"88.198.234.162", :path=>"/v2.0/tokens", :port=>5000, :query=>nil, :scheme=>"http", :instrumentor=>Bosh::OpenStackCloud::ExconLoggingInstrumentor} @socket_key="http://88.198.234.162:5000">>>>>>}
D, [2016-04-13 04:49:57 #21301] [task:425] DEBUG -- DirectorJobRunner: excon.response {:body=>"{\"access\": {\"token\": {\"issued_at\": \"2016-04-13T04:49:57.131113\", \"expires\": \"2016-04-13T05:49:57Z\", \"id\": \"15475d9a605649778cd290ddc67e6835\", \"tenant\": {\"description\": \"default tenant\", \"enabled\": true, \"id\": \"64b58e5635cd4a57a7f6af2647fb5f88\", \"name\": \"demo\"}, \"audit_ids\": [\"RHlgb1duQ3SzRBTdOu_Wig\"]}, \"serviceCatalog\": [{\"endpoints\": [{\"adminURL\": \"http://88.198.234.162:8774/v2/64b58e5635cd4a57a7f6af2647fb5f88\", \"region\": \"RegionOne\", \"internalURL\": \"http://88.198.234.162:8774/v2/64b58e5635cd4a57a7f6af2647fb5f88\", \"id\": \"28ff97ee4dc24a8b8cf09cd4c47922c4\", \"publicURL\": \"http://88.198.234.162:8774/v2/64b58e5635cd4a57a7f6af2647fb5f88\"}], \"endpoints_links\": [], \"type\": \"compute\", \"name\": \"nova\"}, {\"endpoints\": [{\"adminURL\": \"http://88.198.234.162:9696\", \"region\": \"RegionOne\", \"internalURL\": \"http://88.198.234.162:9696\", \"id\": \"2707a27848794fc59a21ff864ff81e5a\", \"publicURL\": \"http://88.198.234.162:9696\"}], \"endpoints_links\": [], \"type\": \"network\", \"name\": \"neutron\"}, {\"endpoints\": [{\"adminURL\": \"http://88.198.234.162:8776/v2/64b58e5635cd4a57a7f6af2647fb5f88\", \"region\": \"RegionOne\", \"internalURL\": \"http://88.198.234.162:8776/v2/64b58e5635cd4a57a7f6af2647fb5f88\", \"id\": \"19425bd0b5eb45bb8769aeda58983d2c\", \"publicURL\": \"http://88.198.234.162:8776/v2/64b58e5635cd4a57a7f6af2647fb5f88\"}], \"endpoints_links\": [], \"type\": \"volumev2\", \"name\": \"cinderv2\"}, {\"endpoints\": [{\"adminURL\": \"http://127.0.0.1:8774/v3\", \"region\": \"RegionOne\", \"internalURL\": \"http://127.0.0.1:8774/v3\", \"id\": \"063bc8b248e747318d0aaeefbaff8792\", \"publicURL\": \"http://127.0.0.1:8774/v3\"}], \"endpoints_links\": [], \"type\": \"computev3\", \"name\": \"novav3\"}, {\"endpoints\": [{\"adminURL\": \"http://88.198.234.162:8080\", \"region\": \"RegionOne\", \"internalURL\": \"http://88.198.234.162:8080\", \"id\": \"5541e6ba4afb42f1a98ea9cbf9b89fcf\", \"publicURL\": \"http://88.198.234.162:8080\"}], \"endpoints_links\": [], \"type\": \"s3\", \"name\": \"swift_s3\"}, {\"endpoints\": [{\"adminURL\": \"http://88.198.234.162:9292\", \"region\": \"RegionOne\", \"internalURL\": \"http://88.198.234.162:9292\", \"id\": \"57cf19c6f17f4c25b2a04bed2e450813\", \"publicURL\": \"http://88.198.234.162:9292\"}], \"endpoints_links\": [], \"type\": \"image\", \"name\": \"glance\"}, {\"endpoints\": [{\"adminURL\": \"http://88.198.234.162:8777\", \"region\": \"RegionOne\", \"internalURL\": \"http://88.198.234.162:8777\", \"id\": \"237a734a90a5432da7fb80e5bb6ae65e\", \"publicURL\": \"http://88.198.234.162:8777\"}], \"endpoints_links\": [], \"type\": \"metering\", \"name\": \"ceilometer\"}, {\"endpoints\": [{\"adminURL\": \"http://88.198.234.162:8776/v1/64b58e5635cd4a57a7f6af2647fb5f88\", \"region\": \"RegionOne\", \"internalURL\": \"http://88.198.234.162:8776/v1/64b58e5635cd4a57a7f6af2647fb5f88\", \"id\": \"a6367e54c5af4e78bcfc3b723d667217\", \"publicURL\": \"http://88.198.234.162:8776/v1/64b58e5635cd4a57a7f6af2647fb5f88\"}], \"endpoints_links\": [], \"type\": \"volume\", \"name\": \"cinder\"}, {\"endpoints\": [{\"adminURL\": \"http://88.198.234.162:8773/services/Admin\", \"region\": \"RegionOne\", \"internalURL\": \"http://88.198.234.162:8773/services/Cloud\", \"id\": \"81599afa55f14c6997e4d4608aa6314b\", \"publicURL\": \"http://88.198.234.162:8773/services/Cloud\"}], \"endpoints_links\": [], \"type\": \"ec2\", \"name\": \"nova_ec2\"}, {\"endpoints\": [{\"adminURL\": \"http://88.198.234.162:8080\", \"region\": \"RegionOne\", \"internalURL\": \"http://88.198.234.162:8080/v1/AUTH_64b58e5635cd4a57a7f6af2647fb5f88\", \"id\": \"336b4904a8d9405484ef1fe9c35a07f5\", \"publicURL\": \"http://88.198.234.162:8080/v1/AUTH_64b58e5635cd4a57a7f6af2647fb5f88\"}], \"endpoints_links\": [], \"type\": \"object-store\", \"name\": \"swift\"}, {\"endpoints\": [{\"adminURL\": \"http://88.198.234.162:35357/v2.0\", \"region\": \"RegionOne\", \"internalURL\": \"http://88.198.234.162:5000/v2.0\", \"id\": \"2050e031a4c14ef29767752fde9a9aec\", \"publicURL\": \"http://88.198.234.162:5000/v2.0\"}], \"endpoints_links\": [], \"type\": \"identity\", \"name\": \"keystone\"}], \"user\": {\"username\": \"demo\", \"roles_links\": [], \"id\": \"9f891456f768435d990682af2c829970\", \"roles\": [{\"name\": \"_member_\"}], \"name\": \"demo\"}, \"metadata\": {\"is_admin\": 0, \"roles\": [\"9fe2ff9ee4384b1894a90878d3e92bab\"]}}}", :headers=>{"Date"=>"Wed, 13 Apr 2016 04:49:57 GMT", "Server"=>"Apache/2.4.6 (CentOS)", "Vary"=>"X-Auth-Token,Accept-Encoding", "x-openstack-request-id"=>"req-84bde112-d9d2-4886-a490-8e0d05abdcf3", "Content-Length"=>"4023", "Connection"=>"close", "Content-Type"=>"application/json"}, :status=>200, :status_line=>"HTTP/1.1 200 OK\r\n", :reason_phrase=>"OK", :remote_ip=>"88.198.234.162", :local_port=>52569, :local_address=>"10.0.0.6"}
D, [2016-04-13 04:49:57 #21301] [task:425] DEBUG -- DirectorJobRunner: excon.request {:chunk_size=>1048576, :ciphers=>"HIGH:!SSLv2:!aNULL:!eNULL:!3DES", :connect_timeout=>60, :debug_request=>false, :debug_response=>true, :headers=>{"User-Agent"=>"fog/1.34.0 fog-core/1.32.1", "Content-Type"=>"application/json", "Accept"=>"application/json", "X-Auth-Token"=>"15475d9a605649778cd290ddc67e6835", "Host"=>"88.198.234.162:9292"}, :idempotent=>false, :instrumentor_name=>"excon", :middlewares=>[Excon::Middleware::ResponseParser, Excon::Middleware::Expects, Excon::Middleware::Idempotent, Excon::Middleware::Instrumentor, Excon::Middleware::Mock], :mock=>false, :nonblock=>true, :omit_default_port=>false, :persistent=>false, :read_timeout=>60, :retry_limit=>4, :ssl_verify_peer=>true, :tcp_nodelay=>false, :thread_safe_sockets=>true, :uri_parser=>URI, :versions=>"excon/0.45.4 (x86_64-linux) ruby/2.1.7", :write_timeout=>60, :host=>"88.198.234.162", :hostname=>"88.198.234.162", :path=>"/", :port=>9292, :query=>nil, :scheme=>"http", :instrumentor=>Bosh::OpenStackCloud::ExconLoggingInstrumentor, :expects=>[200, 204, 300], :method=>"GET", :retries_remaining=>4, :connection=>#<Excon::Connection:55e2bab5d8b0 @data={:chunk_size=>1048576, :ciphers=>"HIGH:!SSLv2:!aNULL:!eNULL:!3DES", :connect_timeout=>60, :debug_request=>false, :debug_response=>true, :headers=>{"User-Agent"=>"fog/1.34.0 fog-core/1.32.1"}, :idempotent=>false, :instrumentor_name=>"excon", :middlewares=>[Excon::Middleware::ResponseParser, Excon::Middleware::Expects, Excon::Middleware::Idempotent, Excon::Middleware::Instrumentor, Excon::Middleware::Mock], :mock=>false, :nonblock=>true, :omit_default_port=>false, :persistent=>false, :read_timeout=>60, :retry_limit=>4, :ssl_verify_peer=>true, :tcp_nodelay=>false, :thread_safe_sockets=>true, :uri_parser=>URI, :versions=>"excon/0.45.4 (x86_64-linux) ruby/2.1.7", :write_timeout=>60, :host=>"88.198.234.162", :hostname=>"88.198.234.162", :path=>"", :port=>9292, :query=>nil, :scheme=>"http", :instrumentor=>Bosh::OpenStackCloud::ExconLoggingInstrumentor} @socket_key="http://88.198.234.162:9292">, :stack=>#<Excon::Middleware::ResponseParser:0x0055e2bab5ce88 @stack=#<Excon::Middleware::Expects:0x0055e2bab5ceb0 @stack=#<Excon::Middleware::Idempotent:0x0055e2bab5ced8 @stack=#<Excon::Middleware::Instrumentor:0x0055e2bab5cf00 @stack=#<Excon::Middleware::Mock:0x0055e2bab5cf28 @stack=#<Excon::Connection:55e2bab5d8b0 @data={:chunk_size=>1048576, :ciphers=>"HIGH:!SSLv2:!aNULL:!eNULL:!3DES", :connect_timeout=>60, :debug_request=>false, :debug_response=>true, :headers=>{"User-Agent"=>"fog/1.34.0 fog-core/1.32.1"}, :idempotent=>false, :instrumentor_name=>"excon", :middlewares=>[Excon::Middleware::ResponseParser, Excon::Middleware::Expects, Excon::Middleware::Idempotent, Excon::Middleware::Instrumentor, Excon::Middleware::Mock], :mock=>false, :nonblock=>true, :omit_default_port=>false, :persistent=>false, :read_timeout=>60, :retry_limit=>4, :ssl_verify_peer=>true, :tcp_nodelay=>false, :thread_safe_sockets=>true, :uri_parser=>URI, :versions=>"excon/0.45.4 (x86_64-linux) ruby/2.1.7", :write_timeout=>60, :host=>"88.198.234.162", :hostname=>"88.198.234.162", :path=>"", :port=>9292, :query=>nil, :scheme=>"http", :instrumentor=>Bosh::OpenStackCloud::ExconLoggingInstrumentor} @socket_key="http://88.198.234.162:9292">>>>>>}
D, [2016-04-13 04:49:57 #21301] [task:425] DEBUG -- DirectorJobRunner: excon.response {:body=>"{\"versions\": [{\"status\": \"CURRENT\", \"id\": \"v2.3\", \"links\": [{\"href\": \"http://88.198.234.162:9292/v2/\", \"rel\": \"self\"}]}, {\"status\": \"SUPPORTED\", \"id\": \"v2.2\", \"links\": [{\"href\": \"http://88.198.234.162:9292/v2/\", \"rel\": \"self\"}]}, {\"status\": \"SUPPORTED\", \"id\": \"v2.1\", \"links\": [{\"href\": \"http://88.198.234.162:9292/v2/\", \"rel\": \"self\"}]}, {\"status\": \"SUPPORTED\", \"id\": \"v2.0\", \"links\": [{\"href\": \"http://88.198.234.162:9292/v2/\", \"rel\": \"self\"}]}, {\"status\": \"SUPPORTED\", \"id\": \"v1.1\", \"links\": [{\"href\": \"http://88.198.234.162:9292/v1/\", \"rel\": \"self\"}]}, {\"status\": \"SUPPORTED\", \"id\": \"v1.0\", \"links\": [{\"href\": \"http://88.198.234.162:9292/v1/\", \"rel\": \"self\"}]}]}", :headers=>{"Content-Type"=>"application/json; charset=UTF-8", "Content-Length"=>"666", "Date"=>"Wed, 13 Apr 2016 04:49:57 GMT"}, :status=>300, :status_line=>"HTTP/1.1 300 Multiple Choices\r\n", :reason_phrase=>"Multiple Choices", :remote_ip=>"88.198.234.162", :local_port=>42180, :local_address=>"10.0.0.6"}
D, [2016-04-13 04:49:57 #21301] [task:425] DEBUG -- DirectorJobRunner: (0.000257s) SELECT NULL
D, [2016-04-13 04:49:57 #21301] [task:425] DEBUG -- DirectorJobRunner: (0.000385s) SELECT * FROM "vms" WHERE ("vms"."deployment_id" = 5)
D, [2016-04-13 04:49:57 #21301] [task:425] DEBUG -- DirectorJobRunner: (0.000114s) SELECT NULL
D, [2016-04-13 04:49:57 #21301] [task:425] DEBUG -- DirectorJobRunner: (0.000207s) SELECT * FROM "instances" WHERE ("instances"."vm_id" IN (112, 113))
I, [2016-04-13 04:49:57 #21301] [task:425]  INFO -- DirectorJobRunner: Scanning 2 VMs
I, [2016-04-13 04:49:57 #21301] [task:425]  INFO -- DirectorJobRunner: Checking VM states
D, [2016-04-13 04:49:57 #21301] [task:425] DEBUG -- DirectorJobRunner: Creating new thread
D, [2016-04-13 04:49:57 #21301] [task:425] DEBUG -- DirectorJobRunner: All threads are currently busy, queuing action
D, [2016-04-13 04:49:57 #21301] [task:425] DEBUG -- DirectorJobRunner: Waiting for tasks to complete
D, [2016-04-13 04:49:57 #21301] [] DEBUG -- DirectorJobRunner: (0.000127s) SELECT NULL
D, [2016-04-13 04:49:57 #21301] [] DEBUG -- DirectorJobRunner: (0.000174s) SELECT * FROM "persistent_disks" WHERE ("persistent_disks"."instance_id" = 62)
D, [2016-04-13 04:49:57 #21301] [] DEBUG -- DirectorJobRunner: (0.000097s) SELECT NULL
D, [2016-04-13 04:49:57 #21301] [] DEBUG -- DirectorJobRunner: (0.000093s) SELECT NULL
D, [2016-04-13 04:49:57 #21301] [] DEBUG -- DirectorJobRunner: (0.000219s) SELECT * FROM "vms" WHERE ("agent_id" = 'b4a076af-d5fe-4c31-b9c7-48cebbd68ff7') LIMIT 1
D, [2016-04-13 04:49:57 #21301] [] DEBUG -- DirectorJobRunner: SENT: agent.b4a076af-d5fe-4c31-b9c7-48cebbd68ff7 {"protocol":2,"method":"get_state","arguments":[],"reply_to":"director.0d3dbf3a-5167-49a8-ac95-926ba1ec23fa.7eb4ddfd-2881-4192-aa9b-fe44c8cd5bef"}
D, [2016-04-13 04:49:57 #21301] [] DEBUG -- DirectorJobRunner: RECEIVED: director.0d3dbf3a-5167-49a8-ac95-926ba1ec23fa.7eb4ddfd-2881-4192-aa9b-fe44c8cd5bef {"value":{"properties":{"logging":{"max_log_file_size":""}},"job":{"name":"cf-redis-broker-partition-2a76849bdc38728d413f","release":"","template":"cf-redis-broker","version":"bf21cf8b44f06ec4dbfc3674c2a65afa6e90dc58","sha1":"84e57426d2bf696f68f6e755e396100837060833","blobstore_id":"16fc78a8-286a-4abe-8c46-7abce1bc8c22","templates":[{"name":"cf-redis-broker","version":"bf21cf8b44f06ec4dbfc3674c2a65afa6e90dc58","sha1":"84e57426d2bf696f68f6e755e396100837060833","blobstore_id":"16fc78a8-286a-4abe-8c46-7abce1bc8c22"},{"name":"syslog-configurator","version":"cfce5b8b13cdbad21f493388a3db70337445f1df","sha1":"b3a0211439369bb055d9b559e7e63e143749cd74","blobstore_id":"dd08e430-bdae-4d9e-a671-93df96b11102"}]},"packages":{"aws-cli":{"name":"aws-cli","version":"dad082fbc70bbbcc89fa2c5e6cd91f4ab9094c98.1","sha1":"e4b2512025745eb88746a7e2c35c9a835cdf88c5","blobstore_id":"fb0248bb-4cbb-4c24-43b9-2a9a84c44166"},"cf-redis-broker":{"name":"cf-redis-broker","version":"6be28f1d7dde75924e3fc2b2a8266fae4a6ed65e.1","sha1":"884df2e938f3f3331ee811a7f6a91a35553bc790","blobstore_id":"445925b2-1366-4b85-5924-ef4779cd2510"},"nginx":{"name":"nginx","version":"dd15c82027671c74b108c52bcecb64fcaf9c0d38.1","sha1":"e4f00bfad464f6bcd7442001e4c7545581341120","blobstore_id":"cfcdd664-a51a-486c-53c2-04dfffa67a56"},"python":{"name":"python","version":"d9109cbc4a3271e15a8f8397e54e4ccb340ba1e6.1","sha1":"17ffe88ec1356b150cfaa20ce4b5f71db0cb00a0","blobstore_id":"411442c5-6c94-4730-4a79-d36092f2f115"},"redis":{"name":"redis","version":"4733b899207307ec870a17e692f41d2f715af224.1","sha1":"f0eee27fe067b67c5e6ea80943acfee45debac65","blobstore_id":"9ee437b4-e6a4-42a2-7368-cc8f4d28154d"},"redis-common":{"name":"redis-common","version":"e2476053a43cb5b0d0f116fd7711d88d7c20001c.1","sha1":"14baeb28ad098d556b92d2e311fd5a6a48f67bd9","blobstore_id":"ef5af8ae-fbb1-4be0-429b-3426718fc886"},"route-registrar":{"name":"route-registrar","version":"ea809bd9021cad5b9cc854a1af3716c71d833d10.1","sha1":"2ba076a2527c7c8c16a73c23023dd09f564ded3a","blobstore_id":"a897a4e9-5d69-4603-5623-153dd6733073"}},"configuration_hash":"ae7ed4f9a8ae7819fe18cd46160c302a32f61fe5","networks":{"default":{"cloud_properties":{"net_id":"9a52d34f-515e-4811-8d18-abd2725e0b2a"},"default":["dns","gateway"],"dns":["8.8.8.8","10.0.0.6"],"dns_record_name":"0.cf-redis-broker-partition-2a76849bdc38728d413f.default.p-redis-7610e87c76d5313640d8.microbosh","gateway":"10.0.0.1","ip":"10.0.0.86","netmask":"255.255.255.0"}},"resource_pool":{"cloud_properties":{"availability_zone":"nova","instance_type":"m1.small"},"name":"cf-redis-broker-partition-2a76849bdc38728d413f","stemcell":{"name":"bosh-openstack-kvm-ubuntu-trusty-go_agent-raw","version":"3146.10"}},"deployment":"p-redis-7610e87c76d5313640d8","index":0,"id":"","persistent_disk":1024,"rendered_templates_archive":{"sha1":"2183816710e6a0545fa3f42f70f01fcf2df577ba","blobstore_id":"25383c13-19cd-414c-80dc-276597f813c6"},"agent_id":"b4a076af-d5fe-4c31-b9c7-48cebbd68ff7","bosh_protocol":"1","job_state":"running","processes":[{"name":"process-watcher","state":"running","uptime":{"secs":4569},"mem":{"kb":6240,"percent":0.3},"cpu":{"total":0}},{"name":"cf-redis-broker","state":"running","uptime":{"secs":4567},"mem":{"kb":9476,"percent":0.4},"cpu":{"total":0}},{"name":"broker-nginx","state":"running","uptime":{"secs":4566},"mem":{"kb":7148,"percent":0.3},"cpu":{"total":0}},{"name":"route-registrar","state":"running","uptime":{"secs":4565},"mem":{"kb":4212,"percent":0.2},"cpu":{"total":0}},{"name":"syslog-configurator","state":"running","uptime":{"secs":4564},"mem":{"kb":3588,"percent":0.1},"cpu":{"total":0}}],"vm":{"name":"vm-e4dda8dd-d428-4b90-b83a-e55acd5fc37e"},"ntp":{"offset":"0.018268","timestamp":"13 Apr 04:45:08"}}}
D, [2016-04-13 04:49:57 #21301] [] DEBUG -- DirectorJobRunner: SENT: agent.b4a076af-d5fe-4c31-b9c7-48cebbd68ff7 {"protocol":2,"method":"list_disk","arguments":[],"reply_to":"director.0d3dbf3a-5167-49a8-ac95-926ba1ec23fa.fd200960-d2ae-4f78-8e45-e3d08b65e093"}
D, [2016-04-13 04:49:57 #21301] [] DEBUG -- DirectorJobRunner: RECEIVED: director.0d3dbf3a-5167-49a8-ac95-926ba1ec23fa.fd200960-d2ae-4f78-8e45-e3d08b65e093 {"value":["b0ebb1c3-4187-4334-9ac6-b658b5f97e55"]}
D, [2016-04-13 04:49:57 #21301] [] DEBUG -- DirectorJobRunner: (0.000422s) SELECT NULL
D, [2016-04-13 04:49:57 #21301] [] DEBUG -- DirectorJobRunner: (0.000437s) SELECT * FROM "persistent_disks" WHERE ("persistent_disks"."instance_id" = 63)
D, [2016-04-13 04:49:57 #21301] [] DEBUG -- DirectorJobRunner: (0.000212s) SELECT NULL
D, [2016-04-13 04:49:57 #21301] [] DEBUG -- DirectorJobRunner: (0.000201s) SELECT NULL
D, [2016-04-13 04:49:57 #21301] [] DEBUG -- DirectorJobRunner: (0.000474s) SELECT * FROM "vms" WHERE ("agent_id" = 'a7de1c6e-2b5b-4607-a4df-3d0360438b2a') LIMIT 1
D, [2016-04-13 04:49:57 #21301] [] DEBUG -- DirectorJobRunner: SENT: agent.a7de1c6e-2b5b-4607-a4df-3d0360438b2a {"protocol":2,"method":"get_state","arguments":[],"reply_to":"director.0d3dbf3a-5167-49a8-ac95-926ba1ec23fa.98927eab-88af-4df6-974d-8c0cb5b3ec1b"}
D, [2016-04-13 04:49:57 #21301] [] DEBUG -- DirectorJobRunner: RECEIVED: director.0d3dbf3a-5167-49a8-ac95-926ba1ec23fa.98927eab-88af-4df6-974d-8c0cb5b3ec1b {"value":{"properties":{"logging":{"max_log_file_size":""}},"job":{"name":"dedicated-node-partition-2a76849bdc38728d413f","release":"","template":"dedicated-node","version":"322704fc4ab9abfdc5419d14e22033015667a4d8","sha1":"f6fa7a91bb9ffb2d382a68d32fed235ecd154709","blobstore_id":"98475c75-99e4-439e-a9d8-de1a847f6231","templates":[{"name":"dedicated-node","version":"322704fc4ab9abfdc5419d14e22033015667a4d8","sha1":"f6fa7a91bb9ffb2d382a68d32fed235ecd154709","blobstore_id":"98475c75-99e4-439e-a9d8-de1a847f6231"},{"name":"syslog-configurator","version":"cfce5b8b13cdbad21f493388a3db70337445f1df","sha1":"b3a0211439369bb055d9b559e7e63e143749cd74","blobstore_id":"dd08e430-bdae-4d9e-a671-93df96b11102"}]},"packages":{"aws-cli":{"name":"aws-cli","version":"dad082fbc70bbbcc89fa2c5e6cd91f4ab9094c98.1","sha1":"e4b2512025745eb88746a7e2c35c9a835cdf88c5","blobstore_id":"fb0248bb-4cbb-4c24-43b9-2a9a84c44166"},"cf-redis-broker":{"name":"cf-redis-broker","version":"6be28f1d7dde75924e3fc2b2a8266fae4a6ed65e.1","sha1":"884df2e938f3f3331ee811a7f6a91a35553bc790","blobstore_id":"445925b2-1366-4b85-5924-ef4779cd2510"},"nginx":{"name":"nginx","version":"dd15c82027671c74b108c52bcecb64fcaf9c0d38.1","sha1":"e4f00bfad464f6bcd7442001e4c7545581341120","blobstore_id":"cfcdd664-a51a-486c-53c2-04dfffa67a56"},"python":{"name":"python","version":"d9109cbc4a3271e15a8f8397e54e4ccb340ba1e6.1","sha1":"17ffe88ec1356b150cfaa20ce4b5f71db0cb00a0","blobstore_id":"411442c5-6c94-4730-4a79-d36092f2f115"},"redis":{"name":"redis","version":"4733b899207307ec870a17e692f41d2f715af224.1","sha1":"f0eee27fe067b67c5e6ea80943acfee45debac65","blobstore_id":"9ee437b4-e6a4-42a2-7368-cc8f4d28154d"},"redis-common":{"name":"redis-common","version":"e2476053a43cb5b0d0f116fd7711d88d7c20001c.1","sha1":"14baeb28ad098d556b92d2e311fd5a6a48f67bd9","blobstore_id":"ef5af8ae-fbb1-4be0-429b-3426718fc886"}},"configuration_hash":"96d32144fef978fb08a68bb2a1fc8b647ff668fa","networks":{"default":{"cloud_properties":{"net_id":"9a52d34f-515e-4811-8d18-abd2725e0b2a"},"default":["dns","gateway"],"dns":["8.8.8.8","10.0.0.6"],"dns_record_name":"0.dedicated-node-partition-2a76849bdc38728d413f.default.p-redis-7610e87c76d5313640d8.microbosh","gateway":"10.0.0.1","ip":"10.0.0.87","netmask":"255.255.255.0"}},"resource_pool":{"cloud_properties":{"availability_zone":"nova","instance_type":"m1.medium"},"name":"dedicated-node-partition-2a76849bdc38728d413f","stemcell":{"name":"bosh-openstack-kvm-ubuntu-trusty-go_agent-raw","version":"3146.10"}},"deployment":"p-redis-7610e87c76d5313640d8","index":0,"id":"","persistent_disk":4096,"rendered_templates_archive":{"sha1":"e252f68b248d876a6a38f92910937084fc73b67a","blobstore_id":"f58a7298-10ec-462a-acd2-2a3394a225d4"},"agent_id":"a7de1c6e-2b5b-4607-a4df-3d0360438b2a","bosh_protocol":"1","job_state":"failing","processes":[{"name":"redis-agent","state":"running","uptime":{"secs":165},"mem":{"kb":7052,"percent":0.1},"cpu":{"total":0}},{"name":"redis","state":"unknown","uptime":{},"mem":{"percent":0},"cpu":{"total":0}},{"name":"nginx","state":"running","uptime":{"secs":153},"mem":{"kb":7748,"percent":0.1},"cpu":{"total":0}},{"name":"syslog-configurator","state":"running","uptime":{"secs":152},"mem":{"kb":3700,"percent":0},"cpu":{"total":0}}],"vm":{"name":"vm-81e7cc70-d09d-44ee-a881-030c27e90d69"},"ntp":{"offset":"-0.094102","timestamp":"13 Apr 04:45:10"}}}
D, [2016-04-13 04:49:57 #21301] [] DEBUG -- DirectorJobRunner: SENT: agent.a7de1c6e-2b5b-4607-a4df-3d0360438b2a {"protocol":2,"method":"list_disk","arguments":[],"reply_to":"director.0d3dbf3a-5167-49a8-ac95-926ba1ec23fa.2e8c5f11-5fe5-4cb6-ae06-fb425b6d45ff"}
D, [2016-04-13 04:49:58 #21301] [] DEBUG -- DirectorJobRunner: RECEIVED: director.0d3dbf3a-5167-49a8-ac95-926ba1ec23fa.2e8c5f11-5fe5-4cb6-ae06-fb425b6d45ff {"value":["3d7f2f4e-25a4-47b1-b14f-e25b0083b6eb"]}
D, [2016-04-13 04:49:58 #21301] [] DEBUG -- DirectorJobRunner: Thread is no longer needed, cleaning up
D, [2016-04-13 04:49:58 #21301] [task:425] DEBUG -- DirectorJobRunner: Shutting down pool
I, [2016-04-13 04:49:58 #21301] [task:425]  INFO -- DirectorJobRunner: 2 OK, 0 unresponsive, 0 missing, 0 unbound, 0 out of sync
D, [2016-04-13 04:49:58 #21301] [task:425] DEBUG -- DirectorJobRunner: (0.000481s) SELECT NULL
D, [2016-04-13 04:49:58 #21301] [task:425] DEBUG -- DirectorJobRunner: (0.000385s) SELECT * FROM "persistent_disks"
D, [2016-04-13 04:49:58 #21301] [task:425] DEBUG -- DirectorJobRunner: (0.000208s) SELECT NULL
D, [2016-04-13 04:49:58 #21301] [task:425] DEBUG -- DirectorJobRunner: (0.000439s) SELECT * FROM "instances" WHERE ("instances"."id" IN (1, 3, 5, 4, 8, 14, 38, 44, 45, 62, 63))
I, [2016-04-13 04:49:58 #21301] [task:425]  INFO -- DirectorJobRunner: Scanning 2 persistent disks
I, [2016-04-13 04:49:58 #21301] [task:425]  INFO -- DirectorJobRunner: Looking for inactive disks
I, [2016-04-13 04:49:58 #21301] [has_disk?(b0ebb1c3-4187-4334-9ac6-b658b5f97e55)]  INFO -- DirectorJobRunner: Check the presence of disk with id `b0ebb1c3-4187-4334-9ac6-b658b5f97e55'...
D, [2016-04-13 04:49:58 #21301] [has_disk?(b0ebb1c3-4187-4334-9ac6-b658b5f97e55)] DEBUG -- DirectorJobRunner: excon.request {:chunk_size=>1048576, :ciphers=>"HIGH:!SSLv2:!aNULL:!eNULL:!3DES", :connect_timeout=>60, :debug_request=>false, :debug_response=>true, :headers=>{"User-Agent"=>"fog/1.34.0 fog-core/1.32.1", "Content-Type"=>"application/json", "Accept"=>"application/json", "X-Auth-Token"=>"3fd231dea1654094b54d9b23212fc3fe", "Host"=>"88.198.234.162:8774"}, :idempotent=>false, :instrumentor_name=>"excon", :middlewares=>[Excon::Middleware::ResponseParser, Excon::Middleware::Expects, Excon::Middleware::Idempotent, Excon::Middleware::Instrumentor, Excon::Middleware::Mock], :mock=>false, :nonblock=>true, :omit_default_port=>false, :persistent=>false, :read_timeout=>60, :retry_limit=>4, :ssl_verify_peer=>true, :tcp_nodelay=>false, :thread_safe_sockets=>true, :uri_parser=>URI, :versions=>"excon/0.45.4 (x86_64-linux) ruby/2.1.7", :write_timeout=>60, :host=>"88.198.234.162", :hostname=>"88.198.234.162", :path=>"/v2/64b58e5635cd4a57a7f6af2647fb5f88/os-volumes/b0ebb1c3-4187-4334-9ac6-b658b5f97e55", :port=>8774, :query=>nil, :scheme=>"http", :instrumentor=>Bosh::OpenStackCloud::ExconLoggingInstrumentor, :expects=>200, :method=>"GET", :retries_remaining=>4, :connection=>#<Excon::Connection:55e2bacdb7a0 @data={:chunk_size=>1048576, :ciphers=>"HIGH:!SSLv2:!aNULL:!eNULL:!3DES", :connect_timeout=>60, :debug_request=>false, :debug_response=>true, :headers=>{"User-Agent"=>"fog/1.34.0 fog-core/1.32.1"}, :idempotent=>false, :instrumentor_name=>"excon", :middlewares=>[Excon::Middleware::ResponseParser, Excon::Middleware::Expects, Excon::Middleware::Idempotent, Excon::Middleware::Instrumentor, Excon::Middleware::Mock], :mock=>false, :nonblock=>true, :omit_default_port=>false, :persistent=>false, :read_timeout=>60, :retry_limit=>4, :ssl_verify_peer=>true, :tcp_nodelay=>false, :thread_safe_sockets=>true, :uri_parser=>URI, :versions=>"excon/0.45.4 (x86_64-linux) ruby/2.1.7", :write_timeout=>60, :host=>"88.198.234.162", :hostname=>"88.198.234.162", :path=>"", :port=>8774, :query=>nil, :scheme=>"http", :instrumentor=>Bosh::OpenStackCloud::ExconLoggingInstrumentor} @socket_key="http://88.198.234.162:8774">, :stack=>#<Excon::Middleware::ResponseParser:0x0055e2baab0250 @stack=#<Excon::Middleware::Expects:0x0055e2baab0278 @stack=#<Excon::Middleware::Idempotent:0x0055e2baab02f0 @stack=#<Excon::Middleware::Instrumentor:0x0055e2baab0318 @stack=#<Excon::Middleware::Mock:0x0055e2baab0340 @stack=#<Excon::Connection:55e2bacdb7a0 @data={:chunk_size=>1048576, :ciphers=>"HIGH:!SSLv2:!aNULL:!eNULL:!3DES", :connect_timeout=>60, :debug_request=>false, :debug_response=>true, :headers=>{"User-Agent"=>"fog/1.34.0 fog-core/1.32.1"}, :idempotent=>false, :instrumentor_name=>"excon", :middlewares=>[Excon::Middleware::ResponseParser, Excon::Middleware::Expects, Excon::Middleware::Idempotent, Excon::Middleware::Instrumentor, Excon::Middleware::Mock], :mock=>false, :nonblock=>true, :omit_default_port=>false, :persistent=>false, :read_timeout=>60, :retry_limit=>4, :ssl_verify_peer=>true, :tcp_nodelay=>false, :thread_safe_sockets=>true, :uri_parser=>URI, :versions=>"excon/0.45.4 (x86_64-linux) ruby/2.1.7", :write_timeout=>60, :host=>"88.198.234.162", :hostname=>"88.198.234.162", :path=>"", :port=>8774, :query=>nil, :scheme=>"http", :instrumentor=>Bosh::OpenStackCloud::ExconLoggingInstrumentor} @socket_key="http://88.198.234.162:8774">>>>>>}
D, [2016-04-13 04:49:58 #21301] [has_disk?(b0ebb1c3-4187-4334-9ac6-b658b5f97e55)] DEBUG -- DirectorJobRunner: excon.response {:body=>"{\"volume\": {\"status\": \"in-use\", \"displayDescription\": \"\", \"availabilityZone\": \"nova\", \"displayName\": \"volume-9c0c75ec-be7d-41f8-80e7-431cfcb93268\", \"attachments\": [{\"device\": \"/dev/vdb\", \"serverId\": \"9ba42d34-abd9-4ea6-abb5-cbe67720f6c6\", \"id\": \"b0ebb1c3-4187-4334-9ac6-b658b5f97e55\", \"volumeId\": \"b0ebb1c3-4187-4334-9ac6-b658b5f97e55\"}], \"volumeType\": null, \"snapshotId\": null, \"metadata\": {\"readonly\": \"False\", \"attached_mode\": \"rw\"}, \"id\": \"b0ebb1c3-4187-4334-9ac6-b658b5f97e55\", \"createdAt\": \"2016-04-13T03:33:18.000000\", \"size\": 1}}", :headers=>{"Content-Type"=>"application/json", "Content-Length"=>"537", "X-Compute-Request-Id"=>"req-60e5ef01-d56a-40a4-8c2a-08f520a92bfc", "Date"=>"Wed, 13 Apr 2016 04:49:58 GMT"}, :status=>200, :status_line=>"HTTP/1.1 200 OK\r\n", :reason_phrase=>"OK", :remote_ip=>"88.198.234.162", :local_port=>57575, :local_address=>"10.0.0.6"}
D, [2016-04-13 04:49:58 #21301] [task:425] DEBUG -- DirectorJobRunner: (0.000390s) SELECT NULL
D, [2016-04-13 04:49:59 #21301] [task:425] DEBUG -- DirectorJobRunner: (0.000561s) SELECT * FROM "vms" WHERE ("vms"."id" = 112) LIMIT 1
I, [2016-04-13 04:49:59 #21301] [has_disk?(3d7f2f4e-25a4-47b1-b14f-e25b0083b6eb)]  INFO -- DirectorJobRunner: Check the presence of disk with id `3d7f2f4e-25a4-47b1-b14f-e25b0083b6eb'...
D, [2016-04-13 04:49:59 #21301] [has_disk?(3d7f2f4e-25a4-47b1-b14f-e25b0083b6eb)] DEBUG -- DirectorJobRunner: excon.request {:chunk_size=>1048576, :ciphers=>"HIGH:!SSLv2:!aNULL:!eNULL:!3DES", :connect_timeout=>60, :debug_request=>false, :debug_response=>true, :headers=>{"User-Agent"=>"fog/1.34.0 fog-core/1.32.1", "Content-Type"=>"application/json", "Accept"=>"application/json", "X-Auth-Token"=>"3fd231dea1654094b54d9b23212fc3fe", "Host"=>"88.198.234.162:8774"}, :idempotent=>false, :instrumentor_name=>"excon", :middlewares=>[Excon::Middleware::ResponseParser, Excon::Middleware::Expects, Excon::Middleware::Idempotent, Excon::Middleware::Instrumentor, Excon::Middleware::Mock], :mock=>false, :nonblock=>true, :omit_default_port=>false, :persistent=>false, :read_timeout=>60, :retry_limit=>4, :ssl_verify_peer=>true, :tcp_nodelay=>false, :thread_safe_sockets=>true, :uri_parser=>URI, :versions=>"excon/0.45.4 (x86_64-linux) ruby/2.1.7", :write_timeout=>60, :host=>"88.198.234.162", :hostname=>"88.198.234.162", :path=>"/v2/64b58e5635cd4a57a7f6af2647fb5f88/os-volumes/3d7f2f4e-25a4-47b1-b14f-e25b0083b6eb", :port=>8774, :query=>nil, :scheme=>"http", :instrumentor=>Bosh::OpenStackCloud::ExconLoggingInstrumentor, :expects=>200, :method=>"GET", :retries_remaining=>4, :connection=>#<Excon::Connection:55e2bacdb7a0 @data={:chunk_size=>1048576, :ciphers=>"HIGH:!SSLv2:!aNULL:!eNULL:!3DES", :connect_timeout=>60, :debug_request=>false, :debug_response=>true, :headers=>{"User-Agent"=>"fog/1.34.0 fog-core/1.32.1"}, :idempotent=>false, :instrumentor_name=>"excon", :middlewares=>[Excon::Middleware::ResponseParser, Excon::Middleware::Expects, Excon::Middleware::Idempotent, Excon::Middleware::Instrumentor, Excon::Middleware::Mock], :mock=>false, :nonblock=>true, :omit_default_port=>false, :persistent=>false, :read_timeout=>60, :retry_limit=>4, :ssl_verify_peer=>true, :tcp_nodelay=>false, :thread_safe_sockets=>true, :uri_parser=>URI, :versions=>"excon/0.45.4 (x86_64-linux) ruby/2.1.7", :write_timeout=>60, :host=>"88.198.234.162", :hostname=>"88.198.234.162", :path=>"", :port=>8774, :query=>nil, :scheme=>"http", :instrumentor=>Bosh::OpenStackCloud::ExconLoggingInstrumentor} @socket_key="http://88.198.234.162:8774">, :stack=>#<Excon::Middleware::ResponseParser:0x0055e2baa75fd8 @stack=#<Excon::Middleware::Expects:0x0055e2baa76000 @stack=#<Excon::Middleware::Idempotent:0x0055e2baa76028 @stack=#<Excon::Middleware::Instrumentor:0x0055e2baa76050 @stack=#<Excon::Middleware::Mock:0x0055e2baa76078 @stack=#<Excon::Connection:55e2bacdb7a0 @data={:chunk_size=>1048576, :ciphers=>"HIGH:!SSLv2:!aNULL:!eNULL:!3DES", :connect_timeout=>60, :debug_request=>false, :debug_response=>true, :headers=>{"User-Agent"=>"fog/1.34.0 fog-core/1.32.1"}, :idempotent=>false, :instrumentor_name=>"excon", :middlewares=>[Excon::Middleware::ResponseParser, Excon::Middleware::Expects, Excon::Middleware::Idempotent, Excon::Middleware::Instrumentor, Excon::Middleware::Mock], :mock=>false, :nonblock=>true, :omit_default_port=>false, :persistent=>false, :read_timeout=>60, :retry_limit=>4, :ssl_verify_peer=>true, :tcp_nodelay=>false, :thread_safe_sockets=>true, :uri_parser=>URI, :versions=>"excon/0.45.4 (x86_64-linux) ruby/2.1.7", :write_timeout=>60, :host=>"88.198.234.162", :hostname=>"88.198.234.162", :path=>"", :port=>8774, :query=>nil, :scheme=>"http", :instrumentor=>Bosh::OpenStackCloud::ExconLoggingInstrumentor} @socket_key="http://88.198.234.162:8774">>>>>>}
D, [2016-04-13 04:49:59 #21301] [has_disk?(3d7f2f4e-25a4-47b1-b14f-e25b0083b6eb)] DEBUG -- DirectorJobRunner: excon.response {:body=>"{\"volume\": {\"status\": \"in-use\", \"displayDescription\": \"\", \"availabilityZone\": \"nova\", \"displayName\": \"volume-019f13f0-0aae-4cb5-9b8e-5fa397d4c8d2\", \"attachments\": [{\"device\": \"/dev/vdb\", \"serverId\": \"5d4710c4-3817-4be6-97a3-f3fdfdfd0a04\", \"id\": \"3d7f2f4e-25a4-47b1-b14f-e25b0083b6eb\", \"volumeId\": \"3d7f2f4e-25a4-47b1-b14f-e25b0083b6eb\"}], \"volumeType\": null, \"snapshotId\": null, \"metadata\": {\"readonly\": \"False\", \"attached_mode\": \"rw\"}, \"id\": \"3d7f2f4e-25a4-47b1-b14f-e25b0083b6eb\", \"createdAt\": \"2016-04-13T03:34:32.000000\", \"size\": 4}}", :headers=>{"Content-Type"=>"application/json", "Content-Length"=>"537", "X-Compute-Request-Id"=>"req-86a7d897-edae-477a-8862-b8262d1f916f", "Date"=>"Wed, 13 Apr 2016 04:49:59 GMT"}, :status=>200, :status_line=>"HTTP/1.1 200 OK\r\n", :reason_phrase=>"OK", :remote_ip=>"88.198.234.162", :local_port=>57577, :local_address=>"10.0.0.6"}
D, [2016-04-13 04:49:59 #21301] [task:425] DEBUG -- DirectorJobRunner: (0.000292s) SELECT NULL
D, [2016-04-13 04:49:59 #21301] [task:425] DEBUG -- DirectorJobRunner: (0.000466s) SELECT * FROM "vms" WHERE ("vms"."id" = 113) LIMIT 1
I, [2016-04-13 04:49:59 #21301] [task:425]  INFO -- DirectorJobRunner: 2 OK, 0 missing, 0 inactive, 0 mount-info mismatch
D, [2016-04-13 04:49:59 #21301] [] DEBUG -- DirectorJobRunner: Lock renewal thread exiting
D, [2016-04-13 04:49:59 #21301] [task:425] DEBUG -- DirectorJobRunner: Deleting lock: lock:deployment:p-redis-7610e87c76d5313640d8
D, [2016-04-13 04:49:59 #21301] [task:425] DEBUG -- DirectorJobRunner: Deleted lock: lock:deployment:p-redis-7610e87c76d5313640d8
I, [2016-04-13 04:49:59 #21301] [task:425]  INFO -- DirectorJobRunner: Done
D, [2016-04-13 04:49:59 #21301] [task:425] DEBUG -- DirectorJobRunner: (0.000208s) SELECT NULL
D, [2016-04-13 04:49:59 #21301] [task:425] DEBUG -- DirectorJobRunner: (0.000144s) BEGIN
D, [2016-04-13 04:49:59 #21301] [task:425] DEBUG -- DirectorJobRunner: (0.000473s) UPDATE "tasks" SET "state" = 'done', "timestamp" = '2016-04-13 04:49:59.439034+0000', "description" = 'scan cloud', "result" = 'scan complete', "output" = '/var/vcap/store/director/tasks/425', "checkpoint_time" = '2016-04-13 04:49:55.080600+0000', "type" = 'cck_scan', "username" = 'director' WHERE ("id" = 425)
D, [2016-04-13 04:49:59 #21301] [task:425] DEBUG -- DirectorJobRunner: (0.002468s) COMMIT
I, [2016-04-13 04:49:59 #21301] []  INFO -- DirectorJobRunner: Task took 4.371990864 seconds to process.

Task 425 done

tomoe avatar Apr 13 '16 05:04 tomoe

ping

tomoe avatar May 09 '16 02:05 tomoe

Closing out as this was my misunderstanding. Now I understand cloud check checks at IaaS layer, doesn't care about stuff running on top, which is outside of the scope of the command.

tomoe avatar May 09 '16 03:05 tomoe