Skip to content

Instantly share code, notes, and snippets.

@jrussett
Created June 8, 2018 00:26
Show Gist options
  • Save jrussett/0fecb73a10232e0e5f4424157f56c539 to your computer and use it in GitHub Desktop.
Save jrussett/0fecb73a10232e0e5f4424157f56c539 to your computer and use it in GitHub Desktop.
task debug with mocked agent timeout to reproduce multiple compilation vm deletion
I, [2018-06-08T00:01:05.039642 #13] [0x2afc7de58c34] INFO -- TaskHelper: Director Version: 266.0.0
I, [2018-06-08T00:01:05.039699 #13] [0x2afc7de58c34] INFO -- TaskHelper: Enqueuing task: 89
I, [2018-06-08T00:01:05.200413 #29011] [] INFO -- DirectorJobRunner: Looking for task with task id 89
D, [2018-06-08T00:01:05.201579 #29011] [] DEBUG -- DirectorJobRunner: (0.000297s) (conn: 47018331589620) SELECT * FROM "tasks" WHERE "id" = 89
I, [2018-06-08T00:01:05.203007 #29011] [] INFO -- DirectorJobRunner: Found task #<Bosh::Director::Models::Task @values={:id=>89, :state=>"processing", :timestamp=>2018-06-08 00:01:05 UTC, :description=>"create deployment", :result=>nil, :output=>"/var/vcap/store/director/tasks/89", :checkpoint_time=>2018-06-08 00:01:05 UTC, :type=>"update_deployment", :username=>"admin", :deployment_name=>"zookeeper", :started_at=>nil, :event_output=>"", :result_output=>"", :context_id=>""}>
I, [2018-06-08T00:01:05.203086 #29011] [] INFO -- DirectorJobRunner: Running from worker 'worker_3' on director/ba6c7b58-5e28-4252-5134-9ebbf7a7e403 (127.0.0.1)
I, [2018-06-08T00:01:05.203134 #29011] [] INFO -- DirectorJobRunner: Starting task: 89
I, [2018-06-08T00:01:05.203197 #29011] [task:89] INFO -- DirectorJobRunner: Creating job
D, [2018-06-08T00:01:05.203684 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000177s) (conn: 47018331589620) SELECT * FROM "tasks" WHERE "id" = 89
D, [2018-06-08T00:01:05.204934 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000166s) (conn: 47018331589620) SELECT * FROM "tasks" WHERE "id" = 89
I, [2018-06-08T00:01:05.209061 #29011] [task:89] INFO -- DirectorJobRunner: Performing task: #<Bosh::Director::Models::Task @values={:id=>89, :state=>"processing", :timestamp=>2018-06-08 00:01:05 UTC, :description=>"create deployment", :result=>nil, :output=>"/var/vcap/store/director/tasks/89", :checkpoint_time=>2018-06-08 00:01:05 UTC, :type=>"update_deployment", :username=>"admin", :deployment_name=>"zookeeper", :started_at=>nil, :event_output=>"", :result_output=>"", :context_id=>""}>
D, [2018-06-08T00:01:05.212242 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000070s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.214700 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.001197s) (conn: 47018331589620) UPDATE "tasks" SET "state" = 'processing', "timestamp" = '2018-06-08 00:01:05.209174+0000', "description" = 'create deployment', "result" = NULL, "output" = '/var/vcap/store/director/tasks/89', "checkpoint_time" = '2018-06-08 00:01:05.209455+0000', "type" = 'update_deployment', "username" = 'admin', "deployment_name" = 'zookeeper', "started_at" = '2018-06-08 00:01:05.209360+0000', "event_output" = '', "result_output" = '', "context_id" = '' WHERE ("id" = 89)
D, [2018-06-08T00:01:05.216554 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.001661s) (conn: 47018331589620) COMMIT
I, [2018-06-08T00:01:05.216708 #29011] [task:89] INFO -- DirectorJobRunner: Reading deployment manifest
D, [2018-06-08T00:01:05.217955 #29011] [task:89] DEBUG -- DirectorJobRunner: Manifest:
instance_groups:
- azs:
- z1
instances: 1
jobs:
- name: zookeeper
properties: {}
provides:
conn:
shared: true
release: zookeeper
- name: status
properties: {}
release: zookeeper
name: zookeeper
networks:
- name: default
persistent_disk: 10240
stemcell: default
vm_type: default
name: zookeeper
releases:
- name: zookeeper
url: git+https://github.com/cppforlife/zookeeper-release
version: 0.0.8
stemcells:
- alias: default
os: ubuntu-trusty
version: latest
update:
canaries: 2
canary_watch_time: 5000-60000
max_in_flight: 1
update_watch_time: 5000-60000
D, [2018-06-08T00:01:05.220213 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000280s) (conn: 47018331589620) SELECT * FROM "configs" WHERE ("id" IN (1))
D, [2018-06-08T00:01:05.256021 #29011] [task:89] DEBUG -- DirectorJobRunner: Cloud config:
{"azs"=>[{"cloud_properties"=>{"zone"=>"us-west1-a"}, "name"=>"z1"}, {"cloud_properties"=>{"zone"=>"us-west1-b"}, "name"=>"z2"}, {"cloud_properties"=>{"zone"=>"us-west1-c"}, "name"=>"z3"}], "vm_types"=>[{"cloud_properties"=>{"machine_type"=>"n1-standard-1", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"default"}, {"cloud_properties"=>{"machine_type"=>"n1-standard-1", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"minimal"}, {"cloud_properties"=>{"machine_type"=>"g1-small", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"sharedcpu"}, {"cloud_properties"=>{"machine_type"=>"n1-standard-2", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"small"}, {"cloud_properties"=>{"machine_type"=>"n1-highmem-4", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"small-highmem"}, {"cloud_properties"=>{"machine_type"=>"n1-standard-4", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"medium"}, {"cloud_properties"=>{"machine_type"=>"n1-standard-8", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"large"}, {"cloud_properties"=>{"machine_type"=>"n1-standard-16", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"extra-large"}, {"cloud_properties"=>{"machine_type"=>"n1-highcpu-2", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"small-highcpu"}, {"cloud_properties"=>{"machine_type"=>"n1-standard-1", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"n1-standard-1"}, {"cloud_properties"=>{"machine_type"=>"n1-standard-2", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"n1-standard-2"}, {"cloud_properties"=>{"machine_type"=>"n1-standard-4", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"n1-standard-4"}, {"cloud_properties"=>{"machine_type"=>"n1-standard-8", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"n1-standard-8"}, {"cloud_properties"=>{"machine_type"=>"n1-standard-16", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"n1-standard-16"}, {"cloud_properties"=>{"machine_type"=>"n1-standard-32", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"n1-standard-32"}, {"cloud_properties"=>{"machine_type"=>"n1-highmem-2", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"n1-highmem-2"}, {"cloud_properties"=>{"machine_type"=>"n1-highmem-4", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"n1-highmem-4"}, {"cloud_properties"=>{"machine_type"=>"n1-highmem-8", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"n1-highmem-8"}, {"cloud_properties"=>{"machine_type"=>"n1-highmem-16", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"n1-highmem-16"}, {"cloud_properties"=>{"machine_type"=>"n1-highmem-32", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"n1-highmem-32"}, {"cloud_properties"=>{"machine_type"=>"n1-highcpu-2", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"n1-highcpu-2"}, {"cloud_properties"=>{"machine_type"=>"n1-highcpu-4", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"n1-highcpu-4"}, {"cloud_properties"=>{"machine_type"=>"n1-highcpu-8", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"n1-highcpu-8"}, {"cloud_properties"=>{"machine_type"=>"n1-highcpu-16", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"n1-highcpu-16"}, {"cloud_properties"=>{"machine_type"=>"n1-highcpu-32", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"n1-highcpu-32"}, {"cloud_properties"=>{"machine_type"=>"f1-micro", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"f1-micro"}, {"cloud_properties"=>{"machine_type"=>"g1-small", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"g1-small"}, {"cloud_properties"=>{"machine_type"=>"n1-standard-1", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"m3.medium"}, {"cloud_properties"=>{"machine_type"=>"n1-standard-2", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"m3.large"}, {"cloud_properties"=>{"machine_type"=>"n1-highcpu-2", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"c3.large"}, {"cloud_properties"=>{"machine_type"=>"n1-highmem-4", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"r3.xlarge"}, {"cloud_properties"=>{"machine_type"=>"g1-small", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"t2.small"}], "disk_types"=>[{"cloud_properties"=>{"encrypted"=>true, "type"=>"pd-ssd"}, "disk_size"=>1024, "name"=>"default"}, {"cloud_properties"=>{"encrypted"=>true, "type"=>"pd-ssd"}, "disk_size"=>1024, "name"=>"1GB"}, {"cloud_properties"=>{"encrypted"=>true, "type"=>"pd-ssd"}, "disk_size"=>5120, "name"=>"5GB"}, {"cloud_properties"=>{"encrypted"=>true, "type"=>"pd-ssd"}, "disk_size"=>10240, "name"=>"10GB"}, {"cloud_properties"=>{"encrypted"=>true, "type"=>"pd-ssd"}, "disk_size"=>51200, "name"=>"50GB"}, {"cloud_properties"=>{"encrypted"=>true, "type"=>"pd-ssd"}, "disk_size"=>102400, "name"=>"100GB"}, {"cloud_properties"=>{"encrypted"=>true, "type"=>"pd-ssd"}, "disk_size"=>512000, "name"=>"500GB"}, {"cloud_properties"=>{"encrypted"=>true, "type"=>"pd-ssd"}, "disk_size"=>1048576, "name"=>"1TB"}], "networks"=>[{"name"=>"private", "subnets"=>[{"az"=>"z1", "cloud_properties"=>{"ephemeral_external_ip"=>true, "network_name"=>"bbl-env-nipigon-2018-06-07t21-36z-network", "subnetwork_name"=>"bbl-env-nipigon-2018-06-07t21-36z-subnet", "tags"=>["bbl-env-nipigon-2018-06-07t21-36z-internal"]}, "gateway"=>"10.0.16.1", "range"=>"10.0.16.0/24", "reserved"=>["10.0.16.2-10.0.16.3", "10.0.16.255"], "static"=>["10.0.16.190-10.0.16.254"]}, {"az"=>"z2", "cloud_properties"=>{"ephemeral_external_ip"=>true, "network_name"=>"bbl-env-nipigon-2018-06-07t21-36z-network", "subnetwork_name"=>"bbl-env-nipigon-2018-06-07t21-36z-subnet", "tags"=>["bbl-env-nipigon-2018-06-07t21-36z-internal"]}, "gateway"=>"10.0.32.1", "range"=>"10.0.32.0/24", "reserved"=>["10.0.32.2-10.0.32.3", "10.0.32.255"], "static"=>["10.0.32.190-10.0.32.254"]}, {"az"=>"z3", "cloud_properties"=>{"ephemeral_external_ip"=>true, "network_name"=>"bbl-env-nipigon-2018-06-07t21-36z-network", "subnetwork_name"=>"bbl-env-nipigon-2018-06-07t21-36z-subnet", "tags"=>["bbl-env-nipigon-2018-06-07t21-36z-internal"]}, "gateway"=>"10.0.48.1", "range"=>"10.0.48.0/24", "reserved"=>["10.0.48.2-10.0.48.3", "10.0.48.255"], "static"=>["10.0.48.190-10.0.48.254"]}], "type"=>"manual"}, {"name"=>"default", "subnets"=>[{"az"=>"z1", "cloud_properties"=>{"ephemeral_external_ip"=>true, "network_name"=>"bbl-env-nipigon-2018-06-07t21-36z-network", "subnetwork_name"=>"bbl-env-nipigon-2018-06-07t21-36z-subnet", "tags"=>["bbl-env-nipigon-2018-06-07t21-36z-internal"]}, "gateway"=>"10.0.16.1", "range"=>"10.0.16.0/24", "reserved"=>["10.0.16.2-10.0.16.3", "10.0.16.255"], "static"=>["10.0.16.190-10.0.16.254"]}, {"az"=>"z2", "cloud_properties"=>{"ephemeral_external_ip"=>true, "network_name"=>"bbl-env-nipigon-2018-06-07t21-36z-network", "subnetwork_name"=>"bbl-env-nipigon-2018-06-07t21-36z-subnet", "tags"=>["bbl-env-nipigon-2018-06-07t21-36z-internal"]}, "gateway"=>"10.0.32.1", "range"=>"10.0.32.0/24", "reserved"=>["10.0.32.2-10.0.32.3", "10.0.32.255"], "static"=>["10.0.32.190-10.0.32.254"]}, {"az"=>"z3", "cloud_properties"=>{"ephemeral_external_ip"=>true, "network_name"=>"bbl-env-nipigon-2018-06-07t21-36z-network", "subnetwork_name"=>"bbl-env-nipigon-2018-06-07t21-36z-subnet", "tags"=>["bbl-env-nipigon-2018-06-07t21-36z-internal"]}, "gateway"=>"10.0.48.1", "range"=>"10.0.48.0/24", "reserved"=>["10.0.48.2-10.0.48.3", "10.0.48.255"], "static"=>["10.0.48.190-10.0.48.254"]}], "type"=>"manual"}], "vm_extensions"=>[{"cloud_properties"=>{"root_disk_size_gb"=>1, "root_disk_type"=>"pd-ssd"}, "name"=>"1GB_ephemeral_disk"}, {"cloud_properties"=>{"root_disk_size_gb"=>5, "root_disk_type"=>"pd-ssd"}, "name"=>"5GB_ephemeral_disk"}, {"cloud_properties"=>{"root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"10GB_ephemeral_disk"}, {"cloud_properties"=>{"root_disk_size_gb"=>50, "root_disk_type"=>"pd-ssd"}, "name"=>"50GB_ephemeral_disk"}, {"cloud_properties"=>{"root_disk_size_gb"=>100, "root_disk_type"=>"pd-ssd"}, "name"=>"100GB_ephemeral_disk"}, {"cloud_properties"=>{"root_disk_size_gb"=>500, "root_disk_type"=>"pd-ssd"}, "name"=>"500GB_ephemeral_disk"}, {"cloud_properties"=>{"root_disk_size_gb"=>1000, "root_disk_type"=>"pd-ssd"}, "name"=>"1TB_ephemeral_disk"}, {"cloud_properties"=>{"ephemeral_external_ip"=>true}, "name"=>"internet-required"}, {"cloud_properties"=>{"ephemeral_external_ip"=>false}, "name"=>"internet-not-required"}, {"cloud_properties"=>{"preemptible"=>true}, "name"=>"preemptible"}], "compilation"=>{"az"=>"z1", "network"=>"private", "reuse_compilation_vms"=>true, "vm_extensions"=>["100GB_ephemeral_disk"], "vm_type"=>"n1-highcpu-8", "workers"=>6}}
D, [2018-06-08T00:01:05.257119 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000215s) (conn: 47018331589620) SELECT * FROM "configs" WHERE (1 = 0)
D, [2018-06-08T00:01:05.257268 #29011] [task:89] DEBUG -- DirectorJobRunner: No runtime config uploaded yet.
D, [2018-06-08T00:01:05.258290 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000365s) (conn: 47018331589620) SELECT * FROM "deployments" WHERE ("name" = 'zookeeper') LIMIT 1
D, [2018-06-08T00:01:05.260506 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000486s) (conn: 47018331589620) SELECT "release_versions".* FROM "release_versions" INNER JOIN "deployments_release_versions" ON ("deployments_release_versions"."release_version_id" = "release_versions"."id") WHERE ("deployments_release_versions"."deployment_id" = 4)
D, [2018-06-08T00:01:05.262386 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000665s) (conn: 47018331589620) SELECT "stemcells".* FROM "stemcells" INNER JOIN "deployments_stemcells" ON ("deployments_stemcells"."stemcell_id" = "stemcells"."id") WHERE ("deployments_stemcells"."deployment_id" = 4) ORDER BY "name" ASC, "version" ASC
D, [2018-06-08T00:01:05.262984 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000190s) (conn: 47018331589620) SELECT * FROM "tasks" WHERE "id" = 89
D, [2018-06-08T00:01:05.264249 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000059s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.265094 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000277s) (conn: 47018331589620) INSERT INTO "events" ("parent_id", "timestamp", "user", "action", "object_type", "object_name", "error", "task", "deployment", "instance", "context_json") VALUES (NULL, '2018-06-08 00:01:05.263579+0000', 'admin', 'create', 'deployment', 'zookeeper', NULL, '89', 'zookeeper', NULL, '{}') RETURNING *
D, [2018-06-08T00:01:05.268580 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.003040s) (conn: 47018331589620) COMMIT
I, [2018-06-08T00:01:05.269300 #29011] [task:89] INFO -- DirectorJobRunner: Acquiring deployment lock on zookeeper
D, [2018-06-08T00:01:05.269625 #29011] [task:89] DEBUG -- DirectorJobRunner: Acquiring lock: lock:deployment:zookeeper
D, [2018-06-08T00:01:05.272526 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000519s) (conn: 47018331589620) SELECT count(*) AS "count" FROM "locks" WHERE (("name" = 'lock:deployment:zookeeper') AND ("uid" = '4e15828a-8494-4fab-af62-133c27cb2182')) LIMIT 1
D, [2018-06-08T00:01:05.273001 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000068s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.273837 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000260s) (conn: 47018331589620) INSERT INTO "locks" ("name", "uid", "expired_at", "task_id") VALUES ('lock:deployment:zookeeper', '4e15828a-8494-4fab-af62-133c27cb2182', '2018-06-08 00:05:06.269700+0000', '89') RETURNING *
D, [2018-06-08T00:01:05.276189 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.001965s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.276311 #29011] [task:89] DEBUG -- DirectorJobRunner: Acquired lock: lock:deployment:zookeeper
D, [2018-06-08T00:01:05.277210 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000082s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.277988 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000229s) (conn: 47018331589620) INSERT INTO "events" ("parent_id", "timestamp", "user", "action", "object_type", "object_name", "error", "task", "deployment", "instance", "context_json") VALUES (NULL, '2018-06-08 00:01:05.276372+0000', 'admin', 'acquire', 'lock', 'lock:deployment:zookeeper', NULL, '89', 'zookeeper', NULL, '{}') RETURNING *
D, [2018-06-08T00:01:05.280781 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.002417s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.282474 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000237s) (conn: 47018331589620) SELECT * FROM "deployments" WHERE ("name" = 'zookeeper') LIMIT 1
D, [2018-06-08T00:01:05.283984 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000056s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.285053 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000518s) (conn: 47018331589620) INSERT INTO "variable_sets" ("created_at", "writable", "deployment_id") VALUES ('2018-06-08 00:01:05.282669+0000', true, 4) RETURNING *
D, [2018-06-08T00:01:05.288143 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.002720s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.290125 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000351s) (conn: 47018331589620) SELECT count(*) AS "count" FROM "deployments" WHERE (("name" = 'zookeeper') AND ("id" != 4)) LIMIT 1
D, [2018-06-08T00:01:05.290595 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000054s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.291347 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000268s) (conn: 47018331589620) UPDATE "deployments" SET "name" = 'zookeeper', "manifest" = NULL, "manifest_text" = NULL, "has_stale_errand_links" = false, "links_serial_id" = 1 WHERE ("id" = 4)
D, [2018-06-08T00:01:05.295376 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.003856s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.325281 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000277s) (conn: 47018331589620) SELECT * FROM "deployments" WHERE ("name" = 'zookeeper') LIMIT 1
D, [2018-06-08T00:01:05.328031 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000504s) (conn: 47018331589620) SELECT * FROM "variable_sets" WHERE ("variable_sets"."deployment_id" = 4) ORDER BY "created_at" DESC LIMIT 1
D, [2018-06-08T00:01:05.330652 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000176s) (conn: 47018331589620) SELECT * FROM "deployments" WHERE "id" = 4
D, [2018-06-08T00:01:05.333425 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.001527s) (conn: 47018331589620) SELECT * FROM "deployments" WHERE ("name" = 'zookeeper') LIMIT 1
D, [2018-06-08T00:01:05.334293 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000182s) (conn: 47018331589620) SELECT * FROM "variable_sets" WHERE ("variable_sets"."deployment_id" = 4) ORDER BY "created_at" DESC LIMIT 1
D, [2018-06-08T00:01:05.350782 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000220s) (conn: 47018331589620) SELECT * FROM "deployments" WHERE "id" = 4
D, [2018-06-08T00:01:05.359276 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000230s) (conn: 47018331589620) SELECT * FROM "deployments" WHERE ("name" = 'zookeeper') LIMIT 1
D, [2018-06-08T00:01:05.360178 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000183s) (conn: 47018331589620) SELECT * FROM "variable_sets" WHERE ("variable_sets"."deployment_id" = 4) ORDER BY "created_at" DESC LIMIT 1
D, [2018-06-08T00:01:05.360917 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000143s) (conn: 47018331589620) SELECT * FROM "deployments" WHERE "id" = 4
I, [2018-06-08T00:01:05.362729 #29011] [task:89] INFO -- DirectorJobRunner: sending update deployment start event
D, [2018-06-08T00:01:05.362834 #29011] [task:89] DEBUG -- DirectorJobRunner: SENT: hm.director.alert {"id":"486162b0-3184-48a3-afee-68c6c5d266ad","severity":4,"source":"director","title":"director - begin update deployment","summary":"Begin update deployment for 'zookeeper' against Director 'd169f959-e754-4869-bd5b-addd54f16ecc'","created_at":1528416065,"deployment":"zookeeper"}
D, [2018-06-08T00:01:05.383192 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.013338s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.386994 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000835s) (conn: 47018331589620) UPDATE "tasks" SET "event_output" = ("event_output" || '{"time":1528416065,"stage":"Preparing deployment","tags":[],"total":1,"task":"Preparing deployment","index":1,"state":"started","progress":0}
') WHERE ("id" = 89)
D, [2018-06-08T00:01:05.390138 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.002957s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.391880 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000207s) (conn: 47018331589620) SELECT * FROM "stemcells" WHERE ("operating_system" = 'ubuntu-trusty')
D, [2018-06-08T00:01:05.393863 #29011] [task:89] DEBUG -- DirectorJobRunner: Migrated deployment manifest:
{"instance_groups"=>[{"azs"=>["z1"], "instances"=>1, "jobs"=>[{"name"=>"zookeeper", "properties"=>{}, "provides"=>{"conn"=>{"shared"=>true}}, "release"=>"zookeeper"}, {"name"=>"status", "properties"=>{}, "release"=>"zookeeper"}], "name"=>"zookeeper", "networks"=>[{"name"=>"default"}], "persistent_disk"=>10240, "stemcell"=>"default", "vm_type"=>"default"}], "name"=>"zookeeper", "releases"=>[{"name"=>"zookeeper", "url"=>"git+https://github.com/cppforlife/zookeeper-release", "version"=>"0.0.8"}], "stemcells"=>[{"alias"=>"default", "os"=>"ubuntu-trusty", "version"=>"3586.18"}], "update"=>{"canaries"=>2, "canary_watch_time"=>"5000-60000", "max_in_flight"=>1, "update_watch_time"=>"5000-60000"}}
D, [2018-06-08T00:01:05.396285 #29011] [task:89] DEBUG -- DirectorJobRunner: Migrated cloud config manifest:
{"azs"=>[{"cloud_properties"=>{"zone"=>"us-west1-a"}, "name"=>"z1"}, {"cloud_properties"=>{"zone"=>"us-west1-b"}, "name"=>"z2"}, {"cloud_properties"=>{"zone"=>"us-west1-c"}, "name"=>"z3"}], "vm_types"=>[{"cloud_properties"=>{"machine_type"=>"n1-standard-1", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"default"}, {"cloud_properties"=>{"machine_type"=>"n1-standard-1", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"minimal"}, {"cloud_properties"=>{"machine_type"=>"g1-small", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"sharedcpu"}, {"cloud_properties"=>{"machine_type"=>"n1-standard-2", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"small"}, {"cloud_properties"=>{"machine_type"=>"n1-highmem-4", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"small-highmem"}, {"cloud_properties"=>{"machine_type"=>"n1-standard-4", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"medium"}, {"cloud_properties"=>{"machine_type"=>"n1-standard-8", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"large"}, {"cloud_properties"=>{"machine_type"=>"n1-standard-16", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"extra-large"}, {"cloud_properties"=>{"machine_type"=>"n1-highcpu-2", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"small-highcpu"}, {"cloud_properties"=>{"machine_type"=>"n1-standard-1", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"n1-standard-1"}, {"cloud_properties"=>{"machine_type"=>"n1-standard-2", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"n1-standard-2"}, {"cloud_properties"=>{"machine_type"=>"n1-standard-4", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"n1-standard-4"}, {"cloud_properties"=>{"machine_type"=>"n1-standard-8", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"n1-standard-8"}, {"cloud_properties"=>{"machine_type"=>"n1-standard-16", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"n1-standard-16"}, {"cloud_properties"=>{"machine_type"=>"n1-standard-32", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"n1-standard-32"}, {"cloud_properties"=>{"machine_type"=>"n1-highmem-2", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"n1-highmem-2"}, {"cloud_properties"=>{"machine_type"=>"n1-highmem-4", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"n1-highmem-4"}, {"cloud_properties"=>{"machine_type"=>"n1-highmem-8", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"n1-highmem-8"}, {"cloud_properties"=>{"machine_type"=>"n1-highmem-16", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"n1-highmem-16"}, {"cloud_properties"=>{"machine_type"=>"n1-highmem-32", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"n1-highmem-32"}, {"cloud_properties"=>{"machine_type"=>"n1-highcpu-2", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"n1-highcpu-2"}, {"cloud_properties"=>{"machine_type"=>"n1-highcpu-4", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"n1-highcpu-4"}, {"cloud_properties"=>{"machine_type"=>"n1-highcpu-8", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"n1-highcpu-8"}, {"cloud_properties"=>{"machine_type"=>"n1-highcpu-16", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"n1-highcpu-16"}, {"cloud_properties"=>{"machine_type"=>"n1-highcpu-32", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"n1-highcpu-32"}, {"cloud_properties"=>{"machine_type"=>"f1-micro", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"f1-micro"}, {"cloud_properties"=>{"machine_type"=>"g1-small", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"g1-small"}, {"cloud_properties"=>{"machine_type"=>"n1-standard-1", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"m3.medium"}, {"cloud_properties"=>{"machine_type"=>"n1-standard-2", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"m3.large"}, {"cloud_properties"=>{"machine_type"=>"n1-highcpu-2", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"c3.large"}, {"cloud_properties"=>{"machine_type"=>"n1-highmem-4", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"r3.xlarge"}, {"cloud_properties"=>{"machine_type"=>"g1-small", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"t2.small"}], "disk_types"=>[{"cloud_properties"=>{"encrypted"=>true, "type"=>"pd-ssd"}, "disk_size"=>1024, "name"=>"default"}, {"cloud_properties"=>{"encrypted"=>true, "type"=>"pd-ssd"}, "disk_size"=>1024, "name"=>"1GB"}, {"cloud_properties"=>{"encrypted"=>true, "type"=>"pd-ssd"}, "disk_size"=>5120, "name"=>"5GB"}, {"cloud_properties"=>{"encrypted"=>true, "type"=>"pd-ssd"}, "disk_size"=>10240, "name"=>"10GB"}, {"cloud_properties"=>{"encrypted"=>true, "type"=>"pd-ssd"}, "disk_size"=>51200, "name"=>"50GB"}, {"cloud_properties"=>{"encrypted"=>true, "type"=>"pd-ssd"}, "disk_size"=>102400, "name"=>"100GB"}, {"cloud_properties"=>{"encrypted"=>true, "type"=>"pd-ssd"}, "disk_size"=>512000, "name"=>"500GB"}, {"cloud_properties"=>{"encrypted"=>true, "type"=>"pd-ssd"}, "disk_size"=>1048576, "name"=>"1TB"}], "networks"=>[{"name"=>"private", "subnets"=>[{"az"=>"z1", "cloud_properties"=>{"ephemeral_external_ip"=>true, "network_name"=>"bbl-env-nipigon-2018-06-07t21-36z-network", "subnetwork_name"=>"bbl-env-nipigon-2018-06-07t21-36z-subnet", "tags"=>["bbl-env-nipigon-2018-06-07t21-36z-internal"]}, "gateway"=>"10.0.16.1", "range"=>"10.0.16.0/24", "reserved"=>["10.0.16.2-10.0.16.3", "10.0.16.255"], "static"=>["10.0.16.190-10.0.16.254"]}, {"az"=>"z2", "cloud_properties"=>{"ephemeral_external_ip"=>true, "network_name"=>"bbl-env-nipigon-2018-06-07t21-36z-network", "subnetwork_name"=>"bbl-env-nipigon-2018-06-07t21-36z-subnet", "tags"=>["bbl-env-nipigon-2018-06-07t21-36z-internal"]}, "gateway"=>"10.0.32.1", "range"=>"10.0.32.0/24", "reserved"=>["10.0.32.2-10.0.32.3", "10.0.32.255"], "static"=>["10.0.32.190-10.0.32.254"]}, {"az"=>"z3", "cloud_properties"=>{"ephemeral_external_ip"=>true, "network_name"=>"bbl-env-nipigon-2018-06-07t21-36z-network", "subnetwork_name"=>"bbl-env-nipigon-2018-06-07t21-36z-subnet", "tags"=>["bbl-env-nipigon-2018-06-07t21-36z-internal"]}, "gateway"=>"10.0.48.1", "range"=>"10.0.48.0/24", "reserved"=>["10.0.48.2-10.0.48.3", "10.0.48.255"], "static"=>["10.0.48.190-10.0.48.254"]}], "type"=>"manual"}, {"name"=>"default", "subnets"=>[{"az"=>"z1", "cloud_properties"=>{"ephemeral_external_ip"=>true, "network_name"=>"bbl-env-nipigon-2018-06-07t21-36z-network", "subnetwork_name"=>"bbl-env-nipigon-2018-06-07t21-36z-subnet", "tags"=>["bbl-env-nipigon-2018-06-07t21-36z-internal"]}, "gateway"=>"10.0.16.1", "range"=>"10.0.16.0/24", "reserved"=>["10.0.16.2-10.0.16.3", "10.0.16.255"], "static"=>["10.0.16.190-10.0.16.254"]}, {"az"=>"z2", "cloud_properties"=>{"ephemeral_external_ip"=>true, "network_name"=>"bbl-env-nipigon-2018-06-07t21-36z-network", "subnetwork_name"=>"bbl-env-nipigon-2018-06-07t21-36z-subnet", "tags"=>["bbl-env-nipigon-2018-06-07t21-36z-internal"]}, "gateway"=>"10.0.32.1", "range"=>"10.0.32.0/24", "reserved"=>["10.0.32.2-10.0.32.3", "10.0.32.255"], "static"=>["10.0.32.190-10.0.32.254"]}, {"az"=>"z3", "cloud_properties"=>{"ephemeral_external_ip"=>true, "network_name"=>"bbl-env-nipigon-2018-06-07t21-36z-network", "subnetwork_name"=>"bbl-env-nipigon-2018-06-07t21-36z-subnet", "tags"=>["bbl-env-nipigon-2018-06-07t21-36z-internal"]}, "gateway"=>"10.0.48.1", "range"=>"10.0.48.0/24", "reserved"=>["10.0.48.2-10.0.48.3", "10.0.48.255"], "static"=>["10.0.48.190-10.0.48.254"]}], "type"=>"manual"}], "vm_extensions"=>[{"cloud_properties"=>{"root_disk_size_gb"=>1, "root_disk_type"=>"pd-ssd"}, "name"=>"1GB_ephemeral_disk"}, {"cloud_properties"=>{"root_disk_size_gb"=>5, "root_disk_type"=>"pd-ssd"}, "name"=>"5GB_ephemeral_disk"}, {"cloud_properties"=>{"root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"10GB_ephemeral_disk"}, {"cloud_properties"=>{"root_disk_size_gb"=>50, "root_disk_type"=>"pd-ssd"}, "name"=>"50GB_ephemeral_disk"}, {"cloud_properties"=>{"root_disk_size_gb"=>100, "root_disk_type"=>"pd-ssd"}, "name"=>"100GB_ephemeral_disk"}, {"cloud_properties"=>{"root_disk_size_gb"=>500, "root_disk_type"=>"pd-ssd"}, "name"=>"500GB_ephemeral_disk"}, {"cloud_properties"=>{"root_disk_size_gb"=>1000, "root_disk_type"=>"pd-ssd"}, "name"=>"1TB_ephemeral_disk"}, {"cloud_properties"=>{"ephemeral_external_ip"=>true}, "name"=>"internet-required"}, {"cloud_properties"=>{"ephemeral_external_ip"=>false}, "name"=>"internet-not-required"}, {"cloud_properties"=>{"preemptible"=>true}, "name"=>"preemptible"}], "compilation"=>{"az"=>"z1", "network"=>"private", "reuse_compilation_vms"=>true, "vm_extensions"=>["100GB_ephemeral_disk"], "vm_type"=>"n1-highcpu-8", "workers"=>6}}
D, [2018-06-08T00:01:05.397341 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000214s) (conn: 47018331589620) SELECT * FROM "deployments" WHERE ("name" = 'zookeeper') LIMIT 1
D, [2018-06-08T00:01:05.399610 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000165s) (conn: 47018331589620) SELECT * FROM "variable_sets" WHERE ("variable_sets"."deployment_id" = 4)
D, [2018-06-08T00:01:05.400842 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000165s) (conn: 47018331589620) SELECT * FROM "deployments" WHERE ("name" = 'zookeeper') LIMIT 1
D, [2018-06-08T00:01:05.401724 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000178s) (conn: 47018331589620) SELECT * FROM "variable_sets" WHERE ("variable_sets"."deployment_id" = 4) ORDER BY "created_at" DESC LIMIT 1
D, [2018-06-08T00:01:05.403566 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000158s) (conn: 47018331589620) SELECT * FROM "deployments" WHERE "id" = 4
I, [2018-06-08T00:01:05.403763 #29011] [task:89] INFO -- DirectorJobRunner: Creating deployment plan
I, [2018-06-08T00:01:05.403838 #29011] [task:89] INFO -- DirectorJobRunner: Deployment plan options: {"is_deploy_action"=>true, "recreate"=>false, "fix"=>false, "skip_drain"=>nil, "job_states"=>{}, "max_in_flight"=>nil, "canaries"=>nil, "tags"=>{}}
D, [2018-06-08T00:01:05.407046 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000486s) (conn: 47018331589620) SELECT "teams".* FROM "teams" INNER JOIN "deployments_teams" ON ("deployments_teams"."team_id" = "teams"."id") WHERE ("deployments_teams"."deployment_id" = 4) ORDER BY "name" ASC
D, [2018-06-08T00:01:05.408700 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000453s) (conn: 47018331589620) SELECT * FROM "configs" WHERE ("id" IN (SELECT max("id") FROM "configs" WHERE (((1 = 0) OR ("team_id" IS NULL)) AND ("type" = 'cloud')) GROUP BY "name"))
D, [2018-06-08T00:01:05.475884 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000249s) (conn: 47018331589620) SELECT * FROM "deployments" WHERE ("name" = 'zookeeper') LIMIT 1
D, [2018-06-08T00:01:05.476833 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000187s) (conn: 47018331589620) SELECT * FROM "variable_sets" WHERE ("variable_sets"."deployment_id" = 4) ORDER BY "created_at" DESC LIMIT 1
D, [2018-06-08T00:01:05.482023 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000195s) (conn: 47018331589620) SELECT * FROM "deployments" WHERE "id" = 4
D, [2018-06-08T00:01:05.485451 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000376s) (conn: 47018331589620) SELECT * FROM "configs" WHERE ("id" IN (SELECT max("id") FROM "configs" WHERE ("type" = 'cpi') GROUP BY "name"))
D, [2018-06-08T00:01:05.509680 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000798s) (conn: 47018331589620) SELECT * FROM "deployments" WHERE ((("deployments"."id" NOT IN (SELECT "deployments_configs"."deployment_id" FROM "configs" INNER JOIN "deployments_configs" ON ("deployments_configs"."config_id" = "configs"."id") WHERE (("type" = 'cloud') AND ("deployments_configs"."deployment_id" IS NOT NULL) AND ("configs"."id" IN (SELECT "configs"."id" FROM "configs" WHERE ("type" = 'cloud')))))) OR ("deployments"."id" IS NULL)) AND ("name" != 'zookeeper') AND ("manifest" IS NOT NULL))
I, [2018-06-08T00:01:05.510240 #29011] [task:89] INFO -- DirectorJobRunner: Following networks and individual IPs are reserved by non-cloud-config deployments: 10.0.0.6
D, [2018-06-08T00:01:05.510404 #29011] [task:89] DEBUG -- DirectorJobRunner: reserved ranges 10.0.0.6
D, [2018-06-08T00:01:05.511903 #29011] [task:89] DEBUG -- DirectorJobRunner: reserved ranges 10.0.0.6
D, [2018-06-08T00:01:05.515117 #29011] [task:89] DEBUG -- DirectorJobRunner: reserved ranges 10.0.0.6
I, [2018-06-08T00:01:05.537764 #29011] [task:89] INFO -- DirectorJobRunner: Following networks and individual IPs are reserved by non-cloud-config deployments: 10.0.0.6
D, [2018-06-08T00:01:05.537942 #29011] [task:89] DEBUG -- DirectorJobRunner: reserved ranges 10.0.0.6
D, [2018-06-08T00:01:05.540517 #29011] [task:89] DEBUG -- DirectorJobRunner: reserved ranges 10.0.0.6
D, [2018-06-08T00:01:05.543268 #29011] [task:89] DEBUG -- DirectorJobRunner: reserved ranges 10.0.0.6
D, [2018-06-08T00:01:05.553588 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000366s) (conn: 47018331589620) SELECT * FROM "releases" WHERE ("name" = 'zookeeper') LIMIT 1
D, [2018-06-08T00:01:05.556774 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000213s) (conn: 47018331589620) SELECT * FROM "release_versions" WHERE (("release_versions"."release_id" = 3) AND ("version" = '0.0.8')) LIMIT 1
D, [2018-06-08T00:01:05.558750 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000590s) (conn: 47018331589620) SELECT "templates".* FROM "templates" INNER JOIN "release_versions_templates" ON ("release_versions_templates"."template_id" = "templates"."id") WHERE ("release_versions_templates"."release_version_id" = 4)
D, [2018-06-08T00:01:05.569577 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000373s) (conn: 47018331589620) SELECT * FROM "link_providers" WHERE (("link_providers"."deployment_id" = 4) AND ("instance_group" = 'zookeeper') AND ("name" = 'zookeeper') AND ("type" = 'job')) LIMIT 1
D, [2018-06-08T00:01:05.572573 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000061s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.573466 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000444s) (conn: 47018331589620) INSERT INTO "link_providers" ("deployment_id", "instance_group", "name", "type") VALUES (4, 'zookeeper', 'zookeeper', 'job') RETURNING *
D, [2018-06-08T00:01:05.575541 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.001812s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.576093 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000058s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.578701 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000291s) (conn: 47018331589620) UPDATE "link_providers" SET "deployment_id" = 4, "instance_group" = 'zookeeper', "name" = 'zookeeper', "type" = 'job', "serial_id" = 1 WHERE ("id" = 4)
D, [2018-06-08T00:01:05.580387 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.001535s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.584190 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000388s) (conn: 47018331589620) SELECT * FROM "link_provider_intents" WHERE (("link_provider_intents"."link_provider_id" = 4) AND ("original_name" = 'conn')) LIMIT 1
D, [2018-06-08T00:01:05.587123 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000064s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.587928 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000437s) (conn: 47018331589620) INSERT INTO "link_provider_intents" ("link_provider_id", "original_name", "type") VALUES (4, 'conn', 'zookeeper') RETURNING *
D, [2018-06-08T00:01:05.589598 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.001441s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.592106 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000059s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.593080 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000334s) (conn: 47018331589620) UPDATE "link_provider_intents" SET "link_provider_id" = 4, "original_name" = 'conn', "type" = 'zookeeper', "name" = NULL, "content" = NULL, "shared" = false, "consumable" = true, "metadata" = NULL, "serial_id" = 1 WHERE ("id" = 7)
D, [2018-06-08T00:01:05.594644 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.001418s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.595462 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000070s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.596175 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000253s) (conn: 47018331589620) UPDATE "link_provider_intents" SET "link_provider_id" = 4, "original_name" = 'conn', "type" = 'zookeeper', "name" = 'conn', "content" = NULL, "shared" = true, "consumable" = true, "metadata" = '{"mapped_properties":{"client_port":2181}}', "serial_id" = 1 WHERE ("id" = 7)
D, [2018-06-08T00:01:05.598063 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.001767s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.601119 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000279s) (conn: 47018331589620) SELECT * FROM "link_provider_intents" WHERE (("link_provider_intents"."link_provider_id" = 4) AND ("original_name" = 'peers')) LIMIT 1
D, [2018-06-08T00:01:05.603361 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000057s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.604103 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000317s) (conn: 47018331589620) INSERT INTO "link_provider_intents" ("link_provider_id", "original_name", "type") VALUES (4, 'peers', 'zookeeper_peers') RETURNING *
D, [2018-06-08T00:01:05.606070 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.001768s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.606534 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000054s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.607135 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000212s) (conn: 47018331589620) UPDATE "link_provider_intents" SET "link_provider_id" = 4, "original_name" = 'peers', "type" = 'zookeeper_peers', "name" = NULL, "content" = NULL, "shared" = false, "consumable" = true, "metadata" = NULL, "serial_id" = 1 WHERE ("id" = 8)
D, [2018-06-08T00:01:05.612484 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.005178s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.614898 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000068s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.615649 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000293s) (conn: 47018331589620) UPDATE "link_provider_intents" SET "link_provider_id" = 4, "original_name" = 'peers', "type" = 'zookeeper_peers', "name" = 'peers', "content" = NULL, "shared" = false, "consumable" = true, "metadata" = '{"mapped_properties":{"client_port":2181,"quorum_port":2888,"leader_election_port":3888}}', "serial_id" = 1 WHERE ("id" = 8)
D, [2018-06-08T00:01:05.617674 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.001898s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.621476 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000406s) (conn: 47018331589620) SELECT * FROM "link_consumers" WHERE (("link_consumers"."deployment_id" = 4) AND ("instance_group" = 'zookeeper') AND ("name" = 'zookeeper') AND ("type" = 'job')) LIMIT 1
D, [2018-06-08T00:01:05.624410 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000057s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.625190 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000414s) (conn: 47018331589620) INSERT INTO "link_consumers" ("deployment_id", "instance_group", "name", "type") VALUES (4, 'zookeeper', 'zookeeper', 'job') RETURNING *
D, [2018-06-08T00:01:05.626917 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.001513s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.629345 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000057s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.630077 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000300s) (conn: 47018331589620) UPDATE "link_consumers" SET "deployment_id" = 4, "instance_group" = 'zookeeper', "name" = 'zookeeper', "type" = 'job', "serial_id" = 1 WHERE ("id" = 4)
D, [2018-06-08T00:01:05.631559 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.001337s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.635745 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000387s) (conn: 47018331589620) SELECT * FROM "link_consumer_intents" WHERE (("link_consumer_intents"."link_consumer_id" = 4) AND ("original_name" = 'peers')) LIMIT 1
D, [2018-06-08T00:01:05.637666 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000101s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.640896 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000651s) (conn: 47018331589620) INSERT INTO "link_consumer_intents" ("link_consumer_id", "original_name", "type", "metadata") VALUES (4, 'peers', 'zookeeper_peers', 'null') RETURNING *
D, [2018-06-08T00:01:05.643874 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.002620s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.644606 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000080s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.645500 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000257s) (conn: 47018331589620) UPDATE "link_consumer_intents" SET "link_consumer_id" = 4, "original_name" = 'peers', "type" = 'zookeeper_peers', "name" = NULL, "optional" = false, "blocked" = false, "metadata" = 'null', "serial_id" = 1 WHERE ("id" = 4)
D, [2018-06-08T00:01:05.646981 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.001329s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.651447 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000078s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.652372 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000309s) (conn: 47018331589620) UPDATE "link_consumer_intents" SET "link_consumer_id" = 4, "original_name" = 'peers', "type" = 'zookeeper_peers', "name" = 'peers', "optional" = false, "blocked" = false, "metadata" = '{"explicit_link":false}', "serial_id" = 1 WHERE ("id" = 4)
D, [2018-06-08T00:01:05.653940 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.001404s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.658946 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000269s) (conn: 47018331589620) SELECT * FROM "link_consumers" WHERE ("link_consumers"."deployment_id" = 4)
D, [2018-06-08T00:01:05.661842 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000172s) (conn: 47018331589620) SELECT * FROM "link_consumer_intents" WHERE ("link_consumer_intents"."link_consumer_id" = 4)
D, [2018-06-08T00:01:05.662931 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000160s) (conn: 47018331589620) SELECT * FROM "link_providers" WHERE ("link_providers"."deployment_id" = 4)
D, [2018-06-08T00:01:05.665417 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000174s) (conn: 47018331589620) SELECT * FROM "link_provider_intents" WHERE ("link_provider_intents"."link_provider_id" = 4)
D, [2018-06-08T00:01:05.666647 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000278s) (conn: 47018331589620) SELECT * FROM "local_dns_encoded_azs" WHERE ("name" = 'z1') LIMIT 1
D, [2018-06-08T00:01:05.667485 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000144s) (conn: 47018331589620) SELECT * FROM "local_dns_encoded_azs" WHERE ("name" = 'z2') LIMIT 1
D, [2018-06-08T00:01:05.668268 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000142s) (conn: 47018331589620) SELECT * FROM "local_dns_encoded_azs" WHERE ("name" = 'z3') LIMIT 1
D, [2018-06-08T00:01:05.671204 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000379s) (conn: 47018331589620) SELECT * FROM "local_dns_encoded_networks" WHERE ("name" = 'private') LIMIT 1
D, [2018-06-08T00:01:05.674374 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000173s) (conn: 47018331589620) SELECT * FROM "local_dns_encoded_networks" WHERE ("name" = 'default') LIMIT 1
D, [2018-06-08T00:01:05.677653 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000287s) (conn: 47018331589620) SELECT * FROM "local_dns_encoded_instance_groups" WHERE (("name" = 'zookeeper') AND ("local_dns_encoded_instance_groups"."deployment_id" = 4)) LIMIT 1
D, [2018-06-08T00:01:05.680077 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000059s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.681064 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000537s) (conn: 47018331589620) INSERT INTO "local_dns_encoded_instance_groups" ("name", "deployment_id") VALUES ('zookeeper', 4) RETURNING *
D, [2018-06-08T00:01:05.683587 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.002274s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.684328 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000136s) (conn: 47018331589620) SELECT * FROM "local_dns_encoded_azs"
D, [2018-06-08T00:01:05.686857 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000290s) (conn: 47018331589620) SELECT "local_dns_encoded_instance_groups"."id" AS "id", "local_dns_encoded_instance_groups"."name" AS "name", "deployments"."name" AS "deployment_name" FROM "local_dns_encoded_instance_groups" INNER JOIN "deployments" ON ("local_dns_encoded_instance_groups"."deployment_id" = "deployments"."id")
D, [2018-06-08T00:01:05.688090 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000186s) (conn: 47018331589620) SELECT * FROM "deployments" WHERE ("name" = 'zookeeper') LIMIT 1
D, [2018-06-08T00:01:05.690398 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000192s) (conn: 47018331589620) SELECT * FROM "variable_sets" WHERE ("variable_sets"."deployment_id" = 4) ORDER BY "created_at" DESC LIMIT 1
I, [2018-06-08T00:01:05.690786 #29011] [task:89] INFO -- DirectorJobRunner: Binding models
D, [2018-06-08T00:01:05.691881 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000344s) (conn: 47018331589620) SELECT * FROM "instances" WHERE ("instances"."deployment_id" = 4)
I, [2018-06-08T00:01:05.693186 #29011] [task:89] INFO -- DirectorJobRunner: Acquiring release lock: zookeeper
D, [2018-06-08T00:01:05.693310 #29011] [task:89] DEBUG -- DirectorJobRunner: Acquiring lock: lock:release:zookeeper
D, [2018-06-08T00:01:05.694903 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000279s) (conn: 47018331589620) SELECT count(*) AS "count" FROM "locks" WHERE (("name" = 'lock:release:zookeeper') AND ("uid" = '5fe11db6-803f-43b9-9415-347b00dd7cd4')) LIMIT 1
D, [2018-06-08T00:01:05.697201 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000062s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.697978 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000246s) (conn: 47018331589620) INSERT INTO "locks" ("name", "uid", "expired_at", "task_id") VALUES ('lock:release:zookeeper', '5fe11db6-803f-43b9-9415-347b00dd7cd4', '2018-06-08 00:05:06.693354+0000', '89') RETURNING *
D, [2018-06-08T00:01:05.700151 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.001826s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.700273 #29011] [task:89] DEBUG -- DirectorJobRunner: Acquired lock: lock:release:zookeeper
D, [2018-06-08T00:01:05.701440 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000056s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.702132 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000231s) (conn: 47018331589620) INSERT INTO "events" ("parent_id", "timestamp", "user", "action", "object_type", "object_name", "error", "task", "deployment", "instance", "context_json") VALUES (NULL, '2018-06-08 00:01:05.700329+0000', 'admin', 'acquire', 'lock', 'lock:release:zookeeper', NULL, '89', NULL, NULL, '{}') RETURNING *
D, [2018-06-08T00:01:05.704022 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.001493s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.705790 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000216s) (conn: 47018331589620) SELECT * FROM "releases" WHERE ("name" = 'zookeeper') LIMIT 1
D, [2018-06-08T00:01:05.707023 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000213s) (conn: 47018331589620) SELECT * FROM "release_versions" WHERE (("release_versions"."release_id" = 3) AND ("version" = '0.0.8')) LIMIT 1
D, [2018-06-08T00:01:05.707180 #29011] [task:89] DEBUG -- DirectorJobRunner: Found release 'zookeeper/0.0.8'
D, [2018-06-08T00:01:05.707989 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000308s) (conn: 47018331589620) SELECT "release_versions".* FROM "release_versions" INNER JOIN "deployments_release_versions" ON ("deployments_release_versions"."release_version_id" = "release_versions"."id") WHERE ("deployments_release_versions"."deployment_id" = 4)
D, [2018-06-08T00:01:05.708204 #29011] [task:89] DEBUG -- DirectorJobRunner: Binding release 'zookeeper/0.0.8' to deployment 'zookeeper'
D, [2018-06-08T00:01:05.709866 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000634s) (conn: 47018331589620) SELECT pg_attribute.attname AS pk FROM pg_class, pg_attribute, pg_index, pg_namespace WHERE pg_class.oid = pg_attribute.attrelid AND pg_class.relnamespace = pg_namespace.oid AND pg_class.oid = pg_index.indrelid AND pg_index.indkey[0] = pg_attribute.attnum AND pg_index.indisprimary = 't' AND pg_class.oid = CAST(CAST('"deployments_release_versions"' AS regclass) AS oid)
D, [2018-06-08T00:01:05.712578 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.001893s) (conn: 47018331589620) INSERT INTO "deployments_release_versions" ("deployment_id", "release_version_id") VALUES (4, 4) RETURNING "id"
D, [2018-06-08T00:01:05.719660 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.001718s) (conn: 47018331589620) DELETE FROM "locks" WHERE (("name" = 'lock:release:zookeeper') AND ("uid" = '5fe11db6-803f-43b9-9415-347b00dd7cd4'))
D, [2018-06-08T00:01:05.720990 #29011] [task:89] DEBUG -- DirectorJobRunner: Deleted lock: lock:release:zookeeper uid: 5fe11db6-803f-43b9-9415-347b00dd7cd4
D, [2018-06-08T00:01:05.722150 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000062s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.722857 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000243s) (conn: 47018331589620) INSERT INTO "events" ("parent_id", "timestamp", "user", "action", "object_type", "object_name", "error", "task", "deployment", "instance", "context_json") VALUES (NULL, '2018-06-08 00:01:05.721211+0000', 'admin', 'release', 'lock', 'lock:release:zookeeper', NULL, '89', NULL, NULL, '{}') RETURNING *
D, [2018-06-08T00:01:05.724791 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.001562s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.726533 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000257s) (conn: 47018331589620) SELECT * FROM "stemcells" WHERE (("operating_system" = 'ubuntu-trusty') AND ("version" = '3586.18')) ORDER BY "name"
D, [2018-06-08T00:01:05.728434 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000285s) (conn: 47018331589620) SELECT "deployments".* FROM "deployments" INNER JOIN "deployments_stemcells" ON ("deployments_stemcells"."deployment_id" = "deployments"."id") WHERE ("deployments_stemcells"."stemcell_id" = 3)
D, [2018-06-08T00:01:05.729915 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000490s) (conn: 47018331589620) SELECT pg_attribute.attname AS pk FROM pg_class, pg_attribute, pg_index, pg_namespace WHERE pg_class.oid = pg_attribute.attrelid AND pg_class.relnamespace = pg_namespace.oid AND pg_class.oid = pg_index.indrelid AND pg_index.indkey[0] = pg_attribute.attnum AND pg_index.indisprimary = 't' AND pg_class.oid = CAST(CAST('"deployments_stemcells"' AS regclass) AS oid)
D, [2018-06-08T00:01:05.733106 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.002382s) (conn: 47018331589620) INSERT INTO "deployments_stemcells" ("stemcell_id", "deployment_id") VALUES (3, 4) RETURNING "id"
D, [2018-06-08T00:01:05.733539 #29011] [task:89] DEBUG -- DirectorJobRunner: Waiting for tasks to complete
D, [2018-06-08T00:01:05.733633 #29011] [task:89] DEBUG -- DirectorJobRunner: Shutting down pool
D, [2018-06-08T00:01:05.745581 #29011] [task:89] DEBUG -- DirectorJobRunner: Job 'zookeeper' does not have networks with static IPs, placing instances based on persistent disk allocation
D, [2018-06-08T00:01:05.745765 #29011] [task:89] DEBUG -- DirectorJobRunner: Desired azs: [az: z1]
D, [2018-06-08T00:01:05.745924 #29011] [task:89] DEBUG -- DirectorJobRunner: az: az: z1
D, [2018-06-08T00:01:05.747620 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000279s) (conn: 47018331589620) SELECT * FROM "instances" WHERE (("job" = 'zookeeper') AND ("instances"."deployment_id" = 4))
D, [2018-06-08T00:01:05.747842 #29011] [task:89] DEBUG -- DirectorJobRunner: Creating new desired instance for: <DesiredInstance az=z1 index=0>
D, [2018-06-08T00:01:05.748789 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000197s) (conn: 47018331589620) SELECT * FROM "variable_sets" WHERE ("variable_sets"."deployment_id" = 4) ORDER BY "created_at" DESC LIMIT 1
D, [2018-06-08T00:01:05.751409 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000218s) (conn: 47018331589620) SELECT count(*) AS "count" FROM "instances" WHERE (("deployment_id" = 4) AND ("job" = 'zookeeper') AND ("index" = 0)) LIMIT 1
D, [2018-06-08T00:01:05.752407 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000160s) (conn: 47018331589620) SELECT count(*) AS "count" FROM "instances" WHERE false LIMIT 1
D, [2018-06-08T00:01:05.752891 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000056s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.754216 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000781s) (conn: 47018331589620) INSERT INTO "instances" ("deployment_id", "job", "index", "state", "compilation", "uuid", "availability_zone", "bootstrap", "variable_set_id") VALUES (4, 'zookeeper', 0, 'started', false, '97658dbe-4109-4377-93c7-f96c963ce399', 'z1', false, 5) RETURNING *
D, [2018-06-08T00:01:05.756614 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.002154s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.757353 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000208s) (conn: 47018331589620) SELECT * FROM "variable_sets" WHERE "id" = 5
D, [2018-06-08T00:01:05.758241 #29011] [task:89] DEBUG -- DirectorJobRunner: Creating new dynamic reservation {type=dynamic, ip=, network=default, instance=zookeeper/97658dbe-4109-4377-93c7-f96c963ce399 (0)} for instance 'zookeeper/97658dbe-4109-4377-93c7-f96c963ce399 (0)'
D, [2018-06-08T00:01:05.758361 #29011] [task:89] DEBUG -- DirectorJobRunner: Assigning az 'z1' to instance 'zookeeper/97658dbe-4109-4377-93c7-f96c963ce399 (0)'
I, [2018-06-08T00:01:05.758542 #29011] [task:89] INFO -- DirectorJobRunner: New desired instance 'zookeeper/0' in az 'z1'
I, [2018-06-08T00:01:05.758732 #29011] [task:89] INFO -- DirectorJobRunner: No existing bootstrap instance. Going to pick a new bootstrap instance.
I, [2018-06-08T00:01:05.758795 #29011] [task:89] INFO -- DirectorJobRunner: Marking new bootstrap instance 'zookeeper/97658dbe-4109-4377-93c7-f96c963ce399 (0)' in az 'z1'
D, [2018-06-08T00:01:05.760275 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000239s) (conn: 47018331589620) SELECT count(*) AS "count" FROM "instances" WHERE (("deployment_id" = 4) AND ("job" = 'zookeeper') AND ("index" = 0) AND ("id" != 8)) LIMIT 1
D, [2018-06-08T00:01:05.761259 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000174s) (conn: 47018331589620) SELECT count(*) AS "count" FROM "instances" WHERE (false AND ("id" != 8)) LIMIT 1
D, [2018-06-08T00:01:05.761684 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000054s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.762287 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000260s) (conn: 47018331589620) UPDATE "instances" SET "bootstrap" = true WHERE ("id" = 8)
D, [2018-06-08T00:01:05.763812 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.001398s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.763950 #29011] [task:89] DEBUG -- DirectorJobRunner: Sorting instance plan to update them always in the same order
D, [2018-06-08T00:01:05.764172 #29011] [task:89] DEBUG -- DirectorJobRunner: Binding template 'zookeeper'
D, [2018-06-08T00:01:05.764889 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000325s) (conn: 47018331589620) SELECT "templates".* FROM "templates" INNER JOIN "release_versions_templates" ON ("release_versions_templates"."template_id" = "templates"."id") WHERE ("release_versions_templates"."release_version_id" = 4)
D, [2018-06-08T00:01:05.766655 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000532s) (conn: 47018331589620) SELECT "packages".* FROM "packages" INNER JOIN "packages_release_versions" ON ("packages_release_versions"."package_id" = "packages"."id") WHERE ("packages_release_versions"."release_version_id" = 4)
D, [2018-06-08T00:01:05.766885 #29011] [task:89] DEBUG -- DirectorJobRunner: Bound template 'zookeeper'
D, [2018-06-08T00:01:05.766936 #29011] [task:89] DEBUG -- DirectorJobRunner: Binding template 'status'
D, [2018-06-08T00:01:05.767004 #29011] [task:89] DEBUG -- DirectorJobRunner: Bound template 'status'
D, [2018-06-08T00:01:05.767537 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000148s) (conn: 47018331589620) SELECT * FROM "releases" WHERE "id" = 3
D, [2018-06-08T00:01:05.768595 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000167s) (conn: 47018331589620) SELECT * FROM "packages" WHERE ("packages"."release_id" = 3)
D, [2018-06-08T00:01:05.772351 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000177s) (conn: 47018331589620) SELECT * FROM "variable_sets" WHERE ("variable_sets"."deployment_id" = 4) ORDER BY "created_at" DESC LIMIT 1
D, [2018-06-08T00:01:05.772768 #29011] [task:89] DEBUG -- DirectorJobRunner: Using database ip repo
D, [2018-06-08T00:01:05.772939 #29011] [task:89] DEBUG -- DirectorJobRunner: [network-configuration] Allocating dynamic ip for manual network 'default'
D, [2018-06-08T00:01:05.773831 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000291s) (conn: 47018331589620) SELECT "address_str" FROM "ip_addresses"
D, [2018-06-08T00:01:05.776199 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000291s) (conn: 47018331589620) SELECT count(*) AS "count" FROM "ip_addresses" WHERE ("address_str" = '167776260') LIMIT 1
D, [2018-06-08T00:01:05.776703 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000056s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.777889 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000481s) (conn: 47018331589620) INSERT INTO "ip_addresses" ("address_str", "network_name", "task_id", "static", "instance_id", "created_at") VALUES ('167776260', 'default', '89', false, 8, '2018-06-08 00:01:05.776803+0000') RETURNING *
D, [2018-06-08T00:01:05.780326 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.002077s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.780630 #29011] [task:89] DEBUG -- DirectorJobRunner: [network-configuration] Allocated dynamic IP '10.0.16.4' for default
D, [2018-06-08T00:01:05.780744 #29011] [task:89] DEBUG -- DirectorJobRunner: [network-configuration] Reserving dynamic IP '10.0.16.4' for manual network 'default'
D, [2018-06-08T00:01:05.781579 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000176s) (conn: 47018331589620) SELECT * FROM "deployments" WHERE "id" = 4
D, [2018-06-08T00:01:05.782383 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000118s) (conn: 47018331589620) SELECT * FROM "local_dns_encoded_azs"
D, [2018-06-08T00:01:05.783423 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000240s) (conn: 47018331589620) SELECT "local_dns_encoded_instance_groups"."id" AS "id", "local_dns_encoded_instance_groups"."name" AS "name", "deployments"."name" AS "deployment_name" FROM "local_dns_encoded_instance_groups" INNER JOIN "deployments" ON ("local_dns_encoded_instance_groups"."deployment_id" = "deployments"."id")
D, [2018-06-08T00:01:05.784107 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000115s) (conn: 47018331589620) SELECT * FROM "local_dns_encoded_azs"
D, [2018-06-08T00:01:05.784922 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000200s) (conn: 47018331589620) SELECT "local_dns_encoded_instance_groups"."id" AS "id", "local_dns_encoded_instance_groups"."name" AS "name", "deployments"."name" AS "deployment_name" FROM "local_dns_encoded_instance_groups" INNER JOIN "deployments" ON ("local_dns_encoded_instance_groups"."deployment_id" = "deployments"."id")
D, [2018-06-08T00:01:05.785582 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000126s) (conn: 47018331589620) SELECT * FROM "local_dns_encoded_azs"
D, [2018-06-08T00:01:05.786393 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000200s) (conn: 47018331589620) SELECT "local_dns_encoded_instance_groups"."id" AS "id", "local_dns_encoded_instance_groups"."name" AS "name", "deployments"."name" AS "deployment_name" FROM "local_dns_encoded_instance_groups" INNER JOIN "deployments" ON ("local_dns_encoded_instance_groups"."deployment_id" = "deployments"."id")
D, [2018-06-08T00:01:05.787200 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000056s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.787867 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000224s) (conn: 47018331589620) UPDATE "link_provider_intents" SET "link_provider_id" = 4, "original_name" = 'conn', "type" = 'zookeeper', "name" = 'conn', "content" = '{"deployment_name":"zookeeper","domain":"bosh","default_network":"default","networks":["default"],"instance_group":"zookeeper","properties":{"client_port":2181},"use_short_dns_addresses":false,"use_dns_addresses":false,"instances":[{"name":"zookeeper","id":"97658dbe-4109-4377-93c7-f96c963ce399","index":0,"bootstrap":true,"az":"z1","address":"10.0.16.4","addresses":{"default":"10.0.16.4"},"dns_addresses":{"default":"97658dbe-4109-4377-93c7-f96c963ce399.zookeeper.default.zookeeper.bosh"}}]}', "shared" = true, "consumable" = true, "metadata" = '{"mapped_properties":{"client_port":2181}}', "serial_id" = 1 WHERE ("id" = 7)
D, [2018-06-08T00:01:05.789485 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.001475s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.790113 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000117s) (conn: 47018331589620) SELECT * FROM "local_dns_encoded_azs"
D, [2018-06-08T00:01:05.791040 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000275s) (conn: 47018331589620) SELECT "local_dns_encoded_instance_groups"."id" AS "id", "local_dns_encoded_instance_groups"."name" AS "name", "deployments"."name" AS "deployment_name" FROM "local_dns_encoded_instance_groups" INNER JOIN "deployments" ON ("local_dns_encoded_instance_groups"."deployment_id" = "deployments"."id")
D, [2018-06-08T00:01:05.791674 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000110s) (conn: 47018331589620) SELECT * FROM "local_dns_encoded_azs"
D, [2018-06-08T00:01:05.792555 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000201s) (conn: 47018331589620) SELECT "local_dns_encoded_instance_groups"."id" AS "id", "local_dns_encoded_instance_groups"."name" AS "name", "deployments"."name" AS "deployment_name" FROM "local_dns_encoded_instance_groups" INNER JOIN "deployments" ON ("local_dns_encoded_instance_groups"."deployment_id" = "deployments"."id")
D, [2018-06-08T00:01:05.793276 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000145s) (conn: 47018331589620) SELECT * FROM "local_dns_encoded_azs"
D, [2018-06-08T00:01:05.794100 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000219s) (conn: 47018331589620) SELECT "local_dns_encoded_instance_groups"."id" AS "id", "local_dns_encoded_instance_groups"."name" AS "name", "deployments"."name" AS "deployment_name" FROM "local_dns_encoded_instance_groups" INNER JOIN "deployments" ON ("local_dns_encoded_instance_groups"."deployment_id" = "deployments"."id")
D, [2018-06-08T00:01:05.794764 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000055s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.795486 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000227s) (conn: 47018331589620) UPDATE "link_provider_intents" SET "link_provider_id" = 4, "original_name" = 'peers', "type" = 'zookeeper_peers', "name" = 'peers', "content" = '{"deployment_name":"zookeeper","domain":"bosh","default_network":"default","networks":["default"],"instance_group":"zookeeper","properties":{"client_port":2181,"quorum_port":2888,"leader_election_port":3888},"use_short_dns_addresses":false,"use_dns_addresses":false,"instances":[{"name":"zookeeper","id":"97658dbe-4109-4377-93c7-f96c963ce399","index":0,"bootstrap":true,"az":"z1","address":"10.0.16.4","addresses":{"default":"10.0.16.4"},"dns_addresses":{"default":"97658dbe-4109-4377-93c7-f96c963ce399.zookeeper.default.zookeeper.bosh"}}]}', "shared" = false, "consumable" = true, "metadata" = '{"mapped_properties":{"client_port":2181,"quorum_port":2888,"leader_election_port":3888}}', "serial_id" = 1 WHERE ("id" = 8)
D, [2018-06-08T00:01:05.797234 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.001605s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.798850 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000361s) (conn: 47018331589620) SELECT * FROM "links" WHERE (("link_provider_intent_id" = 8) AND ("link_consumer_intent_id" = 4))
D, [2018-06-08T00:01:05.800382 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000060s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.801655 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000542s) (conn: 47018331589620) INSERT INTO "links" ("name", "link_provider_intent_id", "link_consumer_intent_id", "link_content", "created_at") VALUES ('peers', 8, 4, '{"deployment_name":"zookeeper","domain":"bosh","default_network":"default","networks":["default"],"instance_group":"zookeeper","properties":{"client_port":2181,"quorum_port":2888,"leader_election_port":3888},"use_short_dns_addresses":false,"use_dns_addresses":false,"instances":[{"name":"zookeeper","id":"97658dbe-4109-4377-93c7-f96c963ce399","index":0,"bootstrap":true,"az":"z1","address":"10.0.16.4"}]}', '2018-06-08 00:01:05.800491+0000') RETURNING *
D, [2018-06-08T00:01:05.803613 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.001593s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.804204 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000059s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.804836 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000240s) (conn: 47018331589620) UPDATE "tasks" SET "event_output" = ("event_output" || '{"time":1528416065,"stage":"Preparing deployment","tags":[],"total":1,"task":"Preparing deployment","index":1,"state":"finished","progress":100}
') WHERE ("id" = 89)
D, [2018-06-08T00:01:05.806653 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.001698s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.807699 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000196s) (conn: 47018331589620) SELECT * FROM "deployments" WHERE ("name" = 'zookeeper') LIMIT 1
D, [2018-06-08T00:01:05.808427 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000281s) (conn: 47018331589620) SELECT "release_versions".* FROM "release_versions" INNER JOIN "deployments_release_versions" ON ("deployments_release_versions"."release_version_id" = "release_versions"."id") WHERE ("deployments_release_versions"."deployment_id" = 4)
D, [2018-06-08T00:01:05.809092 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000175s) (conn: 47018331589620) SELECT * FROM "releases" WHERE "id" = 3
D, [2018-06-08T00:01:05.809840 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000280s) (conn: 47018331589620) SELECT "stemcells".* FROM "stemcells" INNER JOIN "deployments_stemcells" ON ("deployments_stemcells"."stemcell_id" = "stemcells"."id") WHERE ("deployments_stemcells"."deployment_id" = 4) ORDER BY "name" ASC, "version" ASC
D, [2018-06-08T00:01:05.810765 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000170s) (conn: 47018331589620) SELECT * FROM "variable_sets" WHERE ("variable_sets"."deployment_id" = 4) ORDER BY "created_at" DESC LIMIT 1
D, [2018-06-08T00:01:05.811164 #29011] [task:89] DEBUG -- DirectorJobRunner: Rendering templates for instance zookeeper/97658dbe-4109-4377-93c7-f96c963ce399 (0)
D, [2018-06-08T00:01:05.812482 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000163s) (conn: 47018331589620) SELECT * FROM "local_dns_encoded_azs"
D, [2018-06-08T00:01:05.813622 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000241s) (conn: 47018331589620) SELECT "local_dns_encoded_instance_groups"."id" AS "id", "local_dns_encoded_instance_groups"."name" AS "name", "deployments"."name" AS "deployment_name" FROM "local_dns_encoded_instance_groups" INNER JOIN "deployments" ON ("local_dns_encoded_instance_groups"."deployment_id" = "deployments"."id")
D, [2018-06-08T00:01:05.814428 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000146s) (conn: 47018331589620) SELECT * FROM "local_dns_encoded_azs"
D, [2018-06-08T00:01:05.815361 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000243s) (conn: 47018331589620) SELECT "local_dns_encoded_instance_groups"."id" AS "id", "local_dns_encoded_instance_groups"."name" AS "name", "deployments"."name" AS "deployment_name" FROM "local_dns_encoded_instance_groups" INNER JOIN "deployments" ON ("local_dns_encoded_instance_groups"."deployment_id" = "deployments"."id")
D, [2018-06-08T00:01:05.816545 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000158s) (conn: 47018331589620) SELECT * FROM "deployments" WHERE "id" = 4
D, [2018-06-08T00:01:05.817921 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000221s) (conn: 47018331589620) SELECT * FROM "link_consumers" WHERE (("link_consumers"."deployment_id" = 4) AND ("instance_group" = 'zookeeper') AND ("serial_id" = 1))
D, [2018-06-08T00:01:05.818342 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000167s) (conn: 47018331589620) SELECT * FROM "link_consumer_intents" WHERE ("link_consumer_intents"."link_consumer_id" = 4)
D, [2018-06-08T00:01:05.819223 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000242s) (conn: 47018331589620) SELECT * FROM "links" WHERE ("links"."link_consumer_intent_id" = 4) ORDER BY "created_at" DESC LIMIT 1
D, [2018-06-08T00:01:05.820025 #29011] [task:89] DEBUG -- DirectorJobRunner: Extracting job zookeeper
D, [2018-06-08T00:01:05.820216 #29011] [task:89] DEBUG -- DirectorJobRunner: Downloading job 'zookeeper' (fc35597d-0af3-400f-bbba-4bd6d6a51cf7)...
D, [2018-06-08T00:01:05.849881 #29011] [task:89] DEBUG -- DirectorJobRunner: Job 'zookeeper' downloaded to /var/vcap/data/director/tmp/template-06f924fe-cc06-4f69-9608-c6fdb6792174 (took 0.029599813s)
D, [2018-06-08T00:01:05.859138 #29011] [task:89] DEBUG -- DirectorJobRunner: Extracting job status
D, [2018-06-08T00:01:05.859369 #29011] [task:89] DEBUG -- DirectorJobRunner: Downloading job 'status' (ae0e94c1-c92a-4607-8742-454ec3250af7)...
D, [2018-06-08T00:01:05.887235 #29011] [task:89] DEBUG -- DirectorJobRunner: Job 'status' downloaded to /var/vcap/data/director/tmp/template-c7c90eb3-2727-4662-af29-507a919d1941 (took 0.027800145s)
D, [2018-06-08T00:01:05.902055 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000170s) (conn: 47018331589620) SELECT * FROM "local_dns_encoded_azs"
D, [2018-06-08T00:01:05.903195 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000293s) (conn: 47018331589620) SELECT "local_dns_encoded_instance_groups"."id" AS "id", "local_dns_encoded_instance_groups"."name" AS "name", "deployments"."name" AS "deployment_name" FROM "local_dns_encoded_instance_groups" INNER JOIN "deployments" ON ("local_dns_encoded_instance_groups"."deployment_id" = "deployments"."id")
D, [2018-06-08T00:01:05.904072 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000125s) (conn: 47018331589620) SELECT * FROM "local_dns_encoded_azs"
D, [2018-06-08T00:01:05.904945 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000210s) (conn: 47018331589620) SELECT "local_dns_encoded_instance_groups"."id" AS "id", "local_dns_encoded_instance_groups"."name" AS "name", "deployments"."name" AS "deployment_name" FROM "local_dns_encoded_instance_groups" INNER JOIN "deployments" ON ("local_dns_encoded_instance_groups"."deployment_id" = "deployments"."id")
D, [2018-06-08T00:01:05.906000 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000190s) (conn: 47018331589620) SELECT * FROM "releases" WHERE ("name" = 'zookeeper') LIMIT 1
D, [2018-06-08T00:01:05.907242 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000171s) (conn: 47018331589620) SELECT * FROM "release_versions" WHERE (("release_versions"."release_id" = 3) AND ("version" = '0.0.8')) LIMIT 1
D, [2018-06-08T00:01:05.907766 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000132s) (conn: 47018331589620) SELECT * FROM "releases" WHERE "id" = 3
D, [2018-06-08T00:01:05.907932 #29011] [task:89] DEBUG -- DirectorJobRunner: Validating packages for release 'zookeeper/0.0.8'
D, [2018-06-08T00:01:05.908516 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000280s) (conn: 47018331589620) SELECT "packages".* FROM "packages" INNER JOIN "packages_release_versions" ON ("packages_release_versions"."package_id" = "packages"."id") WHERE ("packages_release_versions"."release_version_id" = 4)
D, [2018-06-08T00:01:05.909757 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000149s) (conn: 47018331589620) SELECT * FROM "releases" WHERE ("name" = 'zookeeper') LIMIT 1
D, [2018-06-08T00:01:05.910741 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000153s) (conn: 47018331589620) SELECT * FROM "release_versions" WHERE (("release_versions"."release_id" = 3) AND ("version" = '0.0.8')) LIMIT 1
D, [2018-06-08T00:01:05.911227 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000128s) (conn: 47018331589620) SELECT * FROM "releases" WHERE "id" = 3
D, [2018-06-08T00:01:05.911363 #29011] [task:89] DEBUG -- DirectorJobRunner: Validating packages for release 'zookeeper/0.0.8'
D, [2018-06-08T00:01:05.911874 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000246s) (conn: 47018331589620) SELECT "packages".* FROM "packages" INNER JOIN "packages_release_versions" ON ("packages_release_versions"."package_id" = "packages"."id") WHERE ("packages_release_versions"."release_version_id" = 4)
I, [2018-06-08T00:01:05.912258 #29011] [task:89] INFO -- DirectorJobRunner: Generating a list of compile tasks
D, [2018-06-08T00:01:05.912836 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000058s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.913439 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000233s) (conn: 47018331589620) UPDATE "tasks" SET "event_output" = ("event_output" || '{"time":1528416065,"stage":"Preparing package compilation","tags":[],"total":1,"task":"Finding packages to compile","index":1,"state":"started","progress":0}
') WHERE ("id" = 89)
D, [2018-06-08T00:01:05.915241 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.001690s) (conn: 47018331589620) COMMIT
I, [2018-06-08T00:01:05.915387 #29011] [task:89] INFO -- DirectorJobRunner: Job templates 'zookeeper/zookeeper', 'zookeeper/status' need to run on stemcell 'bosh-google-kvm-ubuntu-trusty-go_agent/3586.18'
I, [2018-06-08T00:01:05.915451 #29011] [task:89] INFO -- DirectorJobRunner: Checking whether package 'openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20' needs to be compiled for stemcell 'bosh-google-kvm-ubuntu-trusty-go_agent/3586.18'
D, [2018-06-08T00:01:05.919916 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.003013s) (conn: 47018331589620) SELECT * FROM "compiled_packages" WHERE (("package_id" = 10) AND ("stemcell_os" = 'ubuntu-trusty') AND ("stemcell_version" = '3586.18') AND ("dependency_key" = '[]')) LIMIT 1
I, [2018-06-08T00:01:05.920116 #29011] [task:89] INFO -- DirectorJobRunner: Package 'openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20' needs to be compiled on 'bosh-google-kvm-ubuntu-trusty-go_agent/3586.18'
I, [2018-06-08T00:01:05.920172 #29011] [task:89] INFO -- DirectorJobRunner: Processing package 'openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20' dependencies
I, [2018-06-08T00:01:05.920263 #29011] [task:89] INFO -- DirectorJobRunner: Checking whether package 'zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1' needs to be compiled for stemcell 'bosh-google-kvm-ubuntu-trusty-go_agent/3586.18'
D, [2018-06-08T00:01:05.921834 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000245s) (conn: 47018331589620) SELECT * FROM "compiled_packages" WHERE (("package_id" = 12) AND ("stemcell_os" = 'ubuntu-trusty') AND ("stemcell_version" = '3586.18') AND ("dependency_key" = '[]')) LIMIT 1
I, [2018-06-08T00:01:05.921985 #29011] [task:89] INFO -- DirectorJobRunner: Package 'zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1' needs to be compiled on 'bosh-google-kvm-ubuntu-trusty-go_agent/3586.18'
I, [2018-06-08T00:01:05.922046 #29011] [task:89] INFO -- DirectorJobRunner: Processing package 'zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1' dependencies
D, [2018-06-08T00:01:05.922575 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000056s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.923137 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000246s) (conn: 47018331589620) UPDATE "tasks" SET "event_output" = ("event_output" || '{"time":1528416065,"stage":"Preparing package compilation","tags":[],"total":1,"task":"Finding packages to compile","index":1,"state":"finished","progress":100}
') WHERE ("id" = 89)
D, [2018-06-08T00:01:05.925208 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.001964s) (conn: 47018331589620) COMMIT
I, [2018-06-08T00:01:05.925358 #29011] [task:89] INFO -- DirectorJobRunner: Package 'openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20' is ready to be compiled for stemcell 'bosh-google-kvm-ubuntu-trusty-go_agent/3586.18'
I, [2018-06-08T00:01:05.925413 #29011] [task:89] INFO -- DirectorJobRunner: Package 'zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1' is ready to be compiled for stemcell 'bosh-google-kvm-ubuntu-trusty-go_agent/3586.18'
D, [2018-06-08T00:01:05.925517 #29011] [task:89] DEBUG -- DirectorJobRunner: Creating new thread
D, [2018-06-08T00:01:05.925619 #29011] [task:89] DEBUG -- DirectorJobRunner: Creating new thread
D, [2018-06-08T00:01:05.926187 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000055s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.926758 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000220s) (conn: 47018331589620) UPDATE "tasks" SET "event_output" = ("event_output" || '{"time":1528416065,"stage":"Compiling packages","tags":[],"total":2,"task":"zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1","index":1,"state":"started","progress":0}
') WHERE ("id" = 89)
D, [2018-06-08T00:01:05.929466 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.002593s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.929843 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000152s) (conn: 47018344807300) SET standard_conforming_strings = ON
D, [2018-06-08T00:01:05.930059 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000094s) (conn: 47018344807300) SET client_min_messages = 'WARNING'
D, [2018-06-08T00:01:05.930243 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000083s) (conn: 47018344807300) SET DateStyle = 'ISO'
I, [2018-06-08T00:01:05.930421 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] INFO -- DirectorJobRunner: Compiling package 'zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1' for stemcell 'bosh-google-kvm-ubuntu-trusty-go_agent/3586.18'
I, [2018-06-08T00:01:05.930516 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] INFO -- DirectorJobRunner: Acquiring compile lock on 12 ubuntu-trusty/3586.18
D, [2018-06-08T00:01:05.930645 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: Acquiring lock: lock:compile:12:ubuntu-trusty/3586.18
D, [2018-06-08T00:01:05.931933 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000116s) (conn: 47018344807300) BEGIN
D, [2018-06-08T00:01:05.932676 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000250s) (conn: 47018331589620) SELECT count(*) AS "count" FROM "locks" WHERE (("name" = 'lock:compile:12:ubuntu-trusty/3586.18') AND ("uid" = '70cedb29-23fd-406a-b215-1b94b529eefe')) LIMIT 1
D, [2018-06-08T00:01:05.934115 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000984s) (conn: 47018344807300) UPDATE "tasks" SET "event_output" = ("event_output" || '{"time":1528416065,"stage":"Compiling packages","tags":[],"total":2,"task":"openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20","index":2,"state":"started","progress":0}
') WHERE ("id" = 89)
D, [2018-06-08T00:01:05.934502 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000069s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.935155 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000206s) (conn: 47018331589620) INSERT INTO "locks" ("name", "uid", "expired_at", "task_id") VALUES ('lock:compile:12:ubuntu-trusty/3586.18', '70cedb29-23fd-406a-b215-1b94b529eefe', '2018-06-08 00:05:06.930688+0000', '89') RETURNING *
D, [2018-06-08T00:01:05.937254 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.003019s) (conn: 47018344807300) COMMIT
I, [2018-06-08T00:01:05.937416 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] INFO -- DirectorJobRunner: Compiling package 'openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20' for stemcell 'bosh-google-kvm-ubuntu-trusty-go_agent/3586.18'
I, [2018-06-08T00:01:05.937495 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] INFO -- DirectorJobRunner: Acquiring compile lock on 10 ubuntu-trusty/3586.18
D, [2018-06-08T00:01:05.937617 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: Acquiring lock: lock:compile:10:ubuntu-trusty/3586.18
D, [2018-06-08T00:01:05.939808 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.004318s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.939940 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000729s) (conn: 47018344807300) SELECT count(*) AS "count" FROM "locks" WHERE (("name" = 'lock:compile:10:ubuntu-trusty/3586.18') AND ("uid" = 'cdc0451e-51dc-47af-92d7-2fdc47ad1f79')) LIMIT 1
D, [2018-06-08T00:01:05.940076 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: Acquired lock: lock:compile:12:ubuntu-trusty/3586.18
D, [2018-06-08T00:01:05.940726 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000056s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.941489 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000057s) (conn: 47018344807300) BEGIN
D, [2018-06-08T00:01:05.942436 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000203s) (conn: 47018331589620) INSERT INTO "events" ("parent_id", "timestamp", "user", "action", "object_type", "object_name", "error", "task", "deployment", "instance", "context_json") VALUES (NULL, '2018-06-08 00:01:05.940129+0000', 'admin', 'acquire', 'lock', 'lock:compile:12:ubuntu-trusty/3586.18', NULL, '89', 'zookeeper', NULL, '{}') RETURNING *
D, [2018-06-08T00:01:05.942945 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.001088s) (conn: 47018344807300) INSERT INTO "locks" ("name", "uid", "expired_at", "task_id") VALUES ('lock:compile:10:ubuntu-trusty/3586.18', 'cdc0451e-51dc-47af-92d7-2fdc47ad1f79', '2018-06-08 00:05:06.937686+0000', '89') RETURNING *
D, [2018-06-08T00:01:05.944880 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.002037s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.946779 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000256s) (conn: 47018331589620) SELECT * FROM "compiled_packages" WHERE (("package_id" = 12) AND ("stemcell_os" = 'ubuntu-trusty') AND ("stemcell_version" = '3586.18') AND ("dependency_key" = '[]')) LIMIT 1
I, [2018-06-08T00:01:05.946996 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] INFO -- DirectorJobRunner: Package 'zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1' needs to be compiled on 'bosh-google-kvm-ubuntu-trusty-go_agent/3586.18'
D, [2018-06-08T00:01:05.947750 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.004520s) (conn: 47018344807300) COMMIT
D, [2018-06-08T00:01:05.947859 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: Acquired lock: lock:compile:10:ubuntu-trusty/3586.18
D, [2018-06-08T00:01:05.948527 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000057s) (conn: 47018344807300) BEGIN
D, [2018-06-08T00:01:05.949482 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000421s) (conn: 47018344807300) INSERT INTO "events" ("parent_id", "timestamp", "user", "action", "object_type", "object_name", "error", "task", "deployment", "instance", "context_json") VALUES (NULL, '2018-06-08 00:01:05.947940+0000', 'admin', 'acquire', 'lock', 'lock:compile:10:ubuntu-trusty/3586.18', NULL, '89', 'zookeeper', NULL, '{}') RETURNING *
D, [2018-06-08T00:01:05.951092 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000380s) (conn: 47018331589620) SELECT max("build") AS "max" FROM "compiled_packages" WHERE (("package_id" = 12) AND ("stemcell_os" = 'ubuntu-trusty') AND ("stemcell_version" = '3586.18')) LIMIT 1
D, [2018-06-08T00:01:05.951459 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.001614s) (conn: 47018344807300) COMMIT
D, [2018-06-08T00:01:05.951286 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: Creating new compilation VM for stemcell 'bosh-google-kvm-ubuntu-trusty-go_agent/3586.18'
D, [2018-06-08T00:01:05.954126 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000459s) (conn: 47018344807300) SELECT * FROM "compiled_packages" WHERE (("package_id" = 10) AND ("stemcell_os" = 'ubuntu-trusty') AND ("stemcell_version" = '3586.18') AND ("dependency_key" = '[]')) LIMIT 1
I, [2018-06-08T00:01:05.954296 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] INFO -- DirectorJobRunner: Package 'openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20' needs to be compiled on 'bosh-google-kvm-ubuntu-trusty-go_agent/3586.18'
D, [2018-06-08T00:01:05.955674 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000583s) (conn: 47018344807300) SELECT * FROM "variable_sets" WHERE ("variable_sets"."deployment_id" = 4) ORDER BY "created_at" DESC LIMIT 1
D, [2018-06-08T00:01:05.956870 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000315s) (conn: 47018331589620) SELECT max("build") AS "max" FROM "compiled_packages" WHERE (("package_id" = 10) AND ("stemcell_os" = 'ubuntu-trusty') AND ("stemcell_version" = '3586.18')) LIMIT 1
D, [2018-06-08T00:01:05.957977 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: Creating new compilation VM for stemcell 'bosh-google-kvm-ubuntu-trusty-go_agent/3586.18'
D, [2018-06-08T00:01:05.958818 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000193s) (conn: 47018331589620) SELECT * FROM "variable_sets" WHERE ("variable_sets"."deployment_id" = 4) ORDER BY "created_at" DESC LIMIT 1
D, [2018-06-08T00:01:05.959788 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000434s) (conn: 47018344807300) SELECT count(*) AS "count" FROM "instances" WHERE (("deployment_id" = 4) AND ("job" = 'compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d') AND ("index" = 0)) LIMIT 1
D, [2018-06-08T00:01:05.960827 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000198s) (conn: 47018344807300) SELECT count(*) AS "count" FROM "instances" WHERE false LIMIT 1
D, [2018-06-08T00:01:05.962170 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000212s) (conn: 47018331589620) SELECT count(*) AS "count" FROM "instances" WHERE (("deployment_id" = 4) AND ("job" = 'compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b') AND ("index" = 0)) LIMIT 1
D, [2018-06-08T00:01:05.962705 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000071s) (conn: 47018344807300) BEGIN
D, [2018-06-08T00:01:05.964714 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.001088s) (conn: 47018344807300) INSERT INTO "instances" ("deployment_id", "job", "index", "state", "compilation", "uuid", "availability_zone", "bootstrap", "variable_set_id") VALUES (4, 'compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d', 0, 'started', true, 'f079d422-4d5a-4a03-88eb-ba1e0210bed5', 'z1', false, 5) RETURNING *
D, [2018-06-08T00:01:05.965092 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000547s) (conn: 47018331589620) SELECT count(*) AS "count" FROM "instances" WHERE false LIMIT 1
D, [2018-06-08T00:01:05.965525 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000054s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.966472 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000541s) (conn: 47018331589620) INSERT INTO "instances" ("deployment_id", "job", "index", "state", "compilation", "uuid", "availability_zone", "bootstrap", "variable_set_id") VALUES (4, 'compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b', 0, 'started', true, 'e951f1b0-3713-4c95-87d2-a68712af0e92', 'z1', false, 5) RETURNING *
D, [2018-06-08T00:01:05.966956 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.001997s) (conn: 47018344807300) COMMIT
D, [2018-06-08T00:01:05.967656 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000242s) (conn: 47018344807300) SELECT * FROM "variable_sets" WHERE "id" = 5
D, [2018-06-08T00:01:05.968676 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.001816s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.969146 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000242s) (conn: 47018344807300) SELECT * FROM "deployments" WHERE "id" = 4
D, [2018-06-08T00:01:05.969830 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000160s) (conn: 47018331589620) SELECT * FROM "variable_sets" WHERE "id" = 5
D, [2018-06-08T00:01:05.970777 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000149s) (conn: 47018331589620) SELECT * FROM "deployments" WHERE "id" = 4
D, [2018-06-08T00:01:05.971588 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000057s) (conn: 47018344807300) BEGIN
D, [2018-06-08T00:01:05.972332 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000248s) (conn: 47018344807300) INSERT INTO "events" ("parent_id", "timestamp", "user", "action", "object_type", "object_name", "error", "task", "deployment", "instance", "context_json") VALUES (NULL, '2018-06-08 00:01:05.970956+0000', 'admin', 'create', 'instance', 'compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5', NULL, '89', 'zookeeper', 'compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5', '{}') RETURNING *
D, [2018-06-08T00:01:05.973384 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000054s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.974039 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000215s) (conn: 47018331589620) INSERT INTO "events" ("parent_id", "timestamp", "user", "action", "object_type", "object_name", "error", "task", "deployment", "instance", "context_json") VALUES (NULL, '2018-06-08 00:01:05.972869+0000', 'admin', 'create', 'instance', 'compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92', NULL, '89', 'zookeeper', 'compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92', '{}') RETURNING *
D, [2018-06-08T00:01:05.974575 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.001827s) (conn: 47018344807300) COMMIT
D, [2018-06-08T00:01:05.974979 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: [network-configuration] Allocating dynamic ip for manual network 'private'
D, [2018-06-08T00:01:05.975947 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000370s) (conn: 47018344807300) SELECT "address_str" FROM "ip_addresses"
D, [2018-06-08T00:01:05.977203 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.002733s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.977485 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: [network-configuration] Allocating dynamic ip for manual network 'private'
D, [2018-06-08T00:01:05.978012 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000169s) (conn: 47018331589620) SELECT "address_str" FROM "ip_addresses"
D, [2018-06-08T00:01:05.979580 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000214s) (conn: 47018331589620) SELECT count(*) AS "count" FROM "ip_addresses" WHERE ("address_str" = '167776261') LIMIT 1
D, [2018-06-08T00:01:05.980044 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000078s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.980836 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000204s) (conn: 47018344807300) SELECT count(*) AS "count" FROM "ip_addresses" WHERE ("address_str" = '167776261') LIMIT 1
D, [2018-06-08T00:01:05.981319 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000054s) (conn: 47018344807300) BEGIN
D, [2018-06-08T00:01:05.982668 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000929s) (conn: 47018344807300) INSERT INTO "ip_addresses" ("address_str", "network_name", "task_id", "static", "instance_id", "created_at") VALUES ('167776261', 'private', '89', false, 9, '2018-06-08 00:01:05.981395+0000') RETURNING *
E, [2018-06-08T00:01:05.985593 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] ERROR -- DirectorJobRunner: PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "ip_addresses_address_temp_key"
DETAIL: Key (address_str)=(167776261) already exists.: (conn: 47018331589620) INSERT INTO "ip_addresses" ("address_str", "network_name", "task_id", "static", "instance_id", "created_at") VALUES ('167776261', 'private', '89', false, 10, '2018-06-08 00:01:05.980138+0000') RETURNING *
D, [2018-06-08T00:01:05.986247 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.003209s) (conn: 47018344807300) COMMIT
D, [2018-06-08T00:01:05.986379 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000218s) (conn: 47018331589620) ROLLBACK
D, [2018-06-08T00:01:05.986587 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: [network-configuration] Allocated dynamic IP '10.0.16.5' for private
D, [2018-06-08T00:01:05.986686 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: [network-configuration] Reserving dynamic IP '10.0.16.5' for manual network 'private'
D, [2018-06-08T00:01:05.988086 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000450s) (conn: 47018344807300) SELECT * FROM "vms" WHERE (("instance_id" = 9) AND ("active" IS TRUE)) LIMIT 1
D, [2018-06-08T00:01:05.988288 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: [network-configuration] Retrying to allocate dynamic ip: probably a race condition with another deployment
D, [2018-06-08T00:01:05.988796 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000145s) (conn: 47018331589620) SELECT "address_str" FROM "ip_addresses"
D, [2018-06-08T00:01:05.990358 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: Creating new thread
D, [2018-06-08T00:01:05.990507 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: Waiting for tasks to complete
D, [2018-06-08T00:01:05.991081 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000247s) (conn: 47018344807300) SELECT count(*) AS "count" FROM "ip_addresses" WHERE ("address_str" = '167776262') LIMIT 1
D, [2018-06-08T00:01:05.991535 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000055s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.992524 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000494s) (conn: 47018331589620) INSERT INTO "ip_addresses" ("address_str", "network_name", "task_id", "static", "instance_id", "created_at") VALUES ('167776262', 'private', '89', false, 10, '2018-06-08 00:01:05.991622+0000') RETURNING *
I, [2018-06-08T00:01:05.993070 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] INFO -- DirectorJobRunner: Creating missing VM
D, [2018-06-08T00:01:05.993166 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: Agenda step Bosh::Director::DeploymentPlan::Steps::CreateVmStep started at: 2018-06-08 00:01:05 +0000
D, [2018-06-08T00:01:05.994289 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.000694s) (conn: 47018344807300) SELECT "teams".* FROM "teams" INNER JOIN "deployments_teams" ON ("deployments_teams"."team_id" = "teams"."id") WHERE ("deployments_teams"."deployment_id" = 4) ORDER BY "name" ASC
D, [2018-06-08T00:01:05.994537 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.001651s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.995515 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: [network-configuration] Allocated dynamic IP '10.0.16.6' for private
D, [2018-06-08T00:01:05.995614 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: [network-configuration] Reserving dynamic IP '10.0.16.6' for manual network 'private'
D, [2018-06-08T00:01:05.996533 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000325s) (conn: 47018331589620) SELECT * FROM "vms" WHERE (("instance_id" = 10) AND ("active" IS TRUE)) LIMIT 1
D, [2018-06-08T00:01:05.996809 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: Creating new thread
D, [2018-06-08T00:01:05.997069 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: Waiting for tasks to complete
D, [2018-06-08T00:01:05.997893 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.000428s) (conn: 47018331589620) SELECT * FROM "configs" WHERE ("id" IN (SELECT max("id") FROM "configs" WHERE (((1 = 0) OR ("team_id" IS NULL)) AND ("type" = 'cloud')) GROUP BY "name"))
I, [2018-06-08T00:01:05.998295 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] INFO -- DirectorJobRunner: Creating missing VM
D, [2018-06-08T00:01:05.998376 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: Agenda step Bosh::Director::DeploymentPlan::Steps::CreateVmStep started at: 2018-06-08 00:01:05 +0000
D, [2018-06-08T00:01:06.007310 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.000339s) (conn: 47018344807300) SELECT "teams".* FROM "teams" INNER JOIN "deployments_teams" ON ("deployments_teams"."team_id" = "teams"."id") WHERE ("deployments_teams"."deployment_id" = 4) ORDER BY "name" ASC
D, [2018-06-08T00:01:06.009185 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.000661s) (conn: 47018344807300) SELECT * FROM "configs" WHERE ("id" IN (SELECT max("id") FROM "configs" WHERE (((1 = 0) OR ("team_id" IS NULL)) AND ("type" = 'cloud')) GROUP BY "name"))
D, [2018-06-08T00:01:06.052142 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.000272s) (conn: 47018331589620) SELECT * FROM "deployments" WHERE ("name" = 'zookeeper') LIMIT 1
D, [2018-06-08T00:01:06.053130 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.000235s) (conn: 47018331589620) SELECT * FROM "variable_sets" WHERE ("variable_sets"."deployment_id" = 4) ORDER BY "created_at" DESC LIMIT 1
D, [2018-06-08T00:01:06.057806 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.000191s) (conn: 47018331589620) SELECT * FROM "deployments" WHERE ("name" = 'zookeeper') LIMIT 1
D, [2018-06-08T00:01:06.058748 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.000208s) (conn: 47018344807300) SELECT * FROM "variable_sets" WHERE ("variable_sets"."deployment_id" = 4) ORDER BY "created_at" DESC LIMIT 1
D, [2018-06-08T00:01:06.063347 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.000172s) (conn: 47018344807300) SELECT * FROM "deployments" WHERE "id" = 4
D, [2018-06-08T00:01:06.065980 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.000176s) (conn: 47018331589620) SELECT * FROM "deployments" WHERE "id" = 4
D, [2018-06-08T00:01:06.066717 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.000339s) (conn: 47018344807300) SELECT * FROM "configs" WHERE ("id" IN (SELECT max("id") FROM "configs" WHERE ("type" = 'cpi') GROUP BY "name"))
D, [2018-06-08T00:01:06.070132 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.000359s) (conn: 47018344807300) SELECT * FROM "configs" WHERE ("id" IN (SELECT max("id") FROM "configs" WHERE (((1 = 0) OR ("team_id" IS NULL)) AND ("type" = 'cloud')) GROUP BY "name"))
D, [2018-06-08T00:01:06.079189 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.000367s) (conn: 47018344807300) SELECT * FROM "configs" WHERE ("id" IN (SELECT max("id") FROM "configs" WHERE ("type" = 'cpi') GROUP BY "name"))
D, [2018-06-08T00:01:06.080732 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.000333s) (conn: 47018344807300) SELECT * FROM "configs" WHERE ("id" IN (SELECT max("id") FROM "configs" WHERE (((1 = 0) OR ("team_id" IS NULL)) AND ("type" = 'cloud')) GROUP BY "name"))
D, [2018-06-08T00:01:06.124065 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.000280s) (conn: 47018344807300) SELECT * FROM "deployments" WHERE ("name" = 'zookeeper') LIMIT 1
D, [2018-06-08T00:01:06.125059 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.000237s) (conn: 47018344807300) SELECT * FROM "variable_sets" WHERE ("variable_sets"."deployment_id" = 4) ORDER BY "created_at" DESC LIMIT 1
D, [2018-06-08T00:01:06.130437 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.000223s) (conn: 47018344807300) SELECT * FROM "deployments" WHERE ("name" = 'zookeeper') LIMIT 1
D, [2018-06-08T00:01:06.131408 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.000194s) (conn: 47018331589620) SELECT * FROM "variable_sets" WHERE ("variable_sets"."deployment_id" = 4) ORDER BY "created_at" DESC LIMIT 1
D, [2018-06-08T00:01:06.136665 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.000248s) (conn: 47018344807300) SELECT * FROM "deployments" WHERE "id" = 4
D, [2018-06-08T00:01:06.140396 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.000179s) (conn: 47018344807300) SELECT * FROM "deployments" WHERE "id" = 4
D, [2018-06-08T00:01:06.143416 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.000335s) (conn: 47018331589620) SELECT * FROM "configs" WHERE ("id" IN (SELECT max("id") FROM "configs" WHERE ("type" = 'cpi') GROUP BY "name"))
I, [2018-06-08T00:01:06.143612 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] INFO -- DirectorJobRunner: Creating VM
D, [2018-06-08T00:01:06.144194 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.000119s) (conn: 47018331589620) SELECT * FROM "local_dns_encoded_azs"
D, [2018-06-08T00:01:06.145319 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.000254s) (conn: 47018331589620) SELECT "local_dns_encoded_instance_groups"."id" AS "id", "local_dns_encoded_instance_groups"."name" AS "name", "deployments"."name" AS "deployment_name" FROM "local_dns_encoded_instance_groups" INNER JOIN "deployments" ON ("local_dns_encoded_instance_groups"."deployment_id" = "deployments"."id")
D, [2018-06-08T00:01:06.146046 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.000324s) (conn: 47018344807300) SELECT * FROM "configs" WHERE ("id" IN (SELECT max("id") FROM "configs" WHERE ("type" = 'cpi') GROUP BY "name"))
D, [2018-06-08T00:01:06.147192 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.000111s) (conn: 47018331589620) BEGIN
I, [2018-06-08T00:01:06.147674 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] INFO -- DirectorJobRunner: Creating VM
D, [2018-06-08T00:01:06.153290 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.000383s) (conn: 47018331589620) INSERT INTO "events" ("parent_id", "timestamp", "user", "action", "object_type", "object_name", "error", "task", "deployment", "instance", "context_json") VALUES (NULL, '2018-06-08 00:01:06.146356+0000', 'admin', 'create', 'vm', NULL, NULL, '89', 'zookeeper', 'compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5', '{}') RETURNING *
D, [2018-06-08T00:01:06.154440 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.000327s) (conn: 47018344807300) SELECT * FROM "local_dns_encoded_azs"
D, [2018-06-08T00:01:06.155611 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.000392s) (conn: 47018344807300) SELECT "local_dns_encoded_instance_groups"."id" AS "id", "local_dns_encoded_instance_groups"."name" AS "name", "deployments"."name" AS "deployment_name" FROM "local_dns_encoded_instance_groups" INNER JOIN "deployments" ON ("local_dns_encoded_instance_groups"."deployment_id" = "deployments"."id")
D, [2018-06-08T00:01:06.156669 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.002922s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:06.157788 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.000177s) (conn: 47018331589620) SELECT * FROM "deployments" WHERE "id" = 4
D, [2018-06-08T00:01:06.163853 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.000063s) (conn: 47018344807300) BEGIN
D, [2018-06-08T00:01:06.164659 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.000262s) (conn: 47018344807300) INSERT INTO "events" ("parent_id", "timestamp", "user", "action", "object_type", "object_name", "error", "task", "deployment", "instance", "context_json") VALUES (NULL, '2018-06-08 00:01:06.156295+0000', 'admin', 'create', 'vm', NULL, NULL, '89', 'zookeeper', 'compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92', '{}') RETURNING *
D, [2018-06-08T00:01:06.166760 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.001455s) (conn: 47018344807300) COMMIT
D, [2018-06-08T00:01:06.167901 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.000203s) (conn: 47018331589620) SELECT * FROM "deployments" WHERE "id" = 4
D, [2018-06-08T00:01:06.764209 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: [external-cpi] [cpi-176619] request: {"method":"info","arguments":[],"context":{"director_uuid":"d169f959-e754-4869-bd5b-addd54f16ecc","request_id":"cpi-176619"}} with command: /var/vcap/jobs/google_cpi/bin/cpi
D, [2018-06-08T00:01:06.793830 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: [external-cpi] [cpi-176619] response: {"result":{"stemcell_formats":["google-light","google-rawdisk"]},"error":null,"log":""}, err: , exit_status: pid 29078 exit 0
D, [2018-06-08T00:01:06.794815 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: [external-cpi] [cpi-131268] request: {"method":"create_vm","arguments":["972ab08c-1523-473b-9388-0e4607fe9efa","stemcell-d822a6b5-917c-4af3-5c24-6ff5b6e3ffec",{"zone":"<redacted>","machine_type":"<redacted>","root_disk_size_gb":"<redacted>","root_disk_type":"<redacted>"},{"private":{"type":"manual","ip":"10.0.16.6","netmask":"255.255.255.0","cloud_properties":{"ephemeral_external_ip":"<redacted>","network_name":"<redacted>","subnetwork_name":"<redacted>","tags":"<redacted>"},"default":["dns","gateway"],"gateway":"10.0.16.1"}},[],{"bosh":{"blobstores":"<redacted>","mbus":"<redacted>","password":"<redacted>","group":"bosh-bbl-env-nipigon-2018-06-07t21-36z-zookeeper-compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b","groups":["bosh-bbl-env-nipigon-2018-06-07t21-36z","zookeeper","compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b","bosh-bbl-env-nipigon-2018-06-07t21-36z-zookeeper","zookeeper-compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b","bosh-bbl-env-nipigon-2018-06-07t21-36z-zookeeper-compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b"]}}],"context":{"director_uuid":"d169f959-e754-4869-bd5b-addd54f16ecc","request_id":"cpi-131268"},"api_version":1} with command: /var/vcap/jobs/google_cpi/bin/cpi
D, [2018-06-08T00:01:07.023665 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: [external-cpi] [cpi-604259] request: {"method":"info","arguments":[],"context":{"director_uuid":"d169f959-e754-4869-bd5b-addd54f16ecc","request_id":"cpi-604259"}} with command: /var/vcap/jobs/google_cpi/bin/cpi
D, [2018-06-08T00:01:07.030994 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: [external-cpi] [cpi-604259] response: {"result":{"stemcell_formats":["google-light","google-rawdisk"]},"error":null,"log":""}, err: , exit_status: pid 29098 exit 0
D, [2018-06-08T00:01:07.031866 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: [external-cpi] [cpi-922231] request: {"method":"create_vm","arguments":["f61301aa-58b8-4016-b8cd-e9307e23f6ec","stemcell-d822a6b5-917c-4af3-5c24-6ff5b6e3ffec",{"zone":"<redacted>","machine_type":"<redacted>","root_disk_size_gb":"<redacted>","root_disk_type":"<redacted>"},{"private":{"type":"manual","ip":"10.0.16.5","netmask":"255.255.255.0","cloud_properties":{"ephemeral_external_ip":"<redacted>","network_name":"<redacted>","subnetwork_name":"<redacted>","tags":"<redacted>"},"default":["dns","gateway"],"gateway":"10.0.16.1"}},[],{"bosh":{"blobstores":"<redacted>","mbus":"<redacted>","password":"<redacted>","group":"bosh-bbl-env-nipigon-2018-06-07t21-36z-zookeeper-compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d","groups":["bosh-bbl-env-nipigon-2018-06-07t21-36z","zookeeper","compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d","bosh-bbl-env-nipigon-2018-06-07t21-36z-zookeeper","zookeeper-compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d","bosh-bbl-env-nipigon-2018-06-07t21-36z-zookeeper-compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d"]}}],"context":{"director_uuid":"d169f959-e754-4869-bd5b-addd54f16ecc","request_id":"cpi-922231"},"api_version":1} with command: /var/vcap/jobs/google_cpi/bin/cpi
D, [2018-06-08T00:01:35.216856 #29011] [task:89-checkpoint] DEBUG -- DirectorJobRunner: (0.000071s) (conn: 47018344807300) BEGIN
D, [2018-06-08T00:01:35.218096 #29011] [task:89-checkpoint] DEBUG -- DirectorJobRunner: (0.000556s) (conn: 47018344807300) UPDATE "tasks" SET "checkpoint_time" = '2018-06-08 00:01:35.215233+0000' WHERE ("id" = 89)
D, [2018-06-08T00:01:35.239025 #29011] [task:89-checkpoint] DEBUG -- DirectorJobRunner: (0.020745s) (conn: 47018344807300) COMMIT
D, [2018-06-08T00:01:38.708222 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: [external-cpi] [cpi-922231] response: {"result":"vm-2e59b481-d027-4802-75f3-f8267ba1e27d","error":null,"log":""}, err: , exit_status: pid 29106 exit 0
D, [2018-06-08T00:01:38.710255 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.000063s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:38.711425 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.000523s) (conn: 47018331589620) INSERT INTO "vms" ("instance_id", "agent_id", "cpi", "cid", "created_at", "stemcell_api_version") VALUES (9, 'f61301aa-58b8-4016-b8cd-e9307e23f6ec', '', 'vm-2e59b481-d027-4802-75f3-f8267ba1e27d', '2018-06-08 00:01:38.708520+0000', NULL) RETURNING *
D, [2018-06-08T00:01:38.713230 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: [external-cpi] [cpi-131268] response: {"result":"vm-3b5a8824-a5d7-40eb-4a86-c7b5f47b93cc","error":null,"log":""}, err: , exit_status: pid 29086 exit 0
D, [2018-06-08T00:01:38.714014 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.000057s) (conn: 47018344807300) BEGIN
D, [2018-06-08T00:01:38.714846 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.000429s) (conn: 47018344807300) INSERT INTO "vms" ("instance_id", "agent_id", "cpi", "cid", "created_at", "stemcell_api_version") VALUES (10, '972ab08c-1523-473b-9388-0e4607fe9efa', '', 'vm-3b5a8824-a5d7-40eb-4a86-c7b5f47b93cc', '2018-06-08 00:01:38.713411+0000', NULL) RETURNING *
D, [2018-06-08T00:01:38.765445 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.053481s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:38.766469 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.000064s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:38.767423 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.000376s) (conn: 47018331589620) INSERT INTO "events" ("parent_id", "timestamp", "user", "action", "object_type", "object_name", "error", "task", "deployment", "instance", "context_json") VALUES (430, '2018-06-08 00:01:38.765696+0000', 'admin', 'create', 'vm', 'vm-2e59b481-d027-4802-75f3-f8267ba1e27d', NULL, '89', 'zookeeper', 'compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5', '{}') RETURNING *
D, [2018-06-08T00:01:38.768962 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.053733s) (conn: 47018344807300) COMMIT
D, [2018-06-08T00:01:38.769660 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.000059s) (conn: 47018344807300) BEGIN
D, [2018-06-08T00:01:38.770577 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.000503s) (conn: 47018344807300) INSERT INTO "events" ("parent_id", "timestamp", "user", "action", "object_type", "object_name", "error", "task", "deployment", "instance", "context_json") VALUES (431, '2018-06-08 00:01:38.769117+0000', 'admin', 'create', 'vm', 'vm-3b5a8824-a5d7-40eb-4a86-c7b5f47b93cc', NULL, '89', 'zookeeper', 'compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92', '{}') RETURNING *
D, [2018-06-08T00:01:38.771918 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.004039s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:38.772319 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: $$$$$$$$$$$$$$ update_metadata
D, [2018-06-08T00:01:38.772558 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: [external-cpi] [cpi-821716] request: {"method":"info","arguments":[],"context":{"director_uuid":"d169f959-e754-4869-bd5b-addd54f16ecc","request_id":"cpi-821716"}} with command: /var/vcap/jobs/google_cpi/bin/cpi
D, [2018-06-08T00:01:38.773792 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.002826s) (conn: 47018344807300) COMMIT
D, [2018-06-08T00:01:38.774100 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: $$$$$$$$$$$$$$ update_metadata
D, [2018-06-08T00:01:38.774348 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: [external-cpi] [cpi-105592] request: {"method":"info","arguments":[],"context":{"director_uuid":"d169f959-e754-4869-bd5b-addd54f16ecc","request_id":"cpi-105592"}} with command: /var/vcap/jobs/google_cpi/bin/cpi
D, [2018-06-08T00:01:38.786259 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: [external-cpi] [cpi-821716] response: {"result":{"stemcell_formats":["google-light","google-rawdisk"]},"error":null,"log":""}, err: , exit_status: pid 29125 exit 0
D, [2018-06-08T00:01:38.786826 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: [external-cpi] [cpi-832475] request: {"method":"set_vm_metadata","arguments":["vm-2e59b481-d027-4802-75f3-f8267ba1e27d",{"director":"bosh-bbl-env-nipigon-2018-06-07t21-36z","deployment":"zookeeper","id":"f079d422-4d5a-4a03-88eb-ba1e0210bed5","job":"compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d","instance_group":"compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d","index":"0","name":"compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5","created_at":"2018-06-08T00:01:38Z"}],"context":{"director_uuid":"d169f959-e754-4869-bd5b-addd54f16ecc","request_id":"cpi-832475"},"api_version":1} with command: /var/vcap/jobs/google_cpi/bin/cpi
D, [2018-06-08T00:01:38.790792 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: [external-cpi] [cpi-105592] response: {"result":{"stemcell_formats":["google-light","google-rawdisk"]},"error":null,"log":""}, err: , exit_status: pid 29129 exit 0
D, [2018-06-08T00:01:38.791166 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: [external-cpi] [cpi-968074] request: {"method":"set_vm_metadata","arguments":["vm-3b5a8824-a5d7-40eb-4a86-c7b5f47b93cc",{"director":"bosh-bbl-env-nipigon-2018-06-07t21-36z","deployment":"zookeeper","id":"e951f1b0-3713-4c95-87d2-a68712af0e92","job":"compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b","instance_group":"compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b","index":"0","name":"compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92","created_at":"2018-06-08T00:01:38Z"}],"context":{"director_uuid":"d169f959-e754-4869-bd5b-addd54f16ecc","request_id":"cpi-968074"},"api_version":1} with command: /var/vcap/jobs/google_cpi/bin/cpi
D, [2018-06-08T00:01:48.755647 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: [external-cpi] [cpi-832475] response: {"result":null,"error":null,"log":""}, err: , exit_status: pid 29141 exit 0
D, [2018-06-08T00:01:48.757100 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.000530s) (conn: 47018331589620) SELECT * FROM "tasks" WHERE "id" = 89
D, [2018-06-08T00:01:48.757990 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: SENT: agent.f61301aa-58b8-4016-b8cd-e9307e23f6ec {"protocol":3,"method":"ping","arguments":[],"reply_to":"director.ce15b7b2-dbb1-4347-87cf-def0f2e6fd79.f61301aa-58b8-4016-b8cd-e9307e23f6ec.e7a27aaf-65a2-4c32-ad25-665c278a96c7"}
D, [2018-06-08T00:01:49.759045 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.000278s) (conn: 47018344807300) SELECT * FROM "tasks" WHERE "id" = 89
D, [2018-06-08T00:01:49.759976 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: SENT: agent.f61301aa-58b8-4016-b8cd-e9307e23f6ec {"protocol":3,"method":"ping","arguments":[],"reply_to":"director.ce15b7b2-dbb1-4347-87cf-def0f2e6fd79.f61301aa-58b8-4016-b8cd-e9307e23f6ec.b03d7e07-de1f-4557-b5d4-dff33b4bcf24"}
D, [2018-06-08T00:01:50.761345 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.000240s) (conn: 47018331589620) SELECT * FROM "vms" WHERE (("instance_id" = 9) AND ("active" IS TRUE)) LIMIT 1
E, [2018-06-08T00:01:50.761569 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] ERROR -- DirectorJobRunner: Failed to create/contact VM : #<Bosh::Director::RpcTimeout: Timed out pinging to f61301aa-58b8-4016-b8cd-e9307e23f6ec after 2 seconds>
D, [2018-06-08T00:01:50.761624 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: $$$$$$$$$$$$$$ update_metadata is possibly being rescued calling DeleteVmStep
D, [2018-06-08T00:01:50.762503 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.000062s) (conn: 47018344807300) BEGIN
D, [2018-06-08T00:01:50.763247 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.000248s) (conn: 47018344807300) INSERT INTO "events" ("parent_id", "timestamp", "user", "action", "object_type", "object_name", "error", "task", "deployment", "instance", "context_json") VALUES (NULL, '2018-06-08 00:01:50.761779+0000', 'admin', 'delete', 'vm', 'vm-2e59b481-d027-4802-75f3-f8267ba1e27d', NULL, '89', 'zookeeper', 'compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5', '{}') RETURNING *
D, [2018-06-08T00:01:50.765862 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.002201s) (conn: 47018344807300) COMMIT
I, [2018-06-08T00:01:50.766228 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] INFO -- DirectorJobRunner: Deleting VM
D, [2018-06-08T00:01:50.767616 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.000386s) (conn: 47018344807300) SELECT * FROM "configs" WHERE ("id" IN (SELECT max("id") FROM "configs" WHERE ("type" = 'cpi') GROUP BY "name"))
D, [2018-06-08T00:01:50.767942 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: [external-cpi] [cpi-324173] request: {"method":"info","arguments":[],"context":{"director_uuid":"d169f959-e754-4869-bd5b-addd54f16ecc","request_id":"cpi-324173"}} with command: /var/vcap/jobs/google_cpi/bin/cpi
D, [2018-06-08T00:01:50.775696 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: [external-cpi] [cpi-324173] response: {"result":{"stemcell_formats":["google-light","google-rawdisk"]},"error":null,"log":""}, err: , exit_status: pid 29164 exit 0
D, [2018-06-08T00:01:50.776117 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: [external-cpi] [cpi-187594] request: {"method":"delete_vm","arguments":["vm-2e59b481-d027-4802-75f3-f8267ba1e27d"],"context":{"director_uuid":"d169f959-e754-4869-bd5b-addd54f16ecc","request_id":"cpi-187594"},"api_version":1} with command: /var/vcap/jobs/google_cpi/bin/cpi
D, [2018-06-08T00:01:52.703899 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: [external-cpi] [cpi-968074] response: {"result":null,"error":null,"log":""}, err: , exit_status: pid 29145 exit 0
D, [2018-06-08T00:01:52.704974 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.000258s) (conn: 47018331589620) SELECT * FROM "tasks" WHERE "id" = 89
D, [2018-06-08T00:01:52.705811 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: SENT: agent.972ab08c-1523-473b-9388-0e4607fe9efa {"protocol":3,"method":"ping","arguments":[],"reply_to":"director.ce15b7b2-dbb1-4347-87cf-def0f2e6fd79.972ab08c-1523-473b-9388-0e4607fe9efa.d48a70a5-cde8-41ea-9361-440c979ef718"}
D, [2018-06-08T00:01:53.706899 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.000265s) (conn: 47018344807300) SELECT * FROM "tasks" WHERE "id" = 89
D, [2018-06-08T00:01:53.707729 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: SENT: agent.972ab08c-1523-473b-9388-0e4607fe9efa {"protocol":3,"method":"ping","arguments":[],"reply_to":"director.ce15b7b2-dbb1-4347-87cf-def0f2e6fd79.972ab08c-1523-473b-9388-0e4607fe9efa.d928e496-51c8-4720-8304-6b7c915f5c73"}
D, [2018-06-08T00:01:54.709219 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.000267s) (conn: 47018331589620) SELECT * FROM "vms" WHERE (("instance_id" = 10) AND ("active" IS TRUE)) LIMIT 1
E, [2018-06-08T00:01:54.709449 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] ERROR -- DirectorJobRunner: Failed to create/contact VM : #<Bosh::Director::RpcTimeout: Timed out pinging to 972ab08c-1523-473b-9388-0e4607fe9efa after 2 seconds>
D, [2018-06-08T00:01:54.709504 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: $$$$$$$$$$$$$$ update_metadata is possibly being rescued calling DeleteVmStep
D, [2018-06-08T00:01:54.710346 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.000061s) (conn: 47018344807300) BEGIN
D, [2018-06-08T00:01:54.711162 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.000275s) (conn: 47018344807300) INSERT INTO "events" ("parent_id", "timestamp", "user", "action", "object_type", "object_name", "error", "task", "deployment", "instance", "context_json") VALUES (NULL, '2018-06-08 00:01:54.709634+0000', 'admin', 'delete', 'vm', 'vm-3b5a8824-a5d7-40eb-4a86-c7b5f47b93cc', NULL, '89', 'zookeeper', 'compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92', '{}') RETURNING *
D, [2018-06-08T00:01:54.714504 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.002922s) (conn: 47018344807300) COMMIT
I, [2018-06-08T00:01:54.714939 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] INFO -- DirectorJobRunner: Deleting VM
D, [2018-06-08T00:01:54.716266 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.000342s) (conn: 47018344807300) SELECT * FROM "configs" WHERE ("id" IN (SELECT max("id") FROM "configs" WHERE ("type" = 'cpi') GROUP BY "name"))
D, [2018-06-08T00:01:54.716560 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: [external-cpi] [cpi-930073] request: {"method":"info","arguments":[],"context":{"director_uuid":"d169f959-e754-4869-bd5b-addd54f16ecc","request_id":"cpi-930073"}} with command: /var/vcap/jobs/google_cpi/bin/cpi
D, [2018-06-08T00:01:54.724269 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: [external-cpi] [cpi-930073] response: {"result":{"stemcell_formats":["google-light","google-rawdisk"]},"error":null,"log":""}, err: , exit_status: pid 29184 exit 0
D, [2018-06-08T00:01:54.724694 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: [external-cpi] [cpi-349795] request: {"method":"delete_vm","arguments":["vm-3b5a8824-a5d7-40eb-4a86-c7b5f47b93cc"],"context":{"director_uuid":"d169f959-e754-4869-bd5b-addd54f16ecc","request_id":"cpi-349795"},"api_version":1} with command: /var/vcap/jobs/google_cpi/bin/cpi
D, [2018-06-08T00:02:05.240287 #29011] [task:89-checkpoint] DEBUG -- DirectorJobRunner: (0.000066s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:02:05.241190 #29011] [task:89-checkpoint] DEBUG -- DirectorJobRunner: (0.000325s) (conn: 47018331589620) UPDATE "tasks" SET "checkpoint_time" = '2018-06-08 00:02:05.239366+0000' WHERE ("id" = 89)
D, [2018-06-08T00:02:05.243185 #29011] [task:89-checkpoint] DEBUG -- DirectorJobRunner: (0.001862s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:02:35.244317 #29011] [task:89-checkpoint] DEBUG -- DirectorJobRunner: (0.000078s) (conn: 47018344807300) BEGIN
D, [2018-06-08T00:02:35.245170 #29011] [task:89-checkpoint] DEBUG -- DirectorJobRunner: (0.000334s) (conn: 47018344807300) UPDATE "tasks" SET "checkpoint_time" = '2018-06-08 00:02:35.243462+0000' WHERE ("id" = 89)
D, [2018-06-08T00:02:35.251255 #29011] [task:89-checkpoint] DEBUG -- DirectorJobRunner: (0.005934s) (conn: 47018344807300) COMMIT
D, [2018-06-08T00:03:05.252431 #29011] [task:89-checkpoint] DEBUG -- DirectorJobRunner: (0.000077s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:03:05.253282 #29011] [task:89-checkpoint] DEBUG -- DirectorJobRunner: (0.000330s) (conn: 47018331589620) UPDATE "tasks" SET "checkpoint_time" = '2018-06-08 00:03:05.251581+0000' WHERE ("id" = 89)
D, [2018-06-08T00:03:05.268948 #29011] [task:89-checkpoint] DEBUG -- DirectorJobRunner: (0.015490s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:03:05.285702 #29011] [] DEBUG -- DirectorJobRunner: Renewing lock: lock:deployment:zookeeper
D, [2018-06-08T00:03:05.289392 #29011] [] DEBUG -- DirectorJobRunner: (0.002114s) (conn: 47018344807300) UPDATE "locks" SET "expired_at" = '2018-06-08 00:07:06.285881+0000' WHERE (("name" = 'lock:deployment:zookeeper') AND ("uid" = '4e15828a-8494-4fab-af62-133c27cb2182'))
D, [2018-06-08T00:03:05.950600 #29011] [] DEBUG -- DirectorJobRunner: Renewing lock: lock:compile:12:ubuntu-trusty/3586.18
D, [2018-06-08T00:03:05.956387 #29011] [] DEBUG -- DirectorJobRunner: Renewing lock: lock:compile:10:ubuntu-trusty/3586.18
D, [2018-06-08T00:03:05.975664 #29011] [] DEBUG -- DirectorJobRunner: (0.022917s) (conn: 47018331589620) UPDATE "locks" SET "expired_at" = '2018-06-08 00:07:06.950782+0000' WHERE (("name" = 'lock:compile:12:ubuntu-trusty/3586.18') AND ("uid" = '70cedb29-23fd-406a-b215-1b94b529eefe'))
D, [2018-06-08T00:03:05.976905 #29011] [] DEBUG -- DirectorJobRunner: (0.018999s) (conn: 47018344807300) UPDATE "locks" SET "expired_at" = '2018-06-08 00:07:06.956511+0000' WHERE (("name" = 'lock:compile:10:ubuntu-trusty/3586.18') AND ("uid" = 'cdc0451e-51dc-47af-92d7-2fdc47ad1f79'))
D, [2018-06-08T00:03:35.270262 #29011] [task:89-checkpoint] DEBUG -- DirectorJobRunner: (0.000068s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:03:35.271184 #29011] [task:89-checkpoint] DEBUG -- DirectorJobRunner: (0.000316s) (conn: 47018331589620) UPDATE "tasks" SET "checkpoint_time" = '2018-06-08 00:03:35.269363+0000' WHERE ("id" = 89)
D, [2018-06-08T00:03:35.290874 #29011] [task:89-checkpoint] DEBUG -- DirectorJobRunner: (0.019528s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:04:05.292154 #29011] [task:89-checkpoint] DEBUG -- DirectorJobRunner: (0.000085s) (conn: 47018344807300) BEGIN
D, [2018-06-08T00:04:05.293081 #29011] [task:89-checkpoint] DEBUG -- DirectorJobRunner: (0.000344s) (conn: 47018344807300) UPDATE "tasks" SET "checkpoint_time" = '2018-06-08 00:04:05.291252+0000' WHERE ("id" = 89)
D, [2018-06-08T00:04:05.331686 #29011] [task:89-checkpoint] DEBUG -- DirectorJobRunner: (0.038415s) (conn: 47018344807300) COMMIT
D, [2018-06-08T00:04:17.561730 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: [external-cpi] [cpi-187594] response: {"result":null,"error":null,"log":""}, err: , exit_status: pid 29172 exit 0
D, [2018-06-08T00:04:17.562018 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
D, [2018-06-08T00:04:17.562129 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/steps/create_vm_step.rb:46:in `rescue in perform'
D, [2018-06-08T00:04:17.562180 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/steps/create_vm_step.rb:36:in `perform'
D, [2018-06-08T00:04:17.562234 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/step_executor.rb:39:in `block in run_agenda'
D, [2018-06-08T00:04:17.562274 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/step_executor.rb:36:in `each'
D, [2018-06-08T00:04:17.562321 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/step_executor.rb:36:in `run_agenda'
D, [2018-06-08T00:04:17.562360 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/step_executor.rb:24:in `block (4 levels) in run'
D, [2018-06-08T00:04:17.562397 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_formatter.rb:52:in `with_thread_name'
D, [2018-06-08T00:04:17.562437 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/step_executor.rb:18:in `block (3 levels) in run'
D, [2018-06-08T00:04:17.562486 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_pool.rb:77:in `block (2 levels) in create_thread'
D, [2018-06-08T00:04:17.562524 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_pool.rb:63:in `loop'
D, [2018-06-08T00:04:17.562560 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_pool.rb:63:in `block in create_thread'
D, [2018-06-08T00:04:17.562595 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
D, [2018-06-08T00:04:17.563194 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.000063s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:04:17.564234 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.000264s) (conn: 47018331589620) SELECT * FROM "ip_addresses" WHERE ("ip_addresses"."vm_id" = 9)
D, [2018-06-08T00:04:17.564879 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.000426s) (conn: 47018331589620) DELETE FROM "vms" WHERE "id" = 9
D, [2018-06-08T00:04:17.567275 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.002241s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:04:17.568189 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.000058s) (conn: 47018344807300) BEGIN
D, [2018-06-08T00:04:17.569097 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.000285s) (conn: 47018344807300) INSERT INTO "events" ("parent_id", "timestamp", "user", "action", "object_type", "object_name", "error", "task", "deployment", "instance", "context_json") VALUES (434, '2018-06-08 00:04:17.567460+0000', 'admin', 'delete', 'vm', 'vm-2e59b481-d027-4802-75f3-f8267ba1e27d', NULL, '89', 'zookeeper', 'compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5', '{}') RETURNING *
D, [2018-06-08T00:04:17.571523 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.002026s) (conn: 47018344807300) COMMIT
E, [2018-06-08T00:04:17.572003 #29011] [] ERROR -- DirectorJobRunner: Worker thread raised exception: Timed out pinging to f61301aa-58b8-4016-b8cd-e9307e23f6ec after 2 seconds - /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/agent_client.rb:219:in `rescue in wait_until_ready'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/agent_client.rb:225:in `wait_until_ready'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/steps/create_vm_step.rb:58:in `update_metadata'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/steps/create_vm_step.rb:39:in `perform'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/step_executor.rb:39:in `block in run_agenda'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/step_executor.rb:36:in `each'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/step_executor.rb:36:in `run_agenda'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/step_executor.rb:24:in `block (4 levels) in run'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_formatter.rb:52:in `with_thread_name'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/step_executor.rb:18:in `block (3 levels) in run'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_pool.rb:77:in `block (2 levels) in create_thread'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_pool.rb:63:in `loop'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_pool.rb:63:in `block in create_thread'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
D, [2018-06-08T00:04:17.572086 #29011] [] DEBUG -- DirectorJobRunner: Thread is no longer needed, cleaning up
D, [2018-06-08T00:04:17.572226 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: Shutting down pool
D, [2018-06-08T00:04:17.573206 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000062s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:04:17.574048 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000383s) (conn: 47018331589620) INSERT INTO "events" ("parent_id", "timestamp", "user", "action", "object_type", "object_name", "error", "task", "deployment", "instance", "context_json") VALUES (428, '2018-06-08 00:04:17.572413+0000', 'admin', 'create', 'instance', 'compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5', 'Timed out pinging to f61301aa-58b8-4016-b8cd-e9307e23f6ec after 2 seconds', '89', 'zookeeper', 'compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5', '{}') RETURNING *
D, [2018-06-08T00:04:17.576229 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.001773s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:04:17.577221 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000058s) (conn: 47018344807300) BEGIN
D, [2018-06-08T00:04:17.577979 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000242s) (conn: 47018344807300) INSERT INTO "events" ("parent_id", "timestamp", "user", "action", "object_type", "object_name", "error", "task", "deployment", "instance", "context_json") VALUES (NULL, '2018-06-08 00:04:17.576646+0000', 'admin', 'delete', 'instance', 'compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5', NULL, '89', 'zookeeper', 'compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5', '{}') RETURNING *
D, [2018-06-08T00:04:17.580103 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.001706s) (conn: 47018344807300) COMMIT
D, [2018-06-08T00:04:17.581188 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000063s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:04:17.581960 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000231s) (conn: 47018331589620) INSERT INTO "events" ("parent_id", "timestamp", "user", "action", "object_type", "object_name", "error", "task", "deployment", "instance", "context_json") VALUES (NULL, '2018-06-08 00:04:17.580587+0000', 'admin', 'delete', 'vm', 'vm-2e59b481-d027-4802-75f3-f8267ba1e27d', NULL, '89', 'zookeeper', 'compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5', '{}') RETURNING *
D, [2018-06-08T00:04:17.583714 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.001394s) (conn: 47018331589620) COMMIT
I, [2018-06-08T00:04:17.583994 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] INFO -- DirectorJobRunner: Deleting VM
D, [2018-06-08T00:04:17.585379 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000395s) (conn: 47018331589620) SELECT * FROM "configs" WHERE ("id" IN (SELECT max("id") FROM "configs" WHERE ("type" = 'cpi') GROUP BY "name"))
D, [2018-06-08T00:04:17.585674 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: [external-cpi] [cpi-689108] request: {"method":"info","arguments":[],"context":{"director_uuid":"d169f959-e754-4869-bd5b-addd54f16ecc","request_id":"cpi-689108"}} with command: /var/vcap/jobs/google_cpi/bin/cpi
D, [2018-06-08T00:04:17.593210 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: [external-cpi] [cpi-689108] response: {"result":{"stemcell_formats":["google-light","google-rawdisk"]},"error":null,"log":""}, err: , exit_status: pid 29226 exit 0
D, [2018-06-08T00:04:17.593637 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: [external-cpi] [cpi-299871] request: {"method":"delete_vm","arguments":["vm-2e59b481-d027-4802-75f3-f8267ba1e27d"],"context":{"director_uuid":"d169f959-e754-4869-bd5b-addd54f16ecc","request_id":"cpi-299871"},"api_version":1} with command: /var/vcap/jobs/google_cpi/bin/cpi
D, [2018-06-08T00:04:17.848029 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: [external-cpi] [cpi-299871] response: {"result":null,"error":{"type":"Bosh::Clouds::VMNotFound","message":"VM 'vm-2e59b481-d027-4802-75f3-f8267ba1e27d' not found","ok_to_retry":false},"log":""}, err: , exit_status: pid 29234 exit 0
W, [2018-06-08T00:04:17.848935 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] WARN -- DirectorJobRunner: VM 'vm-2e59b481-d027-4802-75f3-f8267ba1e27d' might have already been deleted from the cloud
D, [2018-06-08T00:04:17.849003 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
D, [2018-06-08T00:04:17.849153 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/vm_deleter.rb:38:in `block in delete_vms'
D, [2018-06-08T00:04:17.849243 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/vm_deleter.rb:33:in `each'
D, [2018-06-08T00:04:17.849284 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/vm_deleter.rb:33:in `delete_vms'
D, [2018-06-08T00:04:17.849321 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/vm_deleter.rb:15:in `delete_for_instance'
D, [2018-06-08T00:04:17.849357 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/instance_deleter.rb:29:in `block in delete_instance_plan'
D, [2018-06-08T00:04:17.849393 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/event_log.rb:125:in `advance_and_track'
D, [2018-06-08T00:04:17.849429 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/instance_deleter.rb:23:in `delete_instance_plan'
D, [2018-06-08T00:04:17.849478 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/compilation_instance_pool.rb:125:in `destroy_instance'
D, [2018-06-08T00:04:17.849537 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/compilation_instance_pool.rb:60:in `rescue in with_reused_vm'
D, [2018-06-08T00:04:17.849578 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/compilation_instance_pool.rb:50:in `with_reused_vm'
D, [2018-06-08T00:04:17.849614 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:130:in `prepare_vm'
D, [2018-06-08T00:04:17.849650 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:81:in `block in compile_package'
D, [2018-06-08T00:04:17.849685 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/lock_helper.rb:48:in `block in with_compile_lock'
D, [2018-06-08T00:04:17.849721 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/lock.rb:79:in `lock'
D, [2018-06-08T00:04:17.849756 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/lock_helper.rb:48:in `with_compile_lock'
D, [2018-06-08T00:04:17.849791 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:74:in `compile_package'
D, [2018-06-08T00:04:17.849826 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:233:in `block (2 levels) in process_task'
D, [2018-06-08T00:04:17.849867 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/event_log.rb:105:in `advance_and_track'
D, [2018-06-08T00:04:17.849913 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:231:in `block in process_task'
D, [2018-06-08T00:04:17.849950 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_formatter.rb:52:in `with_thread_name'
D, [2018-06-08T00:04:17.849985 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:227:in `process_task'
D, [2018-06-08T00:04:17.850020 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:191:in `block (4 levels) in compile_packages'
D, [2018-06-08T00:04:17.850055 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_pool.rb:77:in `block (2 levels) in create_thread'
D, [2018-06-08T00:04:17.850091 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_pool.rb:63:in `loop'
D, [2018-06-08T00:04:17.850126 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_pool.rb:63:in `block in create_thread'
D, [2018-06-08T00:04:17.850210 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
D, [2018-06-08T00:04:17.850777 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000062s) (conn: 47018344807300) BEGIN
D, [2018-06-08T00:04:17.851485 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000279s) (conn: 47018344807300) SELECT * FROM "ip_addresses" WHERE ("ip_addresses"."vm_id" = 9)
D, [2018-06-08T00:04:17.851851 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000175s) (conn: 47018344807300) DELETE FROM "vms" WHERE "id" = 9
D, [2018-06-08T00:04:17.852227 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000071s) (conn: 47018344807300) ROLLBACK
D, [2018-06-08T00:04:17.853209 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000055s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:04:17.853978 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000285s) (conn: 47018331589620) INSERT INTO "events" ("parent_id", "timestamp", "user", "action", "object_type", "object_name", "error", "task", "deployment", "instance", "context_json") VALUES (439, '2018-06-08 00:04:17.852514+0000', 'admin', 'delete', 'vm', 'vm-2e59b481-d027-4802-75f3-f8267ba1e27d', 'Attempt to delete object did not result in a single row modification (Rows Deleted: 0, SQL: DELETE FROM "vms" WHERE ("id" = 9))', '89', 'zookeeper', 'compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5', '{}') RETURNING *
D, [2018-06-08T00:04:17.856699 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.002322s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:04:17.857836 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000056s) (conn: 47018344807300) BEGIN
D, [2018-06-08T00:04:17.858567 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000266s) (conn: 47018344807300) INSERT INTO "events" ("parent_id", "timestamp", "user", "action", "object_type", "object_name", "error", "task", "deployment", "instance", "context_json") VALUES (438, '2018-06-08 00:04:17.857201+0000', 'admin', 'delete', 'instance', 'compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5', 'Attempt to delete object did not result in a single row modification (Rows Deleted: 0, SQL: DELETE FROM "vms" WHERE ("id" = 9))', '89', 'zookeeper', 'compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5', '{}') RETURNING *
D, [2018-06-08T00:04:17.863735 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.004743s) (conn: 47018344807300) COMMIT
D, [2018-06-08T00:04:17.866995 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.001987s) (conn: 47018331589620) DELETE FROM "locks" WHERE (("name" = 'lock:compile:12:ubuntu-trusty/3586.18') AND ("uid" = '70cedb29-23fd-406a-b215-1b94b529eefe'))
D, [2018-06-08T00:04:17.867100 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: Deleted lock: lock:compile:12:ubuntu-trusty/3586.18 uid: 70cedb29-23fd-406a-b215-1b94b529eefe
D, [2018-06-08T00:04:17.867925 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000105s) (conn: 47018344807300) BEGIN
D, [2018-06-08T00:04:17.868696 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000268s) (conn: 47018344807300) INSERT INTO "events" ("parent_id", "timestamp", "user", "action", "object_type", "object_name", "error", "task", "deployment", "instance", "context_json") VALUES (NULL, '2018-06-08 00:04:17.867242+0000', 'admin', 'release', 'lock', 'lock:compile:12:ubuntu-trusty/3586.18', NULL, '89', 'zookeeper', NULL, '{}') RETURNING *
D, [2018-06-08T00:04:17.870598 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.001488s) (conn: 47018344807300) COMMIT
D, [2018-06-08T00:04:17.871494 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000057s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:04:17.872236 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000300s) (conn: 47018331589620) UPDATE "tasks" SET "event_output" = ("event_output" || '{"time":1528416257,"stage":"Compiling packages","tags":[],"total":2,"task":"zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1","index":1,"state":"failed","progress":100,"data":{"error":"Attempt to delete object did not result in a single row modification (Rows Deleted: 0, SQL: DELETE FROM \"vms\" WHERE (\"id\" = 9))"}}
') WHERE ("id" = 89)
D, [2018-06-08T00:04:17.876810 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.004424s) (conn: 47018331589620) COMMIT
E, [2018-06-08T00:04:17.877930 #29011] [] ERROR -- DirectorJobRunner: Worker thread raised exception: Attempt to delete object did not result in a single row modification (Rows Deleted: 0, SQL: DELETE FROM "vms" WHERE ("id" = 9)) - /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:2076:in `_delete'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:1528:in `delete'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:2131:in `_destroy_delete'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:2115:in `block in _destroy'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:1382:in `around_destroy'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:2109:in `_destroy'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:1543:in `block (2 levels) in destroy'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:2372:in `block in checked_transaction'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/database/transactions.rb:224:in `_transaction'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/database/transactions.rb:199:in `block in transaction'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/database/connecting.rb:301:in `block in synchronize'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/connection_pool/threaded.rb:107:in `hold'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/database/connecting.rb:301:in `synchronize'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/database/transactions.rb:165:in `transaction'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:2372:in `checked_transaction'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:1543:in `block in destroy'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:2360:in `checked_save_failure'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:1543:in `destroy'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/steps/delete_vm_step.rb:37:in `perform'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/vm_deleter.rb:38:in `block in delete_vms'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/vm_deleter.rb:33:in `each'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/vm_deleter.rb:33:in `delete_vms'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/vm_deleter.rb:15:in `delete_for_instance'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/instance_deleter.rb:29:in `block in delete_instance_plan'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/event_log.rb:125:in `advance_and_track'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/instance_deleter.rb:23:in `delete_instance_plan'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/compilation_instance_pool.rb:125:in `destroy_instance'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/compilation_instance_pool.rb:60:in `rescue in with_reused_vm'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/compilation_instance_pool.rb:50:in `with_reused_vm'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:130:in `prepare_vm'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:81:in `block in compile_package'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/lock_helper.rb:48:in `block in with_compile_lock'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/lock.rb:79:in `lock'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/lock_helper.rb:48:in `with_compile_lock'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:74:in `compile_package'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:233:in `block (2 levels) in process_task'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/event_log.rb:105:in `advance_and_track'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:231:in `block in process_task'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_formatter.rb:52:in `with_thread_name'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:227:in `process_task'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:191:in `block (4 levels) in compile_packages'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_pool.rb:77:in `block (2 levels) in create_thread'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_pool.rb:63:in `loop'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_pool.rb:63:in `block in create_thread'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
D, [2018-06-08T00:04:17.878045 #29011] [] DEBUG -- DirectorJobRunner: Thread is no longer needed, cleaning up
D, [2018-06-08T00:04:17.955780 #29011] [task:89] DEBUG -- DirectorJobRunner: Waiting for tasks to complete
D, [2018-06-08T00:04:17.955962 #29011] [task:89] DEBUG -- DirectorJobRunner: Shutting down pool
D, [2018-06-08T00:04:29.709589 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: [external-cpi] [cpi-349795] response: {"result":null,"error":null,"log":""}, err: , exit_status: pid 29192 exit 0
D, [2018-06-08T00:04:29.709918 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
D, [2018-06-08T00:04:29.710008 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/steps/create_vm_step.rb:46:in `rescue in perform'
D, [2018-06-08T00:04:29.710053 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/steps/create_vm_step.rb:36:in `perform'
D, [2018-06-08T00:04:29.710091 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/step_executor.rb:39:in `block in run_agenda'
D, [2018-06-08T00:04:29.710128 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/step_executor.rb:36:in `each'
D, [2018-06-08T00:04:29.710184 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/step_executor.rb:36:in `run_agenda'
D, [2018-06-08T00:04:29.710230 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/step_executor.rb:24:in `block (4 levels) in run'
D, [2018-06-08T00:04:29.710269 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_formatter.rb:52:in `with_thread_name'
D, [2018-06-08T00:04:29.710305 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/step_executor.rb:18:in `block (3 levels) in run'
D, [2018-06-08T00:04:29.710367 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_pool.rb:77:in `block (2 levels) in create_thread'
D, [2018-06-08T00:04:29.710404 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_pool.rb:63:in `loop'
D, [2018-06-08T00:04:29.710446 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_pool.rb:63:in `block in create_thread'
D, [2018-06-08T00:04:29.710500 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
D, [2018-06-08T00:04:29.711082 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.000061s) (conn: 47018344807300) BEGIN
D, [2018-06-08T00:04:29.711738 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.000220s) (conn: 47018344807300) SELECT * FROM "ip_addresses" WHERE ("ip_addresses"."vm_id" = 10)
D, [2018-06-08T00:04:29.712346 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.000382s) (conn: 47018344807300) DELETE FROM "vms" WHERE "id" = 10
D, [2018-06-08T00:04:29.714697 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.002220s) (conn: 47018344807300) COMMIT
D, [2018-06-08T00:04:29.715644 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.000062s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:04:29.716467 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.000277s) (conn: 47018331589620) INSERT INTO "events" ("parent_id", "timestamp", "user", "action", "object_type", "object_name", "error", "task", "deployment", "instance", "context_json") VALUES (435, '2018-06-08 00:04:29.714881+0000', 'admin', 'delete', 'vm', 'vm-3b5a8824-a5d7-40eb-4a86-c7b5f47b93cc', NULL, '89', 'zookeeper', 'compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92', '{}') RETURNING *
D, [2018-06-08T00:04:29.718519 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.001628s) (conn: 47018331589620) COMMIT
E, [2018-06-08T00:04:29.719262 #29011] [] ERROR -- DirectorJobRunner: Worker thread raised exception: Timed out pinging to 972ab08c-1523-473b-9388-0e4607fe9efa after 2 seconds - /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/agent_client.rb:219:in `rescue in wait_until_ready'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/agent_client.rb:225:in `wait_until_ready'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/steps/create_vm_step.rb:58:in `update_metadata'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/steps/create_vm_step.rb:39:in `perform'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/step_executor.rb:39:in `block in run_agenda'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/step_executor.rb:36:in `each'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/step_executor.rb:36:in `run_agenda'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/step_executor.rb:24:in `block (4 levels) in run'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_formatter.rb:52:in `with_thread_name'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/step_executor.rb:18:in `block (3 levels) in run'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_pool.rb:77:in `block (2 levels) in create_thread'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_pool.rb:63:in `loop'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_pool.rb:63:in `block in create_thread'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
D, [2018-06-08T00:04:29.719347 #29011] [] DEBUG -- DirectorJobRunner: Thread is no longer needed, cleaning up
D, [2018-06-08T00:04:29.719476 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: Shutting down pool
D, [2018-06-08T00:04:29.720188 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000060s) (conn: 47018344807300) BEGIN
D, [2018-06-08T00:04:29.720914 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000233s) (conn: 47018344807300) INSERT INTO "events" ("parent_id", "timestamp", "user", "action", "object_type", "object_name", "error", "task", "deployment", "instance", "context_json") VALUES (429, '2018-06-08 00:04:29.719616+0000', 'admin', 'create', 'instance', 'compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92', 'Timed out pinging to 972ab08c-1523-473b-9388-0e4607fe9efa after 2 seconds', '89', 'zookeeper', 'compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92', '{}') RETURNING *
D, [2018-06-08T00:04:29.722772 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.001460s) (conn: 47018344807300) COMMIT
D, [2018-06-08T00:04:29.723716 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000057s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:04:29.724342 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000205s) (conn: 47018331589620) INSERT INTO "events" ("parent_id", "timestamp", "user", "action", "object_type", "object_name", "error", "task", "deployment", "instance", "context_json") VALUES (NULL, '2018-06-08 00:04:29.723167+0000', 'admin', 'delete', 'instance', 'compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92', NULL, '89', 'zookeeper', 'compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92', '{}') RETURNING *
D, [2018-06-08T00:04:29.726026 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.001315s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:04:29.726921 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000055s) (conn: 47018344807300) BEGIN
D, [2018-06-08T00:04:29.727590 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000229s) (conn: 47018344807300) INSERT INTO "events" ("parent_id", "timestamp", "user", "action", "object_type", "object_name", "error", "task", "deployment", "instance", "context_json") VALUES (NULL, '2018-06-08 00:04:29.726414+0000', 'admin', 'delete', 'vm', 'vm-3b5a8824-a5d7-40eb-4a86-c7b5f47b93cc', NULL, '89', 'zookeeper', 'compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92', '{}') RETURNING *
D, [2018-06-08T00:04:29.729875 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.001955s) (conn: 47018344807300) COMMIT
I, [2018-06-08T00:04:29.730157 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] INFO -- DirectorJobRunner: Deleting VM
D, [2018-06-08T00:04:29.731434 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000356s) (conn: 47018344807300) SELECT * FROM "configs" WHERE ("id" IN (SELECT max("id") FROM "configs" WHERE ("type" = 'cpi') GROUP BY "name"))
D, [2018-06-08T00:04:29.731779 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: [external-cpi] [cpi-357074] request: {"method":"info","arguments":[],"context":{"director_uuid":"d169f959-e754-4869-bd5b-addd54f16ecc","request_id":"cpi-357074"}} with command: /var/vcap/jobs/google_cpi/bin/cpi
D, [2018-06-08T00:04:29.739600 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: [external-cpi] [cpi-357074] response: {"result":{"stemcell_formats":["google-light","google-rawdisk"]},"error":null,"log":""}, err: , exit_status: pid 29246 exit 0
D, [2018-06-08T00:04:29.739991 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: [external-cpi] [cpi-541248] request: {"method":"delete_vm","arguments":["vm-3b5a8824-a5d7-40eb-4a86-c7b5f47b93cc"],"context":{"director_uuid":"d169f959-e754-4869-bd5b-addd54f16ecc","request_id":"cpi-541248"},"api_version":1} with command: /var/vcap/jobs/google_cpi/bin/cpi
D, [2018-06-08T00:04:30.057867 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: [external-cpi] [cpi-541248] response: {"result":null,"error":{"type":"Bosh::Clouds::VMNotFound","message":"VM 'vm-3b5a8824-a5d7-40eb-4a86-c7b5f47b93cc' not found","ok_to_retry":false},"log":""}, err: , exit_status: pid 29254 exit 0
W, [2018-06-08T00:04:30.058271 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] WARN -- DirectorJobRunner: VM 'vm-3b5a8824-a5d7-40eb-4a86-c7b5f47b93cc' might have already been deleted from the cloud
D, [2018-06-08T00:04:30.058327 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
D, [2018-06-08T00:04:30.058440 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/vm_deleter.rb:38:in `block in delete_vms'
D, [2018-06-08T00:04:30.058483 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/vm_deleter.rb:33:in `each'
D, [2018-06-08T00:04:30.058562 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/vm_deleter.rb:33:in `delete_vms'
D, [2018-06-08T00:04:30.058600 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/vm_deleter.rb:15:in `delete_for_instance'
D, [2018-06-08T00:04:30.058650 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/instance_deleter.rb:29:in `block in delete_instance_plan'
D, [2018-06-08T00:04:30.058689 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/event_log.rb:125:in `advance_and_track'
D, [2018-06-08T00:04:30.058726 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/instance_deleter.rb:23:in `delete_instance_plan'
D, [2018-06-08T00:04:30.058762 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/compilation_instance_pool.rb:125:in `destroy_instance'
D, [2018-06-08T00:04:30.058806 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/compilation_instance_pool.rb:60:in `rescue in with_reused_vm'
D, [2018-06-08T00:04:30.058843 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/compilation_instance_pool.rb:50:in `with_reused_vm'
D, [2018-06-08T00:04:30.058878 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:130:in `prepare_vm'
D, [2018-06-08T00:04:30.058931 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:81:in `block in compile_package'
D, [2018-06-08T00:04:30.058969 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/lock_helper.rb:48:in `block in with_compile_lock'
D, [2018-06-08T00:04:30.059004 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/lock.rb:79:in `lock'
D, [2018-06-08T00:04:30.059039 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/lock_helper.rb:48:in `with_compile_lock'
D, [2018-06-08T00:04:30.059074 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:74:in `compile_package'
D, [2018-06-08T00:04:30.059109 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:233:in `block (2 levels) in process_task'
D, [2018-06-08T00:04:30.059178 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/event_log.rb:105:in `advance_and_track'
D, [2018-06-08T00:04:30.059220 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:231:in `block in process_task'
D, [2018-06-08T00:04:30.059257 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_formatter.rb:52:in `with_thread_name'
D, [2018-06-08T00:04:30.059292 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:227:in `process_task'
D, [2018-06-08T00:04:30.059327 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:191:in `block (4 levels) in compile_packages'
D, [2018-06-08T00:04:30.059374 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_pool.rb:77:in `block (2 levels) in create_thread'
D, [2018-06-08T00:04:30.059412 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_pool.rb:63:in `loop'
D, [2018-06-08T00:04:30.059448 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_pool.rb:63:in `block in create_thread'
D, [2018-06-08T00:04:30.059483 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
D, [2018-06-08T00:04:30.060068 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000062s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:04:30.060744 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000230s) (conn: 47018331589620) SELECT * FROM "ip_addresses" WHERE ("ip_addresses"."vm_id" = 10)
D, [2018-06-08T00:04:30.061133 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000205s) (conn: 47018331589620) DELETE FROM "vms" WHERE "id" = 10
D, [2018-06-08T00:04:30.061477 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000073s) (conn: 47018331589620) ROLLBACK
D, [2018-06-08T00:04:30.062386 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000054s) (conn: 47018344807300) BEGIN
D, [2018-06-08T00:04:30.063166 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000268s) (conn: 47018344807300) INSERT INTO "events" ("parent_id", "timestamp", "user", "action", "object_type", "object_name", "error", "task", "deployment", "instance", "context_json") VALUES (446, '2018-06-08 00:04:30.061756+0000', 'admin', 'delete', 'vm', 'vm-3b5a8824-a5d7-40eb-4a86-c7b5f47b93cc', 'Attempt to delete object did not result in a single row modification (Rows Deleted: 0, SQL: DELETE FROM "vms" WHERE ("id" = 10))', '89', 'zookeeper', 'compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92', '{}') RETURNING *
D, [2018-06-08T00:04:30.075060 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.011427s) (conn: 47018344807300) COMMIT
D, [2018-06-08T00:04:30.076625 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000077s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:04:30.077785 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000397s) (conn: 47018331589620) INSERT INTO "events" ("parent_id", "timestamp", "user", "action", "object_type", "object_name", "error", "task", "deployment", "instance", "context_json") VALUES (445, '2018-06-08 00:04:30.075671+0000', 'admin', 'delete', 'instance', 'compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92', 'Attempt to delete object did not result in a single row modification (Rows Deleted: 0, SQL: DELETE FROM "vms" WHERE ("id" = 10))', '89', 'zookeeper', 'compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92', '{}') RETURNING *
D, [2018-06-08T00:04:30.080022 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.001650s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:04:30.083228 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.001629s) (conn: 47018344807300) DELETE FROM "locks" WHERE (("name" = 'lock:compile:10:ubuntu-trusty/3586.18') AND ("uid" = 'cdc0451e-51dc-47af-92d7-2fdc47ad1f79'))
D, [2018-06-08T00:04:30.083326 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: Deleted lock: lock:compile:10:ubuntu-trusty/3586.18 uid: cdc0451e-51dc-47af-92d7-2fdc47ad1f79
D, [2018-06-08T00:04:30.084315 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000076s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:04:30.085343 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000337s) (conn: 47018331589620) INSERT INTO "events" ("parent_id", "timestamp", "user", "action", "object_type", "object_name", "error", "task", "deployment", "instance", "context_json") VALUES (NULL, '2018-06-08 00:04:30.083505+0000', 'admin', 'release', 'lock', 'lock:compile:10:ubuntu-trusty/3586.18', NULL, '89', 'zookeeper', NULL, '{}') RETURNING *
D, [2018-06-08T00:04:30.087361 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.001517s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:04:30.088252 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000057s) (conn: 47018344807300) BEGIN
D, [2018-06-08T00:04:30.088937 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000286s) (conn: 47018344807300) UPDATE "tasks" SET "event_output" = ("event_output" || '{"time":1528416270,"stage":"Compiling packages","tags":[],"total":2,"task":"openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20","index":2,"state":"failed","progress":100,"data":{"error":"Attempt to delete object did not result in a single row modification (Rows Deleted: 0, SQL: DELETE FROM \"vms\" WHERE (\"id\" = 10))"}}
') WHERE ("id" = 89)
D, [2018-06-08T00:04:30.090473 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.001390s) (conn: 47018344807300) COMMIT
E, [2018-06-08T00:04:30.090661 #29011] [] ERROR -- DirectorJobRunner: Worker thread raised exception: Attempt to delete object did not result in a single row modification (Rows Deleted: 0, SQL: DELETE FROM "vms" WHERE ("id" = 10)) - /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:2076:in `_delete'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:1528:in `delete'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:2131:in `_destroy_delete'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:2115:in `block in _destroy'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:1382:in `around_destroy'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:2109:in `_destroy'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:1543:in `block (2 levels) in destroy'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:2372:in `block in checked_transaction'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/database/transactions.rb:224:in `_transaction'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/database/transactions.rb:199:in `block in transaction'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/database/connecting.rb:301:in `block in synchronize'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/connection_pool/threaded.rb:107:in `hold'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/database/connecting.rb:301:in `synchronize'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/database/transactions.rb:165:in `transaction'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:2372:in `checked_transaction'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:1543:in `block in destroy'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:2360:in `checked_save_failure'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:1543:in `destroy'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/steps/delete_vm_step.rb:37:in `perform'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/vm_deleter.rb:38:in `block in delete_vms'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/vm_deleter.rb:33:in `each'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/vm_deleter.rb:33:in `delete_vms'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/vm_deleter.rb:15:in `delete_for_instance'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/instance_deleter.rb:29:in `block in delete_instance_plan'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/event_log.rb:125:in `advance_and_track'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/instance_deleter.rb:23:in `delete_instance_plan'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/compilation_instance_pool.rb:125:in `destroy_instance'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/compilation_instance_pool.rb:60:in `rescue in with_reused_vm'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/compilation_instance_pool.rb:50:in `with_reused_vm'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:130:in `prepare_vm'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:81:in `block in compile_package'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/lock_helper.rb:48:in `block in with_compile_lock'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/lock.rb:79:in `lock'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/lock_helper.rb:48:in `with_compile_lock'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:74:in `compile_package'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:233:in `block (2 levels) in process_task'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/event_log.rb:105:in `advance_and_track'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:231:in `block in process_task'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_formatter.rb:52:in `with_thread_name'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:227:in `process_task'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:191:in `block (4 levels) in compile_packages'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_pool.rb:77:in `block (2 levels) in create_thread'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_pool.rb:63:in `loop'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_pool.rb:63:in `block in create_thread'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
D, [2018-06-08T00:04:30.090763 #29011] [] DEBUG -- DirectorJobRunner: Thread is no longer needed, cleaning up
D, [2018-06-08T00:04:30.090934 #29011] [task:89] DEBUG -- DirectorJobRunner: Waiting for tasks to complete
D, [2018-06-08T00:04:30.090989 #29011] [task:89] DEBUG -- DirectorJobRunner: Shutting down pool
D, [2018-06-08T00:04:30.093901 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.001662s) (conn: 47018331589620) DELETE FROM "locks" WHERE (("name" = 'lock:deployment:zookeeper') AND ("uid" = '4e15828a-8494-4fab-af62-133c27cb2182'))
D, [2018-06-08T00:04:30.094035 #29011] [task:89] DEBUG -- DirectorJobRunner: Deleted lock: lock:deployment:zookeeper uid: 4e15828a-8494-4fab-af62-133c27cb2182
D, [2018-06-08T00:04:30.094747 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000056s) (conn: 47018344807300) BEGIN
D, [2018-06-08T00:04:30.095509 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000266s) (conn: 47018344807300) INSERT INTO "events" ("parent_id", "timestamp", "user", "action", "object_type", "object_name", "error", "task", "deployment", "instance", "context_json") VALUES (NULL, '2018-06-08 00:04:30.094148+0000', 'admin', 'release', 'lock', 'lock:deployment:zookeeper', NULL, '89', 'zookeeper', NULL, '{}') RETURNING *
D, [2018-06-08T00:04:30.097396 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.001518s) (conn: 47018344807300) COMMIT
I, [2018-06-08T00:04:30.097871 #29011] [task:89] INFO -- DirectorJobRunner: sending update deployment error event
D, [2018-06-08T00:04:30.097965 #29011] [task:89] DEBUG -- DirectorJobRunner: SENT: hm.director.alert {"id":"47b1cce6-e8b9-46b7-acd7-5d36f2f08282","severity":3,"source":"director","title":"director - error during update deployment","summary":"Error during update deployment for 'zookeeper' against Director 'd169f959-e754-4869-bd5b-addd54f16ecc': #<Sequel::NoExistingObject: Attempt to delete object did not result in a single row modification (Rows Deleted: 0, SQL: DELETE FROM \"vms\" WHERE (\"id\" = 9))>","created_at":1528416270,"deployment":"zookeeper"}
D, [2018-06-08T00:04:30.107609 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000073s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:04:30.108408 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000235s) (conn: 47018331589620) INSERT INTO "events" ("parent_id", "timestamp", "user", "action", "object_type", "object_name", "error", "task", "deployment", "instance", "context_json") VALUES (421, '2018-06-08 00:04:30.098062+0000', 'admin', 'create', 'deployment', 'zookeeper', 'Attempt to delete object did not result in a single row modification (Rows Deleted: 0, SQL: DELETE FROM "vms" WHERE ("id" = 9))', '89', 'zookeeper', NULL, '{"before":{},"after":{"releases":["zookeeper/0.0.8"],"stemcells":["bosh-google-kvm-ubuntu-trusty-go_agent/3586.18"]}}') RETURNING *
D, [2018-06-08T00:04:30.110998 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.002133s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:04:30.112311 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000222s) (conn: 47018331589620) SELECT * FROM "deployments" WHERE ("name" = 'zookeeper') LIMIT 1
D, [2018-06-08T00:04:30.113269 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000199s) (conn: 47018344807300) SELECT * FROM "variable_sets" WHERE ("variable_sets"."deployment_id" = 4) ORDER BY "created_at" DESC LIMIT 1
D, [2018-06-08T00:04:30.114009 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000055s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:04:30.114608 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000227s) (conn: 47018331589620) UPDATE "variable_sets" SET "writable" = false WHERE ("id" = 5)
D, [2018-06-08T00:04:30.116196 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.001460s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:04:30.116772 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000055s) (conn: 47018344807300) BEGIN
D, [2018-06-08T00:04:30.117391 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000242s) (conn: 47018344807300) UPDATE "tasks" SET "event_output" = ("event_output" || '{"time":1528416270,"error":{"code":100,"message":"Attempt to delete object did not result in a single row modification (Rows Deleted: 0, SQL: DELETE FROM \"vms\" WHERE (\"id\" = 9))"}}
') WHERE ("id" = 89)
D, [2018-06-08T00:04:30.119933 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.002390s) (conn: 47018344807300) COMMIT
E, [2018-06-08T00:04:30.120105 #29011] [task:89] ERROR -- DirectorJobRunner: Attempt to delete object did not result in a single row modification (Rows Deleted: 0, SQL: DELETE FROM "vms" WHERE ("id" = 9))
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:2076:in `_delete'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:1528:in `delete'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:2131:in `_destroy_delete'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:2115:in `block in _destroy'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:1382:in `around_destroy'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:2109:in `_destroy'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:1543:in `block (2 levels) in destroy'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:2372:in `block in checked_transaction'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/database/transactions.rb:224:in `_transaction'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/database/transactions.rb:199:in `block in transaction'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/database/connecting.rb:301:in `block in synchronize'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/connection_pool/threaded.rb:107:in `hold'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/database/connecting.rb:301:in `synchronize'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/database/transactions.rb:165:in `transaction'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:2372:in `checked_transaction'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:1543:in `block in destroy'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:2360:in `checked_save_failure'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:1543:in `destroy'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/steps/delete_vm_step.rb:37:in `perform'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/vm_deleter.rb:38:in `block in delete_vms'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/vm_deleter.rb:33:in `each'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/vm_deleter.rb:33:in `delete_vms'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/vm_deleter.rb:15:in `delete_for_instance'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/instance_deleter.rb:29:in `block in delete_instance_plan'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/event_log.rb:125:in `advance_and_track'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/instance_deleter.rb:23:in `delete_instance_plan'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/compilation_instance_pool.rb:125:in `destroy_instance'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/compilation_instance_pool.rb:60:in `rescue in with_reused_vm'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/compilation_instance_pool.rb:50:in `with_reused_vm'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:130:in `prepare_vm'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:81:in `block in compile_package'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/lock_helper.rb:48:in `block in with_compile_lock'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/lock.rb:79:in `lock'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/lock_helper.rb:48:in `with_compile_lock'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:74:in `compile_package'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:233:in `block (2 levels) in process_task'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/event_log.rb:105:in `advance_and_track'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:231:in `block in process_task'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_formatter.rb:52:in `with_thread_name'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:227:in `process_task'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:191:in `block (4 levels) in compile_packages'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_pool.rb:77:in `block (2 levels) in create_thread'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_pool.rb:63:in `loop'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_pool.rb:63:in `block in create_thread'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
D, [2018-06-08T00:04:30.120902 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000309s) (conn: 47018331589620) SELECT * FROM "tasks" WHERE "id" = 89
D, [2018-06-08T00:04:30.122124 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000059s) (conn: 47018344807300) BEGIN
D, [2018-06-08T00:04:30.123154 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000407s) (conn: 47018344807300) UPDATE "tasks" SET "state" = 'error', "timestamp" = '2018-06-08 00:04:30.121638+0000', "description" = 'create deployment', "result" = 'Attempt to delete object did not result in a single row modification (Rows Deleted: 0, SQL: DELETE FROM "vms" WHERE ("id" = 9))', "output" = '/var/vcap/store/director/tasks/89', "checkpoint_time" = '2018-06-08 00:04:05.291252+0000', "type" = 'update_deployment', "username" = 'admin', "deployment_name" = 'zookeeper', "started_at" = '2018-06-08 00:01:05.209360+0000', "event_output" = '{"time":1528416065,"stage":"Preparing deployment","tags":[],"total":1,"task":"Preparing deployment","index":1,"state":"started","progress":0}
{"time":1528416065,"stage":"Preparing deployment","tags":[],"total":1,"task":"Preparing deployment","index":1,"state":"finished","progress":100}
{"time":1528416065,"stage":"Preparing package compilation","tags":[],"total":1,"task":"Finding packages to compile","index":1,"state":"started","progress":0}
{"time":1528416065,"stage":"Preparing package compilation","tags":[],"total":1,"task":"Finding packages to compile","index":1,"state":"finished","progress":100}
{"time":1528416065,"stage":"Compiling packages","tags":[],"total":2,"task":"zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1","index":1,"state":"started","progress":0}
{"time":1528416065,"stage":"Compiling packages","tags":[],"total":2,"task":"openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20","index":2,"state":"started","progress":0}
{"time":1528416257,"stage":"Compiling packages","tags":[],"total":2,"task":"zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1","index":1,"state":"failed","progress":100,"data":{"error":"Attempt to delete object did not result in a single row modification (Rows Deleted: 0, SQL: DELETE FROM \"vms\" WHERE (\"id\" = 9))"}}
{"time":1528416270,"stage":"Compiling packages","tags":[],"total":2,"task":"openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20","index":2,"state":"failed","progress":100,"data":{"error":"Attempt to delete object did not result in a single row modification (Rows Deleted: 0, SQL: DELETE FROM \"vms\" WHERE (\"id\" = 10))"}}
{"time":1528416270,"error":{"code":100,"message":"Attempt to delete object did not result in a single row modification (Rows Deleted: 0, SQL: DELETE FROM \"vms\" WHERE (\"id\" = 9))"}}
', "result_output" = '', "context_id" = '' WHERE ("id" = 89)
D, [2018-06-08T00:04:30.125240 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.001934s) (conn: 47018344807300) COMMIT
I, [2018-06-08T00:04:30.125429 #29011] [] INFO -- DirectorJobRunner: Task took 3 minutes 24.922199551999995 seconds to process.
I, [2018-06-08T00:01:05.039642 #13] [0x2afc7de58c34] INFO -- TaskHelper: Director Version: 266.0.0
I, [2018-06-08T00:01:05.039699 #13] [0x2afc7de58c34] INFO -- TaskHelper: Enqueuing task: 89
I, [2018-06-08T00:01:05.200413 #29011] [] INFO -- DirectorJobRunner: Looking for task with task id 89
D, [2018-06-08T00:01:05.201579 #29011] [] DEBUG -- DirectorJobRunner: (0.000297s) (conn: 47018331589620) SELECT * FROM "tasks" WHERE "id" = 89
I, [2018-06-08T00:01:05.203007 #29011] [] INFO -- DirectorJobRunner: Found task #<Bosh::Director::Models::Task @values={:id=>89, :state=>"processing", :timestamp=>2018-06-08 00:01:05 UTC, :description=>"create deployment", :result=>nil, :output=>"/var/vcap/store/director/tasks/89", :checkpoint_time=>2018-06-08 00:01:05 UTC, :type=>"update_deployment", :username=>"admin", :deployment_name=>"zookeeper", :started_at=>nil, :event_output=>"", :result_output=>"", :context_id=>""}>
I, [2018-06-08T00:01:05.203086 #29011] [] INFO -- DirectorJobRunner: Running from worker 'worker_3' on director/ba6c7b58-5e28-4252-5134-9ebbf7a7e403 (127.0.0.1)
I, [2018-06-08T00:01:05.203134 #29011] [] INFO -- DirectorJobRunner: Starting task: 89
I, [2018-06-08T00:01:05.203197 #29011] [task:89] INFO -- DirectorJobRunner: Creating job
D, [2018-06-08T00:01:05.203684 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000177s) (conn: 47018331589620) SELECT * FROM "tasks" WHERE "id" = 89
D, [2018-06-08T00:01:05.204934 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000166s) (conn: 47018331589620) SELECT * FROM "tasks" WHERE "id" = 89
I, [2018-06-08T00:01:05.209061 #29011] [task:89] INFO -- DirectorJobRunner: Performing task: #<Bosh::Director::Models::Task @values={:id=>89, :state=>"processing", :timestamp=>2018-06-08 00:01:05 UTC, :description=>"create deployment", :result=>nil, :output=>"/var/vcap/store/director/tasks/89", :checkpoint_time=>2018-06-08 00:01:05 UTC, :type=>"update_deployment", :username=>"admin", :deployment_name=>"zookeeper", :started_at=>nil, :event_output=>"", :result_output=>"", :context_id=>""}>
D, [2018-06-08T00:01:05.212242 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000070s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.214700 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.001197s) (conn: 47018331589620) UPDATE "tasks" SET "state" = 'processing', "timestamp" = '2018-06-08 00:01:05.209174+0000', "description" = 'create deployment', "result" = NULL, "output" = '/var/vcap/store/director/tasks/89', "checkpoint_time" = '2018-06-08 00:01:05.209455+0000', "type" = 'update_deployment', "username" = 'admin', "deployment_name" = 'zookeeper', "started_at" = '2018-06-08 00:01:05.209360+0000', "event_output" = '', "result_output" = '', "context_id" = '' WHERE ("id" = 89)
D, [2018-06-08T00:01:05.216554 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.001661s) (conn: 47018331589620) COMMIT
I, [2018-06-08T00:01:05.216708 #29011] [task:89] INFO -- DirectorJobRunner: Reading deployment manifest
D, [2018-06-08T00:01:05.217955 #29011] [task:89] DEBUG -- DirectorJobRunner: Manifest:
instance_groups:
- azs:
- z1
instances: 1
jobs:
- name: zookeeper
properties: {}
provides:
conn:
shared: true
release: zookeeper
- name: status
properties: {}
release: zookeeper
name: zookeeper
networks:
- name: default
persistent_disk: 10240
stemcell: default
vm_type: default
name: zookeeper
releases:
- name: zookeeper
url: git+https://github.com/cppforlife/zookeeper-release
version: 0.0.8
stemcells:
- alias: default
os: ubuntu-trusty
version: latest
update:
canaries: 2
canary_watch_time: 5000-60000
max_in_flight: 1
update_watch_time: 5000-60000
D, [2018-06-08T00:01:05.220213 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000280s) (conn: 47018331589620) SELECT * FROM "configs" WHERE ("id" IN (1))
D, [2018-06-08T00:01:05.256021 #29011] [task:89] DEBUG -- DirectorJobRunner: Cloud config:
{"azs"=>[{"cloud_properties"=>{"zone"=>"us-west1-a"}, "name"=>"z1"}, {"cloud_properties"=>{"zone"=>"us-west1-b"}, "name"=>"z2"}, {"cloud_properties"=>{"zone"=>"us-west1-c"}, "name"=>"z3"}], "vm_types"=>[{"cloud_properties"=>{"machine_type"=>"n1-standard-1", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"default"}, {"cloud_properties"=>{"machine_type"=>"n1-standard-1", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"minimal"}, {"cloud_properties"=>{"machine_type"=>"g1-small", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"sharedcpu"}, {"cloud_properties"=>{"machine_type"=>"n1-standard-2", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"small"}, {"cloud_properties"=>{"machine_type"=>"n1-highmem-4", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"small-highmem"}, {"cloud_properties"=>{"machine_type"=>"n1-standard-4", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"medium"}, {"cloud_properties"=>{"machine_type"=>"n1-standard-8", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"large"}, {"cloud_properties"=>{"machine_type"=>"n1-standard-16", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"extra-large"}, {"cloud_properties"=>{"machine_type"=>"n1-highcpu-2", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"small-highcpu"}, {"cloud_properties"=>{"machine_type"=>"n1-standard-1", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"n1-standard-1"}, {"cloud_properties"=>{"machine_type"=>"n1-standard-2", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"n1-standard-2"}, {"cloud_properties"=>{"machine_type"=>"n1-standard-4", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"n1-standard-4"}, {"cloud_properties"=>{"machine_type"=>"n1-standard-8", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"n1-standard-8"}, {"cloud_properties"=>{"machine_type"=>"n1-standard-16", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"n1-standard-16"}, {"cloud_properties"=>{"machine_type"=>"n1-standard-32", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"n1-standard-32"}, {"cloud_properties"=>{"machine_type"=>"n1-highmem-2", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"n1-highmem-2"}, {"cloud_properties"=>{"machine_type"=>"n1-highmem-4", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"n1-highmem-4"}, {"cloud_properties"=>{"machine_type"=>"n1-highmem-8", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"n1-highmem-8"}, {"cloud_properties"=>{"machine_type"=>"n1-highmem-16", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"n1-highmem-16"}, {"cloud_properties"=>{"machine_type"=>"n1-highmem-32", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"n1-highmem-32"}, {"cloud_properties"=>{"machine_type"=>"n1-highcpu-2", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"n1-highcpu-2"}, {"cloud_properties"=>{"machine_type"=>"n1-highcpu-4", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"n1-highcpu-4"}, {"cloud_properties"=>{"machine_type"=>"n1-highcpu-8", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"n1-highcpu-8"}, {"cloud_properties"=>{"machine_type"=>"n1-highcpu-16", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"n1-highcpu-16"}, {"cloud_properties"=>{"machine_type"=>"n1-highcpu-32", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"n1-highcpu-32"}, {"cloud_properties"=>{"machine_type"=>"f1-micro", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"f1-micro"}, {"cloud_properties"=>{"machine_type"=>"g1-small", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"g1-small"}, {"cloud_properties"=>{"machine_type"=>"n1-standard-1", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"m3.medium"}, {"cloud_properties"=>{"machine_type"=>"n1-standard-2", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"m3.large"}, {"cloud_properties"=>{"machine_type"=>"n1-highcpu-2", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"c3.large"}, {"cloud_properties"=>{"machine_type"=>"n1-highmem-4", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"r3.xlarge"}, {"cloud_properties"=>{"machine_type"=>"g1-small", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"t2.small"}], "disk_types"=>[{"cloud_properties"=>{"encrypted"=>true, "type"=>"pd-ssd"}, "disk_size"=>1024, "name"=>"default"}, {"cloud_properties"=>{"encrypted"=>true, "type"=>"pd-ssd"}, "disk_size"=>1024, "name"=>"1GB"}, {"cloud_properties"=>{"encrypted"=>true, "type"=>"pd-ssd"}, "disk_size"=>5120, "name"=>"5GB"}, {"cloud_properties"=>{"encrypted"=>true, "type"=>"pd-ssd"}, "disk_size"=>10240, "name"=>"10GB"}, {"cloud_properties"=>{"encrypted"=>true, "type"=>"pd-ssd"}, "disk_size"=>51200, "name"=>"50GB"}, {"cloud_properties"=>{"encrypted"=>true, "type"=>"pd-ssd"}, "disk_size"=>102400, "name"=>"100GB"}, {"cloud_properties"=>{"encrypted"=>true, "type"=>"pd-ssd"}, "disk_size"=>512000, "name"=>"500GB"}, {"cloud_properties"=>{"encrypted"=>true, "type"=>"pd-ssd"}, "disk_size"=>1048576, "name"=>"1TB"}], "networks"=>[{"name"=>"private", "subnets"=>[{"az"=>"z1", "cloud_properties"=>{"ephemeral_external_ip"=>true, "network_name"=>"bbl-env-nipigon-2018-06-07t21-36z-network", "subnetwork_name"=>"bbl-env-nipigon-2018-06-07t21-36z-subnet", "tags"=>["bbl-env-nipigon-2018-06-07t21-36z-internal"]}, "gateway"=>"10.0.16.1", "range"=>"10.0.16.0/24", "reserved"=>["10.0.16.2-10.0.16.3", "10.0.16.255"], "static"=>["10.0.16.190-10.0.16.254"]}, {"az"=>"z2", "cloud_properties"=>{"ephemeral_external_ip"=>true, "network_name"=>"bbl-env-nipigon-2018-06-07t21-36z-network", "subnetwork_name"=>"bbl-env-nipigon-2018-06-07t21-36z-subnet", "tags"=>["bbl-env-nipigon-2018-06-07t21-36z-internal"]}, "gateway"=>"10.0.32.1", "range"=>"10.0.32.0/24", "reserved"=>["10.0.32.2-10.0.32.3", "10.0.32.255"], "static"=>["10.0.32.190-10.0.32.254"]}, {"az"=>"z3", "cloud_properties"=>{"ephemeral_external_ip"=>true, "network_name"=>"bbl-env-nipigon-2018-06-07t21-36z-network", "subnetwork_name"=>"bbl-env-nipigon-2018-06-07t21-36z-subnet", "tags"=>["bbl-env-nipigon-2018-06-07t21-36z-internal"]}, "gateway"=>"10.0.48.1", "range"=>"10.0.48.0/24", "reserved"=>["10.0.48.2-10.0.48.3", "10.0.48.255"], "static"=>["10.0.48.190-10.0.48.254"]}], "type"=>"manual"}, {"name"=>"default", "subnets"=>[{"az"=>"z1", "cloud_properties"=>{"ephemeral_external_ip"=>true, "network_name"=>"bbl-env-nipigon-2018-06-07t21-36z-network", "subnetwork_name"=>"bbl-env-nipigon-2018-06-07t21-36z-subnet", "tags"=>["bbl-env-nipigon-2018-06-07t21-36z-internal"]}, "gateway"=>"10.0.16.1", "range"=>"10.0.16.0/24", "reserved"=>["10.0.16.2-10.0.16.3", "10.0.16.255"], "static"=>["10.0.16.190-10.0.16.254"]}, {"az"=>"z2", "cloud_properties"=>{"ephemeral_external_ip"=>true, "network_name"=>"bbl-env-nipigon-2018-06-07t21-36z-network", "subnetwork_name"=>"bbl-env-nipigon-2018-06-07t21-36z-subnet", "tags"=>["bbl-env-nipigon-2018-06-07t21-36z-internal"]}, "gateway"=>"10.0.32.1", "range"=>"10.0.32.0/24", "reserved"=>["10.0.32.2-10.0.32.3", "10.0.32.255"], "static"=>["10.0.32.190-10.0.32.254"]}, {"az"=>"z3", "cloud_properties"=>{"ephemeral_external_ip"=>true, "network_name"=>"bbl-env-nipigon-2018-06-07t21-36z-network", "subnetwork_name"=>"bbl-env-nipigon-2018-06-07t21-36z-subnet", "tags"=>["bbl-env-nipigon-2018-06-07t21-36z-internal"]}, "gateway"=>"10.0.48.1", "range"=>"10.0.48.0/24", "reserved"=>["10.0.48.2-10.0.48.3", "10.0.48.255"], "static"=>["10.0.48.190-10.0.48.254"]}], "type"=>"manual"}], "vm_extensions"=>[{"cloud_properties"=>{"root_disk_size_gb"=>1, "root_disk_type"=>"pd-ssd"}, "name"=>"1GB_ephemeral_disk"}, {"cloud_properties"=>{"root_disk_size_gb"=>5, "root_disk_type"=>"pd-ssd"}, "name"=>"5GB_ephemeral_disk"}, {"cloud_properties"=>{"root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"10GB_ephemeral_disk"}, {"cloud_properties"=>{"root_disk_size_gb"=>50, "root_disk_type"=>"pd-ssd"}, "name"=>"50GB_ephemeral_disk"}, {"cloud_properties"=>{"root_disk_size_gb"=>100, "root_disk_type"=>"pd-ssd"}, "name"=>"100GB_ephemeral_disk"}, {"cloud_properties"=>{"root_disk_size_gb"=>500, "root_disk_type"=>"pd-ssd"}, "name"=>"500GB_ephemeral_disk"}, {"cloud_properties"=>{"root_disk_size_gb"=>1000, "root_disk_type"=>"pd-ssd"}, "name"=>"1TB_ephemeral_disk"}, {"cloud_properties"=>{"ephemeral_external_ip"=>true}, "name"=>"internet-required"}, {"cloud_properties"=>{"ephemeral_external_ip"=>false}, "name"=>"internet-not-required"}, {"cloud_properties"=>{"preemptible"=>true}, "name"=>"preemptible"}], "compilation"=>{"az"=>"z1", "network"=>"private", "reuse_compilation_vms"=>true, "vm_extensions"=>["100GB_ephemeral_disk"], "vm_type"=>"n1-highcpu-8", "workers"=>6}}
D, [2018-06-08T00:01:05.257119 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000215s) (conn: 47018331589620) SELECT * FROM "configs" WHERE (1 = 0)
D, [2018-06-08T00:01:05.257268 #29011] [task:89] DEBUG -- DirectorJobRunner: No runtime config uploaded yet.
D, [2018-06-08T00:01:05.258290 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000365s) (conn: 47018331589620) SELECT * FROM "deployments" WHERE ("name" = 'zookeeper') LIMIT 1
D, [2018-06-08T00:01:05.260506 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000486s) (conn: 47018331589620) SELECT "release_versions".* FROM "release_versions" INNER JOIN "deployments_release_versions" ON ("deployments_release_versions"."release_version_id" = "release_versions"."id") WHERE ("deployments_release_versions"."deployment_id" = 4)
D, [2018-06-08T00:01:05.262386 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000665s) (conn: 47018331589620) SELECT "stemcells".* FROM "stemcells" INNER JOIN "deployments_stemcells" ON ("deployments_stemcells"."stemcell_id" = "stemcells"."id") WHERE ("deployments_stemcells"."deployment_id" = 4) ORDER BY "name" ASC, "version" ASC
D, [2018-06-08T00:01:05.262984 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000190s) (conn: 47018331589620) SELECT * FROM "tasks" WHERE "id" = 89
D, [2018-06-08T00:01:05.264249 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000059s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.265094 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000277s) (conn: 47018331589620) INSERT INTO "events" ("parent_id", "timestamp", "user", "action", "object_type", "object_name", "error", "task", "deployment", "instance", "context_json") VALUES (NULL, '2018-06-08 00:01:05.263579+0000', 'admin', 'create', 'deployment', 'zookeeper', NULL, '89', 'zookeeper', NULL, '{}') RETURNING *
D, [2018-06-08T00:01:05.268580 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.003040s) (conn: 47018331589620) COMMIT
I, [2018-06-08T00:01:05.269300 #29011] [task:89] INFO -- DirectorJobRunner: Acquiring deployment lock on zookeeper
D, [2018-06-08T00:01:05.269625 #29011] [task:89] DEBUG -- DirectorJobRunner: Acquiring lock: lock:deployment:zookeeper
D, [2018-06-08T00:01:05.272526 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000519s) (conn: 47018331589620) SELECT count(*) AS "count" FROM "locks" WHERE (("name" = 'lock:deployment:zookeeper') AND ("uid" = '4e15828a-8494-4fab-af62-133c27cb2182')) LIMIT 1
D, [2018-06-08T00:01:05.273001 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000068s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.273837 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000260s) (conn: 47018331589620) INSERT INTO "locks" ("name", "uid", "expired_at", "task_id") VALUES ('lock:deployment:zookeeper', '4e15828a-8494-4fab-af62-133c27cb2182', '2018-06-08 00:05:06.269700+0000', '89') RETURNING *
D, [2018-06-08T00:01:05.276189 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.001965s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.276311 #29011] [task:89] DEBUG -- DirectorJobRunner: Acquired lock: lock:deployment:zookeeper
D, [2018-06-08T00:01:05.277210 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000082s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.277988 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000229s) (conn: 47018331589620) INSERT INTO "events" ("parent_id", "timestamp", "user", "action", "object_type", "object_name", "error", "task", "deployment", "instance", "context_json") VALUES (NULL, '2018-06-08 00:01:05.276372+0000', 'admin', 'acquire', 'lock', 'lock:deployment:zookeeper', NULL, '89', 'zookeeper', NULL, '{}') RETURNING *
D, [2018-06-08T00:01:05.280781 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.002417s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.282474 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000237s) (conn: 47018331589620) SELECT * FROM "deployments" WHERE ("name" = 'zookeeper') LIMIT 1
D, [2018-06-08T00:01:05.283984 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000056s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.285053 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000518s) (conn: 47018331589620) INSERT INTO "variable_sets" ("created_at", "writable", "deployment_id") VALUES ('2018-06-08 00:01:05.282669+0000', true, 4) RETURNING *
D, [2018-06-08T00:01:05.288143 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.002720s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.290125 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000351s) (conn: 47018331589620) SELECT count(*) AS "count" FROM "deployments" WHERE (("name" = 'zookeeper') AND ("id" != 4)) LIMIT 1
D, [2018-06-08T00:01:05.290595 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000054s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.291347 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000268s) (conn: 47018331589620) UPDATE "deployments" SET "name" = 'zookeeper', "manifest" = NULL, "manifest_text" = NULL, "has_stale_errand_links" = false, "links_serial_id" = 1 WHERE ("id" = 4)
D, [2018-06-08T00:01:05.295376 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.003856s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.325281 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000277s) (conn: 47018331589620) SELECT * FROM "deployments" WHERE ("name" = 'zookeeper') LIMIT 1
D, [2018-06-08T00:01:05.328031 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000504s) (conn: 47018331589620) SELECT * FROM "variable_sets" WHERE ("variable_sets"."deployment_id" = 4) ORDER BY "created_at" DESC LIMIT 1
D, [2018-06-08T00:01:05.330652 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000176s) (conn: 47018331589620) SELECT * FROM "deployments" WHERE "id" = 4
D, [2018-06-08T00:01:05.333425 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.001527s) (conn: 47018331589620) SELECT * FROM "deployments" WHERE ("name" = 'zookeeper') LIMIT 1
D, [2018-06-08T00:01:05.334293 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000182s) (conn: 47018331589620) SELECT * FROM "variable_sets" WHERE ("variable_sets"."deployment_id" = 4) ORDER BY "created_at" DESC LIMIT 1
D, [2018-06-08T00:01:05.350782 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000220s) (conn: 47018331589620) SELECT * FROM "deployments" WHERE "id" = 4
D, [2018-06-08T00:01:05.359276 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000230s) (conn: 47018331589620) SELECT * FROM "deployments" WHERE ("name" = 'zookeeper') LIMIT 1
D, [2018-06-08T00:01:05.360178 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000183s) (conn: 47018331589620) SELECT * FROM "variable_sets" WHERE ("variable_sets"."deployment_id" = 4) ORDER BY "created_at" DESC LIMIT 1
D, [2018-06-08T00:01:05.360917 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000143s) (conn: 47018331589620) SELECT * FROM "deployments" WHERE "id" = 4
I, [2018-06-08T00:01:05.362729 #29011] [task:89] INFO -- DirectorJobRunner: sending update deployment start event
D, [2018-06-08T00:01:05.362834 #29011] [task:89] DEBUG -- DirectorJobRunner: SENT: hm.director.alert {"id":"486162b0-3184-48a3-afee-68c6c5d266ad","severity":4,"source":"director","title":"director - begin update deployment","summary":"Begin update deployment for 'zookeeper' against Director 'd169f959-e754-4869-bd5b-addd54f16ecc'","created_at":1528416065,"deployment":"zookeeper"}
D, [2018-06-08T00:01:05.383192 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.013338s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.386994 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000835s) (conn: 47018331589620) UPDATE "tasks" SET "event_output" = ("event_output" || '{"time":1528416065,"stage":"Preparing deployment","tags":[],"total":1,"task":"Preparing deployment","index":1,"state":"started","progress":0}
') WHERE ("id" = 89)
D, [2018-06-08T00:01:05.390138 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.002957s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.391880 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000207s) (conn: 47018331589620) SELECT * FROM "stemcells" WHERE ("operating_system" = 'ubuntu-trusty')
D, [2018-06-08T00:01:05.393863 #29011] [task:89] DEBUG -- DirectorJobRunner: Migrated deployment manifest:
{"instance_groups"=>[{"azs"=>["z1"], "instances"=>1, "jobs"=>[{"name"=>"zookeeper", "properties"=>{}, "provides"=>{"conn"=>{"shared"=>true}}, "release"=>"zookeeper"}, {"name"=>"status", "properties"=>{}, "release"=>"zookeeper"}], "name"=>"zookeeper", "networks"=>[{"name"=>"default"}], "persistent_disk"=>10240, "stemcell"=>"default", "vm_type"=>"default"}], "name"=>"zookeeper", "releases"=>[{"name"=>"zookeeper", "url"=>"git+https://github.com/cppforlife/zookeeper-release", "version"=>"0.0.8"}], "stemcells"=>[{"alias"=>"default", "os"=>"ubuntu-trusty", "version"=>"3586.18"}], "update"=>{"canaries"=>2, "canary_watch_time"=>"5000-60000", "max_in_flight"=>1, "update_watch_time"=>"5000-60000"}}
D, [2018-06-08T00:01:05.396285 #29011] [task:89] DEBUG -- DirectorJobRunner: Migrated cloud config manifest:
{"azs"=>[{"cloud_properties"=>{"zone"=>"us-west1-a"}, "name"=>"z1"}, {"cloud_properties"=>{"zone"=>"us-west1-b"}, "name"=>"z2"}, {"cloud_properties"=>{"zone"=>"us-west1-c"}, "name"=>"z3"}], "vm_types"=>[{"cloud_properties"=>{"machine_type"=>"n1-standard-1", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"default"}, {"cloud_properties"=>{"machine_type"=>"n1-standard-1", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"minimal"}, {"cloud_properties"=>{"machine_type"=>"g1-small", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"sharedcpu"}, {"cloud_properties"=>{"machine_type"=>"n1-standard-2", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"small"}, {"cloud_properties"=>{"machine_type"=>"n1-highmem-4", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"small-highmem"}, {"cloud_properties"=>{"machine_type"=>"n1-standard-4", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"medium"}, {"cloud_properties"=>{"machine_type"=>"n1-standard-8", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"large"}, {"cloud_properties"=>{"machine_type"=>"n1-standard-16", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"extra-large"}, {"cloud_properties"=>{"machine_type"=>"n1-highcpu-2", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"small-highcpu"}, {"cloud_properties"=>{"machine_type"=>"n1-standard-1", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"n1-standard-1"}, {"cloud_properties"=>{"machine_type"=>"n1-standard-2", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"n1-standard-2"}, {"cloud_properties"=>{"machine_type"=>"n1-standard-4", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"n1-standard-4"}, {"cloud_properties"=>{"machine_type"=>"n1-standard-8", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"n1-standard-8"}, {"cloud_properties"=>{"machine_type"=>"n1-standard-16", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"n1-standard-16"}, {"cloud_properties"=>{"machine_type"=>"n1-standard-32", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"n1-standard-32"}, {"cloud_properties"=>{"machine_type"=>"n1-highmem-2", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"n1-highmem-2"}, {"cloud_properties"=>{"machine_type"=>"n1-highmem-4", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"n1-highmem-4"}, {"cloud_properties"=>{"machine_type"=>"n1-highmem-8", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"n1-highmem-8"}, {"cloud_properties"=>{"machine_type"=>"n1-highmem-16", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"n1-highmem-16"}, {"cloud_properties"=>{"machine_type"=>"n1-highmem-32", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"n1-highmem-32"}, {"cloud_properties"=>{"machine_type"=>"n1-highcpu-2", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"n1-highcpu-2"}, {"cloud_properties"=>{"machine_type"=>"n1-highcpu-4", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"n1-highcpu-4"}, {"cloud_properties"=>{"machine_type"=>"n1-highcpu-8", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"n1-highcpu-8"}, {"cloud_properties"=>{"machine_type"=>"n1-highcpu-16", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"n1-highcpu-16"}, {"cloud_properties"=>{"machine_type"=>"n1-highcpu-32", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"n1-highcpu-32"}, {"cloud_properties"=>{"machine_type"=>"f1-micro", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"f1-micro"}, {"cloud_properties"=>{"machine_type"=>"g1-small", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"g1-small"}, {"cloud_properties"=>{"machine_type"=>"n1-standard-1", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"m3.medium"}, {"cloud_properties"=>{"machine_type"=>"n1-standard-2", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"m3.large"}, {"cloud_properties"=>{"machine_type"=>"n1-highcpu-2", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"c3.large"}, {"cloud_properties"=>{"machine_type"=>"n1-highmem-4", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"r3.xlarge"}, {"cloud_properties"=>{"machine_type"=>"g1-small", "root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"t2.small"}], "disk_types"=>[{"cloud_properties"=>{"encrypted"=>true, "type"=>"pd-ssd"}, "disk_size"=>1024, "name"=>"default"}, {"cloud_properties"=>{"encrypted"=>true, "type"=>"pd-ssd"}, "disk_size"=>1024, "name"=>"1GB"}, {"cloud_properties"=>{"encrypted"=>true, "type"=>"pd-ssd"}, "disk_size"=>5120, "name"=>"5GB"}, {"cloud_properties"=>{"encrypted"=>true, "type"=>"pd-ssd"}, "disk_size"=>10240, "name"=>"10GB"}, {"cloud_properties"=>{"encrypted"=>true, "type"=>"pd-ssd"}, "disk_size"=>51200, "name"=>"50GB"}, {"cloud_properties"=>{"encrypted"=>true, "type"=>"pd-ssd"}, "disk_size"=>102400, "name"=>"100GB"}, {"cloud_properties"=>{"encrypted"=>true, "type"=>"pd-ssd"}, "disk_size"=>512000, "name"=>"500GB"}, {"cloud_properties"=>{"encrypted"=>true, "type"=>"pd-ssd"}, "disk_size"=>1048576, "name"=>"1TB"}], "networks"=>[{"name"=>"private", "subnets"=>[{"az"=>"z1", "cloud_properties"=>{"ephemeral_external_ip"=>true, "network_name"=>"bbl-env-nipigon-2018-06-07t21-36z-network", "subnetwork_name"=>"bbl-env-nipigon-2018-06-07t21-36z-subnet", "tags"=>["bbl-env-nipigon-2018-06-07t21-36z-internal"]}, "gateway"=>"10.0.16.1", "range"=>"10.0.16.0/24", "reserved"=>["10.0.16.2-10.0.16.3", "10.0.16.255"], "static"=>["10.0.16.190-10.0.16.254"]}, {"az"=>"z2", "cloud_properties"=>{"ephemeral_external_ip"=>true, "network_name"=>"bbl-env-nipigon-2018-06-07t21-36z-network", "subnetwork_name"=>"bbl-env-nipigon-2018-06-07t21-36z-subnet", "tags"=>["bbl-env-nipigon-2018-06-07t21-36z-internal"]}, "gateway"=>"10.0.32.1", "range"=>"10.0.32.0/24", "reserved"=>["10.0.32.2-10.0.32.3", "10.0.32.255"], "static"=>["10.0.32.190-10.0.32.254"]}, {"az"=>"z3", "cloud_properties"=>{"ephemeral_external_ip"=>true, "network_name"=>"bbl-env-nipigon-2018-06-07t21-36z-network", "subnetwork_name"=>"bbl-env-nipigon-2018-06-07t21-36z-subnet", "tags"=>["bbl-env-nipigon-2018-06-07t21-36z-internal"]}, "gateway"=>"10.0.48.1", "range"=>"10.0.48.0/24", "reserved"=>["10.0.48.2-10.0.48.3", "10.0.48.255"], "static"=>["10.0.48.190-10.0.48.254"]}], "type"=>"manual"}, {"name"=>"default", "subnets"=>[{"az"=>"z1", "cloud_properties"=>{"ephemeral_external_ip"=>true, "network_name"=>"bbl-env-nipigon-2018-06-07t21-36z-network", "subnetwork_name"=>"bbl-env-nipigon-2018-06-07t21-36z-subnet", "tags"=>["bbl-env-nipigon-2018-06-07t21-36z-internal"]}, "gateway"=>"10.0.16.1", "range"=>"10.0.16.0/24", "reserved"=>["10.0.16.2-10.0.16.3", "10.0.16.255"], "static"=>["10.0.16.190-10.0.16.254"]}, {"az"=>"z2", "cloud_properties"=>{"ephemeral_external_ip"=>true, "network_name"=>"bbl-env-nipigon-2018-06-07t21-36z-network", "subnetwork_name"=>"bbl-env-nipigon-2018-06-07t21-36z-subnet", "tags"=>["bbl-env-nipigon-2018-06-07t21-36z-internal"]}, "gateway"=>"10.0.32.1", "range"=>"10.0.32.0/24", "reserved"=>["10.0.32.2-10.0.32.3", "10.0.32.255"], "static"=>["10.0.32.190-10.0.32.254"]}, {"az"=>"z3", "cloud_properties"=>{"ephemeral_external_ip"=>true, "network_name"=>"bbl-env-nipigon-2018-06-07t21-36z-network", "subnetwork_name"=>"bbl-env-nipigon-2018-06-07t21-36z-subnet", "tags"=>["bbl-env-nipigon-2018-06-07t21-36z-internal"]}, "gateway"=>"10.0.48.1", "range"=>"10.0.48.0/24", "reserved"=>["10.0.48.2-10.0.48.3", "10.0.48.255"], "static"=>["10.0.48.190-10.0.48.254"]}], "type"=>"manual"}], "vm_extensions"=>[{"cloud_properties"=>{"root_disk_size_gb"=>1, "root_disk_type"=>"pd-ssd"}, "name"=>"1GB_ephemeral_disk"}, {"cloud_properties"=>{"root_disk_size_gb"=>5, "root_disk_type"=>"pd-ssd"}, "name"=>"5GB_ephemeral_disk"}, {"cloud_properties"=>{"root_disk_size_gb"=>10, "root_disk_type"=>"pd-ssd"}, "name"=>"10GB_ephemeral_disk"}, {"cloud_properties"=>{"root_disk_size_gb"=>50, "root_disk_type"=>"pd-ssd"}, "name"=>"50GB_ephemeral_disk"}, {"cloud_properties"=>{"root_disk_size_gb"=>100, "root_disk_type"=>"pd-ssd"}, "name"=>"100GB_ephemeral_disk"}, {"cloud_properties"=>{"root_disk_size_gb"=>500, "root_disk_type"=>"pd-ssd"}, "name"=>"500GB_ephemeral_disk"}, {"cloud_properties"=>{"root_disk_size_gb"=>1000, "root_disk_type"=>"pd-ssd"}, "name"=>"1TB_ephemeral_disk"}, {"cloud_properties"=>{"ephemeral_external_ip"=>true}, "name"=>"internet-required"}, {"cloud_properties"=>{"ephemeral_external_ip"=>false}, "name"=>"internet-not-required"}, {"cloud_properties"=>{"preemptible"=>true}, "name"=>"preemptible"}], "compilation"=>{"az"=>"z1", "network"=>"private", "reuse_compilation_vms"=>true, "vm_extensions"=>["100GB_ephemeral_disk"], "vm_type"=>"n1-highcpu-8", "workers"=>6}}
D, [2018-06-08T00:01:05.397341 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000214s) (conn: 47018331589620) SELECT * FROM "deployments" WHERE ("name" = 'zookeeper') LIMIT 1
D, [2018-06-08T00:01:05.399610 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000165s) (conn: 47018331589620) SELECT * FROM "variable_sets" WHERE ("variable_sets"."deployment_id" = 4)
D, [2018-06-08T00:01:05.400842 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000165s) (conn: 47018331589620) SELECT * FROM "deployments" WHERE ("name" = 'zookeeper') LIMIT 1
D, [2018-06-08T00:01:05.401724 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000178s) (conn: 47018331589620) SELECT * FROM "variable_sets" WHERE ("variable_sets"."deployment_id" = 4) ORDER BY "created_at" DESC LIMIT 1
D, [2018-06-08T00:01:05.403566 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000158s) (conn: 47018331589620) SELECT * FROM "deployments" WHERE "id" = 4
I, [2018-06-08T00:01:05.403763 #29011] [task:89] INFO -- DirectorJobRunner: Creating deployment plan
I, [2018-06-08T00:01:05.403838 #29011] [task:89] INFO -- DirectorJobRunner: Deployment plan options: {"is_deploy_action"=>true, "recreate"=>false, "fix"=>false, "skip_drain"=>nil, "job_states"=>{}, "max_in_flight"=>nil, "canaries"=>nil, "tags"=>{}}
D, [2018-06-08T00:01:05.407046 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000486s) (conn: 47018331589620) SELECT "teams".* FROM "teams" INNER JOIN "deployments_teams" ON ("deployments_teams"."team_id" = "teams"."id") WHERE ("deployments_teams"."deployment_id" = 4) ORDER BY "name" ASC
D, [2018-06-08T00:01:05.408700 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000453s) (conn: 47018331589620) SELECT * FROM "configs" WHERE ("id" IN (SELECT max("id") FROM "configs" WHERE (((1 = 0) OR ("team_id" IS NULL)) AND ("type" = 'cloud')) GROUP BY "name"))
D, [2018-06-08T00:01:05.475884 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000249s) (conn: 47018331589620) SELECT * FROM "deployments" WHERE ("name" = 'zookeeper') LIMIT 1
D, [2018-06-08T00:01:05.476833 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000187s) (conn: 47018331589620) SELECT * FROM "variable_sets" WHERE ("variable_sets"."deployment_id" = 4) ORDER BY "created_at" DESC LIMIT 1
D, [2018-06-08T00:01:05.482023 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000195s) (conn: 47018331589620) SELECT * FROM "deployments" WHERE "id" = 4
D, [2018-06-08T00:01:05.485451 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000376s) (conn: 47018331589620) SELECT * FROM "configs" WHERE ("id" IN (SELECT max("id") FROM "configs" WHERE ("type" = 'cpi') GROUP BY "name"))
D, [2018-06-08T00:01:05.509680 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000798s) (conn: 47018331589620) SELECT * FROM "deployments" WHERE ((("deployments"."id" NOT IN (SELECT "deployments_configs"."deployment_id" FROM "configs" INNER JOIN "deployments_configs" ON ("deployments_configs"."config_id" = "configs"."id") WHERE (("type" = 'cloud') AND ("deployments_configs"."deployment_id" IS NOT NULL) AND ("configs"."id" IN (SELECT "configs"."id" FROM "configs" WHERE ("type" = 'cloud')))))) OR ("deployments"."id" IS NULL)) AND ("name" != 'zookeeper') AND ("manifest" IS NOT NULL))
I, [2018-06-08T00:01:05.510240 #29011] [task:89] INFO -- DirectorJobRunner: Following networks and individual IPs are reserved by non-cloud-config deployments: 10.0.0.6
D, [2018-06-08T00:01:05.510404 #29011] [task:89] DEBUG -- DirectorJobRunner: reserved ranges 10.0.0.6
D, [2018-06-08T00:01:05.511903 #29011] [task:89] DEBUG -- DirectorJobRunner: reserved ranges 10.0.0.6
D, [2018-06-08T00:01:05.515117 #29011] [task:89] DEBUG -- DirectorJobRunner: reserved ranges 10.0.0.6
I, [2018-06-08T00:01:05.537764 #29011] [task:89] INFO -- DirectorJobRunner: Following networks and individual IPs are reserved by non-cloud-config deployments: 10.0.0.6
D, [2018-06-08T00:01:05.537942 #29011] [task:89] DEBUG -- DirectorJobRunner: reserved ranges 10.0.0.6
D, [2018-06-08T00:01:05.540517 #29011] [task:89] DEBUG -- DirectorJobRunner: reserved ranges 10.0.0.6
D, [2018-06-08T00:01:05.543268 #29011] [task:89] DEBUG -- DirectorJobRunner: reserved ranges 10.0.0.6
D, [2018-06-08T00:01:05.553588 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000366s) (conn: 47018331589620) SELECT * FROM "releases" WHERE ("name" = 'zookeeper') LIMIT 1
D, [2018-06-08T00:01:05.556774 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000213s) (conn: 47018331589620) SELECT * FROM "release_versions" WHERE (("release_versions"."release_id" = 3) AND ("version" = '0.0.8')) LIMIT 1
D, [2018-06-08T00:01:05.558750 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000590s) (conn: 47018331589620) SELECT "templates".* FROM "templates" INNER JOIN "release_versions_templates" ON ("release_versions_templates"."template_id" = "templates"."id") WHERE ("release_versions_templates"."release_version_id" = 4)
D, [2018-06-08T00:01:05.569577 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000373s) (conn: 47018331589620) SELECT * FROM "link_providers" WHERE (("link_providers"."deployment_id" = 4) AND ("instance_group" = 'zookeeper') AND ("name" = 'zookeeper') AND ("type" = 'job')) LIMIT 1
D, [2018-06-08T00:01:05.572573 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000061s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.573466 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000444s) (conn: 47018331589620) INSERT INTO "link_providers" ("deployment_id", "instance_group", "name", "type") VALUES (4, 'zookeeper', 'zookeeper', 'job') RETURNING *
D, [2018-06-08T00:01:05.575541 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.001812s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.576093 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000058s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.578701 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000291s) (conn: 47018331589620) UPDATE "link_providers" SET "deployment_id" = 4, "instance_group" = 'zookeeper', "name" = 'zookeeper', "type" = 'job', "serial_id" = 1 WHERE ("id" = 4)
D, [2018-06-08T00:01:05.580387 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.001535s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.584190 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000388s) (conn: 47018331589620) SELECT * FROM "link_provider_intents" WHERE (("link_provider_intents"."link_provider_id" = 4) AND ("original_name" = 'conn')) LIMIT 1
D, [2018-06-08T00:01:05.587123 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000064s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.587928 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000437s) (conn: 47018331589620) INSERT INTO "link_provider_intents" ("link_provider_id", "original_name", "type") VALUES (4, 'conn', 'zookeeper') RETURNING *
D, [2018-06-08T00:01:05.589598 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.001441s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.592106 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000059s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.593080 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000334s) (conn: 47018331589620) UPDATE "link_provider_intents" SET "link_provider_id" = 4, "original_name" = 'conn', "type" = 'zookeeper', "name" = NULL, "content" = NULL, "shared" = false, "consumable" = true, "metadata" = NULL, "serial_id" = 1 WHERE ("id" = 7)
D, [2018-06-08T00:01:05.594644 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.001418s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.595462 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000070s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.596175 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000253s) (conn: 47018331589620) UPDATE "link_provider_intents" SET "link_provider_id" = 4, "original_name" = 'conn', "type" = 'zookeeper', "name" = 'conn', "content" = NULL, "shared" = true, "consumable" = true, "metadata" = '{"mapped_properties":{"client_port":2181}}', "serial_id" = 1 WHERE ("id" = 7)
D, [2018-06-08T00:01:05.598063 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.001767s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.601119 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000279s) (conn: 47018331589620) SELECT * FROM "link_provider_intents" WHERE (("link_provider_intents"."link_provider_id" = 4) AND ("original_name" = 'peers')) LIMIT 1
D, [2018-06-08T00:01:05.603361 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000057s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.604103 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000317s) (conn: 47018331589620) INSERT INTO "link_provider_intents" ("link_provider_id", "original_name", "type") VALUES (4, 'peers', 'zookeeper_peers') RETURNING *
D, [2018-06-08T00:01:05.606070 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.001768s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.606534 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000054s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.607135 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000212s) (conn: 47018331589620) UPDATE "link_provider_intents" SET "link_provider_id" = 4, "original_name" = 'peers', "type" = 'zookeeper_peers', "name" = NULL, "content" = NULL, "shared" = false, "consumable" = true, "metadata" = NULL, "serial_id" = 1 WHERE ("id" = 8)
D, [2018-06-08T00:01:05.612484 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.005178s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.614898 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000068s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.615649 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000293s) (conn: 47018331589620) UPDATE "link_provider_intents" SET "link_provider_id" = 4, "original_name" = 'peers', "type" = 'zookeeper_peers', "name" = 'peers', "content" = NULL, "shared" = false, "consumable" = true, "metadata" = '{"mapped_properties":{"client_port":2181,"quorum_port":2888,"leader_election_port":3888}}', "serial_id" = 1 WHERE ("id" = 8)
D, [2018-06-08T00:01:05.617674 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.001898s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.621476 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000406s) (conn: 47018331589620) SELECT * FROM "link_consumers" WHERE (("link_consumers"."deployment_id" = 4) AND ("instance_group" = 'zookeeper') AND ("name" = 'zookeeper') AND ("type" = 'job')) LIMIT 1
D, [2018-06-08T00:01:05.624410 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000057s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.625190 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000414s) (conn: 47018331589620) INSERT INTO "link_consumers" ("deployment_id", "instance_group", "name", "type") VALUES (4, 'zookeeper', 'zookeeper', 'job') RETURNING *
D, [2018-06-08T00:01:05.626917 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.001513s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.629345 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000057s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.630077 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000300s) (conn: 47018331589620) UPDATE "link_consumers" SET "deployment_id" = 4, "instance_group" = 'zookeeper', "name" = 'zookeeper', "type" = 'job', "serial_id" = 1 WHERE ("id" = 4)
D, [2018-06-08T00:01:05.631559 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.001337s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.635745 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000387s) (conn: 47018331589620) SELECT * FROM "link_consumer_intents" WHERE (("link_consumer_intents"."link_consumer_id" = 4) AND ("original_name" = 'peers')) LIMIT 1
D, [2018-06-08T00:01:05.637666 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000101s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.640896 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000651s) (conn: 47018331589620) INSERT INTO "link_consumer_intents" ("link_consumer_id", "original_name", "type", "metadata") VALUES (4, 'peers', 'zookeeper_peers', 'null') RETURNING *
D, [2018-06-08T00:01:05.643874 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.002620s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.644606 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000080s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.645500 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000257s) (conn: 47018331589620) UPDATE "link_consumer_intents" SET "link_consumer_id" = 4, "original_name" = 'peers', "type" = 'zookeeper_peers', "name" = NULL, "optional" = false, "blocked" = false, "metadata" = 'null', "serial_id" = 1 WHERE ("id" = 4)
D, [2018-06-08T00:01:05.646981 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.001329s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.651447 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000078s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.652372 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000309s) (conn: 47018331589620) UPDATE "link_consumer_intents" SET "link_consumer_id" = 4, "original_name" = 'peers', "type" = 'zookeeper_peers', "name" = 'peers', "optional" = false, "blocked" = false, "metadata" = '{"explicit_link":false}', "serial_id" = 1 WHERE ("id" = 4)
D, [2018-06-08T00:01:05.653940 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.001404s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.658946 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000269s) (conn: 47018331589620) SELECT * FROM "link_consumers" WHERE ("link_consumers"."deployment_id" = 4)
D, [2018-06-08T00:01:05.661842 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000172s) (conn: 47018331589620) SELECT * FROM "link_consumer_intents" WHERE ("link_consumer_intents"."link_consumer_id" = 4)
D, [2018-06-08T00:01:05.662931 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000160s) (conn: 47018331589620) SELECT * FROM "link_providers" WHERE ("link_providers"."deployment_id" = 4)
D, [2018-06-08T00:01:05.665417 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000174s) (conn: 47018331589620) SELECT * FROM "link_provider_intents" WHERE ("link_provider_intents"."link_provider_id" = 4)
D, [2018-06-08T00:01:05.666647 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000278s) (conn: 47018331589620) SELECT * FROM "local_dns_encoded_azs" WHERE ("name" = 'z1') LIMIT 1
D, [2018-06-08T00:01:05.667485 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000144s) (conn: 47018331589620) SELECT * FROM "local_dns_encoded_azs" WHERE ("name" = 'z2') LIMIT 1
D, [2018-06-08T00:01:05.668268 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000142s) (conn: 47018331589620) SELECT * FROM "local_dns_encoded_azs" WHERE ("name" = 'z3') LIMIT 1
D, [2018-06-08T00:01:05.671204 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000379s) (conn: 47018331589620) SELECT * FROM "local_dns_encoded_networks" WHERE ("name" = 'private') LIMIT 1
D, [2018-06-08T00:01:05.674374 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000173s) (conn: 47018331589620) SELECT * FROM "local_dns_encoded_networks" WHERE ("name" = 'default') LIMIT 1
D, [2018-06-08T00:01:05.677653 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000287s) (conn: 47018331589620) SELECT * FROM "local_dns_encoded_instance_groups" WHERE (("name" = 'zookeeper') AND ("local_dns_encoded_instance_groups"."deployment_id" = 4)) LIMIT 1
D, [2018-06-08T00:01:05.680077 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000059s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.681064 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000537s) (conn: 47018331589620) INSERT INTO "local_dns_encoded_instance_groups" ("name", "deployment_id") VALUES ('zookeeper', 4) RETURNING *
D, [2018-06-08T00:01:05.683587 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.002274s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.684328 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000136s) (conn: 47018331589620) SELECT * FROM "local_dns_encoded_azs"
D, [2018-06-08T00:01:05.686857 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000290s) (conn: 47018331589620) SELECT "local_dns_encoded_instance_groups"."id" AS "id", "local_dns_encoded_instance_groups"."name" AS "name", "deployments"."name" AS "deployment_name" FROM "local_dns_encoded_instance_groups" INNER JOIN "deployments" ON ("local_dns_encoded_instance_groups"."deployment_id" = "deployments"."id")
D, [2018-06-08T00:01:05.688090 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000186s) (conn: 47018331589620) SELECT * FROM "deployments" WHERE ("name" = 'zookeeper') LIMIT 1
D, [2018-06-08T00:01:05.690398 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000192s) (conn: 47018331589620) SELECT * FROM "variable_sets" WHERE ("variable_sets"."deployment_id" = 4) ORDER BY "created_at" DESC LIMIT 1
I, [2018-06-08T00:01:05.690786 #29011] [task:89] INFO -- DirectorJobRunner: Binding models
D, [2018-06-08T00:01:05.691881 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000344s) (conn: 47018331589620) SELECT * FROM "instances" WHERE ("instances"."deployment_id" = 4)
I, [2018-06-08T00:01:05.693186 #29011] [task:89] INFO -- DirectorJobRunner: Acquiring release lock: zookeeper
D, [2018-06-08T00:01:05.693310 #29011] [task:89] DEBUG -- DirectorJobRunner: Acquiring lock: lock:release:zookeeper
D, [2018-06-08T00:01:05.694903 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000279s) (conn: 47018331589620) SELECT count(*) AS "count" FROM "locks" WHERE (("name" = 'lock:release:zookeeper') AND ("uid" = '5fe11db6-803f-43b9-9415-347b00dd7cd4')) LIMIT 1
D, [2018-06-08T00:01:05.697201 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000062s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.697978 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000246s) (conn: 47018331589620) INSERT INTO "locks" ("name", "uid", "expired_at", "task_id") VALUES ('lock:release:zookeeper', '5fe11db6-803f-43b9-9415-347b00dd7cd4', '2018-06-08 00:05:06.693354+0000', '89') RETURNING *
D, [2018-06-08T00:01:05.700151 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.001826s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.700273 #29011] [task:89] DEBUG -- DirectorJobRunner: Acquired lock: lock:release:zookeeper
D, [2018-06-08T00:01:05.701440 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000056s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.702132 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000231s) (conn: 47018331589620) INSERT INTO "events" ("parent_id", "timestamp", "user", "action", "object_type", "object_name", "error", "task", "deployment", "instance", "context_json") VALUES (NULL, '2018-06-08 00:01:05.700329+0000', 'admin', 'acquire', 'lock', 'lock:release:zookeeper', NULL, '89', NULL, NULL, '{}') RETURNING *
D, [2018-06-08T00:01:05.704022 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.001493s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.705790 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000216s) (conn: 47018331589620) SELECT * FROM "releases" WHERE ("name" = 'zookeeper') LIMIT 1
D, [2018-06-08T00:01:05.707023 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000213s) (conn: 47018331589620) SELECT * FROM "release_versions" WHERE (("release_versions"."release_id" = 3) AND ("version" = '0.0.8')) LIMIT 1
D, [2018-06-08T00:01:05.707180 #29011] [task:89] DEBUG -- DirectorJobRunner: Found release 'zookeeper/0.0.8'
D, [2018-06-08T00:01:05.707989 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000308s) (conn: 47018331589620) SELECT "release_versions".* FROM "release_versions" INNER JOIN "deployments_release_versions" ON ("deployments_release_versions"."release_version_id" = "release_versions"."id") WHERE ("deployments_release_versions"."deployment_id" = 4)
D, [2018-06-08T00:01:05.708204 #29011] [task:89] DEBUG -- DirectorJobRunner: Binding release 'zookeeper/0.0.8' to deployment 'zookeeper'
D, [2018-06-08T00:01:05.709866 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000634s) (conn: 47018331589620) SELECT pg_attribute.attname AS pk FROM pg_class, pg_attribute, pg_index, pg_namespace WHERE pg_class.oid = pg_attribute.attrelid AND pg_class.relnamespace = pg_namespace.oid AND pg_class.oid = pg_index.indrelid AND pg_index.indkey[0] = pg_attribute.attnum AND pg_index.indisprimary = 't' AND pg_class.oid = CAST(CAST('"deployments_release_versions"' AS regclass) AS oid)
D, [2018-06-08T00:01:05.712578 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.001893s) (conn: 47018331589620) INSERT INTO "deployments_release_versions" ("deployment_id", "release_version_id") VALUES (4, 4) RETURNING "id"
D, [2018-06-08T00:01:05.719660 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.001718s) (conn: 47018331589620) DELETE FROM "locks" WHERE (("name" = 'lock:release:zookeeper') AND ("uid" = '5fe11db6-803f-43b9-9415-347b00dd7cd4'))
D, [2018-06-08T00:01:05.720990 #29011] [task:89] DEBUG -- DirectorJobRunner: Deleted lock: lock:release:zookeeper uid: 5fe11db6-803f-43b9-9415-347b00dd7cd4
D, [2018-06-08T00:01:05.722150 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000062s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.722857 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000243s) (conn: 47018331589620) INSERT INTO "events" ("parent_id", "timestamp", "user", "action", "object_type", "object_name", "error", "task", "deployment", "instance", "context_json") VALUES (NULL, '2018-06-08 00:01:05.721211+0000', 'admin', 'release', 'lock', 'lock:release:zookeeper', NULL, '89', NULL, NULL, '{}') RETURNING *
D, [2018-06-08T00:01:05.724791 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.001562s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.726533 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000257s) (conn: 47018331589620) SELECT * FROM "stemcells" WHERE (("operating_system" = 'ubuntu-trusty') AND ("version" = '3586.18')) ORDER BY "name"
D, [2018-06-08T00:01:05.728434 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000285s) (conn: 47018331589620) SELECT "deployments".* FROM "deployments" INNER JOIN "deployments_stemcells" ON ("deployments_stemcells"."deployment_id" = "deployments"."id") WHERE ("deployments_stemcells"."stemcell_id" = 3)
D, [2018-06-08T00:01:05.729915 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000490s) (conn: 47018331589620) SELECT pg_attribute.attname AS pk FROM pg_class, pg_attribute, pg_index, pg_namespace WHERE pg_class.oid = pg_attribute.attrelid AND pg_class.relnamespace = pg_namespace.oid AND pg_class.oid = pg_index.indrelid AND pg_index.indkey[0] = pg_attribute.attnum AND pg_index.indisprimary = 't' AND pg_class.oid = CAST(CAST('"deployments_stemcells"' AS regclass) AS oid)
D, [2018-06-08T00:01:05.733106 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.002382s) (conn: 47018331589620) INSERT INTO "deployments_stemcells" ("stemcell_id", "deployment_id") VALUES (3, 4) RETURNING "id"
D, [2018-06-08T00:01:05.733539 #29011] [task:89] DEBUG -- DirectorJobRunner: Waiting for tasks to complete
D, [2018-06-08T00:01:05.733633 #29011] [task:89] DEBUG -- DirectorJobRunner: Shutting down pool
D, [2018-06-08T00:01:05.745581 #29011] [task:89] DEBUG -- DirectorJobRunner: Job 'zookeeper' does not have networks with static IPs, placing instances based on persistent disk allocation
D, [2018-06-08T00:01:05.745765 #29011] [task:89] DEBUG -- DirectorJobRunner: Desired azs: [az: z1]
D, [2018-06-08T00:01:05.745924 #29011] [task:89] DEBUG -- DirectorJobRunner: az: az: z1
D, [2018-06-08T00:01:05.747620 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000279s) (conn: 47018331589620) SELECT * FROM "instances" WHERE (("job" = 'zookeeper') AND ("instances"."deployment_id" = 4))
D, [2018-06-08T00:01:05.747842 #29011] [task:89] DEBUG -- DirectorJobRunner: Creating new desired instance for: <DesiredInstance az=z1 index=0>
D, [2018-06-08T00:01:05.748789 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000197s) (conn: 47018331589620) SELECT * FROM "variable_sets" WHERE ("variable_sets"."deployment_id" = 4) ORDER BY "created_at" DESC LIMIT 1
D, [2018-06-08T00:01:05.751409 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000218s) (conn: 47018331589620) SELECT count(*) AS "count" FROM "instances" WHERE (("deployment_id" = 4) AND ("job" = 'zookeeper') AND ("index" = 0)) LIMIT 1
D, [2018-06-08T00:01:05.752407 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000160s) (conn: 47018331589620) SELECT count(*) AS "count" FROM "instances" WHERE false LIMIT 1
D, [2018-06-08T00:01:05.752891 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000056s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.754216 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000781s) (conn: 47018331589620) INSERT INTO "instances" ("deployment_id", "job", "index", "state", "compilation", "uuid", "availability_zone", "bootstrap", "variable_set_id") VALUES (4, 'zookeeper', 0, 'started', false, '97658dbe-4109-4377-93c7-f96c963ce399', 'z1', false, 5) RETURNING *
D, [2018-06-08T00:01:05.756614 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.002154s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.757353 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000208s) (conn: 47018331589620) SELECT * FROM "variable_sets" WHERE "id" = 5
D, [2018-06-08T00:01:05.758241 #29011] [task:89] DEBUG -- DirectorJobRunner: Creating new dynamic reservation {type=dynamic, ip=, network=default, instance=zookeeper/97658dbe-4109-4377-93c7-f96c963ce399 (0)} for instance 'zookeeper/97658dbe-4109-4377-93c7-f96c963ce399 (0)'
D, [2018-06-08T00:01:05.758361 #29011] [task:89] DEBUG -- DirectorJobRunner: Assigning az 'z1' to instance 'zookeeper/97658dbe-4109-4377-93c7-f96c963ce399 (0)'
I, [2018-06-08T00:01:05.758542 #29011] [task:89] INFO -- DirectorJobRunner: New desired instance 'zookeeper/0' in az 'z1'
I, [2018-06-08T00:01:05.758732 #29011] [task:89] INFO -- DirectorJobRunner: No existing bootstrap instance. Going to pick a new bootstrap instance.
I, [2018-06-08T00:01:05.758795 #29011] [task:89] INFO -- DirectorJobRunner: Marking new bootstrap instance 'zookeeper/97658dbe-4109-4377-93c7-f96c963ce399 (0)' in az 'z1'
D, [2018-06-08T00:01:05.760275 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000239s) (conn: 47018331589620) SELECT count(*) AS "count" FROM "instances" WHERE (("deployment_id" = 4) AND ("job" = 'zookeeper') AND ("index" = 0) AND ("id" != 8)) LIMIT 1
D, [2018-06-08T00:01:05.761259 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000174s) (conn: 47018331589620) SELECT count(*) AS "count" FROM "instances" WHERE (false AND ("id" != 8)) LIMIT 1
D, [2018-06-08T00:01:05.761684 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000054s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.762287 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000260s) (conn: 47018331589620) UPDATE "instances" SET "bootstrap" = true WHERE ("id" = 8)
D, [2018-06-08T00:01:05.763812 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.001398s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.763950 #29011] [task:89] DEBUG -- DirectorJobRunner: Sorting instance plan to update them always in the same order
D, [2018-06-08T00:01:05.764172 #29011] [task:89] DEBUG -- DirectorJobRunner: Binding template 'zookeeper'
D, [2018-06-08T00:01:05.764889 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000325s) (conn: 47018331589620) SELECT "templates".* FROM "templates" INNER JOIN "release_versions_templates" ON ("release_versions_templates"."template_id" = "templates"."id") WHERE ("release_versions_templates"."release_version_id" = 4)
D, [2018-06-08T00:01:05.766655 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000532s) (conn: 47018331589620) SELECT "packages".* FROM "packages" INNER JOIN "packages_release_versions" ON ("packages_release_versions"."package_id" = "packages"."id") WHERE ("packages_release_versions"."release_version_id" = 4)
D, [2018-06-08T00:01:05.766885 #29011] [task:89] DEBUG -- DirectorJobRunner: Bound template 'zookeeper'
D, [2018-06-08T00:01:05.766936 #29011] [task:89] DEBUG -- DirectorJobRunner: Binding template 'status'
D, [2018-06-08T00:01:05.767004 #29011] [task:89] DEBUG -- DirectorJobRunner: Bound template 'status'
D, [2018-06-08T00:01:05.767537 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000148s) (conn: 47018331589620) SELECT * FROM "releases" WHERE "id" = 3
D, [2018-06-08T00:01:05.768595 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000167s) (conn: 47018331589620) SELECT * FROM "packages" WHERE ("packages"."release_id" = 3)
D, [2018-06-08T00:01:05.772351 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000177s) (conn: 47018331589620) SELECT * FROM "variable_sets" WHERE ("variable_sets"."deployment_id" = 4) ORDER BY "created_at" DESC LIMIT 1
D, [2018-06-08T00:01:05.772768 #29011] [task:89] DEBUG -- DirectorJobRunner: Using database ip repo
D, [2018-06-08T00:01:05.772939 #29011] [task:89] DEBUG -- DirectorJobRunner: [network-configuration] Allocating dynamic ip for manual network 'default'
D, [2018-06-08T00:01:05.773831 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000291s) (conn: 47018331589620) SELECT "address_str" FROM "ip_addresses"
D, [2018-06-08T00:01:05.776199 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000291s) (conn: 47018331589620) SELECT count(*) AS "count" FROM "ip_addresses" WHERE ("address_str" = '167776260') LIMIT 1
D, [2018-06-08T00:01:05.776703 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000056s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.777889 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000481s) (conn: 47018331589620) INSERT INTO "ip_addresses" ("address_str", "network_name", "task_id", "static", "instance_id", "created_at") VALUES ('167776260', 'default', '89', false, 8, '2018-06-08 00:01:05.776803+0000') RETURNING *
D, [2018-06-08T00:01:05.780326 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.002077s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.780630 #29011] [task:89] DEBUG -- DirectorJobRunner: [network-configuration] Allocated dynamic IP '10.0.16.4' for default
D, [2018-06-08T00:01:05.780744 #29011] [task:89] DEBUG -- DirectorJobRunner: [network-configuration] Reserving dynamic IP '10.0.16.4' for manual network 'default'
D, [2018-06-08T00:01:05.781579 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000176s) (conn: 47018331589620) SELECT * FROM "deployments" WHERE "id" = 4
D, [2018-06-08T00:01:05.782383 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000118s) (conn: 47018331589620) SELECT * FROM "local_dns_encoded_azs"
D, [2018-06-08T00:01:05.783423 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000240s) (conn: 47018331589620) SELECT "local_dns_encoded_instance_groups"."id" AS "id", "local_dns_encoded_instance_groups"."name" AS "name", "deployments"."name" AS "deployment_name" FROM "local_dns_encoded_instance_groups" INNER JOIN "deployments" ON ("local_dns_encoded_instance_groups"."deployment_id" = "deployments"."id")
D, [2018-06-08T00:01:05.784107 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000115s) (conn: 47018331589620) SELECT * FROM "local_dns_encoded_azs"
D, [2018-06-08T00:01:05.784922 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000200s) (conn: 47018331589620) SELECT "local_dns_encoded_instance_groups"."id" AS "id", "local_dns_encoded_instance_groups"."name" AS "name", "deployments"."name" AS "deployment_name" FROM "local_dns_encoded_instance_groups" INNER JOIN "deployments" ON ("local_dns_encoded_instance_groups"."deployment_id" = "deployments"."id")
D, [2018-06-08T00:01:05.785582 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000126s) (conn: 47018331589620) SELECT * FROM "local_dns_encoded_azs"
D, [2018-06-08T00:01:05.786393 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000200s) (conn: 47018331589620) SELECT "local_dns_encoded_instance_groups"."id" AS "id", "local_dns_encoded_instance_groups"."name" AS "name", "deployments"."name" AS "deployment_name" FROM "local_dns_encoded_instance_groups" INNER JOIN "deployments" ON ("local_dns_encoded_instance_groups"."deployment_id" = "deployments"."id")
D, [2018-06-08T00:01:05.787200 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000056s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.787867 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000224s) (conn: 47018331589620) UPDATE "link_provider_intents" SET "link_provider_id" = 4, "original_name" = 'conn', "type" = 'zookeeper', "name" = 'conn', "content" = '{"deployment_name":"zookeeper","domain":"bosh","default_network":"default","networks":["default"],"instance_group":"zookeeper","properties":{"client_port":2181},"use_short_dns_addresses":false,"use_dns_addresses":false,"instances":[{"name":"zookeeper","id":"97658dbe-4109-4377-93c7-f96c963ce399","index":0,"bootstrap":true,"az":"z1","address":"10.0.16.4","addresses":{"default":"10.0.16.4"},"dns_addresses":{"default":"97658dbe-4109-4377-93c7-f96c963ce399.zookeeper.default.zookeeper.bosh"}}]}', "shared" = true, "consumable" = true, "metadata" = '{"mapped_properties":{"client_port":2181}}', "serial_id" = 1 WHERE ("id" = 7)
D, [2018-06-08T00:01:05.789485 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.001475s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.790113 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000117s) (conn: 47018331589620) SELECT * FROM "local_dns_encoded_azs"
D, [2018-06-08T00:01:05.791040 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000275s) (conn: 47018331589620) SELECT "local_dns_encoded_instance_groups"."id" AS "id", "local_dns_encoded_instance_groups"."name" AS "name", "deployments"."name" AS "deployment_name" FROM "local_dns_encoded_instance_groups" INNER JOIN "deployments" ON ("local_dns_encoded_instance_groups"."deployment_id" = "deployments"."id")
D, [2018-06-08T00:01:05.791674 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000110s) (conn: 47018331589620) SELECT * FROM "local_dns_encoded_azs"
D, [2018-06-08T00:01:05.792555 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000201s) (conn: 47018331589620) SELECT "local_dns_encoded_instance_groups"."id" AS "id", "local_dns_encoded_instance_groups"."name" AS "name", "deployments"."name" AS "deployment_name" FROM "local_dns_encoded_instance_groups" INNER JOIN "deployments" ON ("local_dns_encoded_instance_groups"."deployment_id" = "deployments"."id")
D, [2018-06-08T00:01:05.793276 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000145s) (conn: 47018331589620) SELECT * FROM "local_dns_encoded_azs"
D, [2018-06-08T00:01:05.794100 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000219s) (conn: 47018331589620) SELECT "local_dns_encoded_instance_groups"."id" AS "id", "local_dns_encoded_instance_groups"."name" AS "name", "deployments"."name" AS "deployment_name" FROM "local_dns_encoded_instance_groups" INNER JOIN "deployments" ON ("local_dns_encoded_instance_groups"."deployment_id" = "deployments"."id")
D, [2018-06-08T00:01:05.794764 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000055s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.795486 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000227s) (conn: 47018331589620) UPDATE "link_provider_intents" SET "link_provider_id" = 4, "original_name" = 'peers', "type" = 'zookeeper_peers', "name" = 'peers', "content" = '{"deployment_name":"zookeeper","domain":"bosh","default_network":"default","networks":["default"],"instance_group":"zookeeper","properties":{"client_port":2181,"quorum_port":2888,"leader_election_port":3888},"use_short_dns_addresses":false,"use_dns_addresses":false,"instances":[{"name":"zookeeper","id":"97658dbe-4109-4377-93c7-f96c963ce399","index":0,"bootstrap":true,"az":"z1","address":"10.0.16.4","addresses":{"default":"10.0.16.4"},"dns_addresses":{"default":"97658dbe-4109-4377-93c7-f96c963ce399.zookeeper.default.zookeeper.bosh"}}]}', "shared" = false, "consumable" = true, "metadata" = '{"mapped_properties":{"client_port":2181,"quorum_port":2888,"leader_election_port":3888}}', "serial_id" = 1 WHERE ("id" = 8)
D, [2018-06-08T00:01:05.797234 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.001605s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.798850 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000361s) (conn: 47018331589620) SELECT * FROM "links" WHERE (("link_provider_intent_id" = 8) AND ("link_consumer_intent_id" = 4))
D, [2018-06-08T00:01:05.800382 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000060s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.801655 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000542s) (conn: 47018331589620) INSERT INTO "links" ("name", "link_provider_intent_id", "link_consumer_intent_id", "link_content", "created_at") VALUES ('peers', 8, 4, '{"deployment_name":"zookeeper","domain":"bosh","default_network":"default","networks":["default"],"instance_group":"zookeeper","properties":{"client_port":2181,"quorum_port":2888,"leader_election_port":3888},"use_short_dns_addresses":false,"use_dns_addresses":false,"instances":[{"name":"zookeeper","id":"97658dbe-4109-4377-93c7-f96c963ce399","index":0,"bootstrap":true,"az":"z1","address":"10.0.16.4"}]}', '2018-06-08 00:01:05.800491+0000') RETURNING *
D, [2018-06-08T00:01:05.803613 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.001593s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.804204 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000059s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.804836 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000240s) (conn: 47018331589620) UPDATE "tasks" SET "event_output" = ("event_output" || '{"time":1528416065,"stage":"Preparing deployment","tags":[],"total":1,"task":"Preparing deployment","index":1,"state":"finished","progress":100}
') WHERE ("id" = 89)
D, [2018-06-08T00:01:05.806653 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.001698s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.807699 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000196s) (conn: 47018331589620) SELECT * FROM "deployments" WHERE ("name" = 'zookeeper') LIMIT 1
D, [2018-06-08T00:01:05.808427 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000281s) (conn: 47018331589620) SELECT "release_versions".* FROM "release_versions" INNER JOIN "deployments_release_versions" ON ("deployments_release_versions"."release_version_id" = "release_versions"."id") WHERE ("deployments_release_versions"."deployment_id" = 4)
D, [2018-06-08T00:01:05.809092 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000175s) (conn: 47018331589620) SELECT * FROM "releases" WHERE "id" = 3
D, [2018-06-08T00:01:05.809840 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000280s) (conn: 47018331589620) SELECT "stemcells".* FROM "stemcells" INNER JOIN "deployments_stemcells" ON ("deployments_stemcells"."stemcell_id" = "stemcells"."id") WHERE ("deployments_stemcells"."deployment_id" = 4) ORDER BY "name" ASC, "version" ASC
D, [2018-06-08T00:01:05.810765 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000170s) (conn: 47018331589620) SELECT * FROM "variable_sets" WHERE ("variable_sets"."deployment_id" = 4) ORDER BY "created_at" DESC LIMIT 1
D, [2018-06-08T00:01:05.811164 #29011] [task:89] DEBUG -- DirectorJobRunner: Rendering templates for instance zookeeper/97658dbe-4109-4377-93c7-f96c963ce399 (0)
D, [2018-06-08T00:01:05.812482 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000163s) (conn: 47018331589620) SELECT * FROM "local_dns_encoded_azs"
D, [2018-06-08T00:01:05.813622 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000241s) (conn: 47018331589620) SELECT "local_dns_encoded_instance_groups"."id" AS "id", "local_dns_encoded_instance_groups"."name" AS "name", "deployments"."name" AS "deployment_name" FROM "local_dns_encoded_instance_groups" INNER JOIN "deployments" ON ("local_dns_encoded_instance_groups"."deployment_id" = "deployments"."id")
D, [2018-06-08T00:01:05.814428 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000146s) (conn: 47018331589620) SELECT * FROM "local_dns_encoded_azs"
D, [2018-06-08T00:01:05.815361 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000243s) (conn: 47018331589620) SELECT "local_dns_encoded_instance_groups"."id" AS "id", "local_dns_encoded_instance_groups"."name" AS "name", "deployments"."name" AS "deployment_name" FROM "local_dns_encoded_instance_groups" INNER JOIN "deployments" ON ("local_dns_encoded_instance_groups"."deployment_id" = "deployments"."id")
D, [2018-06-08T00:01:05.816545 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000158s) (conn: 47018331589620) SELECT * FROM "deployments" WHERE "id" = 4
D, [2018-06-08T00:01:05.817921 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000221s) (conn: 47018331589620) SELECT * FROM "link_consumers" WHERE (("link_consumers"."deployment_id" = 4) AND ("instance_group" = 'zookeeper') AND ("serial_id" = 1))
D, [2018-06-08T00:01:05.818342 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000167s) (conn: 47018331589620) SELECT * FROM "link_consumer_intents" WHERE ("link_consumer_intents"."link_consumer_id" = 4)
D, [2018-06-08T00:01:05.819223 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000242s) (conn: 47018331589620) SELECT * FROM "links" WHERE ("links"."link_consumer_intent_id" = 4) ORDER BY "created_at" DESC LIMIT 1
D, [2018-06-08T00:01:05.820025 #29011] [task:89] DEBUG -- DirectorJobRunner: Extracting job zookeeper
D, [2018-06-08T00:01:05.820216 #29011] [task:89] DEBUG -- DirectorJobRunner: Downloading job 'zookeeper' (fc35597d-0af3-400f-bbba-4bd6d6a51cf7)...
D, [2018-06-08T00:01:05.849881 #29011] [task:89] DEBUG -- DirectorJobRunner: Job 'zookeeper' downloaded to /var/vcap/data/director/tmp/template-06f924fe-cc06-4f69-9608-c6fdb6792174 (took 0.029599813s)
D, [2018-06-08T00:01:05.859138 #29011] [task:89] DEBUG -- DirectorJobRunner: Extracting job status
D, [2018-06-08T00:01:05.859369 #29011] [task:89] DEBUG -- DirectorJobRunner: Downloading job 'status' (ae0e94c1-c92a-4607-8742-454ec3250af7)...
D, [2018-06-08T00:01:05.887235 #29011] [task:89] DEBUG -- DirectorJobRunner: Job 'status' downloaded to /var/vcap/data/director/tmp/template-c7c90eb3-2727-4662-af29-507a919d1941 (took 0.027800145s)
D, [2018-06-08T00:01:05.902055 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000170s) (conn: 47018331589620) SELECT * FROM "local_dns_encoded_azs"
D, [2018-06-08T00:01:05.903195 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000293s) (conn: 47018331589620) SELECT "local_dns_encoded_instance_groups"."id" AS "id", "local_dns_encoded_instance_groups"."name" AS "name", "deployments"."name" AS "deployment_name" FROM "local_dns_encoded_instance_groups" INNER JOIN "deployments" ON ("local_dns_encoded_instance_groups"."deployment_id" = "deployments"."id")
D, [2018-06-08T00:01:05.904072 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000125s) (conn: 47018331589620) SELECT * FROM "local_dns_encoded_azs"
D, [2018-06-08T00:01:05.904945 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000210s) (conn: 47018331589620) SELECT "local_dns_encoded_instance_groups"."id" AS "id", "local_dns_encoded_instance_groups"."name" AS "name", "deployments"."name" AS "deployment_name" FROM "local_dns_encoded_instance_groups" INNER JOIN "deployments" ON ("local_dns_encoded_instance_groups"."deployment_id" = "deployments"."id")
D, [2018-06-08T00:01:05.906000 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000190s) (conn: 47018331589620) SELECT * FROM "releases" WHERE ("name" = 'zookeeper') LIMIT 1
D, [2018-06-08T00:01:05.907242 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000171s) (conn: 47018331589620) SELECT * FROM "release_versions" WHERE (("release_versions"."release_id" = 3) AND ("version" = '0.0.8')) LIMIT 1
D, [2018-06-08T00:01:05.907766 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000132s) (conn: 47018331589620) SELECT * FROM "releases" WHERE "id" = 3
D, [2018-06-08T00:01:05.907932 #29011] [task:89] DEBUG -- DirectorJobRunner: Validating packages for release 'zookeeper/0.0.8'
D, [2018-06-08T00:01:05.908516 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000280s) (conn: 47018331589620) SELECT "packages".* FROM "packages" INNER JOIN "packages_release_versions" ON ("packages_release_versions"."package_id" = "packages"."id") WHERE ("packages_release_versions"."release_version_id" = 4)
D, [2018-06-08T00:01:05.909757 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000149s) (conn: 47018331589620) SELECT * FROM "releases" WHERE ("name" = 'zookeeper') LIMIT 1
D, [2018-06-08T00:01:05.910741 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000153s) (conn: 47018331589620) SELECT * FROM "release_versions" WHERE (("release_versions"."release_id" = 3) AND ("version" = '0.0.8')) LIMIT 1
D, [2018-06-08T00:01:05.911227 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000128s) (conn: 47018331589620) SELECT * FROM "releases" WHERE "id" = 3
D, [2018-06-08T00:01:05.911363 #29011] [task:89] DEBUG -- DirectorJobRunner: Validating packages for release 'zookeeper/0.0.8'
D, [2018-06-08T00:01:05.911874 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000246s) (conn: 47018331589620) SELECT "packages".* FROM "packages" INNER JOIN "packages_release_versions" ON ("packages_release_versions"."package_id" = "packages"."id") WHERE ("packages_release_versions"."release_version_id" = 4)
I, [2018-06-08T00:01:05.912258 #29011] [task:89] INFO -- DirectorJobRunner: Generating a list of compile tasks
D, [2018-06-08T00:01:05.912836 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000058s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.913439 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000233s) (conn: 47018331589620) UPDATE "tasks" SET "event_output" = ("event_output" || '{"time":1528416065,"stage":"Preparing package compilation","tags":[],"total":1,"task":"Finding packages to compile","index":1,"state":"started","progress":0}
') WHERE ("id" = 89)
D, [2018-06-08T00:01:05.915241 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.001690s) (conn: 47018331589620) COMMIT
I, [2018-06-08T00:01:05.915387 #29011] [task:89] INFO -- DirectorJobRunner: Job templates 'zookeeper/zookeeper', 'zookeeper/status' need to run on stemcell 'bosh-google-kvm-ubuntu-trusty-go_agent/3586.18'
I, [2018-06-08T00:01:05.915451 #29011] [task:89] INFO -- DirectorJobRunner: Checking whether package 'openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20' needs to be compiled for stemcell 'bosh-google-kvm-ubuntu-trusty-go_agent/3586.18'
D, [2018-06-08T00:01:05.919916 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.003013s) (conn: 47018331589620) SELECT * FROM "compiled_packages" WHERE (("package_id" = 10) AND ("stemcell_os" = 'ubuntu-trusty') AND ("stemcell_version" = '3586.18') AND ("dependency_key" = '[]')) LIMIT 1
I, [2018-06-08T00:01:05.920116 #29011] [task:89] INFO -- DirectorJobRunner: Package 'openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20' needs to be compiled on 'bosh-google-kvm-ubuntu-trusty-go_agent/3586.18'
I, [2018-06-08T00:01:05.920172 #29011] [task:89] INFO -- DirectorJobRunner: Processing package 'openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20' dependencies
I, [2018-06-08T00:01:05.920263 #29011] [task:89] INFO -- DirectorJobRunner: Checking whether package 'zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1' needs to be compiled for stemcell 'bosh-google-kvm-ubuntu-trusty-go_agent/3586.18'
D, [2018-06-08T00:01:05.921834 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000245s) (conn: 47018331589620) SELECT * FROM "compiled_packages" WHERE (("package_id" = 12) AND ("stemcell_os" = 'ubuntu-trusty') AND ("stemcell_version" = '3586.18') AND ("dependency_key" = '[]')) LIMIT 1
I, [2018-06-08T00:01:05.921985 #29011] [task:89] INFO -- DirectorJobRunner: Package 'zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1' needs to be compiled on 'bosh-google-kvm-ubuntu-trusty-go_agent/3586.18'
I, [2018-06-08T00:01:05.922046 #29011] [task:89] INFO -- DirectorJobRunner: Processing package 'zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1' dependencies
D, [2018-06-08T00:01:05.922575 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000056s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.923137 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000246s) (conn: 47018331589620) UPDATE "tasks" SET "event_output" = ("event_output" || '{"time":1528416065,"stage":"Preparing package compilation","tags":[],"total":1,"task":"Finding packages to compile","index":1,"state":"finished","progress":100}
') WHERE ("id" = 89)
D, [2018-06-08T00:01:05.925208 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.001964s) (conn: 47018331589620) COMMIT
I, [2018-06-08T00:01:05.925358 #29011] [task:89] INFO -- DirectorJobRunner: Package 'openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20' is ready to be compiled for stemcell 'bosh-google-kvm-ubuntu-trusty-go_agent/3586.18'
I, [2018-06-08T00:01:05.925413 #29011] [task:89] INFO -- DirectorJobRunner: Package 'zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1' is ready to be compiled for stemcell 'bosh-google-kvm-ubuntu-trusty-go_agent/3586.18'
D, [2018-06-08T00:01:05.925517 #29011] [task:89] DEBUG -- DirectorJobRunner: Creating new thread
D, [2018-06-08T00:01:05.925619 #29011] [task:89] DEBUG -- DirectorJobRunner: Creating new thread
D, [2018-06-08T00:01:05.926187 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000055s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.926758 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000220s) (conn: 47018331589620) UPDATE "tasks" SET "event_output" = ("event_output" || '{"time":1528416065,"stage":"Compiling packages","tags":[],"total":2,"task":"zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1","index":1,"state":"started","progress":0}
') WHERE ("id" = 89)
D, [2018-06-08T00:01:05.929466 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.002593s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.929843 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000152s) (conn: 47018344807300) SET standard_conforming_strings = ON
D, [2018-06-08T00:01:05.930059 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000094s) (conn: 47018344807300) SET client_min_messages = 'WARNING'
D, [2018-06-08T00:01:05.930243 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000083s) (conn: 47018344807300) SET DateStyle = 'ISO'
I, [2018-06-08T00:01:05.930421 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] INFO -- DirectorJobRunner: Compiling package 'zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1' for stemcell 'bosh-google-kvm-ubuntu-trusty-go_agent/3586.18'
I, [2018-06-08T00:01:05.930516 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] INFO -- DirectorJobRunner: Acquiring compile lock on 12 ubuntu-trusty/3586.18
D, [2018-06-08T00:01:05.930645 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: Acquiring lock: lock:compile:12:ubuntu-trusty/3586.18
D, [2018-06-08T00:01:05.931933 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000116s) (conn: 47018344807300) BEGIN
D, [2018-06-08T00:01:05.932676 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000250s) (conn: 47018331589620) SELECT count(*) AS "count" FROM "locks" WHERE (("name" = 'lock:compile:12:ubuntu-trusty/3586.18') AND ("uid" = '70cedb29-23fd-406a-b215-1b94b529eefe')) LIMIT 1
D, [2018-06-08T00:01:05.934115 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000984s) (conn: 47018344807300) UPDATE "tasks" SET "event_output" = ("event_output" || '{"time":1528416065,"stage":"Compiling packages","tags":[],"total":2,"task":"openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20","index":2,"state":"started","progress":0}
') WHERE ("id" = 89)
D, [2018-06-08T00:01:05.934502 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000069s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.935155 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000206s) (conn: 47018331589620) INSERT INTO "locks" ("name", "uid", "expired_at", "task_id") VALUES ('lock:compile:12:ubuntu-trusty/3586.18', '70cedb29-23fd-406a-b215-1b94b529eefe', '2018-06-08 00:05:06.930688+0000', '89') RETURNING *
D, [2018-06-08T00:01:05.937254 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.003019s) (conn: 47018344807300) COMMIT
I, [2018-06-08T00:01:05.937416 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] INFO -- DirectorJobRunner: Compiling package 'openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20' for stemcell 'bosh-google-kvm-ubuntu-trusty-go_agent/3586.18'
I, [2018-06-08T00:01:05.937495 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] INFO -- DirectorJobRunner: Acquiring compile lock on 10 ubuntu-trusty/3586.18
D, [2018-06-08T00:01:05.937617 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: Acquiring lock: lock:compile:10:ubuntu-trusty/3586.18
D, [2018-06-08T00:01:05.939808 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.004318s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.939940 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000729s) (conn: 47018344807300) SELECT count(*) AS "count" FROM "locks" WHERE (("name" = 'lock:compile:10:ubuntu-trusty/3586.18') AND ("uid" = 'cdc0451e-51dc-47af-92d7-2fdc47ad1f79')) LIMIT 1
D, [2018-06-08T00:01:05.940076 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: Acquired lock: lock:compile:12:ubuntu-trusty/3586.18
D, [2018-06-08T00:01:05.940726 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000056s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.941489 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000057s) (conn: 47018344807300) BEGIN
D, [2018-06-08T00:01:05.942436 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000203s) (conn: 47018331589620) INSERT INTO "events" ("parent_id", "timestamp", "user", "action", "object_type", "object_name", "error", "task", "deployment", "instance", "context_json") VALUES (NULL, '2018-06-08 00:01:05.940129+0000', 'admin', 'acquire', 'lock', 'lock:compile:12:ubuntu-trusty/3586.18', NULL, '89', 'zookeeper', NULL, '{}') RETURNING *
D, [2018-06-08T00:01:05.942945 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.001088s) (conn: 47018344807300) INSERT INTO "locks" ("name", "uid", "expired_at", "task_id") VALUES ('lock:compile:10:ubuntu-trusty/3586.18', 'cdc0451e-51dc-47af-92d7-2fdc47ad1f79', '2018-06-08 00:05:06.937686+0000', '89') RETURNING *
D, [2018-06-08T00:01:05.944880 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.002037s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.946779 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000256s) (conn: 47018331589620) SELECT * FROM "compiled_packages" WHERE (("package_id" = 12) AND ("stemcell_os" = 'ubuntu-trusty') AND ("stemcell_version" = '3586.18') AND ("dependency_key" = '[]')) LIMIT 1
I, [2018-06-08T00:01:05.946996 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] INFO -- DirectorJobRunner: Package 'zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1' needs to be compiled on 'bosh-google-kvm-ubuntu-trusty-go_agent/3586.18'
D, [2018-06-08T00:01:05.947750 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.004520s) (conn: 47018344807300) COMMIT
D, [2018-06-08T00:01:05.947859 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: Acquired lock: lock:compile:10:ubuntu-trusty/3586.18
D, [2018-06-08T00:01:05.948527 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000057s) (conn: 47018344807300) BEGIN
D, [2018-06-08T00:01:05.949482 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000421s) (conn: 47018344807300) INSERT INTO "events" ("parent_id", "timestamp", "user", "action", "object_type", "object_name", "error", "task", "deployment", "instance", "context_json") VALUES (NULL, '2018-06-08 00:01:05.947940+0000', 'admin', 'acquire', 'lock', 'lock:compile:10:ubuntu-trusty/3586.18', NULL, '89', 'zookeeper', NULL, '{}') RETURNING *
D, [2018-06-08T00:01:05.951092 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000380s) (conn: 47018331589620) SELECT max("build") AS "max" FROM "compiled_packages" WHERE (("package_id" = 12) AND ("stemcell_os" = 'ubuntu-trusty') AND ("stemcell_version" = '3586.18')) LIMIT 1
D, [2018-06-08T00:01:05.951459 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.001614s) (conn: 47018344807300) COMMIT
D, [2018-06-08T00:01:05.951286 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: Creating new compilation VM for stemcell 'bosh-google-kvm-ubuntu-trusty-go_agent/3586.18'
D, [2018-06-08T00:01:05.954126 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000459s) (conn: 47018344807300) SELECT * FROM "compiled_packages" WHERE (("package_id" = 10) AND ("stemcell_os" = 'ubuntu-trusty') AND ("stemcell_version" = '3586.18') AND ("dependency_key" = '[]')) LIMIT 1
I, [2018-06-08T00:01:05.954296 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] INFO -- DirectorJobRunner: Package 'openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20' needs to be compiled on 'bosh-google-kvm-ubuntu-trusty-go_agent/3586.18'
D, [2018-06-08T00:01:05.955674 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000583s) (conn: 47018344807300) SELECT * FROM "variable_sets" WHERE ("variable_sets"."deployment_id" = 4) ORDER BY "created_at" DESC LIMIT 1
D, [2018-06-08T00:01:05.956870 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000315s) (conn: 47018331589620) SELECT max("build") AS "max" FROM "compiled_packages" WHERE (("package_id" = 10) AND ("stemcell_os" = 'ubuntu-trusty') AND ("stemcell_version" = '3586.18')) LIMIT 1
D, [2018-06-08T00:01:05.957977 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: Creating new compilation VM for stemcell 'bosh-google-kvm-ubuntu-trusty-go_agent/3586.18'
D, [2018-06-08T00:01:05.958818 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000193s) (conn: 47018331589620) SELECT * FROM "variable_sets" WHERE ("variable_sets"."deployment_id" = 4) ORDER BY "created_at" DESC LIMIT 1
D, [2018-06-08T00:01:05.959788 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000434s) (conn: 47018344807300) SELECT count(*) AS "count" FROM "instances" WHERE (("deployment_id" = 4) AND ("job" = 'compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d') AND ("index" = 0)) LIMIT 1
D, [2018-06-08T00:01:05.960827 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000198s) (conn: 47018344807300) SELECT count(*) AS "count" FROM "instances" WHERE false LIMIT 1
D, [2018-06-08T00:01:05.962170 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000212s) (conn: 47018331589620) SELECT count(*) AS "count" FROM "instances" WHERE (("deployment_id" = 4) AND ("job" = 'compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b') AND ("index" = 0)) LIMIT 1
D, [2018-06-08T00:01:05.962705 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000071s) (conn: 47018344807300) BEGIN
D, [2018-06-08T00:01:05.964714 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.001088s) (conn: 47018344807300) INSERT INTO "instances" ("deployment_id", "job", "index", "state", "compilation", "uuid", "availability_zone", "bootstrap", "variable_set_id") VALUES (4, 'compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d', 0, 'started', true, 'f079d422-4d5a-4a03-88eb-ba1e0210bed5', 'z1', false, 5) RETURNING *
D, [2018-06-08T00:01:05.965092 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000547s) (conn: 47018331589620) SELECT count(*) AS "count" FROM "instances" WHERE false LIMIT 1
D, [2018-06-08T00:01:05.965525 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000054s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.966472 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000541s) (conn: 47018331589620) INSERT INTO "instances" ("deployment_id", "job", "index", "state", "compilation", "uuid", "availability_zone", "bootstrap", "variable_set_id") VALUES (4, 'compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b', 0, 'started', true, 'e951f1b0-3713-4c95-87d2-a68712af0e92', 'z1', false, 5) RETURNING *
D, [2018-06-08T00:01:05.966956 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.001997s) (conn: 47018344807300) COMMIT
D, [2018-06-08T00:01:05.967656 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000242s) (conn: 47018344807300) SELECT * FROM "variable_sets" WHERE "id" = 5
D, [2018-06-08T00:01:05.968676 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.001816s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.969146 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000242s) (conn: 47018344807300) SELECT * FROM "deployments" WHERE "id" = 4
D, [2018-06-08T00:01:05.969830 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000160s) (conn: 47018331589620) SELECT * FROM "variable_sets" WHERE "id" = 5
D, [2018-06-08T00:01:05.970777 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000149s) (conn: 47018331589620) SELECT * FROM "deployments" WHERE "id" = 4
D, [2018-06-08T00:01:05.971588 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000057s) (conn: 47018344807300) BEGIN
D, [2018-06-08T00:01:05.972332 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000248s) (conn: 47018344807300) INSERT INTO "events" ("parent_id", "timestamp", "user", "action", "object_type", "object_name", "error", "task", "deployment", "instance", "context_json") VALUES (NULL, '2018-06-08 00:01:05.970956+0000', 'admin', 'create', 'instance', 'compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5', NULL, '89', 'zookeeper', 'compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5', '{}') RETURNING *
D, [2018-06-08T00:01:05.973384 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000054s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.974039 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000215s) (conn: 47018331589620) INSERT INTO "events" ("parent_id", "timestamp", "user", "action", "object_type", "object_name", "error", "task", "deployment", "instance", "context_json") VALUES (NULL, '2018-06-08 00:01:05.972869+0000', 'admin', 'create', 'instance', 'compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92', NULL, '89', 'zookeeper', 'compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92', '{}') RETURNING *
D, [2018-06-08T00:01:05.974575 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.001827s) (conn: 47018344807300) COMMIT
D, [2018-06-08T00:01:05.974979 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: [network-configuration] Allocating dynamic ip for manual network 'private'
D, [2018-06-08T00:01:05.975947 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000370s) (conn: 47018344807300) SELECT "address_str" FROM "ip_addresses"
D, [2018-06-08T00:01:05.977203 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.002733s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.977485 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: [network-configuration] Allocating dynamic ip for manual network 'private'
D, [2018-06-08T00:01:05.978012 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000169s) (conn: 47018331589620) SELECT "address_str" FROM "ip_addresses"
D, [2018-06-08T00:01:05.979580 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000214s) (conn: 47018331589620) SELECT count(*) AS "count" FROM "ip_addresses" WHERE ("address_str" = '167776261') LIMIT 1
D, [2018-06-08T00:01:05.980044 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000078s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.980836 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000204s) (conn: 47018344807300) SELECT count(*) AS "count" FROM "ip_addresses" WHERE ("address_str" = '167776261') LIMIT 1
D, [2018-06-08T00:01:05.981319 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000054s) (conn: 47018344807300) BEGIN
D, [2018-06-08T00:01:05.982668 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000929s) (conn: 47018344807300) INSERT INTO "ip_addresses" ("address_str", "network_name", "task_id", "static", "instance_id", "created_at") VALUES ('167776261', 'private', '89', false, 9, '2018-06-08 00:01:05.981395+0000') RETURNING *
E, [2018-06-08T00:01:05.985593 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] ERROR -- DirectorJobRunner: PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "ip_addresses_address_temp_key"
DETAIL: Key (address_str)=(167776261) already exists.: (conn: 47018331589620) INSERT INTO "ip_addresses" ("address_str", "network_name", "task_id", "static", "instance_id", "created_at") VALUES ('167776261', 'private', '89', false, 10, '2018-06-08 00:01:05.980138+0000') RETURNING *
D, [2018-06-08T00:01:05.986247 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.003209s) (conn: 47018344807300) COMMIT
D, [2018-06-08T00:01:05.986379 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000218s) (conn: 47018331589620) ROLLBACK
D, [2018-06-08T00:01:05.986587 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: [network-configuration] Allocated dynamic IP '10.0.16.5' for private
D, [2018-06-08T00:01:05.986686 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: [network-configuration] Reserving dynamic IP '10.0.16.5' for manual network 'private'
D, [2018-06-08T00:01:05.988086 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000450s) (conn: 47018344807300) SELECT * FROM "vms" WHERE (("instance_id" = 9) AND ("active" IS TRUE)) LIMIT 1
D, [2018-06-08T00:01:05.988288 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: [network-configuration] Retrying to allocate dynamic ip: probably a race condition with another deployment
D, [2018-06-08T00:01:05.988796 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000145s) (conn: 47018331589620) SELECT "address_str" FROM "ip_addresses"
D, [2018-06-08T00:01:05.990358 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: Creating new thread
D, [2018-06-08T00:01:05.990507 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: Waiting for tasks to complete
D, [2018-06-08T00:01:05.991081 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000247s) (conn: 47018344807300) SELECT count(*) AS "count" FROM "ip_addresses" WHERE ("address_str" = '167776262') LIMIT 1
D, [2018-06-08T00:01:05.991535 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000055s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:05.992524 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000494s) (conn: 47018331589620) INSERT INTO "ip_addresses" ("address_str", "network_name", "task_id", "static", "instance_id", "created_at") VALUES ('167776262', 'private', '89', false, 10, '2018-06-08 00:01:05.991622+0000') RETURNING *
I, [2018-06-08T00:01:05.993070 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] INFO -- DirectorJobRunner: Creating missing VM
D, [2018-06-08T00:01:05.993166 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: Agenda step Bosh::Director::DeploymentPlan::Steps::CreateVmStep started at: 2018-06-08 00:01:05 +0000
D, [2018-06-08T00:01:05.994289 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.000694s) (conn: 47018344807300) SELECT "teams".* FROM "teams" INNER JOIN "deployments_teams" ON ("deployments_teams"."team_id" = "teams"."id") WHERE ("deployments_teams"."deployment_id" = 4) ORDER BY "name" ASC
D, [2018-06-08T00:01:05.994537 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.001651s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:05.995515 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: [network-configuration] Allocated dynamic IP '10.0.16.6' for private
D, [2018-06-08T00:01:05.995614 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: [network-configuration] Reserving dynamic IP '10.0.16.6' for manual network 'private'
D, [2018-06-08T00:01:05.996533 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000325s) (conn: 47018331589620) SELECT * FROM "vms" WHERE (("instance_id" = 10) AND ("active" IS TRUE)) LIMIT 1
D, [2018-06-08T00:01:05.996809 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: Creating new thread
D, [2018-06-08T00:01:05.997069 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: Waiting for tasks to complete
D, [2018-06-08T00:01:05.997893 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.000428s) (conn: 47018331589620) SELECT * FROM "configs" WHERE ("id" IN (SELECT max("id") FROM "configs" WHERE (((1 = 0) OR ("team_id" IS NULL)) AND ("type" = 'cloud')) GROUP BY "name"))
I, [2018-06-08T00:01:05.998295 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] INFO -- DirectorJobRunner: Creating missing VM
D, [2018-06-08T00:01:05.998376 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: Agenda step Bosh::Director::DeploymentPlan::Steps::CreateVmStep started at: 2018-06-08 00:01:05 +0000
D, [2018-06-08T00:01:06.007310 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.000339s) (conn: 47018344807300) SELECT "teams".* FROM "teams" INNER JOIN "deployments_teams" ON ("deployments_teams"."team_id" = "teams"."id") WHERE ("deployments_teams"."deployment_id" = 4) ORDER BY "name" ASC
D, [2018-06-08T00:01:06.009185 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.000661s) (conn: 47018344807300) SELECT * FROM "configs" WHERE ("id" IN (SELECT max("id") FROM "configs" WHERE (((1 = 0) OR ("team_id" IS NULL)) AND ("type" = 'cloud')) GROUP BY "name"))
D, [2018-06-08T00:01:06.052142 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.000272s) (conn: 47018331589620) SELECT * FROM "deployments" WHERE ("name" = 'zookeeper') LIMIT 1
D, [2018-06-08T00:01:06.053130 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.000235s) (conn: 47018331589620) SELECT * FROM "variable_sets" WHERE ("variable_sets"."deployment_id" = 4) ORDER BY "created_at" DESC LIMIT 1
D, [2018-06-08T00:01:06.057806 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.000191s) (conn: 47018331589620) SELECT * FROM "deployments" WHERE ("name" = 'zookeeper') LIMIT 1
D, [2018-06-08T00:01:06.058748 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.000208s) (conn: 47018344807300) SELECT * FROM "variable_sets" WHERE ("variable_sets"."deployment_id" = 4) ORDER BY "created_at" DESC LIMIT 1
D, [2018-06-08T00:01:06.063347 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.000172s) (conn: 47018344807300) SELECT * FROM "deployments" WHERE "id" = 4
D, [2018-06-08T00:01:06.065980 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.000176s) (conn: 47018331589620) SELECT * FROM "deployments" WHERE "id" = 4
D, [2018-06-08T00:01:06.066717 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.000339s) (conn: 47018344807300) SELECT * FROM "configs" WHERE ("id" IN (SELECT max("id") FROM "configs" WHERE ("type" = 'cpi') GROUP BY "name"))
D, [2018-06-08T00:01:06.070132 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.000359s) (conn: 47018344807300) SELECT * FROM "configs" WHERE ("id" IN (SELECT max("id") FROM "configs" WHERE (((1 = 0) OR ("team_id" IS NULL)) AND ("type" = 'cloud')) GROUP BY "name"))
D, [2018-06-08T00:01:06.079189 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.000367s) (conn: 47018344807300) SELECT * FROM "configs" WHERE ("id" IN (SELECT max("id") FROM "configs" WHERE ("type" = 'cpi') GROUP BY "name"))
D, [2018-06-08T00:01:06.080732 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.000333s) (conn: 47018344807300) SELECT * FROM "configs" WHERE ("id" IN (SELECT max("id") FROM "configs" WHERE (((1 = 0) OR ("team_id" IS NULL)) AND ("type" = 'cloud')) GROUP BY "name"))
D, [2018-06-08T00:01:06.124065 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.000280s) (conn: 47018344807300) SELECT * FROM "deployments" WHERE ("name" = 'zookeeper') LIMIT 1
D, [2018-06-08T00:01:06.125059 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.000237s) (conn: 47018344807300) SELECT * FROM "variable_sets" WHERE ("variable_sets"."deployment_id" = 4) ORDER BY "created_at" DESC LIMIT 1
D, [2018-06-08T00:01:06.130437 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.000223s) (conn: 47018344807300) SELECT * FROM "deployments" WHERE ("name" = 'zookeeper') LIMIT 1
D, [2018-06-08T00:01:06.131408 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.000194s) (conn: 47018331589620) SELECT * FROM "variable_sets" WHERE ("variable_sets"."deployment_id" = 4) ORDER BY "created_at" DESC LIMIT 1
D, [2018-06-08T00:01:06.136665 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.000248s) (conn: 47018344807300) SELECT * FROM "deployments" WHERE "id" = 4
D, [2018-06-08T00:01:06.140396 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.000179s) (conn: 47018344807300) SELECT * FROM "deployments" WHERE "id" = 4
D, [2018-06-08T00:01:06.143416 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.000335s) (conn: 47018331589620) SELECT * FROM "configs" WHERE ("id" IN (SELECT max("id") FROM "configs" WHERE ("type" = 'cpi') GROUP BY "name"))
I, [2018-06-08T00:01:06.143612 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] INFO -- DirectorJobRunner: Creating VM
D, [2018-06-08T00:01:06.144194 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.000119s) (conn: 47018331589620) SELECT * FROM "local_dns_encoded_azs"
D, [2018-06-08T00:01:06.145319 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.000254s) (conn: 47018331589620) SELECT "local_dns_encoded_instance_groups"."id" AS "id", "local_dns_encoded_instance_groups"."name" AS "name", "deployments"."name" AS "deployment_name" FROM "local_dns_encoded_instance_groups" INNER JOIN "deployments" ON ("local_dns_encoded_instance_groups"."deployment_id" = "deployments"."id")
D, [2018-06-08T00:01:06.146046 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.000324s) (conn: 47018344807300) SELECT * FROM "configs" WHERE ("id" IN (SELECT max("id") FROM "configs" WHERE ("type" = 'cpi') GROUP BY "name"))
D, [2018-06-08T00:01:06.147192 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.000111s) (conn: 47018331589620) BEGIN
I, [2018-06-08T00:01:06.147674 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] INFO -- DirectorJobRunner: Creating VM
D, [2018-06-08T00:01:06.153290 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.000383s) (conn: 47018331589620) INSERT INTO "events" ("parent_id", "timestamp", "user", "action", "object_type", "object_name", "error", "task", "deployment", "instance", "context_json") VALUES (NULL, '2018-06-08 00:01:06.146356+0000', 'admin', 'create', 'vm', NULL, NULL, '89', 'zookeeper', 'compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5', '{}') RETURNING *
D, [2018-06-08T00:01:06.154440 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.000327s) (conn: 47018344807300) SELECT * FROM "local_dns_encoded_azs"
D, [2018-06-08T00:01:06.155611 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.000392s) (conn: 47018344807300) SELECT "local_dns_encoded_instance_groups"."id" AS "id", "local_dns_encoded_instance_groups"."name" AS "name", "deployments"."name" AS "deployment_name" FROM "local_dns_encoded_instance_groups" INNER JOIN "deployments" ON ("local_dns_encoded_instance_groups"."deployment_id" = "deployments"."id")
D, [2018-06-08T00:01:06.156669 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.002922s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:06.157788 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.000177s) (conn: 47018331589620) SELECT * FROM "deployments" WHERE "id" = 4
D, [2018-06-08T00:01:06.163853 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.000063s) (conn: 47018344807300) BEGIN
D, [2018-06-08T00:01:06.164659 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.000262s) (conn: 47018344807300) INSERT INTO "events" ("parent_id", "timestamp", "user", "action", "object_type", "object_name", "error", "task", "deployment", "instance", "context_json") VALUES (NULL, '2018-06-08 00:01:06.156295+0000', 'admin', 'create', 'vm', NULL, NULL, '89', 'zookeeper', 'compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92', '{}') RETURNING *
D, [2018-06-08T00:01:06.166760 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.001455s) (conn: 47018344807300) COMMIT
D, [2018-06-08T00:01:06.167901 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.000203s) (conn: 47018331589620) SELECT * FROM "deployments" WHERE "id" = 4
D, [2018-06-08T00:01:06.764209 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: [external-cpi] [cpi-176619] request: {"method":"info","arguments":[],"context":{"director_uuid":"d169f959-e754-4869-bd5b-addd54f16ecc","request_id":"cpi-176619"}} with command: /var/vcap/jobs/google_cpi/bin/cpi
D, [2018-06-08T00:01:06.793830 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: [external-cpi] [cpi-176619] response: {"result":{"stemcell_formats":["google-light","google-rawdisk"]},"error":null,"log":""}, err: , exit_status: pid 29078 exit 0
D, [2018-06-08T00:01:06.794815 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: [external-cpi] [cpi-131268] request: {"method":"create_vm","arguments":["972ab08c-1523-473b-9388-0e4607fe9efa","stemcell-d822a6b5-917c-4af3-5c24-6ff5b6e3ffec",{"zone":"<redacted>","machine_type":"<redacted>","root_disk_size_gb":"<redacted>","root_disk_type":"<redacted>"},{"private":{"type":"manual","ip":"10.0.16.6","netmask":"255.255.255.0","cloud_properties":{"ephemeral_external_ip":"<redacted>","network_name":"<redacted>","subnetwork_name":"<redacted>","tags":"<redacted>"},"default":["dns","gateway"],"gateway":"10.0.16.1"}},[],{"bosh":{"blobstores":"<redacted>","mbus":"<redacted>","password":"<redacted>","group":"bosh-bbl-env-nipigon-2018-06-07t21-36z-zookeeper-compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b","groups":["bosh-bbl-env-nipigon-2018-06-07t21-36z","zookeeper","compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b","bosh-bbl-env-nipigon-2018-06-07t21-36z-zookeeper","zookeeper-compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b","bosh-bbl-env-nipigon-2018-06-07t21-36z-zookeeper-compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b"]}}],"context":{"director_uuid":"d169f959-e754-4869-bd5b-addd54f16ecc","request_id":"cpi-131268"},"api_version":1} with command: /var/vcap/jobs/google_cpi/bin/cpi
D, [2018-06-08T00:01:07.023665 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: [external-cpi] [cpi-604259] request: {"method":"info","arguments":[],"context":{"director_uuid":"d169f959-e754-4869-bd5b-addd54f16ecc","request_id":"cpi-604259"}} with command: /var/vcap/jobs/google_cpi/bin/cpi
D, [2018-06-08T00:01:07.030994 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: [external-cpi] [cpi-604259] response: {"result":{"stemcell_formats":["google-light","google-rawdisk"]},"error":null,"log":""}, err: , exit_status: pid 29098 exit 0
D, [2018-06-08T00:01:07.031866 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: [external-cpi] [cpi-922231] request: {"method":"create_vm","arguments":["f61301aa-58b8-4016-b8cd-e9307e23f6ec","stemcell-d822a6b5-917c-4af3-5c24-6ff5b6e3ffec",{"zone":"<redacted>","machine_type":"<redacted>","root_disk_size_gb":"<redacted>","root_disk_type":"<redacted>"},{"private":{"type":"manual","ip":"10.0.16.5","netmask":"255.255.255.0","cloud_properties":{"ephemeral_external_ip":"<redacted>","network_name":"<redacted>","subnetwork_name":"<redacted>","tags":"<redacted>"},"default":["dns","gateway"],"gateway":"10.0.16.1"}},[],{"bosh":{"blobstores":"<redacted>","mbus":"<redacted>","password":"<redacted>","group":"bosh-bbl-env-nipigon-2018-06-07t21-36z-zookeeper-compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d","groups":["bosh-bbl-env-nipigon-2018-06-07t21-36z","zookeeper","compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d","bosh-bbl-env-nipigon-2018-06-07t21-36z-zookeeper","zookeeper-compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d","bosh-bbl-env-nipigon-2018-06-07t21-36z-zookeeper-compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d"]}}],"context":{"director_uuid":"d169f959-e754-4869-bd5b-addd54f16ecc","request_id":"cpi-922231"},"api_version":1} with command: /var/vcap/jobs/google_cpi/bin/cpi
D, [2018-06-08T00:01:35.216856 #29011] [task:89-checkpoint] DEBUG -- DirectorJobRunner: (0.000071s) (conn: 47018344807300) BEGIN
D, [2018-06-08T00:01:35.218096 #29011] [task:89-checkpoint] DEBUG -- DirectorJobRunner: (0.000556s) (conn: 47018344807300) UPDATE "tasks" SET "checkpoint_time" = '2018-06-08 00:01:35.215233+0000' WHERE ("id" = 89)
D, [2018-06-08T00:01:35.239025 #29011] [task:89-checkpoint] DEBUG -- DirectorJobRunner: (0.020745s) (conn: 47018344807300) COMMIT
D, [2018-06-08T00:01:38.708222 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: [external-cpi] [cpi-922231] response: {"result":"vm-2e59b481-d027-4802-75f3-f8267ba1e27d","error":null,"log":""}, err: , exit_status: pid 29106 exit 0
D, [2018-06-08T00:01:38.710255 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.000063s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:38.711425 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.000523s) (conn: 47018331589620) INSERT INTO "vms" ("instance_id", "agent_id", "cpi", "cid", "created_at", "stemcell_api_version") VALUES (9, 'f61301aa-58b8-4016-b8cd-e9307e23f6ec', '', 'vm-2e59b481-d027-4802-75f3-f8267ba1e27d', '2018-06-08 00:01:38.708520+0000', NULL) RETURNING *
D, [2018-06-08T00:01:38.713230 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: [external-cpi] [cpi-131268] response: {"result":"vm-3b5a8824-a5d7-40eb-4a86-c7b5f47b93cc","error":null,"log":""}, err: , exit_status: pid 29086 exit 0
D, [2018-06-08T00:01:38.714014 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.000057s) (conn: 47018344807300) BEGIN
D, [2018-06-08T00:01:38.714846 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.000429s) (conn: 47018344807300) INSERT INTO "vms" ("instance_id", "agent_id", "cpi", "cid", "created_at", "stemcell_api_version") VALUES (10, '972ab08c-1523-473b-9388-0e4607fe9efa', '', 'vm-3b5a8824-a5d7-40eb-4a86-c7b5f47b93cc', '2018-06-08 00:01:38.713411+0000', NULL) RETURNING *
D, [2018-06-08T00:01:38.765445 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.053481s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:38.766469 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.000064s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:01:38.767423 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.000376s) (conn: 47018331589620) INSERT INTO "events" ("parent_id", "timestamp", "user", "action", "object_type", "object_name", "error", "task", "deployment", "instance", "context_json") VALUES (430, '2018-06-08 00:01:38.765696+0000', 'admin', 'create', 'vm', 'vm-2e59b481-d027-4802-75f3-f8267ba1e27d', NULL, '89', 'zookeeper', 'compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5', '{}') RETURNING *
D, [2018-06-08T00:01:38.768962 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.053733s) (conn: 47018344807300) COMMIT
D, [2018-06-08T00:01:38.769660 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.000059s) (conn: 47018344807300) BEGIN
D, [2018-06-08T00:01:38.770577 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.000503s) (conn: 47018344807300) INSERT INTO "events" ("parent_id", "timestamp", "user", "action", "object_type", "object_name", "error", "task", "deployment", "instance", "context_json") VALUES (431, '2018-06-08 00:01:38.769117+0000', 'admin', 'create', 'vm', 'vm-3b5a8824-a5d7-40eb-4a86-c7b5f47b93cc', NULL, '89', 'zookeeper', 'compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92', '{}') RETURNING *
D, [2018-06-08T00:01:38.771918 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.004039s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:01:38.772319 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: $$$$$$$$$$$$$$ update_metadata
D, [2018-06-08T00:01:38.772558 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: [external-cpi] [cpi-821716] request: {"method":"info","arguments":[],"context":{"director_uuid":"d169f959-e754-4869-bd5b-addd54f16ecc","request_id":"cpi-821716"}} with command: /var/vcap/jobs/google_cpi/bin/cpi
D, [2018-06-08T00:01:38.773792 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.002826s) (conn: 47018344807300) COMMIT
D, [2018-06-08T00:01:38.774100 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: $$$$$$$$$$$$$$ update_metadata
D, [2018-06-08T00:01:38.774348 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: [external-cpi] [cpi-105592] request: {"method":"info","arguments":[],"context":{"director_uuid":"d169f959-e754-4869-bd5b-addd54f16ecc","request_id":"cpi-105592"}} with command: /var/vcap/jobs/google_cpi/bin/cpi
D, [2018-06-08T00:01:38.786259 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: [external-cpi] [cpi-821716] response: {"result":{"stemcell_formats":["google-light","google-rawdisk"]},"error":null,"log":""}, err: , exit_status: pid 29125 exit 0
D, [2018-06-08T00:01:38.786826 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: [external-cpi] [cpi-832475] request: {"method":"set_vm_metadata","arguments":["vm-2e59b481-d027-4802-75f3-f8267ba1e27d",{"director":"bosh-bbl-env-nipigon-2018-06-07t21-36z","deployment":"zookeeper","id":"f079d422-4d5a-4a03-88eb-ba1e0210bed5","job":"compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d","instance_group":"compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d","index":"0","name":"compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5","created_at":"2018-06-08T00:01:38Z"}],"context":{"director_uuid":"d169f959-e754-4869-bd5b-addd54f16ecc","request_id":"cpi-832475"},"api_version":1} with command: /var/vcap/jobs/google_cpi/bin/cpi
D, [2018-06-08T00:01:38.790792 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: [external-cpi] [cpi-105592] response: {"result":{"stemcell_formats":["google-light","google-rawdisk"]},"error":null,"log":""}, err: , exit_status: pid 29129 exit 0
D, [2018-06-08T00:01:38.791166 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: [external-cpi] [cpi-968074] request: {"method":"set_vm_metadata","arguments":["vm-3b5a8824-a5d7-40eb-4a86-c7b5f47b93cc",{"director":"bosh-bbl-env-nipigon-2018-06-07t21-36z","deployment":"zookeeper","id":"e951f1b0-3713-4c95-87d2-a68712af0e92","job":"compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b","instance_group":"compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b","index":"0","name":"compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92","created_at":"2018-06-08T00:01:38Z"}],"context":{"director_uuid":"d169f959-e754-4869-bd5b-addd54f16ecc","request_id":"cpi-968074"},"api_version":1} with command: /var/vcap/jobs/google_cpi/bin/cpi
D, [2018-06-08T00:01:48.755647 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: [external-cpi] [cpi-832475] response: {"result":null,"error":null,"log":""}, err: , exit_status: pid 29141 exit 0
D, [2018-06-08T00:01:48.757100 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.000530s) (conn: 47018331589620) SELECT * FROM "tasks" WHERE "id" = 89
D, [2018-06-08T00:01:48.757990 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: SENT: agent.f61301aa-58b8-4016-b8cd-e9307e23f6ec {"protocol":3,"method":"ping","arguments":[],"reply_to":"director.ce15b7b2-dbb1-4347-87cf-def0f2e6fd79.f61301aa-58b8-4016-b8cd-e9307e23f6ec.e7a27aaf-65a2-4c32-ad25-665c278a96c7"}
D, [2018-06-08T00:01:49.759045 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.000278s) (conn: 47018344807300) SELECT * FROM "tasks" WHERE "id" = 89
D, [2018-06-08T00:01:49.759976 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: SENT: agent.f61301aa-58b8-4016-b8cd-e9307e23f6ec {"protocol":3,"method":"ping","arguments":[],"reply_to":"director.ce15b7b2-dbb1-4347-87cf-def0f2e6fd79.f61301aa-58b8-4016-b8cd-e9307e23f6ec.b03d7e07-de1f-4557-b5d4-dff33b4bcf24"}
D, [2018-06-08T00:01:50.761345 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.000240s) (conn: 47018331589620) SELECT * FROM "vms" WHERE (("instance_id" = 9) AND ("active" IS TRUE)) LIMIT 1
E, [2018-06-08T00:01:50.761569 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] ERROR -- DirectorJobRunner: Failed to create/contact VM : #<Bosh::Director::RpcTimeout: Timed out pinging to f61301aa-58b8-4016-b8cd-e9307e23f6ec after 2 seconds>
D, [2018-06-08T00:01:50.761624 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: $$$$$$$$$$$$$$ update_metadata is possibly being rescued calling DeleteVmStep
D, [2018-06-08T00:01:50.762503 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.000062s) (conn: 47018344807300) BEGIN
D, [2018-06-08T00:01:50.763247 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.000248s) (conn: 47018344807300) INSERT INTO "events" ("parent_id", "timestamp", "user", "action", "object_type", "object_name", "error", "task", "deployment", "instance", "context_json") VALUES (NULL, '2018-06-08 00:01:50.761779+0000', 'admin', 'delete', 'vm', 'vm-2e59b481-d027-4802-75f3-f8267ba1e27d', NULL, '89', 'zookeeper', 'compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5', '{}') RETURNING *
D, [2018-06-08T00:01:50.765862 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.002201s) (conn: 47018344807300) COMMIT
I, [2018-06-08T00:01:50.766228 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] INFO -- DirectorJobRunner: Deleting VM
D, [2018-06-08T00:01:50.767616 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.000386s) (conn: 47018344807300) SELECT * FROM "configs" WHERE ("id" IN (SELECT max("id") FROM "configs" WHERE ("type" = 'cpi') GROUP BY "name"))
D, [2018-06-08T00:01:50.767942 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: [external-cpi] [cpi-324173] request: {"method":"info","arguments":[],"context":{"director_uuid":"d169f959-e754-4869-bd5b-addd54f16ecc","request_id":"cpi-324173"}} with command: /var/vcap/jobs/google_cpi/bin/cpi
D, [2018-06-08T00:01:50.775696 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: [external-cpi] [cpi-324173] response: {"result":{"stemcell_formats":["google-light","google-rawdisk"]},"error":null,"log":""}, err: , exit_status: pid 29164 exit 0
D, [2018-06-08T00:01:50.776117 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: [external-cpi] [cpi-187594] request: {"method":"delete_vm","arguments":["vm-2e59b481-d027-4802-75f3-f8267ba1e27d"],"context":{"director_uuid":"d169f959-e754-4869-bd5b-addd54f16ecc","request_id":"cpi-187594"},"api_version":1} with command: /var/vcap/jobs/google_cpi/bin/cpi
D, [2018-06-08T00:01:52.703899 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: [external-cpi] [cpi-968074] response: {"result":null,"error":null,"log":""}, err: , exit_status: pid 29145 exit 0
D, [2018-06-08T00:01:52.704974 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.000258s) (conn: 47018331589620) SELECT * FROM "tasks" WHERE "id" = 89
D, [2018-06-08T00:01:52.705811 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: SENT: agent.972ab08c-1523-473b-9388-0e4607fe9efa {"protocol":3,"method":"ping","arguments":[],"reply_to":"director.ce15b7b2-dbb1-4347-87cf-def0f2e6fd79.972ab08c-1523-473b-9388-0e4607fe9efa.d48a70a5-cde8-41ea-9361-440c979ef718"}
D, [2018-06-08T00:01:53.706899 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.000265s) (conn: 47018344807300) SELECT * FROM "tasks" WHERE "id" = 89
D, [2018-06-08T00:01:53.707729 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: SENT: agent.972ab08c-1523-473b-9388-0e4607fe9efa {"protocol":3,"method":"ping","arguments":[],"reply_to":"director.ce15b7b2-dbb1-4347-87cf-def0f2e6fd79.972ab08c-1523-473b-9388-0e4607fe9efa.d928e496-51c8-4720-8304-6b7c915f5c73"}
D, [2018-06-08T00:01:54.709219 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.000267s) (conn: 47018331589620) SELECT * FROM "vms" WHERE (("instance_id" = 10) AND ("active" IS TRUE)) LIMIT 1
E, [2018-06-08T00:01:54.709449 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] ERROR -- DirectorJobRunner: Failed to create/contact VM : #<Bosh::Director::RpcTimeout: Timed out pinging to 972ab08c-1523-473b-9388-0e4607fe9efa after 2 seconds>
D, [2018-06-08T00:01:54.709504 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: $$$$$$$$$$$$$$ update_metadata is possibly being rescued calling DeleteVmStep
D, [2018-06-08T00:01:54.710346 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.000061s) (conn: 47018344807300) BEGIN
D, [2018-06-08T00:01:54.711162 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.000275s) (conn: 47018344807300) INSERT INTO "events" ("parent_id", "timestamp", "user", "action", "object_type", "object_name", "error", "task", "deployment", "instance", "context_json") VALUES (NULL, '2018-06-08 00:01:54.709634+0000', 'admin', 'delete', 'vm', 'vm-3b5a8824-a5d7-40eb-4a86-c7b5f47b93cc', NULL, '89', 'zookeeper', 'compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92', '{}') RETURNING *
D, [2018-06-08T00:01:54.714504 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.002922s) (conn: 47018344807300) COMMIT
I, [2018-06-08T00:01:54.714939 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] INFO -- DirectorJobRunner: Deleting VM
D, [2018-06-08T00:01:54.716266 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.000342s) (conn: 47018344807300) SELECT * FROM "configs" WHERE ("id" IN (SELECT max("id") FROM "configs" WHERE ("type" = 'cpi') GROUP BY "name"))
D, [2018-06-08T00:01:54.716560 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: [external-cpi] [cpi-930073] request: {"method":"info","arguments":[],"context":{"director_uuid":"d169f959-e754-4869-bd5b-addd54f16ecc","request_id":"cpi-930073"}} with command: /var/vcap/jobs/google_cpi/bin/cpi
D, [2018-06-08T00:01:54.724269 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: [external-cpi] [cpi-930073] response: {"result":{"stemcell_formats":["google-light","google-rawdisk"]},"error":null,"log":""}, err: , exit_status: pid 29184 exit 0
D, [2018-06-08T00:01:54.724694 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: [external-cpi] [cpi-349795] request: {"method":"delete_vm","arguments":["vm-3b5a8824-a5d7-40eb-4a86-c7b5f47b93cc"],"context":{"director_uuid":"d169f959-e754-4869-bd5b-addd54f16ecc","request_id":"cpi-349795"},"api_version":1} with command: /var/vcap/jobs/google_cpi/bin/cpi
D, [2018-06-08T00:02:05.240287 #29011] [task:89-checkpoint] DEBUG -- DirectorJobRunner: (0.000066s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:02:05.241190 #29011] [task:89-checkpoint] DEBUG -- DirectorJobRunner: (0.000325s) (conn: 47018331589620) UPDATE "tasks" SET "checkpoint_time" = '2018-06-08 00:02:05.239366+0000' WHERE ("id" = 89)
D, [2018-06-08T00:02:05.243185 #29011] [task:89-checkpoint] DEBUG -- DirectorJobRunner: (0.001862s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:02:35.244317 #29011] [task:89-checkpoint] DEBUG -- DirectorJobRunner: (0.000078s) (conn: 47018344807300) BEGIN
D, [2018-06-08T00:02:35.245170 #29011] [task:89-checkpoint] DEBUG -- DirectorJobRunner: (0.000334s) (conn: 47018344807300) UPDATE "tasks" SET "checkpoint_time" = '2018-06-08 00:02:35.243462+0000' WHERE ("id" = 89)
D, [2018-06-08T00:02:35.251255 #29011] [task:89-checkpoint] DEBUG -- DirectorJobRunner: (0.005934s) (conn: 47018344807300) COMMIT
D, [2018-06-08T00:03:05.252431 #29011] [task:89-checkpoint] DEBUG -- DirectorJobRunner: (0.000077s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:03:05.253282 #29011] [task:89-checkpoint] DEBUG -- DirectorJobRunner: (0.000330s) (conn: 47018331589620) UPDATE "tasks" SET "checkpoint_time" = '2018-06-08 00:03:05.251581+0000' WHERE ("id" = 89)
D, [2018-06-08T00:03:05.268948 #29011] [task:89-checkpoint] DEBUG -- DirectorJobRunner: (0.015490s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:03:05.285702 #29011] [] DEBUG -- DirectorJobRunner: Renewing lock: lock:deployment:zookeeper
D, [2018-06-08T00:03:05.289392 #29011] [] DEBUG -- DirectorJobRunner: (0.002114s) (conn: 47018344807300) UPDATE "locks" SET "expired_at" = '2018-06-08 00:07:06.285881+0000' WHERE (("name" = 'lock:deployment:zookeeper') AND ("uid" = '4e15828a-8494-4fab-af62-133c27cb2182'))
D, [2018-06-08T00:03:05.950600 #29011] [] DEBUG -- DirectorJobRunner: Renewing lock: lock:compile:12:ubuntu-trusty/3586.18
D, [2018-06-08T00:03:05.956387 #29011] [] DEBUG -- DirectorJobRunner: Renewing lock: lock:compile:10:ubuntu-trusty/3586.18
D, [2018-06-08T00:03:05.975664 #29011] [] DEBUG -- DirectorJobRunner: (0.022917s) (conn: 47018331589620) UPDATE "locks" SET "expired_at" = '2018-06-08 00:07:06.950782+0000' WHERE (("name" = 'lock:compile:12:ubuntu-trusty/3586.18') AND ("uid" = '70cedb29-23fd-406a-b215-1b94b529eefe'))
D, [2018-06-08T00:03:05.976905 #29011] [] DEBUG -- DirectorJobRunner: (0.018999s) (conn: 47018344807300) UPDATE "locks" SET "expired_at" = '2018-06-08 00:07:06.956511+0000' WHERE (("name" = 'lock:compile:10:ubuntu-trusty/3586.18') AND ("uid" = 'cdc0451e-51dc-47af-92d7-2fdc47ad1f79'))
D, [2018-06-08T00:03:35.270262 #29011] [task:89-checkpoint] DEBUG -- DirectorJobRunner: (0.000068s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:03:35.271184 #29011] [task:89-checkpoint] DEBUG -- DirectorJobRunner: (0.000316s) (conn: 47018331589620) UPDATE "tasks" SET "checkpoint_time" = '2018-06-08 00:03:35.269363+0000' WHERE ("id" = 89)
D, [2018-06-08T00:03:35.290874 #29011] [task:89-checkpoint] DEBUG -- DirectorJobRunner: (0.019528s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:04:05.292154 #29011] [task:89-checkpoint] DEBUG -- DirectorJobRunner: (0.000085s) (conn: 47018344807300) BEGIN
D, [2018-06-08T00:04:05.293081 #29011] [task:89-checkpoint] DEBUG -- DirectorJobRunner: (0.000344s) (conn: 47018344807300) UPDATE "tasks" SET "checkpoint_time" = '2018-06-08 00:04:05.291252+0000' WHERE ("id" = 89)
D, [2018-06-08T00:04:05.331686 #29011] [task:89-checkpoint] DEBUG -- DirectorJobRunner: (0.038415s) (conn: 47018344807300) COMMIT
D, [2018-06-08T00:04:17.561730 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: [external-cpi] [cpi-187594] response: {"result":null,"error":null,"log":""}, err: , exit_status: pid 29172 exit 0
D, [2018-06-08T00:04:17.562018 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
D, [2018-06-08T00:04:17.562129 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/steps/create_vm_step.rb:46:in `rescue in perform'
D, [2018-06-08T00:04:17.562180 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/steps/create_vm_step.rb:36:in `perform'
D, [2018-06-08T00:04:17.562234 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/step_executor.rb:39:in `block in run_agenda'
D, [2018-06-08T00:04:17.562274 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/step_executor.rb:36:in `each'
D, [2018-06-08T00:04:17.562321 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/step_executor.rb:36:in `run_agenda'
D, [2018-06-08T00:04:17.562360 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/step_executor.rb:24:in `block (4 levels) in run'
D, [2018-06-08T00:04:17.562397 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_formatter.rb:52:in `with_thread_name'
D, [2018-06-08T00:04:17.562437 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/step_executor.rb:18:in `block (3 levels) in run'
D, [2018-06-08T00:04:17.562486 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_pool.rb:77:in `block (2 levels) in create_thread'
D, [2018-06-08T00:04:17.562524 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_pool.rb:63:in `loop'
D, [2018-06-08T00:04:17.562560 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_pool.rb:63:in `block in create_thread'
D, [2018-06-08T00:04:17.562595 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
D, [2018-06-08T00:04:17.563194 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.000063s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:04:17.564234 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.000264s) (conn: 47018331589620) SELECT * FROM "ip_addresses" WHERE ("ip_addresses"."vm_id" = 9)
D, [2018-06-08T00:04:17.564879 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.000426s) (conn: 47018331589620) DELETE FROM "vms" WHERE "id" = 9
D, [2018-06-08T00:04:17.567275 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.002241s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:04:17.568189 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.000058s) (conn: 47018344807300) BEGIN
D, [2018-06-08T00:04:17.569097 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.000285s) (conn: 47018344807300) INSERT INTO "events" ("parent_id", "timestamp", "user", "action", "object_type", "object_name", "error", "task", "deployment", "instance", "context_json") VALUES (434, '2018-06-08 00:04:17.567460+0000', 'admin', 'delete', 'vm', 'vm-2e59b481-d027-4802-75f3-f8267ba1e27d', NULL, '89', 'zookeeper', 'compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5', '{}') RETURNING *
D, [2018-06-08T00:04:17.571523 #29011] [create_missing_vm(compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5 (0)/1)] DEBUG -- DirectorJobRunner: (0.002026s) (conn: 47018344807300) COMMIT
E, [2018-06-08T00:04:17.572003 #29011] [] ERROR -- DirectorJobRunner: Worker thread raised exception: Timed out pinging to f61301aa-58b8-4016-b8cd-e9307e23f6ec after 2 seconds - /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/agent_client.rb:219:in `rescue in wait_until_ready'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/agent_client.rb:225:in `wait_until_ready'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/steps/create_vm_step.rb:58:in `update_metadata'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/steps/create_vm_step.rb:39:in `perform'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/step_executor.rb:39:in `block in run_agenda'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/step_executor.rb:36:in `each'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/step_executor.rb:36:in `run_agenda'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/step_executor.rb:24:in `block (4 levels) in run'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_formatter.rb:52:in `with_thread_name'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/step_executor.rb:18:in `block (3 levels) in run'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_pool.rb:77:in `block (2 levels) in create_thread'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_pool.rb:63:in `loop'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_pool.rb:63:in `block in create_thread'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
D, [2018-06-08T00:04:17.572086 #29011] [] DEBUG -- DirectorJobRunner: Thread is no longer needed, cleaning up
D, [2018-06-08T00:04:17.572226 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: Shutting down pool
D, [2018-06-08T00:04:17.573206 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000062s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:04:17.574048 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000383s) (conn: 47018331589620) INSERT INTO "events" ("parent_id", "timestamp", "user", "action", "object_type", "object_name", "error", "task", "deployment", "instance", "context_json") VALUES (428, '2018-06-08 00:04:17.572413+0000', 'admin', 'create', 'instance', 'compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5', 'Timed out pinging to f61301aa-58b8-4016-b8cd-e9307e23f6ec after 2 seconds', '89', 'zookeeper', 'compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5', '{}') RETURNING *
D, [2018-06-08T00:04:17.576229 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.001773s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:04:17.577221 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000058s) (conn: 47018344807300) BEGIN
D, [2018-06-08T00:04:17.577979 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000242s) (conn: 47018344807300) INSERT INTO "events" ("parent_id", "timestamp", "user", "action", "object_type", "object_name", "error", "task", "deployment", "instance", "context_json") VALUES (NULL, '2018-06-08 00:04:17.576646+0000', 'admin', 'delete', 'instance', 'compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5', NULL, '89', 'zookeeper', 'compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5', '{}') RETURNING *
D, [2018-06-08T00:04:17.580103 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.001706s) (conn: 47018344807300) COMMIT
D, [2018-06-08T00:04:17.581188 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000063s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:04:17.581960 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000231s) (conn: 47018331589620) INSERT INTO "events" ("parent_id", "timestamp", "user", "action", "object_type", "object_name", "error", "task", "deployment", "instance", "context_json") VALUES (NULL, '2018-06-08 00:04:17.580587+0000', 'admin', 'delete', 'vm', 'vm-2e59b481-d027-4802-75f3-f8267ba1e27d', NULL, '89', 'zookeeper', 'compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5', '{}') RETURNING *
D, [2018-06-08T00:04:17.583714 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.001394s) (conn: 47018331589620) COMMIT
I, [2018-06-08T00:04:17.583994 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] INFO -- DirectorJobRunner: Deleting VM
D, [2018-06-08T00:04:17.585379 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000395s) (conn: 47018331589620) SELECT * FROM "configs" WHERE ("id" IN (SELECT max("id") FROM "configs" WHERE ("type" = 'cpi') GROUP BY "name"))
D, [2018-06-08T00:04:17.585674 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: [external-cpi] [cpi-689108] request: {"method":"info","arguments":[],"context":{"director_uuid":"d169f959-e754-4869-bd5b-addd54f16ecc","request_id":"cpi-689108"}} with command: /var/vcap/jobs/google_cpi/bin/cpi
D, [2018-06-08T00:04:17.593210 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: [external-cpi] [cpi-689108] response: {"result":{"stemcell_formats":["google-light","google-rawdisk"]},"error":null,"log":""}, err: , exit_status: pid 29226 exit 0
D, [2018-06-08T00:04:17.593637 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: [external-cpi] [cpi-299871] request: {"method":"delete_vm","arguments":["vm-2e59b481-d027-4802-75f3-f8267ba1e27d"],"context":{"director_uuid":"d169f959-e754-4869-bd5b-addd54f16ecc","request_id":"cpi-299871"},"api_version":1} with command: /var/vcap/jobs/google_cpi/bin/cpi
D, [2018-06-08T00:04:17.848029 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: [external-cpi] [cpi-299871] response: {"result":null,"error":{"type":"Bosh::Clouds::VMNotFound","message":"VM 'vm-2e59b481-d027-4802-75f3-f8267ba1e27d' not found","ok_to_retry":false},"log":""}, err: , exit_status: pid 29234 exit 0
W, [2018-06-08T00:04:17.848935 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] WARN -- DirectorJobRunner: VM 'vm-2e59b481-d027-4802-75f3-f8267ba1e27d' might have already been deleted from the cloud
D, [2018-06-08T00:04:17.849003 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
D, [2018-06-08T00:04:17.849153 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/vm_deleter.rb:38:in `block in delete_vms'
D, [2018-06-08T00:04:17.849243 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/vm_deleter.rb:33:in `each'
D, [2018-06-08T00:04:17.849284 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/vm_deleter.rb:33:in `delete_vms'
D, [2018-06-08T00:04:17.849321 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/vm_deleter.rb:15:in `delete_for_instance'
D, [2018-06-08T00:04:17.849357 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/instance_deleter.rb:29:in `block in delete_instance_plan'
D, [2018-06-08T00:04:17.849393 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/event_log.rb:125:in `advance_and_track'
D, [2018-06-08T00:04:17.849429 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/instance_deleter.rb:23:in `delete_instance_plan'
D, [2018-06-08T00:04:17.849478 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/compilation_instance_pool.rb:125:in `destroy_instance'
D, [2018-06-08T00:04:17.849537 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/compilation_instance_pool.rb:60:in `rescue in with_reused_vm'
D, [2018-06-08T00:04:17.849578 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/compilation_instance_pool.rb:50:in `with_reused_vm'
D, [2018-06-08T00:04:17.849614 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:130:in `prepare_vm'
D, [2018-06-08T00:04:17.849650 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:81:in `block in compile_package'
D, [2018-06-08T00:04:17.849685 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/lock_helper.rb:48:in `block in with_compile_lock'
D, [2018-06-08T00:04:17.849721 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/lock.rb:79:in `lock'
D, [2018-06-08T00:04:17.849756 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/lock_helper.rb:48:in `with_compile_lock'
D, [2018-06-08T00:04:17.849791 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:74:in `compile_package'
D, [2018-06-08T00:04:17.849826 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:233:in `block (2 levels) in process_task'
D, [2018-06-08T00:04:17.849867 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/event_log.rb:105:in `advance_and_track'
D, [2018-06-08T00:04:17.849913 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:231:in `block in process_task'
D, [2018-06-08T00:04:17.849950 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_formatter.rb:52:in `with_thread_name'
D, [2018-06-08T00:04:17.849985 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:227:in `process_task'
D, [2018-06-08T00:04:17.850020 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:191:in `block (4 levels) in compile_packages'
D, [2018-06-08T00:04:17.850055 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_pool.rb:77:in `block (2 levels) in create_thread'
D, [2018-06-08T00:04:17.850091 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_pool.rb:63:in `loop'
D, [2018-06-08T00:04:17.850126 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_pool.rb:63:in `block in create_thread'
D, [2018-06-08T00:04:17.850210 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
D, [2018-06-08T00:04:17.850777 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000062s) (conn: 47018344807300) BEGIN
D, [2018-06-08T00:04:17.851485 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000279s) (conn: 47018344807300) SELECT * FROM "ip_addresses" WHERE ("ip_addresses"."vm_id" = 9)
D, [2018-06-08T00:04:17.851851 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000175s) (conn: 47018344807300) DELETE FROM "vms" WHERE "id" = 9
D, [2018-06-08T00:04:17.852227 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000071s) (conn: 47018344807300) ROLLBACK
D, [2018-06-08T00:04:17.853209 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000055s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:04:17.853978 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000285s) (conn: 47018331589620) INSERT INTO "events" ("parent_id", "timestamp", "user", "action", "object_type", "object_name", "error", "task", "deployment", "instance", "context_json") VALUES (439, '2018-06-08 00:04:17.852514+0000', 'admin', 'delete', 'vm', 'vm-2e59b481-d027-4802-75f3-f8267ba1e27d', 'Attempt to delete object did not result in a single row modification (Rows Deleted: 0, SQL: DELETE FROM "vms" WHERE ("id" = 9))', '89', 'zookeeper', 'compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5', '{}') RETURNING *
D, [2018-06-08T00:04:17.856699 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.002322s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:04:17.857836 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000056s) (conn: 47018344807300) BEGIN
D, [2018-06-08T00:04:17.858567 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000266s) (conn: 47018344807300) INSERT INTO "events" ("parent_id", "timestamp", "user", "action", "object_type", "object_name", "error", "task", "deployment", "instance", "context_json") VALUES (438, '2018-06-08 00:04:17.857201+0000', 'admin', 'delete', 'instance', 'compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5', 'Attempt to delete object did not result in a single row modification (Rows Deleted: 0, SQL: DELETE FROM "vms" WHERE ("id" = 9))', '89', 'zookeeper', 'compilation-44696a0c-902d-4d51-bf5f-be5b35c9e87d/f079d422-4d5a-4a03-88eb-ba1e0210bed5', '{}') RETURNING *
D, [2018-06-08T00:04:17.863735 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.004743s) (conn: 47018344807300) COMMIT
D, [2018-06-08T00:04:17.866995 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.001987s) (conn: 47018331589620) DELETE FROM "locks" WHERE (("name" = 'lock:compile:12:ubuntu-trusty/3586.18') AND ("uid" = '70cedb29-23fd-406a-b215-1b94b529eefe'))
D, [2018-06-08T00:04:17.867100 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: Deleted lock: lock:compile:12:ubuntu-trusty/3586.18 uid: 70cedb29-23fd-406a-b215-1b94b529eefe
D, [2018-06-08T00:04:17.867925 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000105s) (conn: 47018344807300) BEGIN
D, [2018-06-08T00:04:17.868696 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000268s) (conn: 47018344807300) INSERT INTO "events" ("parent_id", "timestamp", "user", "action", "object_type", "object_name", "error", "task", "deployment", "instance", "context_json") VALUES (NULL, '2018-06-08 00:04:17.867242+0000', 'admin', 'release', 'lock', 'lock:compile:12:ubuntu-trusty/3586.18', NULL, '89', 'zookeeper', NULL, '{}') RETURNING *
D, [2018-06-08T00:04:17.870598 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.001488s) (conn: 47018344807300) COMMIT
D, [2018-06-08T00:04:17.871494 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000057s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:04:17.872236 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000300s) (conn: 47018331589620) UPDATE "tasks" SET "event_output" = ("event_output" || '{"time":1528416257,"stage":"Compiling packages","tags":[],"total":2,"task":"zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1","index":1,"state":"failed","progress":100,"data":{"error":"Attempt to delete object did not result in a single row modification (Rows Deleted: 0, SQL: DELETE FROM \"vms\" WHERE (\"id\" = 9))"}}
') WHERE ("id" = 89)
D, [2018-06-08T00:04:17.876810 #29011] [compile_package(zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.004424s) (conn: 47018331589620) COMMIT
E, [2018-06-08T00:04:17.877930 #29011] [] ERROR -- DirectorJobRunner: Worker thread raised exception: Attempt to delete object did not result in a single row modification (Rows Deleted: 0, SQL: DELETE FROM "vms" WHERE ("id" = 9)) - /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:2076:in `_delete'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:1528:in `delete'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:2131:in `_destroy_delete'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:2115:in `block in _destroy'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:1382:in `around_destroy'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:2109:in `_destroy'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:1543:in `block (2 levels) in destroy'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:2372:in `block in checked_transaction'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/database/transactions.rb:224:in `_transaction'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/database/transactions.rb:199:in `block in transaction'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/database/connecting.rb:301:in `block in synchronize'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/connection_pool/threaded.rb:107:in `hold'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/database/connecting.rb:301:in `synchronize'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/database/transactions.rb:165:in `transaction'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:2372:in `checked_transaction'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:1543:in `block in destroy'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:2360:in `checked_save_failure'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:1543:in `destroy'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/steps/delete_vm_step.rb:37:in `perform'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/vm_deleter.rb:38:in `block in delete_vms'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/vm_deleter.rb:33:in `each'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/vm_deleter.rb:33:in `delete_vms'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/vm_deleter.rb:15:in `delete_for_instance'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/instance_deleter.rb:29:in `block in delete_instance_plan'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/event_log.rb:125:in `advance_and_track'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/instance_deleter.rb:23:in `delete_instance_plan'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/compilation_instance_pool.rb:125:in `destroy_instance'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/compilation_instance_pool.rb:60:in `rescue in with_reused_vm'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/compilation_instance_pool.rb:50:in `with_reused_vm'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:130:in `prepare_vm'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:81:in `block in compile_package'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/lock_helper.rb:48:in `block in with_compile_lock'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/lock.rb:79:in `lock'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/lock_helper.rb:48:in `with_compile_lock'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:74:in `compile_package'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:233:in `block (2 levels) in process_task'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/event_log.rb:105:in `advance_and_track'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:231:in `block in process_task'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_formatter.rb:52:in `with_thread_name'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:227:in `process_task'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:191:in `block (4 levels) in compile_packages'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_pool.rb:77:in `block (2 levels) in create_thread'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_pool.rb:63:in `loop'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_pool.rb:63:in `block in create_thread'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
D, [2018-06-08T00:04:17.878045 #29011] [] DEBUG -- DirectorJobRunner: Thread is no longer needed, cleaning up
D, [2018-06-08T00:04:17.955780 #29011] [task:89] DEBUG -- DirectorJobRunner: Waiting for tasks to complete
D, [2018-06-08T00:04:17.955962 #29011] [task:89] DEBUG -- DirectorJobRunner: Shutting down pool
D, [2018-06-08T00:04:29.709589 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: [external-cpi] [cpi-349795] response: {"result":null,"error":null,"log":""}, err: , exit_status: pid 29192 exit 0
D, [2018-06-08T00:04:29.709918 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
D, [2018-06-08T00:04:29.710008 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/steps/create_vm_step.rb:46:in `rescue in perform'
D, [2018-06-08T00:04:29.710053 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/steps/create_vm_step.rb:36:in `perform'
D, [2018-06-08T00:04:29.710091 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/step_executor.rb:39:in `block in run_agenda'
D, [2018-06-08T00:04:29.710128 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/step_executor.rb:36:in `each'
D, [2018-06-08T00:04:29.710184 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/step_executor.rb:36:in `run_agenda'
D, [2018-06-08T00:04:29.710230 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/step_executor.rb:24:in `block (4 levels) in run'
D, [2018-06-08T00:04:29.710269 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_formatter.rb:52:in `with_thread_name'
D, [2018-06-08T00:04:29.710305 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/step_executor.rb:18:in `block (3 levels) in run'
D, [2018-06-08T00:04:29.710367 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_pool.rb:77:in `block (2 levels) in create_thread'
D, [2018-06-08T00:04:29.710404 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_pool.rb:63:in `loop'
D, [2018-06-08T00:04:29.710446 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_pool.rb:63:in `block in create_thread'
D, [2018-06-08T00:04:29.710500 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
D, [2018-06-08T00:04:29.711082 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.000061s) (conn: 47018344807300) BEGIN
D, [2018-06-08T00:04:29.711738 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.000220s) (conn: 47018344807300) SELECT * FROM "ip_addresses" WHERE ("ip_addresses"."vm_id" = 10)
D, [2018-06-08T00:04:29.712346 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.000382s) (conn: 47018344807300) DELETE FROM "vms" WHERE "id" = 10
D, [2018-06-08T00:04:29.714697 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.002220s) (conn: 47018344807300) COMMIT
D, [2018-06-08T00:04:29.715644 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.000062s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:04:29.716467 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.000277s) (conn: 47018331589620) INSERT INTO "events" ("parent_id", "timestamp", "user", "action", "object_type", "object_name", "error", "task", "deployment", "instance", "context_json") VALUES (435, '2018-06-08 00:04:29.714881+0000', 'admin', 'delete', 'vm', 'vm-3b5a8824-a5d7-40eb-4a86-c7b5f47b93cc', NULL, '89', 'zookeeper', 'compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92', '{}') RETURNING *
D, [2018-06-08T00:04:29.718519 #29011] [create_missing_vm(compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92 (0)/1)] DEBUG -- DirectorJobRunner: (0.001628s) (conn: 47018331589620) COMMIT
E, [2018-06-08T00:04:29.719262 #29011] [] ERROR -- DirectorJobRunner: Worker thread raised exception: Timed out pinging to 972ab08c-1523-473b-9388-0e4607fe9efa after 2 seconds - /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/agent_client.rb:219:in `rescue in wait_until_ready'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/agent_client.rb:225:in `wait_until_ready'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/steps/create_vm_step.rb:58:in `update_metadata'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/steps/create_vm_step.rb:39:in `perform'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/step_executor.rb:39:in `block in run_agenda'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/step_executor.rb:36:in `each'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/step_executor.rb:36:in `run_agenda'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/step_executor.rb:24:in `block (4 levels) in run'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_formatter.rb:52:in `with_thread_name'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/step_executor.rb:18:in `block (3 levels) in run'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_pool.rb:77:in `block (2 levels) in create_thread'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_pool.rb:63:in `loop'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_pool.rb:63:in `block in create_thread'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
D, [2018-06-08T00:04:29.719347 #29011] [] DEBUG -- DirectorJobRunner: Thread is no longer needed, cleaning up
D, [2018-06-08T00:04:29.719476 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: Shutting down pool
D, [2018-06-08T00:04:29.720188 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000060s) (conn: 47018344807300) BEGIN
D, [2018-06-08T00:04:29.720914 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000233s) (conn: 47018344807300) INSERT INTO "events" ("parent_id", "timestamp", "user", "action", "object_type", "object_name", "error", "task", "deployment", "instance", "context_json") VALUES (429, '2018-06-08 00:04:29.719616+0000', 'admin', 'create', 'instance', 'compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92', 'Timed out pinging to 972ab08c-1523-473b-9388-0e4607fe9efa after 2 seconds', '89', 'zookeeper', 'compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92', '{}') RETURNING *
D, [2018-06-08T00:04:29.722772 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.001460s) (conn: 47018344807300) COMMIT
D, [2018-06-08T00:04:29.723716 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000057s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:04:29.724342 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000205s) (conn: 47018331589620) INSERT INTO "events" ("parent_id", "timestamp", "user", "action", "object_type", "object_name", "error", "task", "deployment", "instance", "context_json") VALUES (NULL, '2018-06-08 00:04:29.723167+0000', 'admin', 'delete', 'instance', 'compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92', NULL, '89', 'zookeeper', 'compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92', '{}') RETURNING *
D, [2018-06-08T00:04:29.726026 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.001315s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:04:29.726921 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000055s) (conn: 47018344807300) BEGIN
D, [2018-06-08T00:04:29.727590 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000229s) (conn: 47018344807300) INSERT INTO "events" ("parent_id", "timestamp", "user", "action", "object_type", "object_name", "error", "task", "deployment", "instance", "context_json") VALUES (NULL, '2018-06-08 00:04:29.726414+0000', 'admin', 'delete', 'vm', 'vm-3b5a8824-a5d7-40eb-4a86-c7b5f47b93cc', NULL, '89', 'zookeeper', 'compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92', '{}') RETURNING *
D, [2018-06-08T00:04:29.729875 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.001955s) (conn: 47018344807300) COMMIT
I, [2018-06-08T00:04:29.730157 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] INFO -- DirectorJobRunner: Deleting VM
D, [2018-06-08T00:04:29.731434 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000356s) (conn: 47018344807300) SELECT * FROM "configs" WHERE ("id" IN (SELECT max("id") FROM "configs" WHERE ("type" = 'cpi') GROUP BY "name"))
D, [2018-06-08T00:04:29.731779 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: [external-cpi] [cpi-357074] request: {"method":"info","arguments":[],"context":{"director_uuid":"d169f959-e754-4869-bd5b-addd54f16ecc","request_id":"cpi-357074"}} with command: /var/vcap/jobs/google_cpi/bin/cpi
D, [2018-06-08T00:04:29.739600 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: [external-cpi] [cpi-357074] response: {"result":{"stemcell_formats":["google-light","google-rawdisk"]},"error":null,"log":""}, err: , exit_status: pid 29246 exit 0
D, [2018-06-08T00:04:29.739991 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: [external-cpi] [cpi-541248] request: {"method":"delete_vm","arguments":["vm-3b5a8824-a5d7-40eb-4a86-c7b5f47b93cc"],"context":{"director_uuid":"d169f959-e754-4869-bd5b-addd54f16ecc","request_id":"cpi-541248"},"api_version":1} with command: /var/vcap/jobs/google_cpi/bin/cpi
D, [2018-06-08T00:04:30.057867 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: [external-cpi] [cpi-541248] response: {"result":null,"error":{"type":"Bosh::Clouds::VMNotFound","message":"VM 'vm-3b5a8824-a5d7-40eb-4a86-c7b5f47b93cc' not found","ok_to_retry":false},"log":""}, err: , exit_status: pid 29254 exit 0
W, [2018-06-08T00:04:30.058271 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] WARN -- DirectorJobRunner: VM 'vm-3b5a8824-a5d7-40eb-4a86-c7b5f47b93cc' might have already been deleted from the cloud
D, [2018-06-08T00:04:30.058327 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
D, [2018-06-08T00:04:30.058440 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/vm_deleter.rb:38:in `block in delete_vms'
D, [2018-06-08T00:04:30.058483 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/vm_deleter.rb:33:in `each'
D, [2018-06-08T00:04:30.058562 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/vm_deleter.rb:33:in `delete_vms'
D, [2018-06-08T00:04:30.058600 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/vm_deleter.rb:15:in `delete_for_instance'
D, [2018-06-08T00:04:30.058650 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/instance_deleter.rb:29:in `block in delete_instance_plan'
D, [2018-06-08T00:04:30.058689 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/event_log.rb:125:in `advance_and_track'
D, [2018-06-08T00:04:30.058726 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/instance_deleter.rb:23:in `delete_instance_plan'
D, [2018-06-08T00:04:30.058762 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/compilation_instance_pool.rb:125:in `destroy_instance'
D, [2018-06-08T00:04:30.058806 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/compilation_instance_pool.rb:60:in `rescue in with_reused_vm'
D, [2018-06-08T00:04:30.058843 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/compilation_instance_pool.rb:50:in `with_reused_vm'
D, [2018-06-08T00:04:30.058878 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:130:in `prepare_vm'
D, [2018-06-08T00:04:30.058931 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:81:in `block in compile_package'
D, [2018-06-08T00:04:30.058969 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/lock_helper.rb:48:in `block in with_compile_lock'
D, [2018-06-08T00:04:30.059004 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/lock.rb:79:in `lock'
D, [2018-06-08T00:04:30.059039 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/lock_helper.rb:48:in `with_compile_lock'
D, [2018-06-08T00:04:30.059074 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:74:in `compile_package'
D, [2018-06-08T00:04:30.059109 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:233:in `block (2 levels) in process_task'
D, [2018-06-08T00:04:30.059178 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/event_log.rb:105:in `advance_and_track'
D, [2018-06-08T00:04:30.059220 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:231:in `block in process_task'
D, [2018-06-08T00:04:30.059257 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_formatter.rb:52:in `with_thread_name'
D, [2018-06-08T00:04:30.059292 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:227:in `process_task'
D, [2018-06-08T00:04:30.059327 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:191:in `block (4 levels) in compile_packages'
D, [2018-06-08T00:04:30.059374 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_pool.rb:77:in `block (2 levels) in create_thread'
D, [2018-06-08T00:04:30.059412 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_pool.rb:63:in `loop'
D, [2018-06-08T00:04:30.059448 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_pool.rb:63:in `block in create_thread'
D, [2018-06-08T00:04:30.059483 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
D, [2018-06-08T00:04:30.060068 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000062s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:04:30.060744 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000230s) (conn: 47018331589620) SELECT * FROM "ip_addresses" WHERE ("ip_addresses"."vm_id" = 10)
D, [2018-06-08T00:04:30.061133 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000205s) (conn: 47018331589620) DELETE FROM "vms" WHERE "id" = 10
D, [2018-06-08T00:04:30.061477 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000073s) (conn: 47018331589620) ROLLBACK
D, [2018-06-08T00:04:30.062386 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000054s) (conn: 47018344807300) BEGIN
D, [2018-06-08T00:04:30.063166 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000268s) (conn: 47018344807300) INSERT INTO "events" ("parent_id", "timestamp", "user", "action", "object_type", "object_name", "error", "task", "deployment", "instance", "context_json") VALUES (446, '2018-06-08 00:04:30.061756+0000', 'admin', 'delete', 'vm', 'vm-3b5a8824-a5d7-40eb-4a86-c7b5f47b93cc', 'Attempt to delete object did not result in a single row modification (Rows Deleted: 0, SQL: DELETE FROM "vms" WHERE ("id" = 10))', '89', 'zookeeper', 'compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92', '{}') RETURNING *
D, [2018-06-08T00:04:30.075060 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.011427s) (conn: 47018344807300) COMMIT
D, [2018-06-08T00:04:30.076625 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000077s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:04:30.077785 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000397s) (conn: 47018331589620) INSERT INTO "events" ("parent_id", "timestamp", "user", "action", "object_type", "object_name", "error", "task", "deployment", "instance", "context_json") VALUES (445, '2018-06-08 00:04:30.075671+0000', 'admin', 'delete', 'instance', 'compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92', 'Attempt to delete object did not result in a single row modification (Rows Deleted: 0, SQL: DELETE FROM "vms" WHERE ("id" = 10))', '89', 'zookeeper', 'compilation-105244d1-bd0a-4b5a-9992-b840d47c3d6b/e951f1b0-3713-4c95-87d2-a68712af0e92', '{}') RETURNING *
D, [2018-06-08T00:04:30.080022 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.001650s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:04:30.083228 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.001629s) (conn: 47018344807300) DELETE FROM "locks" WHERE (("name" = 'lock:compile:10:ubuntu-trusty/3586.18') AND ("uid" = 'cdc0451e-51dc-47af-92d7-2fdc47ad1f79'))
D, [2018-06-08T00:04:30.083326 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: Deleted lock: lock:compile:10:ubuntu-trusty/3586.18 uid: cdc0451e-51dc-47af-92d7-2fdc47ad1f79
D, [2018-06-08T00:04:30.084315 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000076s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:04:30.085343 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000337s) (conn: 47018331589620) INSERT INTO "events" ("parent_id", "timestamp", "user", "action", "object_type", "object_name", "error", "task", "deployment", "instance", "context_json") VALUES (NULL, '2018-06-08 00:04:30.083505+0000', 'admin', 'release', 'lock', 'lock:compile:10:ubuntu-trusty/3586.18', NULL, '89', 'zookeeper', NULL, '{}') RETURNING *
D, [2018-06-08T00:04:30.087361 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.001517s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:04:30.088252 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000057s) (conn: 47018344807300) BEGIN
D, [2018-06-08T00:04:30.088937 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.000286s) (conn: 47018344807300) UPDATE "tasks" SET "event_output" = ("event_output" || '{"time":1528416270,"stage":"Compiling packages","tags":[],"total":2,"task":"openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20","index":2,"state":"failed","progress":100,"data":{"error":"Attempt to delete object did not result in a single row modification (Rows Deleted: 0, SQL: DELETE FROM \"vms\" WHERE (\"id\" = 10))"}}
') WHERE ("id" = 89)
D, [2018-06-08T00:04:30.090473 #29011] [compile_package(openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20, bosh-google-kvm-ubuntu-trusty-go_agent/3586.18)] DEBUG -- DirectorJobRunner: (0.001390s) (conn: 47018344807300) COMMIT
E, [2018-06-08T00:04:30.090661 #29011] [] ERROR -- DirectorJobRunner: Worker thread raised exception: Attempt to delete object did not result in a single row modification (Rows Deleted: 0, SQL: DELETE FROM "vms" WHERE ("id" = 10)) - /var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:2076:in `_delete'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:1528:in `delete'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:2131:in `_destroy_delete'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:2115:in `block in _destroy'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:1382:in `around_destroy'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:2109:in `_destroy'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:1543:in `block (2 levels) in destroy'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:2372:in `block in checked_transaction'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/database/transactions.rb:224:in `_transaction'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/database/transactions.rb:199:in `block in transaction'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/database/connecting.rb:301:in `block in synchronize'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/connection_pool/threaded.rb:107:in `hold'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/database/connecting.rb:301:in `synchronize'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/database/transactions.rb:165:in `transaction'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:2372:in `checked_transaction'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:1543:in `block in destroy'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:2360:in `checked_save_failure'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:1543:in `destroy'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/steps/delete_vm_step.rb:37:in `perform'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/vm_deleter.rb:38:in `block in delete_vms'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/vm_deleter.rb:33:in `each'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/vm_deleter.rb:33:in `delete_vms'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/vm_deleter.rb:15:in `delete_for_instance'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/instance_deleter.rb:29:in `block in delete_instance_plan'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/event_log.rb:125:in `advance_and_track'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/instance_deleter.rb:23:in `delete_instance_plan'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/compilation_instance_pool.rb:125:in `destroy_instance'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/compilation_instance_pool.rb:60:in `rescue in with_reused_vm'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/compilation_instance_pool.rb:50:in `with_reused_vm'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:130:in `prepare_vm'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:81:in `block in compile_package'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/lock_helper.rb:48:in `block in with_compile_lock'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/lock.rb:79:in `lock'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/lock_helper.rb:48:in `with_compile_lock'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:74:in `compile_package'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:233:in `block (2 levels) in process_task'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/event_log.rb:105:in `advance_and_track'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:231:in `block in process_task'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_formatter.rb:52:in `with_thread_name'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:227:in `process_task'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:191:in `block (4 levels) in compile_packages'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_pool.rb:77:in `block (2 levels) in create_thread'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_pool.rb:63:in `loop'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_pool.rb:63:in `block in create_thread'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
D, [2018-06-08T00:04:30.090763 #29011] [] DEBUG -- DirectorJobRunner: Thread is no longer needed, cleaning up
D, [2018-06-08T00:04:30.090934 #29011] [task:89] DEBUG -- DirectorJobRunner: Waiting for tasks to complete
D, [2018-06-08T00:04:30.090989 #29011] [task:89] DEBUG -- DirectorJobRunner: Shutting down pool
D, [2018-06-08T00:04:30.093901 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.001662s) (conn: 47018331589620) DELETE FROM "locks" WHERE (("name" = 'lock:deployment:zookeeper') AND ("uid" = '4e15828a-8494-4fab-af62-133c27cb2182'))
D, [2018-06-08T00:04:30.094035 #29011] [task:89] DEBUG -- DirectorJobRunner: Deleted lock: lock:deployment:zookeeper uid: 4e15828a-8494-4fab-af62-133c27cb2182
D, [2018-06-08T00:04:30.094747 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000056s) (conn: 47018344807300) BEGIN
D, [2018-06-08T00:04:30.095509 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000266s) (conn: 47018344807300) INSERT INTO "events" ("parent_id", "timestamp", "user", "action", "object_type", "object_name", "error", "task", "deployment", "instance", "context_json") VALUES (NULL, '2018-06-08 00:04:30.094148+0000', 'admin', 'release', 'lock', 'lock:deployment:zookeeper', NULL, '89', 'zookeeper', NULL, '{}') RETURNING *
D, [2018-06-08T00:04:30.097396 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.001518s) (conn: 47018344807300) COMMIT
I, [2018-06-08T00:04:30.097871 #29011] [task:89] INFO -- DirectorJobRunner: sending update deployment error event
D, [2018-06-08T00:04:30.097965 #29011] [task:89] DEBUG -- DirectorJobRunner: SENT: hm.director.alert {"id":"47b1cce6-e8b9-46b7-acd7-5d36f2f08282","severity":3,"source":"director","title":"director - error during update deployment","summary":"Error during update deployment for 'zookeeper' against Director 'd169f959-e754-4869-bd5b-addd54f16ecc': #<Sequel::NoExistingObject: Attempt to delete object did not result in a single row modification (Rows Deleted: 0, SQL: DELETE FROM \"vms\" WHERE (\"id\" = 9))>","created_at":1528416270,"deployment":"zookeeper"}
D, [2018-06-08T00:04:30.107609 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000073s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:04:30.108408 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000235s) (conn: 47018331589620) INSERT INTO "events" ("parent_id", "timestamp", "user", "action", "object_type", "object_name", "error", "task", "deployment", "instance", "context_json") VALUES (421, '2018-06-08 00:04:30.098062+0000', 'admin', 'create', 'deployment', 'zookeeper', 'Attempt to delete object did not result in a single row modification (Rows Deleted: 0, SQL: DELETE FROM "vms" WHERE ("id" = 9))', '89', 'zookeeper', NULL, '{"before":{},"after":{"releases":["zookeeper/0.0.8"],"stemcells":["bosh-google-kvm-ubuntu-trusty-go_agent/3586.18"]}}') RETURNING *
D, [2018-06-08T00:04:30.110998 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.002133s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:04:30.112311 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000222s) (conn: 47018331589620) SELECT * FROM "deployments" WHERE ("name" = 'zookeeper') LIMIT 1
D, [2018-06-08T00:04:30.113269 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000199s) (conn: 47018344807300) SELECT * FROM "variable_sets" WHERE ("variable_sets"."deployment_id" = 4) ORDER BY "created_at" DESC LIMIT 1
D, [2018-06-08T00:04:30.114009 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000055s) (conn: 47018331589620) BEGIN
D, [2018-06-08T00:04:30.114608 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000227s) (conn: 47018331589620) UPDATE "variable_sets" SET "writable" = false WHERE ("id" = 5)
D, [2018-06-08T00:04:30.116196 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.001460s) (conn: 47018331589620) COMMIT
D, [2018-06-08T00:04:30.116772 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000055s) (conn: 47018344807300) BEGIN
D, [2018-06-08T00:04:30.117391 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000242s) (conn: 47018344807300) UPDATE "tasks" SET "event_output" = ("event_output" || '{"time":1528416270,"error":{"code":100,"message":"Attempt to delete object did not result in a single row modification (Rows Deleted: 0, SQL: DELETE FROM \"vms\" WHERE (\"id\" = 9))"}}
') WHERE ("id" = 89)
D, [2018-06-08T00:04:30.119933 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.002390s) (conn: 47018344807300) COMMIT
E, [2018-06-08T00:04:30.120105 #29011] [task:89] ERROR -- DirectorJobRunner: Attempt to delete object did not result in a single row modification (Rows Deleted: 0, SQL: DELETE FROM "vms" WHERE ("id" = 9))
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:2076:in `_delete'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:1528:in `delete'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:2131:in `_destroy_delete'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:2115:in `block in _destroy'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:1382:in `around_destroy'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:2109:in `_destroy'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:1543:in `block (2 levels) in destroy'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:2372:in `block in checked_transaction'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/database/transactions.rb:224:in `_transaction'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/database/transactions.rb:199:in `block in transaction'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/database/connecting.rb:301:in `block in synchronize'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/connection_pool/threaded.rb:107:in `hold'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/database/connecting.rb:301:in `synchronize'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/database/transactions.rb:165:in `transaction'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:2372:in `checked_transaction'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:1543:in `block in destroy'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:2360:in `checked_save_failure'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/sequel-4.49.0/lib/sequel/model/base.rb:1543:in `destroy'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/steps/delete_vm_step.rb:37:in `perform'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/vm_deleter.rb:38:in `block in delete_vms'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/vm_deleter.rb:33:in `each'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/vm_deleter.rb:33:in `delete_vms'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/vm_deleter.rb:15:in `delete_for_instance'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/instance_deleter.rb:29:in `block in delete_instance_plan'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/event_log.rb:125:in `advance_and_track'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/instance_deleter.rb:23:in `delete_instance_plan'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/compilation_instance_pool.rb:125:in `destroy_instance'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/compilation_instance_pool.rb:60:in `rescue in with_reused_vm'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/compilation_instance_pool.rb:50:in `with_reused_vm'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:130:in `prepare_vm'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:81:in `block in compile_package'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/lock_helper.rb:48:in `block in with_compile_lock'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/lock.rb:79:in `lock'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/lock_helper.rb:48:in `with_compile_lock'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:74:in `compile_package'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:233:in `block (2 levels) in process_task'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/event_log.rb:105:in `advance_and_track'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:231:in `block in process_task'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_formatter.rb:52:in `with_thread_name'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:227:in `process_task'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh-director-0.0.0/lib/bosh/director/deployment_plan/stages/package_compile_stage.rb:191:in `block (4 levels) in compile_packages'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_pool.rb:77:in `block (2 levels) in create_thread'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_pool.rb:63:in `loop'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/bosh_common-0.0.0/lib/common/thread_pool.rb:63:in `block in create_thread'
/var/vcap/data/packages/director/2cf84ca4aa06a0b50b3df54fe5f8a877f5a970ae/gem_home/ruby/2.4.0/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
D, [2018-06-08T00:04:30.120902 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000309s) (conn: 47018331589620) SELECT * FROM "tasks" WHERE "id" = 89
D, [2018-06-08T00:04:30.122124 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000059s) (conn: 47018344807300) BEGIN
D, [2018-06-08T00:04:30.123154 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.000407s) (conn: 47018344807300) UPDATE "tasks" SET "state" = 'error', "timestamp" = '2018-06-08 00:04:30.121638+0000', "description" = 'create deployment', "result" = 'Attempt to delete object did not result in a single row modification (Rows Deleted: 0, SQL: DELETE FROM "vms" WHERE ("id" = 9))', "output" = '/var/vcap/store/director/tasks/89', "checkpoint_time" = '2018-06-08 00:04:05.291252+0000', "type" = 'update_deployment', "username" = 'admin', "deployment_name" = 'zookeeper', "started_at" = '2018-06-08 00:01:05.209360+0000', "event_output" = '{"time":1528416065,"stage":"Preparing deployment","tags":[],"total":1,"task":"Preparing deployment","index":1,"state":"started","progress":0}
{"time":1528416065,"stage":"Preparing deployment","tags":[],"total":1,"task":"Preparing deployment","index":1,"state":"finished","progress":100}
{"time":1528416065,"stage":"Preparing package compilation","tags":[],"total":1,"task":"Finding packages to compile","index":1,"state":"started","progress":0}
{"time":1528416065,"stage":"Preparing package compilation","tags":[],"total":1,"task":"Finding packages to compile","index":1,"state":"finished","progress":100}
{"time":1528416065,"stage":"Compiling packages","tags":[],"total":2,"task":"zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1","index":1,"state":"started","progress":0}
{"time":1528416065,"stage":"Compiling packages","tags":[],"total":2,"task":"openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20","index":2,"state":"started","progress":0}
{"time":1528416257,"stage":"Compiling packages","tags":[],"total":2,"task":"zookeeper/43ee655b89f8a05cc472ca997e8c8186457241c1","index":1,"state":"failed","progress":100,"data":{"error":"Attempt to delete object did not result in a single row modification (Rows Deleted: 0, SQL: DELETE FROM \"vms\" WHERE (\"id\" = 9))"}}
{"time":1528416270,"stage":"Compiling packages","tags":[],"total":2,"task":"openjdk-8/5e72bbc5151b0248ff5925636fdd7d328f7dea20","index":2,"state":"failed","progress":100,"data":{"error":"Attempt to delete object did not result in a single row modification (Rows Deleted: 0, SQL: DELETE FROM \"vms\" WHERE (\"id\" = 10))"}}
{"time":1528416270,"error":{"code":100,"message":"Attempt to delete object did not result in a single row modification (Rows Deleted: 0, SQL: DELETE FROM \"vms\" WHERE (\"id\" = 9))"}}
', "result_output" = '', "context_id" = '' WHERE ("id" = 89)
D, [2018-06-08T00:04:30.125240 #29011] [task:89] DEBUG -- DirectorJobRunner: (0.001934s) (conn: 47018344807300) COMMIT
I, [2018-06-08T00:04:30.125429 #29011] [] INFO -- DirectorJobRunner: Task took 3 minutes 24.922199551999995 seconds to process.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment