VM deleted by cck_scan_and_fix
The problem
A VM disappeared completely on a deployment on OpenStack by VM resurrection.
Summary of events
- Director's cck_scan_and_fix task detected an unresponsive VM (VM_ORG)
- Director decided to terminate VM_ORG and recreate a new instance(VM_NEW1).
- Director succeeded to terminate VM_ORG,
- Deleted the VM entry in the database ((nulled out in instances table and deleted in vms tables))
- but it failed to spawn VM_NEW1 for some reason.
- Director retried to spawn another one(VM_NEW2), so it terminated VM_NEW1, then tried to spawn VM_NEW2 right after.
- Unfortunately, creation of VM_NEW2 failed because resources (IP address in particular) for VM_NEW1 had not been released at that point.
- Here is the bad part. The exception for creating VM_NEW2 is not caught, so it crashes the thread, then it ends up with one VM down in the deployment.
Detailed analysis with logs
Bosh version
$ bosh status
Config
/home/ubuntu/.bosh_config
Director
Name p-bosh-f3b1fb3436882cdaa51b
URL https://10.0.0.6:25555
Version 1.3146.10.0 (00000000)
User director
UUID 2644bae2-795d-421a-873f-4e6f714a93f1
CPI openstack
dns enabled (domain_name: microbosh)
compiled_package_cache disabled
snapshots disabled
Deployment
Manifest /var/tempest/workspaces/default/deployments/cf-88d0a479447294d3465e.yml
bosh task --debug log
Director task 482
I, [2016-04-17T22:00:10.087010 #2545] [0x2b1a692e5334] INFO -- TaskHelper: Director Version: 1.3146.10.0
I, [2016-04-17T22:00:10.087109 #2545] [0x2b1a692e5334] INFO -- TaskHelper: Enqueuing task: 482
I, [2016-04-17 22:00:10 #10843] [] INFO -- DirectorJobRunner: Looking for task with task id 482
D, [2016-04-17 22:00:10 #10843] [] DEBUG -- DirectorJobRunner: (0.000494s) SELECT NULL
D, [2016-04-17 22:00:10 #10843] [] DEBUG -- DirectorJobRunner: (0.000519s) SELECT * FROM "tasks" WHERE "id" = 482
I, [2016-04-17 22:00:10 #10843] [] INFO -- DirectorJobRunner: Found task #<Bosh::Director::Models::Task @values={:id=>482, :state=>"queued", :timestamp=>2016-04-17 22:00:10 +0000, :description=>"scan and fix", :result=>nil, :output=>"/var/vcap/store/director/tasks/482", :checkpoint_time=>2016-04-17 22:00:10 +0000, :type=>"cck_scan_and_fix", :username=>"director"}>
I, [2016-04-17 22:00:10 #10843] [] INFO -- DirectorJobRunner: Starting task: 482
I, [2016-04-17 22:00:10 #10843] [task:482] INFO -- DirectorJobRunner: Creating job
D, [2016-04-17 22:00:10 #10843] [task:482] DEBUG -- DirectorJobRunner: (0.000244s) SELECT NULL
D, [2016-04-17 22:00:10 #10843] [task:482] DEBUG -- DirectorJobRunner: (0.000194s) SELECT NULL
D, [2016-04-17 22:00:10 #10843] [task:482] DEBUG -- DirectorJobRunner: (0.003666s) SELECT * FROM "deployments" WHERE ("name" = 'cf-88d0a479447294d3465e') LIMIT 1
D, [2016-04-17 22:00:10 #10843] [task:482] DEBUG -- DirectorJobRunner: (0.000221s) SELECT NULL
D, [2016-04-17 22:00:10 #10843] [task:482] DEBUG -- DirectorJobRunner: (0.000400s) SELECT * FROM "tasks" WHERE "id" = 482
D, [2016-04-17 22:00:10 #10843] [task:482] DEBUG -- DirectorJobRunner: (0.000208s) SELECT NULL
D, [2016-04-17 22:00:10 #10843] [task:482] DEBUG -- DirectorJobRunner: (0.000342s) SELECT * FROM "tasks" WHERE "id" = 482
I, [2016-04-17 22:00:10 #10843] [task:482] INFO -- DirectorJobRunner: Performing task: #<Bosh::Director::Models::Task @values={:id=>482, :state=>"queued", :timestamp=>2016-04-17 22:00:10 +0000, :description=>"scan and fix", :result=>nil, :output=>"/var/vcap/store/director/tasks/482", :checkpoint_time=>2016-04-17 22:00:10 +0000, :type=>"cck_scan_and_fix", :username=>"director"}>
D, [2016-04-17 22:00:10 #10843] [task:482] DEBUG -- DirectorJobRunner: (0.000331s) SELECT NULL
D, [2016-04-17 22:00:10 #10843] [task:482] DEBUG -- DirectorJobRunner: (0.000143s) BEGIN
D, [2016-04-17 22:00:10 #10843] [task:482] DEBUG -- DirectorJobRunner: (0.000542s) UPDATE "tasks" SET "state" = 'processing', "timestamp" = '2016-04-17 22:00:10.561895+0000', "description" = 'scan and fix', "result" = NULL, "output" = '/var/vcap/store/director/tasks/482', "checkpoint_time" = '2016-04-17 22:00:10.562080+0000', "type" = 'cck_scan_and_fix', "username" = 'director' WHERE ("id" = 482)
D, [2016-04-17 22:00:10 #10843] [task:482] DEBUG -- DirectorJobRunner: (0.002090s) COMMIT
I, [2016-04-17 22:00:10 #10843] [task:482] INFO -- DirectorJobRunner: Acquiring deployment lock on cf-88d0a479447294d3465e
D, [2016-04-17 22:00:10 #10843] [task:482] DEBUG -- DirectorJobRunner: Acquiring lock: lock:deployment:cf-88d0a479447294d3465e
D, [2016-04-17 22:00:10 #10843] [task:482] DEBUG -- DirectorJobRunner: Acquired lock: lock:deployment:cf-88d0a479447294d3465e
D, [2016-04-17 22:00:10 #10843] [] DEBUG -- DirectorJobRunner: Renewing lock: lock:deployment:cf-88d0a479447294d3465e
D, [2016-04-17 22:00:10 #10843] [task:482] DEBUG -- DirectorJobRunner: (0.000870s) SELECT NULL
D, [2016-04-17 22:00:10 #10843] [task:482] DEBUG -- DirectorJobRunner: (0.000591s) SELECT NULL
D, [2016-04-17 22:00:10 #10843] [task:482] DEBUG -- DirectorJobRunner: (0.003542s) SELECT * FROM "deployments" WHERE ("name" = 'cf-88d0a479447294d3465e') LIMIT 1
D, [2016-04-17 22:00:10 #10843] [task:482] DEBUG -- DirectorJobRunner: (0.001381s) SELECT NULL
D, [2016-04-17 22:00:10 #10843] [task:482] DEBUG -- DirectorJobRunner: (0.000206s) SELECT NULL
D, [2016-04-17 22:00:10 #10843] [task:482] DEBUG -- DirectorJobRunner: (0.000445s) SELECT * FROM "instances" WHERE (("deployment_id" = 1) AND ("job" = 'diego_cell-partition-2a76849bdc38728d413f') AND ("index" = 2)) LIMIT 1
D, [2016-04-17 22:00:10 #10843] [task:482] DEBUG -- DirectorJobRunner: (0.000219s) SELECT NULL
D, [2016-04-17 22:00:10 #10843] [task:482] DEBUG -- DirectorJobRunner: (0.000555s) SELECT * FROM "vms" WHERE ("vms"."id" = 61) LIMIT 1
D, [2016-04-17 22:00:10 #10843] [task:482] DEBUG -- DirectorJobRunner: (0.000268s) SELECT NULL
D, [2016-04-17 22:00:10 #10843] [task:482] DEBUG -- DirectorJobRunner: (0.000233s) SELECT NULL
D, [2016-04-17 22:00:10 #10843] [task:482] DEBUG -- DirectorJobRunner: (0.000186s) SELECT NULL
D, [2016-04-17 22:00:10 #10843] [task:482] DEBUG -- DirectorJobRunner: (0.000647s) UPDATE "deployment_problems" SET "state" = 'closed' WHERE (("deployment_problems"."deployment_id" = 1) AND ("resource_id" = 61) AND ("state" = 'open'))
D, [2016-04-17 22:00:13 #10843] [task:482] 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:563806685490 @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:0x00563806684798 @stack=#<Excon::Middleware::Expects:0x005638066847c0 @stack=#<Excon::Middleware::Idempotent:0x005638066847e8 @stack=#<Excon::Middleware::Instrumentor:0x00563806684810 @stack=#<Excon::Middleware::Mock:0x00563806684838 @stack=#<Excon::Connection:563806685490 @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-17 22:00:13 #10843] [task:482] DEBUG -- DirectorJobRunner: excon.response {:body=>"{\"access\": {\"token\": {\"issued_at\": \"2016-04-17T22:00:13.685957\", \"expires\": \"2016-04-17T23:00:13Z\", \"id\": \"193bca6a00e94ec1a1b63aa5f502722a\", \"tenant\": {\"description\": \"default tenant\", \"enabled\": true, \"id\": \"64b58e5635cd4a57a7f6af2647fb5f88\", \"name\": \"demo\"}, \"audit_ids\": [\"u9s3RSl6RWWnR3qrCGXI5A\"]}, \"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"=>"Sun, 17 Apr 2016 22:00:13 GMT", "Server"=>"Apache/2.4.6 (CentOS)", "Vary"=>"X-Auth-Token,Accept-Encoding", "x-openstack-request-id"=>"req-defb0b79-4f81-4a75-ad5f-45538b14f124", "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=>40723, :local_address=>"10.0.0.6"}
D, [2016-04-17 22:00:13 #10843] [task:482] 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:5638067dd478 @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:0x005638067dc7d0 @stack=#<Excon::Middleware::Expects:0x005638067dc7f8 @stack=#<Excon::Middleware::Idempotent:0x005638067dc820 @stack=#<Excon::Middleware::Instrumentor:0x005638067dc848 @stack=#<Excon::Middleware::Mock:0x005638067dc870 @stack=#<Excon::Connection:5638067dd478 @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-17 22:00:13 #10843] [task:482] DEBUG -- DirectorJobRunner: excon.response {:body=>"{\"access\": {\"token\": {\"issued_at\": \"2016-04-17T22:00:13.844544\", \"expires\": \"2016-04-17T23:00:13Z\", \"id\": \"958ace7b3ef1461e9b926c0fcdcd91be\", \"tenant\": {\"description\": \"default tenant\", \"enabled\": true, \"id\": \"64b58e5635cd4a57a7f6af2647fb5f88\", \"name\": \"demo\"}, \"audit_ids\": [\"ZZgWewkTRfuhNz1oly0EVg\"]}, \"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"=>"Sun, 17 Apr 2016 22:00:13 GMT", "Server"=>"Apache/2.4.6 (CentOS)", "Vary"=>"X-Auth-Token,Accept-Encoding", "x-openstack-request-id"=>"req-0036c19d-6c6d-4817-8500-390db28d2aae", "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=>40724, :local_address=>"10.0.0.6"}
D, [2016-04-17 22:00:13 #10843] [task:482] 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"=>"958ace7b3ef1461e9b926c0fcdcd91be", "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:563806826268 @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:0x00563806825908 @stack=#<Excon::Middleware::Expects:0x00563806825930 @stack=#<Excon::Middleware::Idempotent:0x00563806825958 @stack=#<Excon::Middleware::Instrumentor:0x00563806825980 @stack=#<Excon::Middleware::Mock:0x005638068259a8 @stack=#<Excon::Connection:563806826268 @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-17 22:00:13 #10843] [task:482] 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"=>"Sun, 17 Apr 2016 22:00:13 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=>58568, :local_address=>"10.0.0.6"}
D, [2016-04-17 22:00:13 #10843] [task:482] DEBUG -- DirectorJobRunner: (0.000438s) SELECT NULL
D, [2016-04-17 22:00:13 #10843] [task:482] DEBUG -- DirectorJobRunner: (0.000195s) SELECT NULL
D, [2016-04-17 22:00:13 #10843] [task:482] DEBUG -- DirectorJobRunner: (0.003351s) SELECT * FROM "deployments" WHERE ("name" = 'cf-88d0a479447294d3465e') LIMIT 1
D, [2016-04-17 22:00:13 #10843] [task:482] DEBUG -- DirectorJobRunner: (0.000226s) SELECT NULL
D, [2016-04-17 22:00:13 #10843] [task:482] DEBUG -- DirectorJobRunner: (0.000197s) SELECT NULL
D, [2016-04-17 22:00:13 #10843] [task:482] DEBUG -- DirectorJobRunner: (0.000446s) SELECT * FROM "instances" WHERE (("deployment_id" = 1) AND ("job" = 'diego_cell-partition-2a76849bdc38728d413f') AND ("index" = 2)) LIMIT 1
D, [2016-04-17 22:00:13 #10843] [task:482] DEBUG -- DirectorJobRunner: (0.000197s) SELECT NULL
D, [2016-04-17 22:00:13 #10843] [task:482] DEBUG -- DirectorJobRunner: (0.000511s) SELECT * FROM "vms" WHERE ("vms"."id" = 61) LIMIT 1
I, [2016-04-17 22:00:13 #10843] [task:482] INFO -- DirectorJobRunner: Scanning 1 VMs
I, [2016-04-17 22:00:13 #10843] [task:482] INFO -- DirectorJobRunner: Checking VM states
D, [2016-04-17 22:00:13 #10843] [task:482] DEBUG -- DirectorJobRunner: Creating new thread
D, [2016-04-17 22:00:13 #10843] [task:482] DEBUG -- DirectorJobRunner: Waiting for tasks to complete
D, [2016-04-17 22:00:13 #10843] [] DEBUG -- DirectorJobRunner: (0.000322s) SELECT NULL
D, [2016-04-17 22:00:13 #10843] [] DEBUG -- DirectorJobRunner: (0.000320s) SELECT * FROM "persistent_disks" WHERE ("persistent_disks"."instance_id" = 17)
D, [2016-04-17 22:00:13 #10843] [] DEBUG -- DirectorJobRunner: (0.000217s) SELECT NULL
D, [2016-04-17 22:00:13 #10843] [] DEBUG -- DirectorJobRunner: (0.000200s) SELECT NULL
D, [2016-04-17 22:00:13 #10843] [] DEBUG -- DirectorJobRunner: (0.000458s) SELECT * FROM "vms" WHERE ("agent_id" = '400326de-7ef9-425f-abf5-aa33ba035b3f') LIMIT 1
D, [2016-04-17 22:00:13 #10843] [] DEBUG -- DirectorJobRunner: SENT: agent.400326de-7ef9-425f-abf5-aa33ba035b3f {"protocol":2,"method":"get_state","arguments":[],"reply_to":"director.96050177-f244-418a-aa0d-8637ef545a2e.d279454a-5264-46df-ab5c-cb358ac1eea4"}
D, [2016-04-17 22:00:15 #10843] [] DEBUG -- DirectorJobRunner: Renewing lock: lock:deployment:cf-88d0a479447294d3465e
D, [2016-04-17 22:00:20 #10843] [] DEBUG -- DirectorJobRunner: Renewing lock: lock:deployment:cf-88d0a479447294d3465e
D, [2016-04-17 22:00:23 #10843] [has_vm?(1e7f06c2-2a2f-459f-aeb2-a5766f15fc96)] 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"=>"193bca6a00e94ec1a1b63aa5f502722a", "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/servers/1e7f06c2-2a2f-459f-aeb2-a5766f15fc96.json", :port=>8774, :query=>nil, :scheme=>"http", :instrumentor=>Bosh::OpenStackCloud::ExconLoggingInstrumentor, :expects=>[200, 203], :method=>"GET", :retries_remaining=>4, :connection=>#<Excon::Connection:5638066d5c10 @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:0x007ff28000a4b8 @stack=#<Excon::Middleware::Expects:0x007ff28000a4e0 @stack=#<Excon::Middleware::Idempotent:0x007ff28000a508 @stack=#<Excon::Middleware::Instrumentor:0x007ff28000a530 @stack=#<Excon::Middleware::Mock:0x007ff28000a558 @stack=#<Excon::Connection:5638066d5c10 @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-17 22:00:24 #10843] [has_vm?(1e7f06c2-2a2f-459f-aeb2-a5766f15fc96)] DEBUG -- DirectorJobRunner: excon.response {:body=>"{\"server\": {\"status\": \"SHUTOFF\", \"updated\": \"2016-04-17T21:57:45Z\", \"hostId\": \"bc6f29fe7a9ae28fcb4546da7f64ca2b1b6cf14e0d1e71160f6f82e3\", \"addresses\": {\"private\": [{\"OS-EXT-IPS-MAC:mac_addr\": \"fa:16:3e:0c:52:23\", \"version\": 4, \"addr\": \"10.0.0.23\", \"OS-EXT-IPS:type\": \"fixed\"}]}, \"links\": [{\"href\": \"http://88.198.234.162:8774/v2/64b58e5635cd4a57a7f6af2647fb5f88/servers/1e7f06c2-2a2f-459f-aeb2-a5766f15fc96\", \"rel\": \"self\"}, {\"href\": \"http://88.198.234.162:8774/64b58e5635cd4a57a7f6af2647fb5f88/servers/1e7f06c2-2a2f-459f-aeb2-a5766f15fc96\", \"rel\": \"bookmark\"}], \"key_name\": \"pcf\", \"image\": {\"id\": \"a77666f7-9d26-4d8f-aa2c-f98652ffc2d6\", \"links\": [{\"href\": \"http://88.198.234.162:8774/64b58e5635cd4a57a7f6af2647fb5f88/images/a77666f7-9d26-4d8f-aa2c-f98652ffc2d6\", \"rel\": \"bookmark\"}]}, \"OS-EXT-STS:task_state\": null, \"OS-EXT-STS:vm_state\": \"stopped\", \"OS-SRV-USG:launched_at\": \"2016-04-06T04:17:09.000000\", \"flavor\": {\"id\": \"5\", \"links\": [{\"href\": \"http://88.198.234.162:8774/64b58e5635cd4a57a7f6af2647fb5f88/flavors/5\", \"rel\": \"bookmark\"}]}, \"id\": \"1e7f06c2-2a2f-459f-aeb2-a5766f15fc96\", \"security_groups\": [{\"name\": \"opsmanager\"}], \"OS-SRV-USG:terminated_at\": null, \"OS-EXT-AZ:availability_zone\": \"nova\", \"user_id\": \"9f891456f768435d990682af2c829970\", \"name\": \"vm-bb93dbe4-8a1c-46eb-9ed1-11b3aea8d271\", \"created\": \"2016-04-06T04:17:02Z\", \"tenant_id\": \"64b58e5635cd4a57a7f6af2647fb5f88\", \"OS-DCF:diskConfig\": \"AUTO\", \"os-extended-volumes:volumes_attached\": [], \"accessIPv4\": \"\", \"accessIPv6\": \"\", \"OS-EXT-STS:power_state\": 4, \"config_drive\": \"\", \"metadata\": {\"director\": \"p-bosh-f3b1fb3436882cdaa51b\", \"index\": \"2\", \"job\": \"diego_cell-partition-2a76849bdc38728d413f\", \"deployment\": \"cf-88d0a479447294d3465e\"}}}", :headers=>{"Content-Type"=>"application/json", "Content-Length"=>"1711", "X-Compute-Request-Id"=>"req-cd001f43-99de-43ad-a7c9-e5a65e86ee91", "Date"=>"Sun, 17 Apr 2016 22:00:24 GMT"}, :status=>200, :status_line=>"HTTP/1.1 200 OK\r\n", :reason_phrase=>"OK", :remote_ip=>"88.198.234.162", :local_port=>45731, :local_address=>"10.0.0.6"}
I, [2016-04-17 22:00:24 #10843] [] INFO -- DirectorJobRunner: Found unresponsive agent 400326de-7ef9-425f-abf5-aa33ba035b3f
D, [2016-04-17 22:00:24 #10843] [] DEBUG -- DirectorJobRunner: (0.000445s) SELECT NULL
D, [2016-04-17 22:00:24 #10843] [] DEBUG -- DirectorJobRunner: (0.000211s) SELECT NULL
D, [2016-04-17 22:00:24 #10843] [] DEBUG -- DirectorJobRunner: (0.000196s) SELECT NULL
D, [2016-04-17 22:00:24 #10843] [] DEBUG -- DirectorJobRunner: (0.000561s) SELECT * FROM "deployment_problems" WHERE (("deployment_id" = 1) AND ("type" = 'unresponsive_agent') AND ("resource_id" = 61) AND ("state" = 'open'))
D, [2016-04-17 22:00:24 #10843] [] DEBUG -- DirectorJobRunner: (0.000187s) SELECT NULL
D, [2016-04-17 22:00:24 #10843] [] DEBUG -- DirectorJobRunner: (0.000129s) BEGIN
D, [2016-04-17 22:00:24 #10843] [] DEBUG -- DirectorJobRunner: (0.000958s) INSERT INTO "deployment_problems" ("type", "resource_id", "state", "deployment_id", "data_json", "counter", "created_at", "last_seen_at") VALUES ('unresponsive_agent', 61, 'open', 1, '{}', 1, '2016-04-17 22:00:24.809363+0000', '2016-04-17 22:00:24.809474+0000') RETURNING *
D, [2016-04-17 22:00:24 #10843] [] DEBUG -- DirectorJobRunner: (0.002274s) COMMIT
I, [2016-04-17 22:00:24 #10843] [] INFO -- DirectorJobRunner: Created problem 2 (unresponsive_agent)
D, [2016-04-17 22:00:24 #10843] [] DEBUG -- DirectorJobRunner: Thread is no longer needed, cleaning up
D, [2016-04-17 22:00:24 #10843] [task:482] DEBUG -- DirectorJobRunner: Shutting down pool
I, [2016-04-17 22:00:24 #10843] [task:482] INFO -- DirectorJobRunner: 0 OK, 1 unresponsive, 0 missing, 0 unbound, 0 out of sync
D, [2016-04-17 22:00:24 #10843] [task:482] DEBUG -- DirectorJobRunner: (0.000197s) SELECT NULL
D, [2016-04-17 22:00:24 #10843] [task:482] DEBUG -- DirectorJobRunner: (0.000200s) SELECT NULL
D, [2016-04-17 22:00:24 #10843] [task:482] DEBUG -- DirectorJobRunner: (0.003120s) SELECT * FROM "deployments" WHERE ("name" = 'cf-88d0a479447294d3465e') LIMIT 1
D, [2016-04-17 22:00:24 #10843] [task:482] DEBUG -- DirectorJobRunner: (0.000187s) SELECT NULL
D, [2016-04-17 22:00:24 #10843] [task:482] DEBUG -- DirectorJobRunner: (0.000198s) SELECT NULL
D, [2016-04-17 22:00:24 #10843] [task:482] DEBUG -- DirectorJobRunner: (0.000401s) SELECT * FROM "instances" WHERE (("deployment_id" = 1) AND ("job" = 'diego_cell-partition-2a76849bdc38728d413f') AND ("index" = 2)) LIMIT 1
D, [2016-04-17 22:00:24 #10843] [task:482] DEBUG -- DirectorJobRunner: (0.000197s) SELECT NULL
D, [2016-04-17 22:00:24 #10843] [task:482] DEBUG -- DirectorJobRunner: (0.000467s) SELECT * FROM "vms" WHERE ("vms"."id" = 61) LIMIT 1
D, [2016-04-17 22:00:24 #10843] [task:482] DEBUG -- DirectorJobRunner: (0.000207s) SELECT NULL
D, [2016-04-17 22:00:24 #10843] [task:482] DEBUG -- DirectorJobRunner: (0.000245s) SELECT NULL
D, [2016-04-17 22:00:24 #10843] [task:482] DEBUG -- DirectorJobRunner: (0.000380s) SELECT * FROM "deployment_problems" WHERE (("deployment_problems"."deployment_id" = 1) AND ("resource_id" = 61) AND ("state" = 'open'))
D, [2016-04-17 22:00:24 #10843] [task:482] DEBUG -- DirectorJobRunner: (0.000184s) SELECT NULL
D, [2016-04-17 22:00:24 #10843] [task:482] DEBUG -- DirectorJobRunner: (0.000171s) SELECT NULL
D, [2016-04-17 22:00:24 #10843] [task:482] DEBUG -- DirectorJobRunner: (0.000374s) SELECT COUNT(*) AS "count" FROM "deployment_problems" WHERE ("id" IN ('2')) LIMIT 1
I, [2016-04-17 22:00:24 #10843] [task:482] INFO -- DirectorJobRunner: Applying problem resolutions
D, [2016-04-17 22:00:24 #10843] [task:482] DEBUG -- DirectorJobRunner: (0.000179s) SELECT NULL
D, [2016-04-17 22:00:24 #10843] [task:482] DEBUG -- DirectorJobRunner: (0.000169s) SELECT NULL
D, [2016-04-17 22:00:24 #10843] [task:482] DEBUG -- DirectorJobRunner: (0.000329s) SELECT * FROM "deployment_problems" WHERE ("id" IN ('2'))
D, [2016-04-17 22:00:24 #10843] [task:482] DEBUG -- DirectorJobRunner: (0.000437s) SELECT * FROM "vms" WHERE "id" = 61
I, [2016-04-17 22:00:24 #10843] [task:482] INFO -- DirectorJobRunner: unresponsive_agent 61: Recreate VM
D, [2016-04-17 22:00:24 #10843] [task:482] DEBUG -- DirectorJobRunner: (0.000433s) SELECT * FROM "vms" WHERE ("agent_id" = '400326de-7ef9-425f-abf5-aa33ba035b3f') LIMIT 1
D, [2016-04-17 22:00:24 #10843] [task:482] DEBUG -- DirectorJobRunner: SENT: agent.400326de-7ef9-425f-abf5-aa33ba035b3f {"protocol":2,"method":"ping","arguments":[],"reply_to":"director.96050177-f244-418a-aa0d-8637ef545a2e.dded5ba7-7a3a-419d-b0eb-78137ca606bb"}
D, [2016-04-17 22:00:25 #10843] [] DEBUG -- DirectorJobRunner: Renewing lock: lock:deployment:cf-88d0a479447294d3465e
D, [2016-04-17 22:00:30 #10843] [] DEBUG -- DirectorJobRunner: Renewing lock: lock:deployment:cf-88d0a479447294d3465e
D, [2016-04-17 22:00:34 #10843] [task:482] DEBUG -- DirectorJobRunner: (0.001170s) SELECT * FROM "stemcells" WHERE (("name" = 'bosh-openstack-kvm-ubuntu-trusty-go_agent-raw') AND ("version" = '3146.10')) LIMIT 1
D, [2016-04-17 22:00:34 #10843] [task:482] DEBUG -- DirectorJobRunner: (0.004209s) SELECT * FROM "deployments" WHERE ("deployments"."id" = 1) LIMIT 1
D, [2016-04-17 22:00:34 #10843] [task:482] DEBUG -- DirectorJobRunner: (0.000539s) SELECT * FROM "instances" WHERE ("instances"."vm_id" = 61) LIMIT 1
D, [2016-04-17 22:00:34 #10843] [task:482] DEBUG -- DirectorJobRunner: (0.000354s) SELECT * FROM "persistent_disks" WHERE ("persistent_disks"."instance_id" = 17)
I, [2016-04-17 22:00:34 #10843] [delete_vm(1e7f06c2-2a2f-459f-aeb2-a5766f15fc96)] INFO -- DirectorJobRunner: Deleting server `1e7f06c2-2a2f-459f-aeb2-a5766f15fc96'...
D, [2016-04-17 22:00:34 #10843] [delete_vm(1e7f06c2-2a2f-459f-aeb2-a5766f15fc96)] 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"=>"193bca6a00e94ec1a1b63aa5f502722a", "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/servers/1e7f06c2-2a2f-459f-aeb2-a5766f15fc96.json", :port=>8774, :query=>nil, :scheme=>"http", :instrumentor=>Bosh::OpenStackCloud::ExconLoggingInstrumentor, :expects=>[200, 203], :method=>"GET", :retries_remaining=>4, :connection=>#<Excon::Connection:5638066d5c10 @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:0x0056380696a048 @stack=#<Excon::Middleware::Expects:0x0056380696a070 @stack=#<Excon::Middleware::Idempotent:0x0056380696a098 @stack=#<Excon::Middleware::Instrumentor:0x0056380696a0c0 @stack=#<Excon::Middleware::Mock:0x0056380696a0e8 @stack=#<Excon::Connection:5638066d5c10 @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-17 22:00:35 #10843] [delete_vm(1e7f06c2-2a2f-459f-aeb2-a5766f15fc96)] DEBUG -- DirectorJobRunner: excon.response {:body=>"{\"server\": {\"status\": \"SHUTOFF\", \"updated\": \"2016-04-17T21:57:45Z\", \"hostId\": \"bc6f29fe7a9ae28fcb4546da7f64ca2b1b6cf14e0d1e71160f6f82e3\", \"addresses\": {\"private\": [{\"OS-EXT-IPS-MAC:mac_addr\": \"fa:16:3e:0c:52:23\", \"version\": 4, \"addr\": \"10.0.0.23\", \"OS-EXT-IPS:type\": \"fixed\"}]}, \"links\": [{\"href\": \"http://88.198.234.162:8774/v2/64b58e5635cd4a57a7f6af2647fb5f88/servers/1e7f06c2-2a2f-459f-aeb2-a5766f15fc96\", \"rel\": \"self\"}, {\"href\": \"http://88.198.234.162:8774/64b58e5635cd4a57a7f6af2647fb5f88/servers/1e7f06c2-2a2f-459f-aeb2-a5766f15fc96\", \"rel\": \"bookmark\"}], \"key_name\": \"pcf\", \"image\": {\"id\": \"a77666f7-9d26-4d8f-aa2c-f98652ffc2d6\", \"links\": [{\"href\": \"http://88.198.234.162:8774/64b58e5635cd4a57a7f6af2647fb5f88/images/a77666f7-9d26-4d8f-aa2c-f98652ffc2d6\", \"rel\": \"bookmark\"}]}, \"OS-EXT-STS:task_state\": null, \"OS-EXT-STS:vm_state\": \"stopped\", \"OS-SRV-USG:launched_at\": \"2016-04-06T04:17:09.000000\", \"flavor\": {\"id\": \"5\", \"links\": [{\"href\": \"http://88.198.234.162:8774/64b58e5635cd4a57a7f6af2647fb5f88/flavors/5\", \"rel\": \"bookmark\"}]}, \"id\": \"1e7f06c2-2a2f-459f-aeb2-a5766f15fc96\", \"security_groups\": [{\"name\": \"opsmanager\"}], \"OS-SRV-USG:terminated_at\": null, \"OS-EXT-AZ:availability_zone\": \"nova\", \"user_id\": \"9f891456f768435d990682af2c829970\", \"name\": \"vm-bb93dbe4-8a1c-46eb-9ed1-11b3aea8d271\", \"created\": \"2016-04-06T04:17:02Z\", \"tenant_id\": \"64b58e5635cd4a57a7f6af2647fb5f88\", \"OS-DCF:diskConfig\": \"AUTO\", \"os-extended-volumes:volumes_attached\": [], \"accessIPv4\": \"\", \"accessIPv6\": \"\", \"OS-EXT-STS:power_state\": 4, \"config_drive\": \"\", \"metadata\": {\"director\": \"p-bosh-f3b1fb3436882cdaa51b\", \"index\": \"2\", \"job\": \"diego_cell-partition-2a76849bdc38728d413f\", \"deployment\": \"cf-88d0a479447294d3465e\"}}}", :headers=>{"Content-Type"=>"application/json", "Content-Length"=>"1711", "X-Compute-Request-Id"=>"req-e429b628-4f5f-46a0-90eb-da43ab243d42", "Date"=>"Sun, 17 Apr 2016 22:00:35 GMT"}, :status=>200, :status_line=>"HTTP/1.1 200 OK\r\n", :reason_phrase=>"OK", :remote_ip=>"88.198.234.162", :local_port=>45745, :local_address=>"10.0.0.6"}
D, [2016-04-17 22:00:35 #10843] [delete_vm(1e7f06c2-2a2f-459f-aeb2-a5766f15fc96)] 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"=>"193bca6a00e94ec1a1b63aa5f502722a", "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/servers/1e7f06c2-2a2f-459f-aeb2-a5766f15fc96", :port=>8774, :query=>nil, :scheme=>"http", :instrumentor=>Bosh::OpenStackCloud::ExconLoggingInstrumentor, :expects=>204, :method=>"DELETE", :retries_remaining=>4, :connection=>#<Excon::Connection:5638066d5c10 @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:0x005638069eb5a8 @stack=#<Excon::Middleware::Expects:0x005638069eb5d0 @stack=#<Excon::Middleware::Idempotent:0x005638069eb5f8 @stack=#<Excon::Middleware::Instrumentor:0x005638069eb620 @stack=#<Excon::Middleware::Mock:0x005638069eb648 @stack=#<Excon::Connection:5638066d5c10 @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-17 22:00:35 #10843] [delete_vm(1e7f06c2-2a2f-459f-aeb2-a5766f15fc96)] DEBUG -- DirectorJobRunner: excon.response {:body=>"", :headers=>{"Content-Length"=>"0", "Content-Type"=>"application/json", "X-Compute-Request-Id"=>"req-1ae99279-5f13-4b9b-a4dd-789708715fc3", "Date"=>"Sun, 17 Apr 2016 22:00:35 GMT"}, :status=>204, :status_line=>"HTTP/1.1 204 No Content\r\n", :reason_phrase=>"No Content", :remote_ip=>"88.198.234.162", :local_port=>45746, :local_address=>"10.0.0.6"}
D, [2016-04-17 22:00:35 #10843] [delete_vm(1e7f06c2-2a2f-459f-aeb2-a5766f15fc96)] DEBUG -- DirectorJobRunner: Waiting for Server `1e7f06c2-2a2f-459f-aeb2-a5766f15fc96' to be terminated, deleted (6.0017e-05s)
D, [2016-04-17 22:00:35 #10843] [delete_vm(1e7f06c2-2a2f-459f-aeb2-a5766f15fc96)] 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"=>"193bca6a00e94ec1a1b63aa5f502722a", "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/servers/1e7f06c2-2a2f-459f-aeb2-a5766f15fc96.json", :port=>8774, :query=>nil, :scheme=>"http", :instrumentor=>Bosh::OpenStackCloud::ExconLoggingInstrumentor, :expects=>[200, 203], :method=>"GET", :retries_remaining=>4, :connection=>#<Excon::Connection:5638066d5c10 @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:0x00563806a04a80 @stack=#<Excon::Middleware::Expects:0x00563806a04aa8 @stack=#<Excon::Middleware::Idempotent:0x00563806a04ad0 @stack=#<Excon::Middleware::Instrumentor:0x00563806a04af8 @stack=#<Excon::Middleware::Mock:0x00563806a04b20 @stack=#<Excon::Connection:5638066d5c10 @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-17 22:00:35 #10843] [] DEBUG -- DirectorJobRunner: Renewing lock: lock:deployment:cf-88d0a479447294d3465e
D, [2016-04-17 22:00:35 #10843] [delete_vm(1e7f06c2-2a2f-459f-aeb2-a5766f15fc96)] DEBUG -- DirectorJobRunner: excon.response {:body=>"{\"server\": {\"status\": \"SHUTOFF\", \"updated\": \"2016-04-17T22:00:35Z\", \"hostId\": \"bc6f29fe7a9ae28fcb4546da7f64ca2b1b6cf14e0d1e71160f6f82e3\", \"addresses\": {\"private\": [{\"OS-EXT-IPS-MAC:mac_addr\": \"fa:16:3e:0c:52:23\", \"version\": 4, \"addr\": \"10.0.0.23\", \"OS-EXT-IPS:type\": \"fixed\"}]}, \"links\": [{\"href\": \"http://88.198.234.162:8774/v2/64b58e5635cd4a57a7f6af2647fb5f88/servers/1e7f06c2-2a2f-459f-aeb2-a5766f15fc96\", \"rel\": \"self\"}, {\"href\": \"http://88.198.234.162:8774/64b58e5635cd4a57a7f6af2647fb5f88/servers/1e7f06c2-2a2f-459f-aeb2-a5766f15fc96\", \"rel\": \"bookmark\"}], \"key_name\": \"pcf\", \"image\": {\"id\": \"a77666f7-9d26-4d8f-aa2c-f98652ffc2d6\", \"links\": [{\"href\": \"http://88.198.234.162:8774/64b58e5635cd4a57a7f6af2647fb5f88/images/a77666f7-9d26-4d8f-aa2c-f98652ffc2d6\", \"rel\": \"bookmark\"}]}, \"OS-EXT-STS:task_state\": \"deleting\", \"OS-EXT-STS:vm_state\": \"stopped\", \"OS-SRV-USG:launched_at\": \"2016-04-06T04:17:09.000000\", \"flavor\": {\"id\": \"5\", \"links\": [{\"href\": \"http://88.198.234.162:8774/64b58e5635cd4a57a7f6af2647fb5f88/flavors/5\", \"rel\": \"bookmark\"}]}, \"id\": \"1e7f06c2-2a2f-459f-aeb2-a5766f15fc96\", \"security_groups\": [{\"name\": \"opsmanager\"}], \"OS-SRV-USG:terminated_at\": null, \"OS-EXT-AZ:availability_zone\": \"nova\", \"user_id\": \"9f891456f768435d990682af2c829970\", \"name\": \"vm-bb93dbe4-8a1c-46eb-9ed1-11b3aea8d271\", \"created\": \"2016-04-06T04:17:02Z\", \"tenant_id\": \"64b58e5635cd4a57a7f6af2647fb5f88\", \"OS-DCF:diskConfig\": \"AUTO\", \"os-extended-volumes:volumes_attached\": [], \"accessIPv4\": \"\", \"accessIPv6\": \"\", \"OS-EXT-STS:power_state\": 4, \"config_drive\": \"\", \"metadata\": {\"director\": \"p-bosh-f3b1fb3436882cdaa51b\", \"index\": \"2\", \"job\": \"diego_cell-partition-2a76849bdc38728d413f\", \"deployment\": \"cf-88d0a479447294d3465e\"}}}", :headers=>{"Content-Type"=>"application/json", "Content-Length"=>"1717", "X-Compute-Request-Id"=>"req-e662902d-6f48-4ca4-8025-7736ede34df6", "Date"=>"Sun, 17 Apr 2016 22:00:35 GMT"}, :status=>200, :status_line=>"HTTP/1.1 200 OK\r\n", :reason_phrase=>"OK", :remote_ip=>"88.198.234.162", :local_port=>45747, :local_address=>"10.0.0.6"}
D, [2016-04-17 22:00:40 #10843] [task:482-checkpoint] DEBUG -- DirectorJobRunner: (0.000267s) SET standard_conforming_strings = ON
D, [2016-04-17 22:00:40 #10843] [task:482-checkpoint] DEBUG -- DirectorJobRunner: (0.000202s) SET client_min_messages = 'WARNING'
D, [2016-04-17 22:00:40 #10843] [task:482-checkpoint] DEBUG -- DirectorJobRunner: (0.000175s) SET DateStyle = 'ISO'
D, [2016-04-17 22:00:40 #10843] [task:482-checkpoint] DEBUG -- DirectorJobRunner: (0.000136s) BEGIN
D, [2016-04-17 22:00:40 #10843] [task:482-checkpoint] DEBUG -- DirectorJobRunner: (0.002030s) UPDATE "tasks" SET "checkpoint_time" = '2016-04-17 22:00:40.563014+0000' WHERE ("id" = 482)
D, [2016-04-17 22:00:40 #10843] [task:482-checkpoint] DEBUG -- DirectorJobRunner: (0.002623s) COMMIT
D, [2016-04-17 22:00:40 #10843] [] DEBUG -- DirectorJobRunner: Renewing lock: lock:deployment:cf-88d0a479447294d3465e
D, [2016-04-17 22:00:40 #10843] [delete_vm(1e7f06c2-2a2f-459f-aeb2-a5766f15fc96)] DEBUG -- DirectorJobRunner: Waiting for Server `1e7f06c2-2a2f-459f-aeb2-a5766f15fc96' to be terminated, deleted (5.298196491s)
D, [2016-04-17 22:00:40 #10843] [delete_vm(1e7f06c2-2a2f-459f-aeb2-a5766f15fc96)] 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"=>"193bca6a00e94ec1a1b63aa5f502722a", "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/servers/1e7f06c2-2a2f-459f-aeb2-a5766f15fc96.json", :port=>8774, :query=>nil, :scheme=>"http", :instrumentor=>Bosh::OpenStackCloud::ExconLoggingInstrumentor, :expects=>[200, 203], :method=>"GET", :retries_remaining=>4, :connection=>#<Excon::Connection:5638066d5c10 @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:0x007ff28001ad68 @stack=#<Excon::Middleware::Expects:0x007ff28001ad90 @stack=#<Excon::Middleware::Idempotent:0x007ff28001adb8 @stack=#<Excon::Middleware::Instrumentor:0x007ff28001ade0 @stack=#<Excon::Middleware::Mock:0x007ff28001ae08 @stack=#<Excon::Connection:5638066d5c10 @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-17 22:00:41 #10843] [delete_vm(1e7f06c2-2a2f-459f-aeb2-a5766f15fc96)] DEBUG -- DirectorJobRunner: excon.response {:body=>"{\"server\": {\"status\": \"SHUTOFF\", \"updated\": \"2016-04-17T22:00:40Z\", \"hostId\": \"bc6f29fe7a9ae28fcb4546da7f64ca2b1b6cf14e0d1e71160f6f82e3\", \"addresses\": {\"private\": [{\"OS-EXT-IPS-MAC:mac_addr\": \"fa:16:3e:0c:52:23\", \"version\": 4, \"addr\": \"10.0.0.23\", \"OS-EXT-IPS:type\": \"fixed\"}]}, \"links\": [{\"href\": \"http://88.198.234.162:8774/v2/64b58e5635cd4a57a7f6af2647fb5f88/servers/1e7f06c2-2a2f-459f-aeb2-a5766f15fc96\", \"rel\": \"self\"}, {\"href\": \"http://88.198.234.162:8774/64b58e5635cd4a57a7f6af2647fb5f88/servers/1e7f06c2-2a2f-459f-aeb2-a5766f15fc96\", \"rel\": \"bookmark\"}], \"key_name\": \"pcf\", \"image\": {\"id\": \"a77666f7-9d26-4d8f-aa2c-f98652ffc2d6\", \"links\": [{\"href\": \"http://88.198.234.162:8774/64b58e5635cd4a57a7f6af2647fb5f88/images/a77666f7-9d26-4d8f-aa2c-f98652ffc2d6\", \"rel\": \"bookmark\"}]}, \"OS-EXT-STS:task_state\": \"deleting\", \"OS-EXT-STS:vm_state\": \"stopped\", \"OS-SRV-USG:launched_at\": \"2016-04-06T04:17:09.000000\", \"flavor\": {\"id\": \"5\", \"links\": [{\"href\": \"http://88.198.234.162:8774/64b58e5635cd4a57a7f6af2647fb5f88/flavors/5\", \"rel\": \"bookmark\"}]}, \"id\": \"1e7f06c2-2a2f-459f-aeb2-a5766f15fc96\", \"security_groups\": [{\"name\": \"opsmanager\"}], \"OS-SRV-USG:terminated_at\": null, \"OS-EXT-AZ:availability_zone\": \"nova\", \"user_id\": \"9f891456f768435d990682af2c829970\", \"name\": \"vm-bb93dbe4-8a1c-46eb-9ed1-11b3aea8d271\", \"created\": \"2016-04-06T04:17:02Z\", \"tenant_id\": \"64b58e5635cd4a57a7f6af2647fb5f88\", \"OS-DCF:diskConfig\": \"AUTO\", \"os-extended-volumes:volumes_attached\": [], \"accessIPv4\": \"\", \"accessIPv6\": \"\", \"OS-EXT-STS:power_state\": 4, \"config_drive\": \"\", \"metadata\": {\"director\": \"p-bosh-f3b1fb3436882cdaa51b\", \"index\": \"2\", \"job\": \"diego_cell-partition-2a76849bdc38728d413f\", \"deployment\": \"cf-88d0a479447294d3465e\"}}}", :headers=>{"Content-Type"=>"application/json", "Content-Length"=>"1717", "X-Compute-Request-Id"=>"req-80cc91f1-087a-4d65-a616-6477beffc122", "Date"=>"Sun, 17 Apr 2016 22:00:41 GMT"}, :status=>200, :status_line=>"HTTP/1.1 200 OK\r\n", :reason_phrase=>"OK", :remote_ip=>"88.198.234.162", :local_port=>45751, :local_address=>"10.0.0.6"}
D, [2016-04-17 22:00:45 #10843] [] DEBUG -- DirectorJobRunner: Renewing lock: lock:deployment:cf-88d0a479447294d3465e
D, [2016-04-17 22:00:46 #10843] [delete_vm(1e7f06c2-2a2f-459f-aeb2-a5766f15fc96)] DEBUG -- DirectorJobRunner: Waiting for Server `1e7f06c2-2a2f-459f-aeb2-a5766f15fc96' to be terminated, deleted (10.868075207s)
D, [2016-04-17 22:00:46 #10843] [delete_vm(1e7f06c2-2a2f-459f-aeb2-a5766f15fc96)] 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"=>"193bca6a00e94ec1a1b63aa5f502722a", "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/servers/1e7f06c2-2a2f-459f-aeb2-a5766f15fc96.json", :port=>8774, :query=>nil, :scheme=>"http", :instrumentor=>Bosh::OpenStackCloud::ExconLoggingInstrumentor, :expects=>[200, 203], :method=>"GET", :retries_remaining=>4, :connection=>#<Excon::Connection:5638066d5c10 @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:0x00563806a7d228 @stack=#<Excon::Middleware::Expects:0x00563806a7d250 @stack=#<Excon::Middleware::Idempotent:0x00563806a7d278 @stack=#<Excon::Middleware::Instrumentor:0x00563806a7d2a0 @stack=#<Excon::Middleware::Mock:0x00563806a7d2c8 @stack=#<Excon::Connection:5638066d5c10 @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-17 22:00:46 #10843] [delete_vm(1e7f06c2-2a2f-459f-aeb2-a5766f15fc96)] DEBUG -- DirectorJobRunner: excon.error {:error=>#<Excon::Errors::NotFound: Expected([200, 203]) <=> Actual(404 Not Found)
excon.error.response
:body => "{\"itemNotFound\": {\"message\": \"Instance 1e7f06c2-2a2f-459f-aeb2-a5766f15fc96 could not be found.\", \"code\": 404}}"
:headers => {
"Content-Length" => "111"
"Content-Type" => "application/json; charset=UTF-8"
"Date" => "Sun, 17 Apr 2016 22:00:46 GMT"
"X-Compute-Request-Id" => "req-226ff48b-2862-4068-a2e8-e77604aaa8ac"
}
:local_address => "10.0.0.6"
:local_port => 45753
:reason_phrase => "Not Found"
:remote_ip => "88.198.234.162"
:status => 404
:status_line => "HTTP/1.1 404 Not Found\r\n"
>}
I, [2016-04-17 22:00:46 #10843] [delete_vm(1e7f06c2-2a2f-459f-aeb2-a5766f15fc96)] INFO -- DirectorJobRunner: Server `1e7f06c2-2a2f-459f-aeb2-a5766f15fc96' is now terminated, deleted, took 11.222939324s
I, [2016-04-17 22:00:46 #10843] [delete_vm(1e7f06c2-2a2f-459f-aeb2-a5766f15fc96)] INFO -- DirectorJobRunner: Deleting settings for server `1e7f06c2-2a2f-459f-aeb2-a5766f15fc96'...
D, [2016-04-17 22:00:46 #10843] [task:482] DEBUG -- DirectorJobRunner: (0.000140s) BEGIN
D, [2016-04-17 22:00:46 #10843] [task:482] DEBUG -- DirectorJobRunner: (0.000309s) SELECT COUNT(*) AS "count" FROM "instances" WHERE (("deployment_id" = 1) AND ("job" = 'diego_cell-partition-2a76849bdc38728d413f') AND ("index" = 2) AND ("id" != 17)) LIMIT 1
D, [2016-04-17 22:00:46 #10843] [task:482] DEBUG -- DirectorJobRunner: (0.000274s) UPDATE "instances" SET "vm_id" = NULL WHERE ("id" = 17)
D, [2016-04-17 22:00:46 #10843] [task:482] DEBUG -- DirectorJobRunner: (0.000385s) DELETE FROM "vms" WHERE "id" = 61
D, [2016-04-17 22:00:46 #10843] [task:482] DEBUG -- DirectorJobRunner: (0.002251s) COMMIT
I, [2016-04-17 22:00:46 #10843] [create_vm(f30462e9-d574-4baa-917c-374fdb46cbee, ...)] INFO -- DirectorJobRunner: Creating new server...
D, [2016-04-17 22:00:46 #10843] [create_vm(f30462e9-d574-4baa-917c-374fdb46cbee, ...)] 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"=>"193bca6a00e94ec1a1b63aa5f502722a", "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-security-groups.json", :port=>8774, :query=>{}, :scheme=>"http", :instrumentor=>Bosh::OpenStackCloud::ExconLoggingInstrumentor, :expects=>[200], :method=>"GET", :retries_remaining=>4, :connection=>#<Excon::Connection:5638066d5c10 @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:0x00563806aeba70 @stack=#<Excon::Middleware::Expects:0x00563806aeba98 @stack=#<Excon::Middleware::Idempotent:0x00563806aebac0 @stack=#<Excon::Middleware::Instrumentor:0x00563806aebae8 @stack=#<Excon::Middleware::Mock:0x00563806aebb10 @stack=#<Excon::Connection:5638066d5c10 @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-17 22:00:47 #10843] [create_vm(f30462e9-d574-4baa-917c-374fdb46cbee, ...)] DEBUG -- DirectorJobRunner: excon.response {:body=>"{\"security_groups\": [{\"rules\": [{\"from_port\": null, \"group\": {\"tenant_id\": \"64b58e5635cd4a57a7f6af2647fb5f88\", \"name\": \"default\"}, \"ip_protocol\": null, \"to_port\": null, \"parent_group_id\": \"e5cfdf67-ad87-4e90-aacf-036d54639768\", \"ip_range\": {}, \"id\": \"a1f254c9-42d4-476e-a2ac-fb0e050f2015\"}, {\"from_port\": null, \"group\": {\"tenant_id\": \"64b58e5635cd4a57a7f6af2647fb5f88\", \"name\": \"default\"}, \"ip_protocol\": null, \"to_port\": null, \"parent_group_id\": \"e5cfdf67-ad87-4e90-aacf-036d54639768\", \"ip_range\": {}, \"id\": \"c58439de-b331-41c4-ba25-bf16700d2b1b\"}], \"tenant_id\": \"64b58e5635cd4a57a7f6af2647fb5f88\", \"id\": \"e5cfdf67-ad87-4e90-aacf-036d54639768\", \"name\": \"default\", \"description\": \"Default security group\"}, {\"rules\": [{\"from_port\": 80, \"group\": {}, \"ip_protocol\": \"tcp\", \"to_port\": 80, \"parent_group_id\": \"e50710f9-afae-44cf-aabf-ee96462356ce\", \"ip_range\": {\"cidr\": \"0.0.0.0/0\"}, \"id\": \"3da4101b-fafb-44ba-87b5-9262ca621301\"}, {\"from_port\": 25555, \"group\": {}, \"ip_protocol\": \"tcp\", \"to_port\": 25555, \"parent_group_id\": \"e50710f9-afae-44cf-aabf-ee96462356ce\", \"ip_range\": {\"cidr\": \"0.0.0.0/0\"}, \"id\": \"68fe97b7-7a6b-417b-a89e-22c870b836b5\"}, {\"from_port\": 22, \"group\": {}, \"ip_protocol\": \"tcp\", \"to_port\": 22, \"parent_group_id\": \"e50710f9-afae-44cf-aabf-ee96462356ce\", \"ip_range\": {\"cidr\": \"0.0.0.0/0\"}, \"id\": \"8b2498f3-8d95-4863-9673-f5b9c42f8496\"}, {\"from_port\": 1, \"group\": {\"tenant_id\": \"64b58e5635cd4a57a7f6af2647fb5f88\", \"name\": \"opsmanager\"}, \"ip_protocol\": \"udp\", \"to_port\": 65535, \"parent_group_id\": \"e50710f9-afae-44cf-aabf-ee96462356ce\", \"ip_range\": {}, \"id\": \"ad8f4b5e-56e2-4f42-8da4-fa45aa0a5ab6\"}, {\"from_port\": 1, \"group\": {\"tenant_id\": \"64b58e5635cd4a57a7f6af2647fb5f88\", \"name\": \"opsmanager\"}, \"ip_protocol\": \"tcp\", \"to_port\": 65535, \"parent_group_id\": \"e50710f9-afae-44cf-aabf-ee96462356ce\", \"ip_range\": {}, \"id\": \"b9bed50f-e730-480f-b1fb-afa7c793ff18\"}, {\"from_port\": 443, \"group\": {}, \"ip_protocol\": \"tcp\", \"to_port\": 443, \"parent_group_id\": \"e50710f9-afae-44cf-aabf-ee96462356ce\", \"ip_range\": {\"cidr\": \"0.0.0.0/0\"}, \"id\": \"eb2a1b64-eaad-4131-8f21-2bad7e41f654\"}], \"tenant_id\": \"64b58e5635cd4a57a7f6af2647fb5f88\", \"id\": \"e50710f9-afae-44cf-aabf-ee96462356ce\", \"name\": \"opsmanager\", \"description\": \"Ops Manager\"}]}", :headers=>{"Content-Type"=>"application/json", "Content-Length"=>"2233", "X-Compute-Request-Id"=>"req-4a804bfb-b8ed-4e53-82c7-14cb89c312e5", "Date"=>"Sun, 17 Apr 2016 22:00:47 GMT"}, :status=>200, :status_line=>"HTTP/1.1 200 OK\r\n", :reason_phrase=>"OK", :remote_ip=>"88.198.234.162", :local_port=>45755, :local_address=>"10.0.0.6"}
D, [2016-04-17 22:00:47 #10843] [create_vm(f30462e9-d574-4baa-917c-374fdb46cbee, ...)] DEBUG -- DirectorJobRunner: Using security groups: `opsmanager'
D, [2016-04-17 22:00:47 #10843] [create_vm(f30462e9-d574-4baa-917c-374fdb46cbee, ...)] DEBUG -- DirectorJobRunner: Using NICs: `{"net_id"=>"9a52d34f-515e-4811-8d18-abd2725e0b2a", "v4_fixed_ip"=>"10.0.0.23"}'
D, [2016-04-17 22:00:47 #10843] [create_vm(f30462e9-d574-4baa-917c-374fdb46cbee, ...)] 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"=>"193bca6a00e94ec1a1b63aa5f502722a", "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/images/detail.json", :port=>8774, :query=>{}, :scheme=>"http", :instrumentor=>Bosh::OpenStackCloud::ExconLoggingInstrumentor, :expects=>[200, 203], :method=>"GET", :retries_remaining=>4, :connection=>#<Excon::Connection:5638066d5c10 @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:0x00563806b1da98 @stack=#<Excon::Middleware::Expects:0x00563806b1dac0 @stack=#<Excon::Middleware::Idempotent:0x00563806b1dae8 @stack=#<Excon::Middleware::Instrumentor:0x00563806b1db10 @stack=#<Excon::Middleware::Mock:0x00563806b1db38 @stack=#<Excon::Connection:5638066d5c10 @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-17 22:00:47 #10843] [create_vm(f30462e9-d574-4baa-917c-374fdb46cbee, ...)] DEBUG -- DirectorJobRunner: excon.response {:body=>"{\"images\": [{\"status\": \"ACTIVE\", \"updated\": \"2016-04-05T08:50:49Z\", \"links\": [{\"href\": \"http://88.198.234.162:8774/v2/64b58e5635cd4a57a7f6af2647fb5f88/images/a77666f7-9d26-4d8f-aa2c-f98652ffc2d6\", \"rel\": \"self\"}, {\"href\": \"http://88.198.234.162:8774/64b58e5635cd4a57a7f6af2647fb5f88/images/a77666f7-9d26-4d8f-aa2c-f98652ffc2d6\", \"rel\": \"bookmark\"}, {\"href\": \"http://88.198.234.162:9292/images/a77666f7-9d26-4d8f-aa2c-f98652ffc2d6\", \"type\": \"application/vnd.openstack.image\", \"rel\": \"alternate\"}], \"OS-DCF:diskConfig\": \"AUTO\", \"id\": \"a77666f7-9d26-4d8f-aa2c-f98652ffc2d6\", \"OS-EXT-IMG-SIZE:size\": 3221225472, \"name\": \"BOSH-aaf6f62c-9503-4362-92ed-e84b53d097a3\", \"created\": \"2016-04-05T08:50:14Z\", \"minDisk\": 0, \"progress\": 100, \"minRam\": 0, \"metadata\": {\"os_distro\": \"ubuntu\", \"name\": \"bosh-openstack-kvm-ubuntu-trusty-go_agent-raw\", \"version\": \"3146.10\", \"architecture\": \"x86_64\", \"auto_disk_config\": \"true\", \"os_type\": \"linux\"}}, {\"status\": \"ACTIVE\", \"updated\": \"2016-04-05T07:53:15Z\", \"links\": [{\"href\": \"http://88.198.234.162:8774/v2/64b58e5635cd4a57a7f6af2647fb5f88/images/84399352-e911-44d6-83b3-f9a3ac91bc7c\", \"rel\": \"self\"}, {\"href\": \"http://88.198.234.162:8774/64b58e5635cd4a57a7f6af2647fb5f88/images/84399352-e911-44d6-83b3-f9a3ac91bc7c\", \"rel\": \"bookmark\"}, {\"href\": \"http://88.198.234.162:9292/images/84399352-e911-44d6-83b3-f9a3ac91bc7c\", \"type\": \"application/vnd.openstack.image\", \"rel\": \"alternate\"}], \"OS-DCF:diskConfig\": \"AUTO\", \"id\": \"84399352-e911-44d6-83b3-f9a3ac91bc7c\", \"OS-EXT-IMG-SIZE:size\": 3221225472, \"name\": \"BOSH-10378eb7-9474-45e7-81d0-65547d10724b\", \"created\": \"2016-04-05T07:52:55Z\", \"minDisk\": 0, \"progress\": 100, \"minRam\": 0, \"metadata\": {\"os_distro\": \"ubuntu\", \"name\": \"bosh-openstack-kvm-ubuntu-trusty-go_agent-raw\", \"version\": \"3146.10\", \"architecture\": \"x86_64\", \"auto_disk_config\": \"true\", \"os_type\": \"linux\"}}, {\"status\": \"ACTIVE\", \"updated\": \"2016-04-04T08:07:39Z\", \"links\": [{\"href\": \"http://88.198.234.162:8774/v2/64b58e5635cd4a57a7f6af2647fb5f88/images/d8479fae-afdd-4a60-b5ad-bab67bf1308a\", \"rel\": \"self\"}, {\"href\": \"http://88.198.234.162:8774/64b58e5635cd4a57a7f6af2647fb5f88/images/d8479fae-afdd-4a60-b5ad-bab67bf1308a\", \"rel\": \"bookmark\"}, {\"href\": \"http://88.198.234.162:9292/images/d8479fae-afdd-4a60-b5ad-bab67bf1308a\", \"type\": \"application/vnd.openstack.image\", \"rel\": \"alternate\"}], \"id\": \"d8479fae-afdd-4a60-b5ad-bab67bf1308a\", \"OS-EXT-IMG-SIZE:size\": 4194304000, \"name\": \"Ops Manager\", \"created\": \"2016-04-04T08:07:17Z\", \"minDisk\": 0, \"progress\": 100, \"minRam\": 0, \"metadata\": {}}, {\"status\": \"ACTIVE\", \"updated\": \"2016-03-30T05:11:26Z\", \"links\": [{\"href\": \"http://88.198.234.162:8774/v2/64b58e5635cd4a57a7f6af2647fb5f88/images/4609ea04-0982-4d7f-8bab-8685591d4783\", \"rel\": \"self\"}, {\"href\": \"http://88.198.234.162:8774/64b58e5635cd4a57a7f6af2647fb5f88/images/4609ea04-0982-4d7f-8bab-8685591d4783\", \"rel\": \"bookmark\"}, {\"href\": \"http://88.198.234.162:9292/images/4609ea04-0982-4d7f-8bab-8685591d4783\", \"type\": \"application/vnd.openstack.image\", \"rel\": \"alternate\"}], \"id\": \"4609ea04-0982-4d7f-8bab-8685591d4783\", \"OS-EXT-IMG-SIZE:size\": 13200896, \"name\": \"cirros\", \"created\": \"2016-03-30T05:11:18Z\", \"minDisk\": 0, \"progress\": 100, \"minRam\": 0, \"metadata\": {}}]}", :headers=>{"Content-Type"=>"application/json", "Content-Length"=>"3215", "X-Compute-Request-Id"=>"req-25599039-3212-407b-9823-f1a874b73447", "Date"=>"Sun, 17 Apr 2016 22:00:47 GMT"}, :status=>200, :status_line=>"HTTP/1.1 200 OK\r\n", :reason_phrase=>"OK", :remote_ip=>"88.198.234.162", :local_port=>45756, :local_address=>"10.0.0.6"}
D, [2016-04-17 22:00:47 #10843] [create_vm(f30462e9-d574-4baa-917c-374fdb46cbee, ...)] DEBUG -- DirectorJobRunner: Using image: `a77666f7-9d26-4d8f-aa2c-f98652ffc2d6'
D, [2016-04-17 22:00:47 #10843] [create_vm(f30462e9-d574-4baa-917c-374fdb46cbee, ...)] 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"=>"193bca6a00e94ec1a1b63aa5f502722a", "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/flavors/detail.json", :port=>8774, :query=>{}, :scheme=>"http", :instrumentor=>Bosh::OpenStackCloud::ExconLoggingInstrumentor, :expects=>[200, 203], :method=>"GET", :retries_remaining=>4, :connection=>#<Excon::Connection:5638066d5c10 @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:0x00563806b66c48 @stack=#<Excon::Middleware::Expects:0x00563806b66c70 @stack=#<Excon::Middleware::Idempotent:0x00563806b66c98 @stack=#<Excon::Middleware::Instrumentor:0x00563806b66cc0 @stack=#<Excon::Middleware::Mock:0x00563806b66ce8 @stack=#<Excon::Connection:5638066d5c10 @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-17 22:00:47 #10843] [create_vm(f30462e9-d574-4baa-917c-374fdb46cbee, ...)] DEBUG -- DirectorJobRunner: excon.response {:body=>"{\"flavors\": [{\"name\": \"m1.tiny\", \"links\": [{\"href\": \"http://88.198.234.162:8774/v2/64b58e5635cd4a57a7f6af2647fb5f88/flavors/1\", \"rel\": \"self\"}, {\"href\": \"http://88.198.234.162:8774/64b58e5635cd4a57a7f6af2647fb5f88/flavors/1\", \"rel\": \"bookmark\"}], \"ram\": 512, \"OS-FLV-DISABLED:disabled\": false, \"vcpus\": 1, \"swap\": \"\", \"os-flavor-access:is_public\": true, \"rxtx_factor\": 1.0, \"OS-FLV-EXT-DATA:ephemeral\": 0, \"disk\": 1, \"id\": \"1\"}, {\"name\": \"m1.small\", \"links\": [{\"href\": \"http://88.198.234.162:8774/v2/64b58e5635cd4a57a7f6af2647fb5f88/flavors/2\", \"rel\": \"self\"}, {\"href\": \"http://88.198.234.162:8774/64b58e5635cd4a57a7f6af2647fb5f88/flavors/2\", \"rel\": \"bookmark\"}], \"ram\": 2048, \"OS-FLV-DISABLED:disabled\": false, \"vcpus\": 1, \"swap\": \"\", \"os-flavor-access:is_public\": true, \"rxtx_factor\": 1.0, \"OS-FLV-EXT-DATA:ephemeral\": 0, \"disk\": 20, \"id\": \"2\"}, {\"name\": \"m1.medium\", \"links\": [{\"href\": \"http://88.198.234.162:8774/v2/64b58e5635cd4a57a7f6af2647fb5f88/flavors/3\", \"rel\": \"self\"}, {\"href\": \"http://88.198.234.162:8774/64b58e5635cd4a57a7f6af2647fb5f88/flavors/3\", \"rel\": \"bookmark\"}], \"ram\": 4096, \"OS-FLV-DISABLED:disabled\": false, \"vcpus\": 2, \"swap\": \"\", \"os-flavor-access:is_public\": true, \"rxtx_factor\": 1.0, \"OS-FLV-EXT-DATA:ephemeral\": 0, \"disk\": 40, \"id\": \"3\"}, {\"name\": \"m1.large\", \"links\": [{\"href\": \"http://88.198.234.162:8774/v2/64b58e5635cd4a57a7f6af2647fb5f88/flavors/4\", \"rel\": \"self\"}, {\"href\": \"http://88.198.234.162:8774/64b58e5635cd4a57a7f6af2647fb5f88/flavors/4\", \"rel\": \"bookmark\"}], \"ram\": 8192, \"OS-FLV-DISABLED:disabled\": false, \"vcpus\": 4, \"swap\": \"\", \"os-flavor-access:is_public\": true, \"rxtx_factor\": 1.0, \"OS-FLV-EXT-DATA:ephemeral\": 0, \"disk\": 80, \"id\": \"4\"}, {\"name\": \"m1.xlarge\", \"links\": [{\"href\": \"http://88.198.234.162:8774/v2/64b58e5635cd4a57a7f6af2647fb5f88/flavors/5\", \"rel\": \"self\"}, {\"href\": \"http://88.198.234.162:8774/64b58e5635cd4a57a7f6af2647fb5f88/flavors/5\", \"rel\": \"bookmark\"}], \"ram\": 16384, \"OS-FLV-DISABLED:disabled\": false, \"vcpus\": 8, \"swap\": \"\", \"os-flavor-access:is_public\": true, \"rxtx_factor\": 1.0, \"OS-FLV-EXT-DATA:ephemeral\": 0, \"disk\": 160, \"id\": \"5\"}]}", :headers=>{"Content-Type"=>"application/json", "Content-Length"=>"2109", "X-Compute-Request-Id"=>"req-162f003c-a27f-4530-9886-afae27a7bb94", "Date"=>"Sun, 17 Apr 2016 22:00:47 GMT"}, :status=>200, :status_line=>"HTTP/1.1 200 OK\r\n", :reason_phrase=>"OK", :remote_ip=>"88.198.234.162", :local_port=>45757, :local_address=>"10.0.0.6"}
D, [2016-04-17 22:00:47 #10843] [create_vm(f30462e9-d574-4baa-917c-374fdb46cbee, ...)] DEBUG -- DirectorJobRunner: Using flavor: `m1.xlarge'
D, [2016-04-17 22:00:47 #10843] [create_vm(f30462e9-d574-4baa-917c-374fdb46cbee, ...)] 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"=>"193bca6a00e94ec1a1b63aa5f502722a", "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-keypairs.json", :port=>8774, :query=>{}, :scheme=>"http", :instrumentor=>Bosh::OpenStackCloud::ExconLoggingInstrumentor, :expects=>[200, 203], :method=>"GET", :retries_remaining=>4, :connection=>#<Excon::Connection:5638066d5c10 @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:0x00563806b98400 @stack=#<Excon::Middleware::Expects:0x00563806b98428 @stack=#<Excon::Middleware::Idempotent:0x00563806b98450 @stack=#<Excon::Middleware::Instrumentor:0x00563806b98478 @stack=#<Excon::Middleware::Mock:0x00563806b984a0 @stack=#<Excon::Connection:5638066d5c10 @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-17 22:00:47 #10843] [create_vm(f30462e9-d574-4baa-917c-374fdb46cbee, ...)] DEBUG -- DirectorJobRunner: excon.response {:body=>"{\"keypairs\": [{\"keypair\": {\"public_key\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDBSxmF8kUXgpAEkPhlt/GfmguumksLb2+u9A4slmGz8sh7oz/5sLAoIMTwE/d2JQtojw3pe7YkWokD5twqJHKPq/8EHgDRLIfFxVZoQtwHnLpuzxcXavlJkUe4YJrMkUHtzuD95YMP3UQvdNtkx7zs8ZKaK5HXtFWkv90EjwqXqPbOP8z4HOmWeAE3QUCVsHUqJQsrH+v6unzKIi/GxLQGyEtWLZP9ht2Ou1Ct8FWsNiPHUBZBCnMraAPQ7f8NHXoF1fYIdVkRiX952HXwH+vugTQY8rzNWDemgj9z0VE+IW08m0m/S0oGpx13cVIFqdvgJMY1j4mXZgdPsxx93Hc9 Generated-by-Nova\", \"name\": \"pcf\", \"fingerprint\": \"5b:03:f9:62:34:88:83:07:84:d0:91:84:72:6e:af:0b\"}}]}", :headers=>{"Content-Type"=>"application/json", "Content-Length"=>"526", "X-Compute-Request-Id"=>"req-aa9f7042-9b14-4162-ba33-701e79d1d76a", "Date"=>"Sun, 17 Apr 2016 22:00:47 GMT"}, :status=>200, :status_line=>"HTTP/1.1 200 OK\r\n", :reason_phrase=>"OK", :remote_ip=>"88.198.234.162", :local_port=>45758, :local_address=>"10.0.0.6"}
D, [2016-04-17 22:00:47 #10843] [create_vm(f30462e9-d574-4baa-917c-374fdb46cbee, ...)] DEBUG -- DirectorJobRunner: Using key-pair: `pcf' (5b:03:f9:62:34:88:83:07:84:d0:91:84:72:6e:af:0b)
D, [2016-04-17 22:00:47 #10843] [create_vm(f30462e9-d574-4baa-917c-374fdb46cbee, ...)] DEBUG -- DirectorJobRunner: Using boot parms: `{:name=>"vm-4ed95890-8cbc-4731-9373-1d7130ea9c99", :image_ref=>"a77666f7-9d26-4d8f-aa2c-f98652ffc2d6", :flavor_ref=>"5", :key_name=>"pcf", :security_groups=>["opsmanager"], :os_scheduler_hints=>nil, :nics=>[{"net_id"=>"9a52d34f-515e-4811-8d18-abd2725e0b2a", "v4_fixed_ip"=>"10.0.0.23"}], :config_drive=>false, :user_data=>"{\"registry\":{\"endpoint\":\"http://10.0.0.6:25777\"},\"server\":{\"name\":\"vm-4ed95890-8cbc-4731-9373-1d7130ea9c99\"},\"networks\":{\"default\":{\"ip\":\"10.0.0.23\",\"netmask\":\"255.255.255.0\",\"cloud_properties\":{\"net_id\":\"9a52d34f-515e-4811-8d18-abd2725e0b2a\"},\"default\":[\"dns\",\"gateway\"],\"dns\":[\"8.8.8.8\",\"10.0.0.6\"],\"gateway\":\"10.0.0.1\",\"dns_record_name\":\"2.diego-cell-partition-2a76849bdc38728d413f.default.cf-88d0a479447294d3465e.microbosh\",\"use_dhcp\":true}},\"dns\":{\"nameserver\":[\"8.8.8.8\",\"10.0.0.6\"]}}", :availability_zone=>"nova"}'
D, [2016-04-17 22:00:47 #10843] [create_vm(f30462e9-d574-4baa-917c-374fdb46cbee, ...)] 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"=>"193bca6a00e94ec1a1b63aa5f502722a", "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/servers.json", :port=>8774, :query=>nil, :scheme=>"http", :instrumentor=>Bosh::OpenStackCloud::ExconLoggingInstrumentor, :body=>"{\"server\":{\"flavorRef\":\"5\",\"imageRef\":\"a77666f7-9d26-4d8f-aa2c-f98652ffc2d6\",\"name\":\"vm-4ed95890-8cbc-4731-9373-1d7130ea9c99\",\"availability_zone\":\"nova\",\"user_data\":\"eyJyZWdpc3RyeSI6eyJlbmRwb2ludCI6Imh0dHA6Ly8xMC4wLjAuNjoyNTc3\\nNyJ9LCJzZXJ2ZXIiOnsibmFtZSI6InZtLTRlZDk1ODkwLThjYmMtNDczMS05\\nMzczLTFkNzEzMGVhOWM5OSJ9LCJuZXR3b3JrcyI6eyJkZWZhdWx0Ijp7Imlw\\nIjoiMTAuMC4wLjIzIiwibmV0bWFzayI6IjI1NS4yNTUuMjU1LjAiLCJjbG91\\nZF9wcm9wZXJ0aWVzIjp7Im5ldF9pZCI6IjlhNTJkMzRmLTUxNWUtNDgxMS04\\nZDE4LWFiZDI3MjVlMGIyYSJ9LCJkZWZhdWx0IjpbImRucyIsImdhdGV3YXki\\nXSwiZG5zIjpbIjguOC44LjgiLCIxMC4wLjAuNiJdLCJnYXRld2F5IjoiMTAu\\nMC4wLjEiLCJkbnNfcmVjb3JkX25hbWUiOiIyLmRpZWdvLWNlbGwtcGFydGl0\\naW9uLTJhNzY4NDliZGMzODcyOGQ0MTNmLmRlZmF1bHQuY2YtODhkMGE0Nzk0\\nNDcyOTRkMzQ2NWUubWljcm9ib3NoIiwidXNlX2RoY3AiOnRydWV9fSwiZG5z\\nIjp7Im5hbWVzZXJ2ZXIiOlsiOC44LjguOCIsIjEwLjAuMC42Il19fQ==\\n\",\"key_name\":\"pcf\",\"security_groups\":[{\"name\":\"opsmanager\"}],\"networks\":[{\"uuid\":\"9a52d34f-515e-4811-8d18-abd2725e0b2a\",\"fixed_ip\":\"10.0.0.23\"}]}}", :expects=>[200, 202], :method=>"POST", :retries_remaining=>4, :connection=>#<Excon::Connection:5638066d5c10 @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:0x00563806bd30a0 @stack=#<Excon::Middleware::Expects:0x00563806bd30c8 @stack=#<Excon::Middleware::Idempotent:0x00563806bd30f0 @stack=#<Excon::Middleware::Instrumentor:0x00563806bd3118 @stack=#<Excon::Middleware::Mock:0x00563806bd3140 @stack=#<Excon::Connection:5638066d5c10 @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-17 22:00:50 #10843] [create_vm(f30462e9-d574-4baa-917c-374fdb46cbee, ...)] DEBUG -- DirectorJobRunner: excon.response {:body=>"{\"server\": {\"security_groups\": [{\"name\": \"opsmanager\"}], \"OS-DCF:diskConfig\": \"AUTO\", \"id\": \"1ffe8a2b-5664-4a20-8fff-e1faac3ca3a3\", \"links\": [{\"href\": \"http://88.198.234.162:8774/v2/64b58e5635cd4a57a7f6af2647fb5f88/servers/1ffe8a2b-5664-4a20-8fff-e1faac3ca3a3\", \"rel\": \"self\"}, {\"href\": \"http://88.198.234.162:8774/64b58e5635cd4a57a7f6af2647fb5f88/servers/1ffe8a2b-5664-4a20-8fff-e1faac3ca3a3\", \"rel\": \"bookmark\"}], \"adminPass\": \"xEgTGnCn9Gz9\"}}", :headers=>{"Location"=>"http://88.198.234.162:8774/v2/64b58e5635cd4a57a7f6af2647fb5f88/servers/1ffe8a2b-5664-4a20-8fff-e1faac3ca3a3", "Content-Type"=>"application/json", "Content-Length"=>"445", "X-Compute-Request-Id"=>"req-28938405-e078-4399-9b65-75e8a38c174a", "Date"=>"Sun, 17 Apr 2016 22:00:50 GMT"}, :status=>202, :status_line=>"HTTP/1.1 202 Accepted\r\n", :reason_phrase=>"Accepted", :remote_ip=>"88.198.234.162", :local_port=>45759, :local_address=>"10.0.0.6"}
I, [2016-04-17 22:00:50 #10843] [create_vm(f30462e9-d574-4baa-917c-374fdb46cbee, ...)] INFO -- DirectorJobRunner: Creating new server `1ffe8a2b-5664-4a20-8fff-e1faac3ca3a3'...
D, [2016-04-17 22:00:50 #10843] [create_vm(f30462e9-d574-4baa-917c-374fdb46cbee, ...)] DEBUG -- DirectorJobRunner: Waiting for Server `1ffe8a2b-5664-4a20-8fff-e1faac3ca3a3' to be active (3.9059e-05s)
D, [2016-04-17 22:00:50 #10843] [create_vm(f30462e9-d574-4baa-917c-374fdb46cbee, ...)] 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"=>"193bca6a00e94ec1a1b63aa5f502722a", "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/servers/1ffe8a2b-5664-4a20-8fff-e1faac3ca3a3.json", :port=>8774, :query=>nil, :scheme=>"http", :instrumentor=>Bosh::OpenStackCloud::ExconLoggingInstrumentor, :expects=>[200, 203], :method=>"GET", :retries_remaining=>4, :connection=>#<Excon::Connection:5638066d5c10 @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:0x00563806c0b770 @stack=#<Excon::Middleware::Expects:0x00563806c0b798 @stack=#<Excon::Middleware::Idempotent:0x00563806c0b7c0 @stack=#<Excon::Middleware::Instrumentor:0x00563806c0b7e8 @stack=#<Excon::Middleware::Mock:0x00563806c0b810 @stack=#<Excon::Connection:5638066d5c10 @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-17 22:00:50 #10843] [] DEBUG -- DirectorJobRunner: Renewing lock: lock:deployment:cf-88d0a479447294d3465e
D, [2016-04-17 22:00:50 #10843] [create_vm(f30462e9-d574-4baa-917c-374fdb46cbee, ...)] DEBUG -- DirectorJobRunner: excon.response {:body=>"{\"server\": {\"status\": \"BUILD\", \"updated\": \"2016-04-17T22:00:50Z\", \"hostId\": \"\", \"addresses\": {}, \"links\": [{\"href\": \"http://88.198.234.162:8774/v2/64b58e5635cd4a57a7f6af2647fb5f88/servers/1ffe8a2b-5664-4a20-8fff-e1faac3ca3a3\", \"rel\": \"self\"}, {\"href\": \"http://88.198.234.162:8774/64b58e5635cd4a57a7f6af2647fb5f88/servers/1ffe8a2b-5664-4a20-8fff-e1faac3ca3a3\", \"rel\": \"bookmark\"}], \"key_name\": \"pcf\", \"image\": {\"id\": \"a77666f7-9d26-4d8f-aa2c-f98652ffc2d6\", \"links\": [{\"href\": \"http://88.198.234.162:8774/64b58e5635cd4a57a7f6af2647fb5f88/images/a77666f7-9d26-4d8f-aa2c-f98652ffc2d6\", \"rel\": \"bookmark\"}]}, \"OS-EXT-STS:task_state\": \"scheduling\", \"OS-EXT-STS:vm_state\": \"building\", \"OS-SRV-USG:launched_at\": null, \"flavor\": {\"id\": \"5\", \"links\": [{\"href\": \"http://88.198.234.162:8774/64b58e5635cd4a57a7f6af2647fb5f88/flavors/5\", \"rel\": \"bookmark\"}]}, \"id\": \"1ffe8a2b-5664-4a20-8fff-e1faac3ca3a3\", \"OS-SRV-USG:terminated_at\": null, \"OS-EXT-AZ:availability_zone\": \"nova\", \"user_id\": \"9f891456f768435d990682af2c829970\", \"name\": \"vm-4ed95890-8cbc-4731-9373-1d7130ea9c99\", \"created\": \"2016-04-17T22:00:50Z\", \"tenant_id\": \"64b58e5635cd4a57a7f6af2647fb5f88\", \"OS-DCF:diskConfig\": \"AUTO\", \"os-extended-volumes:volumes_attached\": [], \"accessIPv4\": \"\", \"accessIPv6\": \"\", \"progress\": 0, \"OS-EXT-STS:power_state\": 0, \"config_drive\": \"\", \"metadata\": {}}}", :headers=>{"Content-Type"=>"application/json", "Content-Length"=>"1336", "X-Compute-Request-Id"=>"req-ded065d6-7fd9-4117-972f-48597ac240ee", "Date"=>"Sun, 17 Apr 2016 22:00:50 GMT"}, :status=>200, :status_line=>"HTTP/1.1 200 OK\r\n", :reason_phrase=>"OK", :remote_ip=>"88.198.234.162", :local_port=>45760, :local_address=>"10.0.0.6"}
D, [2016-04-17 22:00:55 #10843] [] DEBUG -- DirectorJobRunner: Renewing lock: lock:deployment:cf-88d0a479447294d3465e
D, [2016-04-17 22:00:55 #10843] [create_vm(f30462e9-d574-4baa-917c-374fdb46cbee, ...)] DEBUG -- DirectorJobRunner: Waiting for Server `1ffe8a2b-5664-4a20-8fff-e1faac3ca3a3' to be active (5.455673215s)
D, [2016-04-17 22:00:55 #10843] [create_vm(f30462e9-d574-4baa-917c-374fdb46cbee, ...)] 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"=>"193bca6a00e94ec1a1b63aa5f502722a", "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/servers/1ffe8a2b-5664-4a20-8fff-e1faac3ca3a3.json", :port=>8774, :query=>nil, :scheme=>"http", :instrumentor=>Bosh::OpenStackCloud::ExconLoggingInstrumentor, :expects=>[200, 203], :method=>"GET", :retries_remaining=>4, :connection=>#<Excon::Connection:5638066d5c10 @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:0x007ff28002a010 @stack=#<Excon::Middleware::Expects:0x007ff28002a038 @stack=#<Excon::Middleware::Idempotent:0x007ff28002a060 @stack=#<Excon::Middleware::Instrumentor:0x007ff28002a088 @stack=#<Excon::Middleware::Mock:0x007ff28002a0b0 @stack=#<Excon::Connection:5638066d5c10 @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-17 22:00:56 #10843] [create_vm(f30462e9-d574-4baa-917c-374fdb46cbee, ...)] DEBUG -- DirectorJobRunner: excon.response {:body=>"{\"server\": {\"status\": \"ERROR\", \"updated\": \"2016-04-17T22:00:56Z\", \"hostId\": \"\", \"addresses\": {\"private\": [{\"OS-EXT-IPS-MAC:mac_addr\": \"fa:16:3e:60:4d:6a\", \"version\": 4, \"addr\": \"10.0.0.23\", \"OS-EXT-IPS:type\": \"fixed\"}]}, \"links\": [{\"href\": \"http://88.198.234.162:8774/v2/64b58e5635cd4a57a7f6af2647fb5f88/servers/1ffe8a2b-5664-4a20-8fff-e1faac3ca3a3\", \"rel\": \"self\"}, {\"href\": \"http://88.198.234.162:8774/64b58e5635cd4a57a7f6af2647fb5f88/servers/1ffe8a2b-5664-4a20-8fff-e1faac3ca3a3\", \"rel\": \"bookmark\"}], \"key_name\": \"pcf\", \"image\": {\"id\": \"a77666f7-9d26-4d8f-aa2c-f98652ffc2d6\", \"links\": [{\"href\": \"http://88.198.234.162:8774/64b58e5635cd4a57a7f6af2647fb5f88/images/a77666f7-9d26-4d8f-aa2c-f98652ffc2d6\", \"rel\": \"bookmark\"}]}, \"OS-EXT-STS:task_state\": null, \"OS-EXT-STS:vm_state\": \"error\", \"OS-SRV-USG:launched_at\": null, \"flavor\": {\"id\": \"5\", \"links\": [{\"href\": \"http://88.198.234.162:8774/64b58e5635cd4a57a7f6af2647fb5f88/flavors/5\", \"rel\": \"bookmark\"}]}, \"id\": \"1ffe8a2b-5664-4a20-8fff-e1faac3ca3a3\", \"security_groups\": [{\"name\": \"opsmanager\"}], \"OS-SRV-USG:terminated_at\": null, \"OS-EXT-AZ:availability_zone\": \"nova\", \"user_id\": \"9f891456f768435d990682af2c829970\", \"name\": \"vm-4ed95890-8cbc-4731-9373-1d7130ea9c99\", \"created\": \"2016-04-17T22:00:50Z\", \"tenant_id\": \"64b58e5635cd4a57a7f6af2647fb5f88\", \"OS-DCF:diskConfig\": \"AUTO\", \"os-extended-volumes:volumes_attached\": [], \"accessIPv4\": \"\", \"accessIPv6\": \"\", \"fault\": {\"message\": \"No valid host was found. There are not enough hosts available.\", \"code\": 500, \"created\": \"2016-04-17T22:00:56Z\"}, \"OS-EXT-STS:power_state\": 0, \"config_drive\": \"\", \"metadata\": {}}}", :headers=>{"Content-Type"=>"application/json", "Content-Length"=>"1615", "X-Compute-Request-Id"=>"req-e9eb1ca6-b08d-4108-9f5d-edb2a34f551c", "Date"=>"Sun, 17 Apr 2016 22:00:56 GMT"}, :status=>200, :status_line=>"HTTP/1.1 200 OK\r\n", :reason_phrase=>"OK", :remote_ip=>"88.198.234.162", :local_port=>45761, :local_address=>"10.0.0.6"}
E, [2016-04-17 22:00:56 #10843] [create_vm(f30462e9-d574-4baa-917c-374fdb46cbee, ...)] ERROR -- DirectorJobRunner: Server `1ffe8a2b-5664-4a20-8fff-e1faac3ca3a3' state is error, expected active
W, [2016-04-17 22:00:56 #10843] [create_vm(f30462e9-d574-4baa-917c-374fdb46cbee, ...)] WARN -- DirectorJobRunner: Failed to create server: Server `1ffe8a2b-5664-4a20-8fff-e1faac3ca3a3' state is error, expected active
D, [2016-04-17 22:00:56 #10843] [create_vm(f30462e9-d574-4baa-917c-374fdb46cbee, ...)] 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"=>"193bca6a00e94ec1a1b63aa5f502722a", "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/servers/1ffe8a2b-5664-4a20-8fff-e1faac3ca3a3", :port=>8774, :query=>nil, :scheme=>"http", :instrumentor=>Bosh::OpenStackCloud::ExconLoggingInstrumentor, :expects=>204, :method=>"DELETE", :retries_remaining=>4, :connection=>#<Excon::Connection:5638066d5c10 @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:0x00563806c6f630 @stack=#<Excon::Middleware::Expects:0x00563806c6f658 @stack=#<Excon::Middleware::Idempotent:0x00563806c6f680 @stack=#<Excon::Middleware::Instrumentor:0x00563806c6f6a8 @stack=#<Excon::Middleware::Mock:0x00563806c6f6d0 @stack=#<Excon::Connection:5638066d5c10 @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-17 22:00:57 #10843] [create_vm(f30462e9-d574-4baa-917c-374fdb46cbee, ...)] DEBUG -- DirectorJobRunner: excon.response {:body=>"", :headers=>{"Content-Length"=>"0", "Content-Type"=>"application/json", "X-Compute-Request-Id"=>"req-f8b646f7-213f-492d-b0b6-f50ce081fc8d", "Date"=>"Sun, 17 Apr 2016 22:00:57 GMT"}, :status=>204, :status_line=>"HTTP/1.1 204 No Content\r\n", :reason_phrase=>"No Content", :remote_ip=>"88.198.234.162", :local_port=>45763, :local_address=>"10.0.0.6"}
D, [2016-04-17 22:00:57 #10843] [create_vm(f30462e9-d574-4baa-917c-374fdb46cbee, ...)] DEBUG -- DirectorJobRunner: Waiting for Server `1ffe8a2b-5664-4a20-8fff-e1faac3ca3a3' to be terminated, deleted (3.8165e-05s)
D, [2016-04-17 22:00:57 #10843] [create_vm(f30462e9-d574-4baa-917c-374fdb46cbee, ...)] 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"=>"193bca6a00e94ec1a1b63aa5f502722a", "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/servers/1ffe8a2b-5664-4a20-8fff-e1faac3ca3a3.json", :port=>8774, :query=>nil, :scheme=>"http", :instrumentor=>Bosh::OpenStackCloud::ExconLoggingInstrumentor, :expects=>[200, 203], :method=>"GET", :retries_remaining=>4, :connection=>#<Excon::Connection:5638066d5c10 @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:0x00563806c90b28 @stack=#<Excon::Middleware::Expects:0x00563806c90b50 @stack=#<Excon::Middleware::Idempotent:0x00563806c90b78 @stack=#<Excon::Middleware::Instrumentor:0x00563806c90ba0 @stack=#<Excon::Middleware::Mock:0x00563806c90bc8 @stack=#<Excon::Connection:5638066d5c10 @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-17 22:00:57 #10843] [create_vm(f30462e9-d574-4baa-917c-374fdb46cbee, ...)] DEBUG -- DirectorJobRunner: excon.error {:error=>#<Excon::Errors::NotFound: Expected([200, 203]) <=> Actual(404 Not Found)
excon.error.response
:body => "{\"itemNotFound\": {\"message\": \"Instance 1ffe8a2b-5664-4a20-8fff-e1faac3ca3a3 could not be found.\", \"code\": 404}}"
:headers => {
"Content-Length" => "111"
"Content-Type" => "application/json; charset=UTF-8"
"Date" => "Sun, 17 Apr 2016 22:00:57 GMT"
"X-Compute-Request-Id" => "req-8b1db992-f669-40b7-8984-66b73cd02764"
}
:local_address => "10.0.0.6"
:local_port => 45764
:reason_phrase => "Not Found"
:remote_ip => "88.198.234.162"
:status => 404
:status_line => "HTTP/1.1 404 Not Found\r\n"
>}
I, [2016-04-17 22:00:57 #10843] [create_vm(f30462e9-d574-4baa-917c-374fdb46cbee, ...)] INFO -- DirectorJobRunner: Server `1ffe8a2b-5664-4a20-8fff-e1faac3ca3a3' is now terminated, deleted, took 0.421717952s
E, [2016-04-17 22:00:57 #10843] [task:482] ERROR -- DirectorJobRunner: failed to create VM, retrying (1)
I, [2016-04-17 22:00:57 #10843] [create_vm(f30462e9-d574-4baa-917c-374fdb46cbee, ...)] INFO -- DirectorJobRunner: Creating new server...
D, [2016-04-17 22:00:57 #10843] [create_vm(f30462e9-d574-4baa-917c-374fdb46cbee, ...)] 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"=>"193bca6a00e94ec1a1b63aa5f502722a", "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-security-groups.json", :port=>8774, :query=>{}, :scheme=>"http", :instrumentor=>Bosh::OpenStackCloud::ExconLoggingInstrumentor, :expects=>[200], :method=>"GET", :retries_remaining=>4, :connection=>#<Excon::Connection:5638066d5c10 @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:0x00563806cc5fd0 @stack=#<Excon::Middleware::Expects:0x00563806cc5ff8 @stack=#<Excon::Middleware::Idempotent:0x00563806cc6020 @stack=#<Excon::Middleware::Instrumentor:0x00563806cc6048 @stack=#<Excon::Middleware::Mock:0x00563806cc6070 @stack=#<Excon::Connection:5638066d5c10 @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-17 22:00:58 #10843] [create_vm(f30462e9-d574-4baa-917c-374fdb46cbee, ...)] DEBUG -- DirectorJobRunner: excon.response {:body=>"{\"security_groups\": [{\"rules\": [{\"from_port\": null, \"group\": {\"tenant_id\": \"64b58e5635cd4a57a7f6af2647fb5f88\", \"name\": \"default\"}, \"ip_protocol\": null, \"to_port\": null, \"parent_group_id\": \"e5cfdf67-ad87-4e90-aacf-036d54639768\", \"ip_range\": {}, \"id\": \"a1f254c9-42d4-476e-a2ac-fb0e050f2015\"}, {\"from_port\": null, \"group\": {\"tenant_id\": \"64b58e5635cd4a57a7f6af2647fb5f88\", \"name\": \"default\"}, \"ip_protocol\": null, \"to_port\": null, \"parent_group_id\": \"e5cfdf67-ad87-4e90-aacf-036d54639768\", \"ip_range\": {}, \"id\": \"c58439de-b331-41c4-ba25-bf16700d2b1b\"}], \"tenant_id\": \"64b58e5635cd4a57a7f6af2647fb5f88\", \"id\": \"e5cfdf67-ad87-4e90-aacf-036d54639768\", \"name\": \"default\", \"description\": \"Default security group\"}, {\"rules\": [{\"from_port\": 80, \"group\": {}, \"ip_protocol\": \"tcp\", \"to_port\": 80, \"parent_group_id\": \"e50710f9-afae-44cf-aabf-ee96462356ce\", \"ip_range\": {\"cidr\": \"0.0.0.0/0\"}, \"id\": \"3da4101b-fafb-44ba-87b5-9262ca621301\"}, {\"from_port\": 25555, \"group\": {}, \"ip_protocol\": \"tcp\", \"to_port\": 25555, \"parent_group_id\": \"e50710f9-afae-44cf-aabf-ee96462356ce\", \"ip_range\": {\"cidr\": \"0.0.0.0/0\"}, \"id\": \"68fe97b7-7a6b-417b-a89e-22c870b836b5\"}, {\"from_port\": 22, \"group\": {}, \"ip_protocol\": \"tcp\", \"to_port\": 22, \"parent_group_id\": \"e50710f9-afae-44cf-aabf-ee96462356ce\", \"ip_range\": {\"cidr\": \"0.0.0.0/0\"}, \"id\": \"8b2498f3-8d95-4863-9673-f5b9c42f8496\"}, {\"from_port\": 1, \"group\": {\"tenant_id\": \"64b58e5635cd4a57a7f6af2647fb5f88\", \"name\": \"opsmanager\"}, \"ip_protocol\": \"udp\", \"to_port\": 65535, \"parent_group_id\": \"e50710f9-afae-44cf-aabf-ee96462356ce\", \"ip_range\": {}, \"id\": \"ad8f4b5e-56e2-4f42-8da4-fa45aa0a5ab6\"}, {\"from_port\": 1, \"group\": {\"tenant_id\": \"64b58e5635cd4a57a7f6af2647fb5f88\", \"name\": \"opsmanager\"}, \"ip_protocol\": \"tcp\", \"to_port\": 65535, \"parent_group_id\": \"e50710f9-afae-44cf-aabf-ee96462356ce\", \"ip_range\": {}, \"id\": \"b9bed50f-e730-480f-b1fb-afa7c793ff18\"}, {\"from_port\": 443, \"group\": {}, \"ip_protocol\": \"tcp\", \"to_port\": 443, \"parent_group_id\": \"e50710f9-afae-44cf-aabf-ee96462356ce\", \"ip_range\": {\"cidr\": \"0.0.0.0/0\"}, \"id\": \"eb2a1b64-eaad-4131-8f21-2bad7e41f654\"}], \"tenant_id\": \"64b58e5635cd4a57a7f6af2647fb5f88\", \"id\": \"e50710f9-afae-44cf-aabf-ee96462356ce\", \"name\": \"opsmanager\", \"description\": \"Ops Manager\"}]}", :headers=>{"Content-Type"=>"application/json", "Content-Length"=>"2233", "X-Compute-Request-Id"=>"req-fa45c813-b9cf-4587-bb62-c0f109ab88cb", "Date"=>"Sun, 17 Apr 2016 22:00:58 GMT"}, :status=>200, :status_line=>"HTTP/1.1 200 OK\r\n", :reason_phrase=>"OK", :remote_ip=>"88.198.234.162", :local_port=>45765, :local_address=>"10.0.0.6"}
D, [2016-04-17 22:00:58 #10843] [create_vm(f30462e9-d574-4baa-917c-374fdb46cbee, ...)] DEBUG -- DirectorJobRunner: Using security groups: `opsmanager'
D, [2016-04-17 22:00:58 #10843] [create_vm(f30462e9-d574-4baa-917c-374fdb46cbee, ...)] DEBUG -- DirectorJobRunner: Using NICs: `{"net_id"=>"9a52d34f-515e-4811-8d18-abd2725e0b2a", "v4_fixed_ip"=>"10.0.0.23"}'
D, [2016-04-17 22:00:58 #10843] [create_vm(f30462e9-d574-4baa-917c-374fdb46cbee, ...)] 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"=>"193bca6a00e94ec1a1b63aa5f502722a", "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/images/detail.json", :port=>8774, :query=>{}, :scheme=>"http", :instrumentor=>Bosh::OpenStackCloud::ExconLoggingInstrumentor, :expects=>[200, 203], :method=>"GET", :retries_remaining=>4, :connection=>#<Excon::Connection:5638066d5c10 @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:0x00563806cf8020 @stack=#<Excon::Middleware::Expects:0x00563806cf8048 @stack=#<Excon::Middleware::Idempotent:0x00563806cf8070 @stack=#<Excon::Middleware::Instrumentor:0x00563806cf8098 @stack=#<Excon::Middleware::Mock:0x00563806cf80c0 @stack=#<Excon::Connection:5638066d5c10 @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-17 22:00:58 #10843] [create_vm(f30462e9-d574-4baa-917c-374fdb46cbee, ...)] DEBUG -- DirectorJobRunner: excon.response {:body=>"{\"images\": [{\"status\": \"ACTIVE\", \"updated\": \"2016-04-05T08:50:49Z\", \"links\": [{\"href\": \"http://88.198.234.162:8774/v2/64b58e5635cd4a57a7f6af2647fb5f88/images/a77666f7-9d26-4d8f-aa2c-f98652ffc2d6\", \"rel\": \"self\"}, {\"href\": \"http://88.198.234.162:8774/64b58e5635cd4a57a7f6af2647fb5f88/images/a77666f7-9d26-4d8f-aa2c-f98652ffc2d6\", \"rel\": \"bookmark\"}, {\"href\": \"http://88.198.234.162:9292/images/a77666f7-9d26-4d8f-aa2c-f98652ffc2d6\", \"type\": \"application/vnd.openstack.image\", \"rel\": \"alternate\"}], \"OS-DCF:diskConfig\": \"AUTO\", \"id\": \"a77666f7-9d26-4d8f-aa2c-f98652ffc2d6\", \"OS-EXT-IMG-SIZE:size\": 3221225472, \"name\": \"BOSH-aaf6f62c-9503-4362-92ed-e84b53d097a3\", \"created\": \"2016-04-05T08:50:14Z\", \"minDisk\": 0, \"progress\": 100, \"minRam\": 0, \"metadata\": {\"os_distro\": \"ubuntu\", \"name\": \"bosh-openstack-kvm-ubuntu-trusty-go_agent-raw\", \"version\": \"3146.10\", \"architecture\": \"x86_64\", \"auto_disk_config\": \"true\", \"os_type\": \"linux\"}}, {\"status\": \"ACTIVE\", \"updated\": \"2016-04-05T07:53:15Z\", \"links\": [{\"href\": \"http://88.198.234.162:8774/v2/64b58e5635cd4a57a7f6af2647fb5f88/images/84399352-e911-44d6-83b3-f9a3ac91bc7c\", \"rel\": \"self\"}, {\"href\": \"http://88.198.234.162:8774/64b58e5635cd4a57a7f6af2647fb5f88/images/84399352-e911-44d6-83b3-f9a3ac91bc7c\", \"rel\": \"bookmark\"}, {\"href\": \"http://88.198.234.162:9292/images/84399352-e911-44d6-83b3-f9a3ac91bc7c\", \"type\": \"application/vnd.openstack.image\", \"rel\": \"alternate\"}], \"OS-DCF:diskConfig\": \"AUTO\", \"id\": \"84399352-e911-44d6-83b3-f9a3ac91bc7c\", \"OS-EXT-IMG-SIZE:size\": 3221225472, \"name\": \"BOSH-10378eb7-9474-45e7-81d0-65547d10724b\", \"created\": \"2016-04-05T07:52:55Z\", \"minDisk\": 0, \"progress\": 100, \"minRam\": 0, \"metadata\": {\"os_distro\": \"ubuntu\", \"name\": \"bosh-openstack-kvm-ubuntu-trusty-go_agent-raw\", \"version\": \"3146.10\", \"architecture\": \"x86_64\", \"auto_disk_config\": \"true\", \"os_type\": \"linux\"}}, {\"status\": \"ACTIVE\", \"updated\": \"2016-04-04T08:07:39Z\", \"links\": [{\"href\": \"http://88.198.234.162:8774/v2/64b58e5635cd4a57a7f6af2647fb5f88/images/d8479fae-afdd-4a60-b5ad-bab67bf1308a\", \"rel\": \"self\"}, {\"href\": \"http://88.198.234.162:8774/64b58e5635cd4a57a7f6af2647fb5f88/images/d8479fae-afdd-4a60-b5ad-bab67bf1308a\", \"rel\": \"bookmark\"}, {\"href\": \"http://88.198.234.162:9292/images/d8479fae-afdd-4a60-b5ad-bab67bf1308a\", \"type\": \"application/vnd.openstack.image\", \"rel\": \"alternate\"}], \"id\": \"d8479fae-afdd-4a60-b5ad-bab67bf1308a\", \"OS-EXT-IMG-SIZE:size\": 4194304000, \"name\": \"Ops Manager\", \"created\": \"2016-04-04T08:07:17Z\", \"minDisk\": 0, \"progress\": 100, \"minRam\": 0, \"metadata\": {}}, {\"status\": \"ACTIVE\", \"updated\": \"2016-03-30T05:11:26Z\", \"links\": [{\"href\": \"http://88.198.234.162:8774/v2/64b58e5635cd4a57a7f6af2647fb5f88/images/4609ea04-0982-4d7f-8bab-8685591d4783\", \"rel\": \"self\"}, {\"href\": \"http://88.198.234.162:8774/64b58e5635cd4a57a7f6af2647fb5f88/images/4609ea04-0982-4d7f-8bab-8685591d4783\", \"rel\": \"bookmark\"}, {\"href\": \"http://88.198.234.162:9292/images/4609ea04-0982-4d7f-8bab-8685591d4783\", \"type\": \"application/vnd.openstack.image\", \"rel\": \"alternate\"}], \"id\": \"4609ea04-0982-4d7f-8bab-8685591d4783\", \"OS-EXT-IMG-SIZE:size\": 13200896, \"name\": \"cirros\", \"created\": \"2016-03-30T05:11:18Z\", \"minDisk\": 0, \"progress\": 100, \"minRam\": 0, \"metadata\": {}}]}", :headers=>{"Content-Type"=>"application/json", "Content-Length"=>"3215", "X-Compute-Request-Id"=>"req-4a312613-f3f3-426d-8b72-bef09d3b4d68", "Date"=>"Sun, 17 Apr 2016 22:00:58 GMT"}, :status=>200, :status_line=>"HTTP/1.1 200 OK\r\n", :reason_phrase=>"OK", :remote_ip=>"88.198.234.162", :local_port=>45766, :local_address=>"10.0.0.6"}
D, [2016-04-17 22:00:58 #10843] [create_vm(f30462e9-d574-4baa-917c-374fdb46cbee, ...)] DEBUG -- DirectorJobRunner: Using image: `a77666f7-9d26-4d8f-aa2c-f98652ffc2d6'
D, [2016-04-17 22:00:58 #10843] [create_vm(f30462e9-d574-4baa-917c-374fdb46cbee, ...)] 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"=>"193bca6a00e94ec1a1b63aa5f502722a", "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/flavors/detail.json", :port=>8774, :query=>{}, :scheme=>"http", :instrumentor=>Bosh::OpenStackCloud::ExconLoggingInstrumentor, :expects=>[200, 203], :method=>"GET", :retries_remaining=>4, :connection=>#<Excon::Connection:5638066d5c10 @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:0x00563806d41040 @stack=#<Excon::Middleware::Expects:0x00563806d41068 @stack=#<Excon::Middleware::Idempotent:0x00563806d41090 @stack=#<Excon::Middleware::Instrumentor:0x00563806d410b8 @stack=#<Excon::Middleware::Mock:0x00563806d410e0 @stack=#<Excon::Connection:5638066d5c10 @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-17 22:00:59 #10843] [create_vm(f30462e9-d574-4baa-917c-374fdb46cbee, ...)] DEBUG -- DirectorJobRunner: excon.response {:body=>"{\"flavors\": [{\"name\": \"m1.tiny\", \"links\": [{\"href\": \"http://88.198.234.162:8774/v2/64b58e5635cd4a57a7f6af2647fb5f88/flavors/1\", \"rel\": \"self\"}, {\"href\": \"http://88.198.234.162:8774/64b58e5635cd4a57a7f6af2647fb5f88/flavors/1\", \"rel\": \"bookmark\"}], \"ram\": 512, \"OS-FLV-DISABLED:disabled\": false, \"vcpus\": 1, \"swap\": \"\", \"os-flavor-access:is_public\": true, \"rxtx_factor\": 1.0, \"OS-FLV-EXT-DATA:ephemeral\": 0, \"disk\": 1, \"id\": \"1\"}, {\"name\": \"m1.small\", \"links\": [{\"href\": \"http://88.198.234.162:8774/v2/64b58e5635cd4a57a7f6af2647fb5f88/flavors/2\", \"rel\": \"self\"}, {\"href\": \"http://88.198.234.162:8774/64b58e5635cd4a57a7f6af2647fb5f88/flavors/2\", \"rel\": \"bookmark\"}], \"ram\": 2048, \"OS-FLV-DISABLED:disabled\": false, \"vcpus\": 1, \"swap\": \"\", \"os-flavor-access:is_public\": true, \"rxtx_factor\": 1.0, \"OS-FLV-EXT-DATA:ephemeral\": 0, \"disk\": 20, \"id\": \"2\"}, {\"name\": \"m1.medium\", \"links\": [{\"href\": \"http://88.198.234.162:8774/v2/64b58e5635cd4a57a7f6af2647fb5f88/flavors/3\", \"rel\": \"self\"}, {\"href\": \"http://88.198.234.162:8774/64b58e5635cd4a57a7f6af2647fb5f88/flavors/3\", \"rel\": \"bookmark\"}], \"ram\": 4096, \"OS-FLV-DISABLED:disabled\": false, \"vcpus\": 2, \"swap\": \"\", \"os-flavor-access:is_public\": true, \"rxtx_factor\": 1.0, \"OS-FLV-EXT-DATA:ephemeral\": 0, \"disk\": 40, \"id\": \"3\"}, {\"name\": \"m1.large\", \"links\": [{\"href\": \"http://88.198.234.162:8774/v2/64b58e5635cd4a57a7f6af2647fb5f88/flavors/4\", \"rel\": \"self\"}, {\"href\": \"http://88.198.234.162:8774/64b58e5635cd4a57a7f6af2647fb5f88/flavors/4\", \"rel\": \"bookmark\"}], \"ram\": 8192, \"OS-FLV-DISABLED:disabled\": false, \"vcpus\": 4, \"swap\": \"\", \"os-flavor-access:is_public\": true, \"rxtx_factor\": 1.0, \"OS-FLV-EXT-DATA:ephemeral\": 0, \"disk\": 80, \"id\": \"4\"}, {\"name\": \"m1.xlarge\", \"links\": [{\"href\": \"http://88.198.234.162:8774/v2/64b58e5635cd4a57a7f6af2647fb5f88/flavors/5\", \"rel\": \"self\"}, {\"href\": \"http://88.198.234.162:8774/64b58e5635cd4a57a7f6af2647fb5f88/flavors/5\", \"rel\": \"bookmark\"}], \"ram\": 16384, \"OS-FLV-DISABLED:disabled\": false, \"vcpus\": 8, \"swap\": \"\", \"os-flavor-access:is_public\": true, \"rxtx_factor\": 1.0, \"OS-FLV-EXT-DATA:ephemeral\": 0, \"disk\": 160, \"id\": \"5\"}]}", :headers=>{"Content-Type"=>"application/json", "Content-Length"=>"2109", "X-Compute-Request-Id"=>"req-3db4d316-0205-4ef0-ab1b-d5480fe642db", "Date"=>"Sun, 17 Apr 2016 22:00:59 GMT"}, :status=>200, :status_line=>"HTTP/1.1 200 OK\r\n", :reason_phrase=>"OK", :remote_ip=>"88.198.234.162", :local_port=>45767, :local_address=>"10.0.0.6"}
D, [2016-04-17 22:00:59 #10843] [create_vm(f30462e9-d574-4baa-917c-374fdb46cbee, ...)] DEBUG -- DirectorJobRunner: Using flavor: `m1.xlarge'
D, [2016-04-17 22:00:59 #10843] [create_vm(f30462e9-d574-4baa-917c-374fdb46cbee, ...)] 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"=>"193bca6a00e94ec1a1b63aa5f502722a", "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-keypairs.json", :port=>8774, :query=>{}, :scheme=>"http", :instrumentor=>Bosh::OpenStackCloud::ExconLoggingInstrumentor, :expects=>[200, 203], :method=>"GET", :retries_remaining=>4, :connection=>#<Excon::Connection:5638066d5c10 @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:0x00563806d827c0 @stack=#<Excon::Middleware::Expects:0x00563806d827e8 @stack=#<Excon::Middleware::Idempotent:0x00563806d82810 @stack=#<Excon::Middleware::Instrumentor:0x00563806d82838 @stack=#<Excon::Middleware::Mock:0x00563806d82860 @stack=#<Excon::Connection:5638066d5c10 @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-17 22:00:59 #10843] [create_vm(f30462e9-d574-4baa-917c-374fdb46cbee, ...)] DEBUG -- DirectorJobRunner: excon.response {:body=>"{\"keypairs\": [{\"keypair\": {\"public_key\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDBSxmF8kUXgpAEkPhlt/GfmguumksLb2+u9A4slmGz8sh7oz/5sLAoIMTwE/d2JQtojw3pe7YkWokD5twqJHKPq/8EHgDRLIfFxVZoQtwHnLpuzxcXavlJkUe4YJrMkUHtzuD95YMP3UQvdNtkx7zs8ZKaK5HXtFWkv90EjwqXqPbOP8z4HOmWeAE3QUCVsHUqJQsrH+v6unzKIi/GxLQGyEtWLZP9ht2Ou1Ct8FWsNiPHUBZBCnMraAPQ7f8NHXoF1fYIdVkRiX952HXwH+vugTQY8rzNWDemgj9z0VE+IW08m0m/S0oGpx13cVIFqdvgJMY1j4mXZgdPsxx93Hc9 Generated-by-Nova\", \"name\": \"pcf\", \"fingerprint\": \"5b:03:f9:62:34:88:83:07:84:d0:91:84:72:6e:af:0b\"}}]}", :headers=>{"Content-Type"=>"application/json", "Content-Length"=>"526", "X-Compute-Request-Id"=>"req-39f394ec-ce12-42f1-93e8-82a244ac990a", "Date"=>"Sun, 17 Apr 2016 22:00:59 GMT"}, :status=>200, :status_line=>"HTTP/1.1 200 OK\r\n", :reason_phrase=>"OK", :remote_ip=>"88.198.234.162", :local_port=>45768, :local_address=>"10.0.0.6"}
D, [2016-04-17 22:00:59 #10843] [create_vm(f30462e9-d574-4baa-917c-374fdb46cbee, ...)] DEBUG -- DirectorJobRunner: Using key-pair: `pcf' (5b:03:f9:62:34:88:83:07:84:d0:91:84:72:6e:af:0b)
D, [2016-04-17 22:00:59 #10843] [create_vm(f30462e9-d574-4baa-917c-374fdb46cbee, ...)] DEBUG -- DirectorJobRunner: Using boot parms: `{:name=>"vm-4ea1869c-34c6-4cc9-9195-1f1ee3fee7ad", :image_ref=>"a77666f7-9d26-4d8f-aa2c-f98652ffc2d6", :flavor_ref=>"5", :key_name=>"pcf", :security_groups=>["opsmanager"], :os_scheduler_hints=>nil, :nics=>[{"net_id"=>"9a52d34f-515e-4811-8d18-abd2725e0b2a", "v4_fixed_ip"=>"10.0.0.23"}], :config_drive=>false, :user_data=>"{\"registry\":{\"endpoint\":\"http://10.0.0.6:25777\"},\"server\":{\"name\":\"vm-4ea1869c-34c6-4cc9-9195-1f1ee3fee7ad\"},\"networks\":{\"default\":{\"ip\":\"10.0.0.23\",\"netmask\":\"255.255.255.0\",\"cloud_properties\":{\"net_id\":\"9a52d34f-515e-4811-8d18-abd2725e0b2a\"},\"default\":[\"dns\",\"gateway\"],\"dns\":[\"8.8.8.8\",\"10.0.0.6\"],\"gateway\":\"10.0.0.1\",\"dns_record_name\":\"2.diego-cell-partition-2a76849bdc38728d413f.default.cf-88d0a479447294d3465e.microbosh\",\"use_dhcp\":true}},\"dns\":{\"nameserver\":[\"8.8.8.8\",\"10.0.0.6\"]}}", :availability_zone=>"nova"}'
D, [2016-04-17 22:00:59 #10843] [create_vm(f30462e9-d574-4baa-917c-374fdb46cbee, ...)] 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"=>"193bca6a00e94ec1a1b63aa5f502722a", "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/servers.json", :port=>8774, :query=>nil, :scheme=>"http", :instrumentor=>Bosh::OpenStackCloud::ExconLoggingInstrumentor, :body=>"{\"server\":{\"flavorRef\":\"5\",\"imageRef\":\"a77666f7-9d26-4d8f-aa2c-f98652ffc2d6\",\"name\":\"vm-4ea1869c-34c6-4cc9-9195-1f1ee3fee7ad\",\"availability_zone\":\"nova\",\"user_data\":\"eyJyZWdpc3RyeSI6eyJlbmRwb2ludCI6Imh0dHA6Ly8xMC4wLjAuNjoyNTc3\\nNyJ9LCJzZXJ2ZXIiOnsibmFtZSI6InZtLTRlYTE4NjljLTM0YzYtNGNjOS05\\nMTk1LTFmMWVlM2ZlZTdhZCJ9LCJuZXR3b3JrcyI6eyJkZWZhdWx0Ijp7Imlw\\nIjoiMTAuMC4wLjIzIiwibmV0bWFzayI6IjI1NS4yNTUuMjU1LjAiLCJjbG91\\nZF9wcm9wZXJ0aWVzIjp7Im5ldF9pZCI6IjlhNTJkMzRmLTUxNWUtNDgxMS04\\nZDE4LWFiZDI3MjVlMGIyYSJ9LCJkZWZhdWx0IjpbImRucyIsImdhdGV3YXki\\nXSwiZG5zIjpbIjguOC44LjgiLCIxMC4wLjAuNiJdLCJnYXRld2F5IjoiMTAu\\nMC4wLjEiLCJkbnNfcmVjb3JkX25hbWUiOiIyLmRpZWdvLWNlbGwtcGFydGl0\\naW9uLTJhNzY4NDliZGMzODcyOGQ0MTNmLmRlZmF1bHQuY2YtODhkMGE0Nzk0\\nNDcyOTRkMzQ2NWUubWljcm9ib3NoIiwidXNlX2RoY3AiOnRydWV9fSwiZG5z\\nIjp7Im5hbWVzZXJ2ZXIiOlsiOC44LjguOCIsIjEwLjAuMC42Il19fQ==\\n\",\"key_name\":\"pcf\",\"security_groups\":[{\"name\":\"opsmanager\"}],\"networks\":[{\"uuid\":\"9a52d34f-515e-4811-8d18-abd2725e0b2a\",\"fixed_ip\":\"10.0.0.23\"}]}}", :expects=>[200, 202], :method=>"POST", :retries_remaining=>4, :connection=>#<Excon::Connection:5638066d5c10 @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:0x00563806d67e70 @stack=#<Excon::Middleware::Expects:0x00563806d67e98 @stack=#<Excon::Middleware::Idempotent:0x00563806d67f10 @stack=#<Excon::Middleware::Instrumentor:0x00563806d67f38 @stack=#<Excon::Middleware::Mock:0x00563806d67f60 @stack=#<Excon::Connection:5638066d5c10 @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-17 22:01:00 #10843] [create_vm(f30462e9-d574-4baa-917c-374fdb46cbee, ...)] DEBUG -- DirectorJobRunner: excon.error {:error=>#<Excon::Errors::BadRequest: Expected([200, 202]) <=> Actual(400 Bad Request)
excon.error.response
:body => "{\"badRequest\": {\"message\": \"Fixed IP address 10.0.0.23 is already in use on instance 1ffe8a2b-5664-4a20-8fff-e1faac3ca3a3.\", \"code\": 400}}"
:headers => {
"Content-Length" => "138"
"Content-Type" => "application/json; charset=UTF-8"
"Date" => "Sun, 17 Apr 2016 22:01:00 GMT"
"X-Compute-Request-Id" => "req-13887403-e9d5-4b73-b1f5-76c0fb8ad39f"
}
:local_address => "10.0.0.6"
:local_port => 45769
:reason_phrase => "Bad Request"
:remote_ip => "88.198.234.162"
:status => 400
:status_line => "HTTP/1.1 400 Bad Request\r\n"
>}
E, [2016-04-17 22:01:00 #10843] [create_vm(f30462e9-d574-4baa-917c-374fdb46cbee, ...)] ERROR -- DirectorJobRunner: OpenStack API Bad Request (Fixed IP address 10.0.0.23 is already in use on instance 1ffe8a2b-5664-4a20-8fff-e1faac3ca3a3.). Check task debug log for details.
E, [2016-04-17 22:01:00 #10843] [create_vm(f30462e9-d574-4baa-917c-374fdb46cbee, ...)] ERROR -- DirectorJobRunner: <Excon::Errors::BadRequest> Expected([200, 202]) <=> Actual(400 Bad Request)
excon.error.response
:body => "{\"badRequest\": {\"message\": \"Fixed IP address 10.0.0.23 is already in use on instance 1ffe8a2b-5664-4a20-8fff-e1faac3ca3a3.\", \"code\": 400}}"
:headers => {
"Content-Length" => "138"
"Content-Type" => "application/json; charset=UTF-8"
"Date" => "Sun, 17 Apr 2016 22:01:00 GMT"
"X-Compute-Request-Id" => "req-13887403-e9d5-4b73-b1f5-76c0fb8ad39f"
}
:local_address => "10.0.0.6"
:local_port => 45769
:reason_phrase => "Bad Request"
:remote_ip => "88.198.234.162"
:status => 400
:status_line => "HTTP/1.1 400 Bad Request\r\n"
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/excon-0.45.4/lib/excon/middlewares/expects.rb:6:in `response_call'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/excon-0.45.4/lib/excon/middlewares/response_parser.rb:8:in `response_call'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/excon-0.45.4/lib/excon/connection.rb:372:in `response'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/excon-0.45.4/lib/excon/connection.rb:236:in `request'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/fog-core-1.32.1/lib/fog/core/connection.rb:81:in `request'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/fog-1.34.0/lib/fog/openstack/compute.rb:355:in `request'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/fog-1.34.0/lib/fog/openstack/requests/compute/create_server.rb:85:in `create_server'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/fog-1.34.0/lib/fog/openstack/models/compute/server.rb:368:in `save'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/fog-core-1.32.1/lib/fog/core/collection.rb:51:in `create'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh_openstack_cpi-2.1.0/lib/cloud/openstack/cloud.rb:305:in `block (2 levels) in create_vm'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh_openstack_cpi-2.1.0/lib/cloud/openstack/helpers.rb:26:in `with_openstack'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh_openstack_cpi-2.1.0/lib/cloud/openstack/cloud.rb:305:in `block in create_vm'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh_common-1.3146.10.0/lib/common/thread_formatter.rb:49:in `with_thread_name'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh_openstack_cpi-2.1.0/lib/cloud/openstack/cloud.rb:219:in `create_vm'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh_cpi-1.3146.10.0/lib/cloud/internal_cpi.rb:22:in `invoke_cpi_method'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh_cpi-1.3146.10.0/lib/cloud/internal_cpi.rb:10:in `method_missing'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3146.10.0/lib/bosh/director/vm_creator.rb:41:in `create'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3146.10.0/lib/bosh/director/vm_creator.rb:9:in `create'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3146.10.0/lib/bosh/director/cloudcheck_helper.rb:123:in `recreate_vm'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3146.10.0/lib/bosh/director/problem_handlers/unresponsive_agent.rb:37:in `block (2 levels) in <class:UnresponsiveAgent>'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3146.10.0/lib/bosh/director/problem_handlers/base.rb:83:in `instance_eval'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3146.10.0/lib/bosh/director/problem_handlers/base.rb:83:in `apply_resolution'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3146.10.0/lib/bosh/director/problem_resolver.rb:61:in `block in apply_resolution'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3146.10.0/lib/bosh/director/problem_resolver.rb:23:in `block in track_and_log'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3146.10.0/lib/bosh/director/event_log.rb:97:in `call'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3146.10.0/lib/bosh/director/event_log.rb:97:in `advance_and_track'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3146.10.0/lib/bosh/director/event_log.rb:50:in `track'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3146.10.0/lib/bosh/director/problem_resolver.rb:21:in `track_and_log'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3146.10.0/lib/bosh/director/problem_resolver.rb:60:in `apply_resolution'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3146.10.0/lib/bosh/director/problem_resolver.rb:42:in `block in apply_resolutions'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/sequel-3.43.0/lib/sequel/dataset/actions.rb:152:in `block in each'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/sequel-3.43.0/lib/sequel/adapters/postgres.rb:525:in `block (2 levels) in fetch_rows'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/sequel-3.43.0/lib/sequel/adapters/postgres.rb:720:in `block in yield_hash_rows'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/sequel-3.43.0/lib/sequel/adapters/postgres.rb:714:in `times'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/sequel-3.43.0/lib/sequel/adapters/postgres.rb:714:in `yield_hash_rows'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/sequel-3.43.0/lib/sequel/adapters/postgres.rb:525:in `block in fetch_rows'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/sequel-3.43.0/lib/sequel/adapters/postgres.rb:134:in `execute'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/sequel-3.43.0/lib/sequel/adapters/postgres.rb:413:in `_execute'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/sequel-3.43.0/lib/sequel/adapters/postgres.rb:242:in `block (2 levels) in execute'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/sequel-3.43.0/lib/sequel/adapters/postgres.rb:425:in `check_database_errors'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/sequel-3.43.0/lib/sequel/adapters/postgres.rb:242:in `block in execute'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/sequel-3.43.0/lib/sequel/database/connecting.rb:236:in `block in synchronize'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/sequel-3.43.0/lib/sequel/connection_pool/threaded.rb:104:in `hold'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/sequel-3.43.0/lib/sequel/database/connecting.rb:236:in `synchronize'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/sequel-3.43.0/lib/sequel/adapters/postgres.rb:242:in `execute'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/sequel-3.43.0/lib/sequel/dataset/actions.rb:801:in `execute'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/sequel-3.43.0/lib/sequel/adapters/postgres.rb:525:in `fetch_rows'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/sequel-3.43.0/lib/sequel/dataset/actions.rb:152:in `each'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3146.10.0/lib/bosh/director/problem_resolver.rb:33:in `apply_resolutions'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3146.10.0/lib/bosh/director/jobs/cloud_check/scan_and_fix.rb:37:in `block in perform'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3146.10.0/lib/bosh/director/lock_helper.rb:13:in `block in with_deployment_lock'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3146.10.0/lib/bosh/director/lock.rb:56:in `lock'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3146.10.0/lib/bosh/director/lock_helper.rb:13:in `with_deployment_lock'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3146.10.0/lib/bosh/director/jobs/cloud_check/scan_and_fix.rb:30:in `perform'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3146.10.0/lib/bosh/director/job_runner.rb:102:in `perform_job'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3146.10.0/lib/bosh/director/job_runner.rb:32:in `block in run'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh_common-1.3146.10.0/lib/common/thread_formatter.rb:49:in `with_thread_name'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3146.10.0/lib/bosh/director/job_runner.rb:32:in `run'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3146.10.0/lib/bosh/director/jobs/base_job.rb:10:in `perform'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/resque-1.25.2/lib/resque/job.rb:227:in `perform'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/resque-1.25.2/lib/resque/worker.rb:250:in `perform'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/resque-1.25.2/lib/resque/worker.rb:189:in `block in work'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/resque-1.25.2/lib/resque/worker.rb:166:in `loop'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/resque-1.25.2/lib/resque/worker.rb:166:in `work'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3146.10.0/bin/bosh-director-worker:76:in `<top (required)>'
/var/vcap/packages/director/bin/bosh-director-worker:16:in `load'
/var/vcap/packages/director/bin/bosh-director-worker:16:in `<main>'
E, [2016-04-17 22:01:00 #10843] [task:482] ERROR -- DirectorJobRunner: error creating vm: OpenStack API Bad Request (Fixed IP address 10.0.0.23 is already in use on instance 1ffe8a2b-5664-4a20-8fff-e1faac3ca3a3.). Check task debug log for details.
E, [2016-04-17 22:01:00 #10843] [task:482] ERROR -- DirectorJobRunner: Error resolving problem `2': OpenStack API Bad Request (Fixed IP address 10.0.0.23 is already in use on instance 1ffe8a2b-5664-4a20-8fff-e1faac3ca3a3.). Check task debug log for details.
E, [2016-04-17 22:01:00 #10843] [task:482] ERROR -- DirectorJobRunner: /var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh_openstack_cpi-2.1.0/lib/cloud/openstack/helpers.rb:20:in `cloud_error'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh_openstack_cpi-2.1.0/lib/cloud/openstack/helpers.rb:53:in `rescue in with_openstack'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh_openstack_cpi-2.1.0/lib/cloud/openstack/helpers.rb:25:in `with_openstack'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh_openstack_cpi-2.1.0/lib/cloud/openstack/cloud.rb:305:in `block in create_vm'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh_common-1.3146.10.0/lib/common/thread_formatter.rb:49:in `with_thread_name'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh_openstack_cpi-2.1.0/lib/cloud/openstack/cloud.rb:219:in `create_vm'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh_cpi-1.3146.10.0/lib/cloud/internal_cpi.rb:22:in `invoke_cpi_method'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh_cpi-1.3146.10.0/lib/cloud/internal_cpi.rb:10:in `method_missing'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3146.10.0/lib/bosh/director/vm_creator.rb:41:in `create'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3146.10.0/lib/bosh/director/vm_creator.rb:9:in `create'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3146.10.0/lib/bosh/director/cloudcheck_helper.rb:123:in `recreate_vm'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3146.10.0/lib/bosh/director/problem_handlers/unresponsive_agent.rb:37:in `block (2 levels) in <class:UnresponsiveAgent>'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3146.10.0/lib/bosh/director/problem_handlers/base.rb:83:in `instance_eval'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3146.10.0/lib/bosh/director/problem_handlers/base.rb:83:in `apply_resolution'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3146.10.0/lib/bosh/director/problem_resolver.rb:61:in `block in apply_resolution'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3146.10.0/lib/bosh/director/problem_resolver.rb:23:in `block in track_and_log'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3146.10.0/lib/bosh/director/event_log.rb:97:in `call'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3146.10.0/lib/bosh/director/event_log.rb:97:in `advance_and_track'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3146.10.0/lib/bosh/director/event_log.rb:50:in `track'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3146.10.0/lib/bosh/director/problem_resolver.rb:21:in `track_and_log'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3146.10.0/lib/bosh/director/problem_resolver.rb:60:in `apply_resolution'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3146.10.0/lib/bosh/director/problem_resolver.rb:42:in `block in apply_resolutions'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/sequel-3.43.0/lib/sequel/dataset/actions.rb:152:in `block in each'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/sequel-3.43.0/lib/sequel/adapters/postgres.rb:525:in `block (2 levels) in fetch_rows'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/sequel-3.43.0/lib/sequel/adapters/postgres.rb:720:in `block in yield_hash_rows'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/sequel-3.43.0/lib/sequel/adapters/postgres.rb:714:in `times'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/sequel-3.43.0/lib/sequel/adapters/postgres.rb:714:in `yield_hash_rows'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/sequel-3.43.0/lib/sequel/adapters/postgres.rb:525:in `block in fetch_rows'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/sequel-3.43.0/lib/sequel/adapters/postgres.rb:134:in `execute'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/sequel-3.43.0/lib/sequel/adapters/postgres.rb:413:in `_execute'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/sequel-3.43.0/lib/sequel/adapters/postgres.rb:242:in `block (2 levels) in execute'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/sequel-3.43.0/lib/sequel/adapters/postgres.rb:425:in `check_database_errors'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/sequel-3.43.0/lib/sequel/adapters/postgres.rb:242:in `block in execute'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/sequel-3.43.0/lib/sequel/database/connecting.rb:236:in `block in synchronize'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/sequel-3.43.0/lib/sequel/connection_pool/threaded.rb:104:in `hold'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/sequel-3.43.0/lib/sequel/database/connecting.rb:236:in `synchronize'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/sequel-3.43.0/lib/sequel/adapters/postgres.rb:242:in `execute'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/sequel-3.43.0/lib/sequel/dataset/actions.rb:801:in `execute'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/sequel-3.43.0/lib/sequel/adapters/postgres.rb:525:in `fetch_rows'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/sequel-3.43.0/lib/sequel/dataset/actions.rb:152:in `each'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3146.10.0/lib/bosh/director/problem_resolver.rb:33:in `apply_resolutions'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3146.10.0/lib/bosh/director/jobs/cloud_check/scan_and_fix.rb:37:in `block in perform'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3146.10.0/lib/bosh/director/lock_helper.rb:13:in `block in with_deployment_lock'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3146.10.0/lib/bosh/director/lock.rb:56:in `lock'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3146.10.0/lib/bosh/director/lock_helper.rb:13:in `with_deployment_lock'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3146.10.0/lib/bosh/director/jobs/cloud_check/scan_and_fix.rb:30:in `perform'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3146.10.0/lib/bosh/director/job_runner.rb:102:in `perform_job'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3146.10.0/lib/bosh/director/job_runner.rb:32:in `block in run'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh_common-1.3146.10.0/lib/common/thread_formatter.rb:49:in `with_thread_name'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3146.10.0/lib/bosh/director/job_runner.rb:32:in `run'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3146.10.0/lib/bosh/director/jobs/base_job.rb:10:in `perform'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/resque-1.25.2/lib/resque/job.rb:227:in `perform'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/resque-1.25.2/lib/resque/worker.rb:250:in `perform'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/resque-1.25.2/lib/resque/worker.rb:189:in `block in work'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/resque-1.25.2/lib/resque/worker.rb:166:in `loop'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/resque-1.25.2/lib/resque/worker.rb:166:in `work'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3146.10.0/bin/bosh-director-worker:76:in `<top (required)>'
/var/vcap/packages/director/bin/bosh-director-worker:16:in `load'
/var/vcap/packages/director/bin/bosh-director-worker:16:in `<main>'
D, [2016-04-17 22:01:00 #10843] [] DEBUG -- DirectorJobRunner: Lock renewal thread exiting
D, [2016-04-17 22:01:00 #10843] [task:482] DEBUG -- DirectorJobRunner: Deleting lock: lock:deployment:cf-88d0a479447294d3465e
D, [2016-04-17 22:01:00 #10843] [task:482] DEBUG -- DirectorJobRunner: Deleted lock: lock:deployment:cf-88d0a479447294d3465e
I, [2016-04-17 22:01:00 #10843] [task:482] INFO -- DirectorJobRunner: Done
D, [2016-04-17 22:01:00 #10843] [task:482] DEBUG -- DirectorJobRunner: (0.000319s) SELECT NULL
D, [2016-04-17 22:01:00 #10843] [task:482] DEBUG -- DirectorJobRunner: (0.000140s) BEGIN
D, [2016-04-17 22:01:00 #10843] [task:482] DEBUG -- DirectorJobRunner: (0.000686s) UPDATE "tasks" SET "state" = 'done', "timestamp" = '2016-04-17 22:01:00.472850+0000', "description" = 'scan and fix', "result" = 'scan and fix complete', "output" = '/var/vcap/store/director/tasks/482', "checkpoint_time" = '2016-04-17 22:00:10.562080+0000', "type" = 'cck_scan_and_fix', "username" = 'director' WHERE ("id" = 482)
D, [2016-04-17 22:01:00 #10843] [task:482] DEBUG -- DirectorJobRunner: (0.003920s) COMMIT
I, [2016-04-17 22:01:00 #10843] [] INFO -- DirectorJobRunner: Task took 49.930221736 seconds to process.
Task 482 done
relevant code snippets
lib/bosh/director/vm_creator.rb catches Bosh::Clouds::VMCreationFailed for retry
begin
vm_cid = @cloud.create_vm(agent_id, stemcell.cid, cloud_properties, network_settings, disks, env)
rescue Bosh::Clouds::VMCreationFailed => e
count += 1
logger.error("failed to create VM, retrying (#{count})")
retry if e.ok_to_retry && count < Config.max_vm_create_tries
raise e
end
BUT, thin this case openstack CPI raises Bosh::Clouds::CloudError
bosh_openstack_cpi-2.1.0/lib/cloud/openstack/helpers.rb
[snip]
##
# Raises CloudError exception
#
# @param [String] message Message about what went wrong
# @param [Exception] exception Exception to be logged (optional)
def cloud_error(message, exception = nil)
@logger.error(message) if @logger
@logger.error(exception) if @logger && exception
raise Bosh::Clouds::CloudError, message
end
[snip]
rescue Excon::Errors::BadRequest => e
badrequest = parse_openstack_response(e.response, "badRequest")
details = badrequest.nil? ? "" : " (#{badrequest["message"]})"
cloud_error("OpenStack API Bad Request#{details}. Check task debug log for details.", e)
relevant database modification in bosh task --debug log
I, [2016-04-17 22:00:46 #10843] [delete_vm(1e7f06c2-2a2f-459f-aeb2-a5766f15fc96)] INFO -- DirectorJobRunner: Server `1e7f06c2-2a2f-459f-aeb2-a5766f15fc96' is now terminated, deleted, took 11.222939324s
I, [2016-04-17 22:00:46 #10843] [delete_vm(1e7f06c2-2a2f-459f-aeb2-a5766f15fc96)] INFO -- DirectorJobRunner: Deleting settings for server `1e7f06c2-2a2f-459f-aeb2-a5766f15fc96'...
D, [2016-04-17 22:00:46 #10843] [task:482] DEBUG -- DirectorJobRunner: (0.000140s) BEGIN
D, [2016-04-17 22:00:46 #10843] [task:482] DEBUG -- DirectorJobRunner: (0.000309s) SELECT COUNT(*) AS "count" FROM "instances" WHERE (("deployment_id" = 1) AND ("job" = 'diego_cell-partition-2a76849bdc38728d413f') AND ("index" = 2) AND ("id" != 17)) LIMIT 1
D, [2016-04-17 22:00:46 #10843] [task:482] DEBUG -- DirectorJobRunner: (0.000274s) UPDATE "instances" SET "vm_id" = NULL WHERE ("id" = 17)
D, [2016-04-17 22:00:46 #10843] [task:482] DEBUG -- DirectorJobRunner: (0.000385s) DELETE FROM "vms" WHERE "id" = 61
D, [2016-04-17 22:00:46 #10843] [task:482] DEBUG -- DirectorJobRunner: (0.002251s) COMMIT
nova-api.log
2016-04-18 00:00:24.739 41260 INFO nova.osapi_compute.wsgi.server [req-cd001f43-99de-43ad-a7c9-e5a65e86ee91 9f891456f768435d990682af2c829970 64b58e5635cd4a57a7f6af2647fb5f88 - - -] 172.16.0.2 "GET /v2/64b58e5635cd4a57a7f6af2647fb5f88/servers/1e7f06c2-2a2f-459f-aeb2-a5766f
15fc96.json HTTP/1.1" status: 200 len: 1885 time: 0.8260560
2016-04-18 00:00:35.209 41260 INFO nova.osapi_compute.wsgi.server [req-e429b628-4f5f-46a0-90eb-da43ab243d42 9f891456f768435d990682af2c829970 64b58e5635cd4a57a7f6af2647fb5f88 - - -] 172.16.0.2 "GET /v2/64b58e5635cd4a57a7f6af2647fb5f88/servers/1e7f06c2-2a2f-459f-aeb2-a5766f
15fc96.json HTTP/1.1" status: 200 len: 1885 time: 0.3410771
2016-04-18 00:00:35.586 41260 INFO nova.osapi_compute.wsgi.server [req-1ae99279-5f13-4b9b-a4dd-789708715fc3 9f891456f768435d990682af2c829970 64b58e5635cd4a57a7f6af2647fb5f88 - - -] 172.16.0.2 "DELETE /v2/64b58e5635cd4a57a7f6af2647fb5f88/servers/1e7f06c2-2a2f-459f-aeb2-a57
66f15fc96 HTTP/1.1" status: 204 len: 179 time: 0.3624051
2016-04-18 00:00:35.881 41260 INFO nova.osapi_compute.wsgi.server [req-e662902d-6f48-4ca4-8025-7736ede34df6 9f891456f768435d990682af2c829970 64b58e5635cd4a57a7f6af2647fb5f88 - - -] 172.16.0.2 "GET /v2/64b58e5635cd4a57a7f6af2647fb5f88/servers/1e7f06c2-2a2f-459f-aeb2-a5766f
15fc96.json HTTP/1.1" status: 200 len: 1891 time: 0.2874651
2016-04-18 00:00:41.255 41266 INFO nova.api.openstack.compute.server_external_events [req-80b2322e-f8fa-4c3e-a019-9da9bcefbf6d 4d762c570b8747c19a34839efb3f59c5 3c6fc872479842409a86bd1f0cfd6dcd - - -] Creating event network-vif-unplugged:8e35600e-b68c-4e1a-81fd-9e6c207280e
b for instance 1e7f06c2-2a2f-459f-aeb2-a5766f15fc96
2016-04-18 00:00:41.265 41266 INFO nova.osapi_compute.wsgi.server [req-80b2322e-f8fa-4c3e-a019-9da9bcefbf6d 4d762c570b8747c19a34839efb3f59c5 3c6fc872479842409a86bd1f0cfd6dcd - - -] 88.198.234.162 "POSoT /v2/3c6fc872479842409a86bd1f0cfd6dcd/os-server-external-events HTTP/1.
1" status: 200 len: 382 time: 0.2944479
2016-04-18 00:00:41.448 41267 INFO nova.osapi_compute.wsgi.server [req-80cc91f1-087a-4d65-a616-6477beffc122 9f891456f768435d990682af2c829970 64b58e5635cd4a57a7f6af2647fb5f88 - - -] 172.16.0.2 "GET /v2/64b58e5635cd4a57a7f6af2647fb5f88/servers/1e7f06c2-2a2f-459f-aeb2-a5766f
15fc96.json HTTP/1.1" status: 200 len: 1891 time: 0.5558000
2016-04-18 00:00:43.991 41261 INFO nova.api.openstack.wsgi [req-841573cd-b34e-46be-b234-3801be022c0b 4d762c570b8747c19a34839efb3f59c5 3c6fc872479842409a86bd1f0cfd6dcd - - -] HTTP exception thrown: No instances found for any event
2016-04-18 00:00:43.994 41261 INFO nova.osapi_compute.wsgi.server [req-841573cd-b34e-46be-b234-3801be022c0b 4d762c570b8747c19a34839efb3f59c5 3c6fc872479842409a86bd1f0cfd6dcd - - -] 88.198.234.162 "POST /v2/3c6fc872479842409a86bd1f0cfd6dcd/os-server-external-events HTTP/1.
1" status: 404 len: 296 time: 0.3392589
2016-04-18 00:00:46.802 41247 INFO nova.api.openstack.wsgi [req-226ff48b-2862-4068-a2e8-e77604aaa8ac 9f891456f768435d990682af2c829970 64b58e5635cd4a57a7f6af2647fb5f88 - - -] HTTP exception thrown: Instance 1e7f06c2-2a2f-459f-aeb2-a5766f15fc96 could not be found.
2016-04-18 00:00:46.804 41247 INFO nova.osapi_compute.wsgi.server [req-226ff48b-2862-4068-a2e8-e77604aaa8ac 9f891456f768435d990682af2c829970 64b58e5635cd4a57a7f6af2647fb5f88 - - -] 172.16.0.2 "GET /v2/64b58e5635cd4a57a7f6af2647fb5f88/servers/1e7f06c2-2a2f-459f-aeb2-a5766f15fc96.json HTTP/1.1" status: 404 len: 306 time: 0.3456440
2016-04-18 00:00:47.101 41247 INFO nova.osapi_compute.wsgi.server [req-4a804bfb-b8ed-4e53-82c7-14cb89c312e5 9f891456f768435d990682af2c829970 64b58e5635cd4a57a7f6af2647fb5f88 - - -] 172.16.0.2 "GET /v2/64b58e5635cd4a57a7f6af2647fb5f88/os-security-groups.json HTTP/1.1" status: 200 len: 2407 time: 0.2774100
2016-04-18 00:00:47.679 41247 INFO nova.osapi_compute.wsgi.server [req-25599039-3212-407b-9823-f1a874b73447 9f891456f768435d990682af2c829970 64b58e5635cd4a57a7f6af2647fb5f88 - - -] 172.16.0.2 "GET /v2/64b58e5635cd4a57a7f6af2647fb5f88/images/detail.json HTTP/1.1" status: 200 len: 3389 time: 0.5732050
2016-04-18 00:00:47.736 41247 INFO nova.osapi_compute.wsgi.server [req-162f003c-a27f-4530-9886-afae27a7bb94 9f891456f768435d990682af2c829970 64b58e5635cd4a57a7f6af2647fb5f88 - - -] 172.16.0.2 "GET /v2/64b58e5635cd4a57a7f6af2647fb5f88/flavors/detail.json HTTP/1.1" status: 200 len: 2283 time: 0.0461602
2016-04-18 00:00:47.759 41247 INFO nova.osapi_compute.wsgi.server [req-aa9f7042-9b14-4162-ba33-701e79d1d76a 9f891456f768435d990682af2c829970 64b58e5635cd4a57a7f6af2647fb5f88 - - -] 172.16.0.2 "GET /v2/64b58e5635cd4a57a7f6af2647fb5f88/os-keypairs.json HTTP/1.1" status: 200 len: 699 time: 0.0136759
2016-04-18 00:00:50.536 41267 INFO nova.osapi_compute.wsgi.server [req-28938405-e078-4399-9b65-75e8a38c174a 9f891456f768435d990682af2c829970 64b58e5635cd4a57a7f6af2647fb5f88 - - -] 172.16.0.2 "POST /v2/64b58e5635cd4a57a7f6af2647fb5f88/servers.json HTTP/1.1" status: 202 len: 743 time: 2.7650759
2016-04-18 00:00:50.990 41270 INFO nova.osapi_compute.wsgi.server [req-ded065d6-7fd9-4117-972f-48597ac240ee 9f891456f768435d990682af2c829970 64b58e5635cd4a57a7f6af2647fb5f88 - - -] 172.16.0.2 "GET /v2/64b58e5635cd4a57a7f6af2647fb5f88/servers/1ffe8a2b-5664-4a20-8fff-e1faac3ca3a3.json HTTP/1.1" status: 200 len: 1510 time: 0.4438539
2016-04-18 00:00:56.844 41268 INFO nova.osapi_compute.wsgi.server [req-e9eb1ca6-b08d-4108-9f5d-edb2a34f551c 9f891456f768435d990682af2c829970 64b58e5635cd4a57a7f6af2647fb5f88 - - -] 172.16.0.2 "GET /v2/64b58e5635cd4a57a7f6af2647fb5f88/servers/1ffe8a2b-5664-4a20-8fff-e1faac3ca3a3.json HTTP/1.1" status: 200 len: 1789 time: 0.8436661
2016-04-18 00:00:57.343 41268 INFO nova.osapi_compute.wsgi.server [req-f8b646f7-213f-492d-b0b6-f50ce081fc8d 9f891456f768435d990682af2c829970 64b58e5635cd4a57a7f6af2647fb5f88 - - -] 172.16.0.2 "DELETE /v2/64b58e5635cd4a57a7f6af2647fb5f88/servers/1ffe8a2b-5664-4a20-8fff-e1faac3ca3a3 HTTP/1.1" status: 204 len: 179 time: 0.4839201
2016-04-18 00:00:57.760 41257 INFO nova.api.openstack.wsgi [req-8b1db992-f669-40b7-8984-66b73cd02764 9f891456f768435d990682af2c829970 64b58e5635cd4a57a7f6af2647fb5f88 - - -] HTTP exception thrown: Instance 1ffe8a2b-5664-4a20-8fff-e1faac3ca3a3 could not be found.
2016-04-18 00:00:57.764 41257 INFO nova.osapi_compute.wsgi.server [req-8b1db992-f669-40b7-8984-66b73cd02764 9f891456f768435d990682af2c829970 64b58e5635cd4a57a7f6af2647fb5f88 - - -] 172.16.0.2 "GET /v2/64b58e5635cd4a57a7f6af2647fb5f88/servers/1ffe8a2b-5664-4a20-8fff-e1faac3ca3a3.json HTTP/1.1" status: 404 len: 306 time: 0.4122932
2016-04-18 00:00:58.204 41257 INFO nova.osapi_compute.wsgi.server [req-fa45c813-b9cf-4587-bb62-c0f109ab88cb 9f891456f768435d990682af2c829970 64b58e5635cd4a57a7f6af2647fb5f88 - - -] 172.16.0.2 "GET /v2/64b58e5635cd4a57a7f6af2647fb5f88/os-security-groups.json HTTP/1.1" status: 200 len: 2407 time: 0.4307940
2016-04-18 00:00:58.952 41262 INFO nova.osapi_compute.wsgi.server [req-4a312613-f3f3-426d-8b72-bef09d3b4d68 9f891456f768435d990682af2c829970 64b58e5635cd4a57a7f6af2647fb5f88 - - -] 172.16.0.2 "GET /v2/64b58e5635cd4a57a7f6af2647fb5f88/images/detail.json HTTP/1.1" status: 200 len: 3389 time: 0.7388630
2016-04-18 00:00:59.012 41262 INFO nova.osapi_compute.wsgi.server [req-3db4d316-0205-4ef0-ab1b-d5480fe642db 9f891456f768435d990682af2c829970 64b58e5635cd4a57a7f6af2647fb5f88 - - -] 172.16.0.2 "GET /v2/64b58e5635cd4a57a7f6af2647fb5f88/flavors/detail.json HTTP/1.1" status: 200 len: 2283 time: 0.0486062
2016-04-18 00:00:59.288 41256 INFO nova.osapi_compute.wsgi.server [req-39f394ec-ce12-42f1-93e8-82a244ac990a 9f891456f768435d990682af2c829970 64b58e5635cd4a57a7f6af2647fb5f88 - - -] 172.16.0.2 "GET /v2/64b58e5635cd4a57a7f6af2647fb5f88/os-keypairs.json HTTP/1.1" status: 200 len: 699 time: 0.2665482
2016-04-18 00:00:59.842 41264 INFO nova.api.openstack.wsgi [req-095b55bd-c60a-4974-80ad-fd3befac2f09 4d762c570b8747c19a34839efb3f59c5 3c6fc872479842409a86bd1f0cfd6dcd - - -] HTTP exception thrown: No instances found for any event
2016-04-18 00:00:59.845 41264 INFO nova.osapi_compute.wsgi.server [req-095b55bd-c60a-4974-80ad-fd3befac2f09 4d762c570b8747c19a34839efb3f59c5 3c6fc872479842409a86bd1f0cfd6dcd - - -] 88.198.234.162 "POST /v2/3c6fc872479842409a86bd1f0cfd6dcd/os-server-external-events HTTP/1.1" status: 404 len: 296 time: 0.4925809
2016-04-18 00:01:00.459 41256 INFO nova.api.openstack.wsgi [req-13887403-e9d5-4b73-b1f5-76c0fb8ad39f 9f891456f768435d990682af2c829970 64b58e5635cd4a57a7f6af2647fb5f88 - - -] HTTP exception thrown: Fixed IP address 10.0.0.2o3 is already in use on instance 1ffe8a2b-5664-4a20-8fff-e1faac3ca3a3.
2016-04-18 00:01:00.461 41256 INFO nova.osapi_compute.wsgi.server [req-13887403-e9d5-4b73-b1f5-76c0fb8ad39f `9f891456f768435d990682af2c829970 64b58e5635cd4a57a7f6af2647fb5f88 - - -] 172.16.0.2 "POST /v2/64b58e5635cd4a57a7f6af2647fb5f88/servers.json HTTP/1.1" status: 400 len: 335 time: 1.1648610
2016-04-18 00:02:54.374 41267 INFO nova.osapi_compute.wsgi.server [req-3070ae7c-acd8-4973-aaf2-fd227d37c8e1 7bf65c447d1749db8687ed218fea796f b28442e0e4024977b4a08b002811f1b9 - - -] 88.198.234.162 "GET /v2/ HTTP/1.1" status: 200 len: 576 time: 0.1250899
2016-04-18 00:02:54.940 41267 INFO nova.osapi_compute.wsgi.server [req-fa388091-2958-4b2e-868a-de60aac817a3 7bf65c447d1749db8687ed218fea796f b28442e0e4024977b4a08b002811f1b9 - - -] 88.198.234.162 "GET /v2/b28442e0e4024977b4a08b002811f1b9/servers/detail HTTP/1.1" status: 200 len: 211 time: 0.1196330
@tomoe We are aware of the problem that BOSH will 'lose' a VM when either cck or automatic resurrection triggered by the HM fails. The problem is basically, that the Director removes the VM from the IaaS and DB and then tries to create a new one. If that fails, the VM is gone. BOSH doesn't realize this, because it uses the VM table to figure out if there is a problem that needs to be fixed.
Within the OpenStack CPI team we've started with an epic to fix this, see https://www.pivotaltracker.com/epic/show/2345443 and the linked stories in that epic.
With the next BOSH release >255, you'll already get an endpoint /deployments/<deployment name>/instances that can tell you if a VM is missing for an instance. As a workaround for now, you might want to build a script that checks all your deployments regularly for missing VMs that BOSH won't find. In the next steps, we would make bosh cck and the HM use this endpoint, so it would try to re-create the VM in the next consecutive calls as well.
cc @cppforlife
@voelzmo Thanks for following up and great to know it's being addressed :-)
@voelzmo btw, any plan on fixing in 3146.* series, which is used for internal products (according to https://github.com/cloudfoundry/bosh/issues/1224#issuecomment-214576181)
This has relatively a big impact so I'd like to see a fix sooner than later.
cc @cppforlife
@tomoe no plan from my side to fix this for any specific version. I'm just on the open-source side so I don't necessarily care which versions are used in commercial products of any vendor.
Fixed in BOSH v258