{"action":"created","issue":{"url":"https://api.github.com/repos/cloudfoundry-incubator/diego-release/issues/34","labels_url":"https://api.github.com/repos/cloudfoundry-incubator/diego-release/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/cloudfoundry-incubator/diego-release/issues/34/comments","events_url":"https://api.github.com/repos/cloudfoundry-incubator/diego-release/issues/34/events","html_url":"https://github.com/cloudfoundry-incubator/diego-release/issues/34","id":69544517,"number":34,"title":"crashed at github.com/docker/docker/registry.NewSession(0x0, 0x0, 0xc2081b4be0, 0x1, 0xc2081993b0, 0x0, 0x0)","user":{"login":"guanglinlv","id":10666676,"avatar_url":"https://avatars.githubusercontent.com/u/10666676?v=3","gravatar_id":"","url":"https://api.github.com/users/guanglinlv","html_url":"https://github.com/guanglinlv","followers_url":"https://api.github.com/users/guanglinlv/followers","following_url":"https://api.github.com/users/guanglinlv/following{/other_user}","gists_url":"https://api.github.com/users/guanglinlv/gists{/gist_id}","starred_url":"https://api.github.com/users/guanglinlv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guanglinlv/subscriptions","organizations_url":"https://api.github.com/users/guanglinlv/orgs","repos_url":"https://api.github.com/users/guanglinlv/repos","events_url":"https://api.github.com/users/guanglinlv/events{/privacy}","received_events_url":"https://api.github.com/users/guanglinlv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-04-20T09:21:01Z","updated_at":"2015-04-23T03:37:53Z","closed_at":null,"body":"hi all,\r\n\r\nI get a crash problem when i try to get docker image from my private docker registry.it is trying to access a null pointer.\r\n\r\nhere is the stack:\r\n```log\r\n2015/04/20 21:04:45 http: panic serving 127.0.0.1:59200: runtime error: invalid memory address or nil pointer dereference\r\ngoroutine 947 [running]:\r\nnet/http.func·011()\r\n\t/usr/local/go/src/net/http/server.go:1130 +0xbb\r\ngithub.com/docker/docker/registry.NewSession(0x0, 0x0, 0xc2081b2aa0, 0x1, 0xc208152b10, 0x0, 0x0)\r\n\t/var/vcap/packages/garden-linux/src/github.com/cloudfoundry-incubator/garden-linux/Godeps/_workspace/src/github.com/docker/docker/registry/session.go:58 +0x75a\r\ngithub.com/cloudfoundry-incubator/garden-linux/old/repository_fetcher.registryProvider.ProvideRegistry(0xa49eb0, 0x1b, 0xc208103720, 0x1, 0x1, 0xc2080fc349, 0xf, 0x0, 0x0, 0x0, ...)\r\n\t/var/vcap/packages/garden-linux/src/github.com/cloudfoundry-incubator/garden-linux/old/repository_fetcher/repository_provider.go:49 +0x2ff\r\ngithub.com/cloudfoundry-incubator/garden-linux/old/repository_fetcher.(*registryProvider).ProvideRegistry(0xc2080a6cf0, 0xc2080fc349, 0xf, 0x0, 0x0, 0x0, 0x0)\r\n\t<autogenerated>:14 +0xe1\r\ngithub.com/cloudfoundry-incubator/garden-linux/old/repository_fetcher.(*DockerRepositoryFetcher).Fetch(0xc2080a6d20, 0x7fa679df5a30, 0xc2081067e0, 0xc208096620, 0xc2080fc375, 0x6, 0x0, 0x0, 0x9ca0c0, 0x0, ...)\r\n\t/var/vcap/packages/garden-linux/src/github.com/cloudfoundry-incubator/garden-linux/old/repository_fetcher/repository_fetcher.go:101 +0x324\r\ngithub.com/cloudfoundry-incubator/garden-linux/old/repository_fetcher.Retryable.Fetch(0x7fa679df7350, 0xc2080a6d20, 0x7fa679df5a30, 0xc2081067e0, 0xc208096620, 0xc2080fc375, 0x6, 0x0, 0x0, 0x0, ...)\r\n\t/var/vcap/packages/garden-linux/src/github.com/cloudfoundry-incubator/garden-linux/old/repository_fetcher/retryable.go:21 +0x15b\r\ngithub.com/cloudfoundry-incubator/garden-linux/old/repository_fetcher.(*Retryable).Fetch(0xc208103730, 0x7fa679df5a30, 0xc2081067e0, 0xc208096620, 0xc2080fc375, 0x6, 0x0, 0x0, 0x7fa679de3000, 0x0, ...)\r\n\t<autogenerated>:15 +0x141\r\ngithub.com/cloudfoundry-incubator/garden-linux/old/rootfs_provider.(*dockerRootFSProvider).ProvideRootFS(0xc20802f9a0, 0x7fa679df5a30, 0xc2081067e0, 0xc20814de10, 0xb, 0xc208096620, 0x0, 0x0, 0xc20816f1c8, 0x0, ...)\r\n\t/var/vcap/packages/garden-linux/src/github.com/cloudfoundry-incubator/garden-linux/old/rootfs_provider/docker_rootfs_provider.go:56 +0x13e\r\ngithub.com/cloudfoundry-incubator/garden-linux/container_pool.(*LinuxContainerPool).acquireSystemResources(0xc2081681c0, 0xc20814de10, 0xb, 0xc2080964d0, 0x6e, 0xc2081364e0, 0x2d, 0xc2080fc340, 0x3b, 0xc208106780, ...)\r\n\t/var/vcap/packages/garden-linux/src/github.com/cloudfoundry-incubator/garden-linux/container_pool/container_pool.go:569 +0x6c9\r\ngithub.com/cloudfoundry-incubator/garden-linux/container_pool.(*LinuxContainerPool).Create(0xc2081681c0, 0xc2080964d0, 0x6e, 0x34630b8a000, 0xc2080fc340, 0x3b, 0x0, 0x0, 0x0, 0x0, ...)\r\n\t/var/vcap/packages/garden-linux/src/github.com/cloudfoundry-incubator/garden-linux/container_pool/container_pool.go:254 +0x502\r\ngithub.com/cloudfoundry-incubator/garden-linux/linux_backend.(*LinuxBackend).Create(0xc20802fa40, 0xc2080964d0, 0x6e, 0x34630b8a000, 0xc2080fc340, 0x3b, 0x0, 0x0, 0x0, 0x0, ...)\r\n\t/var/vcap/packages/garden-linux/src/github.com/cloudfoundry-incubator/garden-linux/linux_backend/linux_backend.go:147 +0x1b9\r\ngithub.com/cloudfoundry-incubator/garden/server.(*GardenServer).handleCreate(0xc208064700, 0x7fa679df8cb8, 0xc20803f220, 0xc20817c4e0)\r\n\t/var/vcap/packages/garden-linux/src/github.com/cloudfoundry-incubator/garden-linux/Godeps/_workspace/src/github.com/cloudfoundry-incubator/garden/server/request_handling.go:61 +0x309\r\ngithub.com/cloudfoundry-incubator/garden/server.*GardenServer.(github.com/cloudfoundry-incubator/garden/server.handleCreate)·fm(0x7fa679df8cb8, 0xc20803f220, 0xc20817c4e0)\r\n\t/var/vcap/packages/garden-linux/src/github.com/cloudfoundry-incubator/garden-linux/Godeps/_workspace/src/github.com/cloudfoundry-incubator/garden/server/server.go:74 +0x45\r\nnet/http.HandlerFunc.ServeHTTP(0xc2081962f0, 0x7fa679df8cb8, 0xc20803f220, 0xc20817c4e0)\r\n\t/usr/local/go/src/net/http/server.go:1265 +0x41\r\ngithub.com/bmizerany/pat.(*PatternServeMux).ServeHTTP(0xc2080fa128, 0x7fa679df8cb8, 0xc20803f220, 0xc20817c4e0)\r\n\t/var/vcap/packages/garden-linux/src/github.com/cloudfoundry-incubator/garden-linux/Godeps/_workspace/src/github.com/bmizerany/pat/mux.go:109 +0x21c\r\ngithub.com/cloudfoundry-incubator/garden/server.func·002(0x7fa679df8cb8, 0xc20803f220, 0xc20817c4e0)\r\n\t/var/vcap/packages/garden-linux/src/github.com/cloudfoundry-incubator/garden-linux/Godeps/_workspace/src/github.com/cloudfoundry-incubator/garden/server/server.go:113 +0x57\r\nnet/http.HandlerFunc.ServeHTTP(0xc208196550, 0x7fa679df8cb8, 0xc20803f220, 0xc20817c4e0)\r\n\t/usr/local/go/src/net/http/server.go:1265 +0x41\r\nnet/http.serverHandler.ServeHTTP(0xc208064710, 0x7fa679df8cb8, 0xc20803f220, 0xc20817c4e0)\r\n\t/usr/local/go/src/net/http/server.go:1703 +0x19a\r\nnet/http.(*conn).serve(0xc20812c1e0)\r\n\t/usr/local/go/src/net/http/server.go:1204 +0xb57\r\ncreated by net/http.(*Server).Serve\r\n\t/usr/local/go/src/net/http/server.go:1751 +0x35e\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/cloudfoundry-incubator/diego-release/issues/comments/95415009","html_url":"https://github.com/cloudfoundry-incubator/diego-release/issues/34#issuecomment-95415009","issue_url":"https://api.github.com/repos/cloudfoundry-incubator/diego-release/issues/34","id":95415009,"user":{"login":"guanglinlv","id":10666676,"avatar_url":"https://avatars.githubusercontent.com/u/10666676?v=3","gravatar_id":"","url":"https://api.github.com/users/guanglinlv","html_url":"https://github.com/guanglinlv","followers_url":"https://api.github.com/users/guanglinlv/followers","following_url":"https://api.github.com/users/guanglinlv/following{/other_user}","gists_url":"https://api.github.com/users/guanglinlv/gists{/gist_id}","starred_url":"https://api.github.com/users/guanglinlv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guanglinlv/subscriptions","organizations_url":"https://api.github.com/users/guanglinlv/orgs","repos_url":"https://api.github.com/users/guanglinlv/repos","events_url":"https://api.github.com/users/guanglinlv/events{/privacy}","received_events_url":"https://api.github.com/users/guanglinlv/received_events","type":"User","site_admin":false},"created_at":"2015-04-23T03:37:53Z","updated_at":"2015-04-23T03:37:53Z","body":"hi @ematpl ,I think the root cause is insecure docker registry configured in `garden-linux.insecure_docker_registry_list`\r\n\r\ndiego-release: `diego-0.1102.0`\r\n\r\ndeployment manifest:\r\n```yml\r\ncompilation:\r\n  cloud_properties:\r\n    instance_type: m1.medium\r\n  network: diego1\r\n  reuse_compilation_vms: true\r\n  workers: 6\r\ndirector_uuid: 916a079c-7ef2-42c2-8206-881369eb0571\r\njobs:\r\n- instances: 1\r\n  name: etcd_z1\r\n  networks:\r\n  - name: diego1\r\n    static_ips:\r\n    - 10.10.10.131\r\n  persistent_disk: 1024\r\n  resource_pool: etcd_z1\r\n  templates:\r\n  - name: etcd\r\n    release: diego\r\n  update:\r\n    max_in_flight: 1\r\n    serial: true\r\n- instances: 1\r\n  name: brain_z1\r\n  networks:\r\n  - name: diego1\r\n    static_ips:\r\n    - 10.10.10.132\r\n  properties:\r\n    metron_agent:\r\n      zone: z1\r\n  resource_pool: brain_z1\r\n  templates:\r\n  - name: consul_agent\r\n    release: cf\r\n  - name: auctioneer\r\n    release: diego\r\n  - name: converger\r\n    release: diego\r\n  - name: runtime_metrics_server\r\n    release: diego\r\n  - name: metron_agent\r\n    release: cf\r\n  update:\r\n    max_in_flight: 1\r\n    serial: true\r\n- instances: 1\r\n  name: cell_z1\r\n  networks:\r\n  - name: diego1\r\n    static_ips:\r\n    - 10.10.10.133\r\n  properties:\r\n    consul:\r\n      agent:\r\n        services:\r\n        - receptor\r\n    diego:\r\n      rep:\r\n        zone: z1\r\n    metron_agent:\r\n      zone: z1\r\n  resource_pool: cell_z1\r\n  templates:\r\n  - name: rep\r\n    release: diego\r\n  - name: consul_agent\r\n    release: cf\r\n  - name: executor\r\n    release: diego\r\n  - name: garden-linux\r\n    release: diego\r\n  - name: receptor\r\n    release: diego\r\n  - name: ssh_proxy\r\n    release: diego\r\n  - name: metron_agent\r\n    release: cf\r\n  update:\r\n    max_in_flight: 1\r\n    serial: false\r\n- instances: 1\r\n  name: cc_bridge_z1\r\n  networks:\r\n  - name: diego1\r\n    static_ips:\r\n    - 10.10.10.134\r\n  properties:\r\n    consul:\r\n      agent:\r\n        services:\r\n        - file_server\r\n        - nsync\r\n        - stager\r\n        - tps\r\n    metron_agent:\r\n      zone: z1\r\n  resource_pool: cc_bridge_z1\r\n  templates:\r\n  - name: stager\r\n    release: diego\r\n  - name: nsync\r\n    release: diego\r\n  - name: tps\r\n    release: diego\r\n  - name: file_server\r\n    release: diego\r\n  - name: consul_agent\r\n    release: cf\r\n  - name: metron_agent\r\n    release: cf\r\n  update:\r\n    max_in_flight: 1\r\n    serial: false\r\n- instances: 1\r\n  name: route_emitter_z1\r\n  networks:\r\n  - name: diego1\r\n    static_ips:\r\n    - 10.10.10.135\r\n  properties:\r\n    metron_agent:\r\n      zone: z1\r\n  resource_pool: route_emitter_z1\r\n  templates:\r\n  - name: route_emitter\r\n    release: diego\r\n  - name: consul_agent\r\n    release: cf\r\n  - name: metron_agent\r\n    release: cf\r\n  update:\r\n    max_in_flight: 1\r\n    serial: false\r\n- instances: 0\r\n  name: etcd_z2\r\n  networks:\r\n  - name: diego2\r\n    static_ips: []\r\n  persistent_disk: 1024\r\n  resource_pool: etcd_z2\r\n  templates:\r\n  - name: etcd\r\n    release: diego\r\n  update:\r\n    max_in_flight: 1\r\n    serial: true\r\n- instances: 0\r\n  name: brain_z2\r\n  networks:\r\n  - name: diego2\r\n  properties:\r\n    metron_agent:\r\n      zone: z2\r\n  resource_pool: brain_z2\r\n  templates:\r\n  - name: consul_agent\r\n    release: cf\r\n  - name: auctioneer\r\n    release: diego\r\n  - name: converger\r\n    release: diego\r\n  - name: runtime_metrics_server\r\n    release: diego\r\n  - name: metron_agent\r\n    release: cf\r\n  update:\r\n    max_in_flight: 1\r\n    serial: true\r\n- instances: 0\r\n  name: cell_z2\r\n  networks:\r\n  - name: diego2\r\n  properties:\r\n    consul:\r\n      agent:\r\n        services:\r\n        - receptor\r\n    diego:\r\n      rep:\r\n        zone: z2\r\n    metron_agent:\r\n      zone: z2\r\n  resource_pool: cell_z2\r\n  templates:\r\n  - name: rep\r\n    release: diego\r\n  - name: consul_agent\r\n    release: cf\r\n  - name: executor\r\n    release: diego\r\n  - name: garden-linux\r\n    release: diego\r\n  - name: receptor\r\n    release: diego\r\n  - name: ssh_proxy\r\n    release: diego\r\n  - name: metron_agent\r\n    release: cf\r\n  update:\r\n    max_in_flight: 1\r\n    serial: false\r\n- instances: 0\r\n  name: cc_bridge_z2\r\n  networks:\r\n  - name: diego2\r\n  properties:\r\n    consul:\r\n      agent:\r\n        services:\r\n        - file_server\r\n        - nsync\r\n        - stager\r\n        - tps\r\n    metron_agent:\r\n      zone: z2\r\n  resource_pool: cc_bridge_z2\r\n  templates:\r\n  - name: stager\r\n    release: diego\r\n  - name: nsync\r\n    release: diego\r\n  - name: tps\r\n    release: diego\r\n  - name: file_server\r\n    release: diego\r\n  - name: consul_agent\r\n    release: cf\r\n  - name: metron_agent\r\n    release: cf\r\n  update:\r\n    max_in_flight: 1\r\n    serial: false\r\n- instances: 0\r\n  name: route_emitter_z2\r\n  networks:\r\n  - name: diego2\r\n  properties:\r\n    metron_agent:\r\n      zone: z2\r\n  resource_pool: route_emitter_z2\r\n  templates:\r\n  - name: route_emitter\r\n    release: diego\r\n  - name: consul_agent\r\n    release: cf\r\n  - name: metron_agent\r\n    release: cf\r\n  update:\r\n    max_in_flight: 1\r\n    serial: false\r\n- instances: 0\r\n  name: etcd_z3\r\n  networks:\r\n  - name: diego3\r\n    static_ips: []\r\n  persistent_disk: 1024\r\n  resource_pool: etcd_z3\r\n  templates:\r\n  - name: etcd\r\n    release: diego\r\n  update:\r\n    max_in_flight: 1\r\n    serial: true\r\n- instances: 0\r\n  name: brain_z3\r\n  networks:\r\n  - name: diego3\r\n  properties:\r\n    metron_agent:\r\n      zone: z3\r\n  resource_pool: brain_z3\r\n  templates:\r\n  - name: consul_agent\r\n    release: cf\r\n  - name: auctioneer\r\n    release: diego\r\n  - name: converger\r\n    release: diego\r\n  - name: runtime_metrics_server\r\n    release: diego\r\n  - name: metron_agent\r\n    release: cf\r\n  update:\r\n    max_in_flight: 1\r\n    serial: true\r\n- instances: 0\r\n  name: cell_z3\r\n  networks:\r\n  - name: diego3\r\n  properties:\r\n    consul:\r\n      agent:\r\n        services:\r\n        - receptor\r\n    diego:\r\n      rep:\r\n        zone: z3\r\n    metron_agent:\r\n      zone: z3\r\n  resource_pool: cell_z3\r\n  templates:\r\n  - name: rep\r\n    release: diego\r\n  - name: consul_agent\r\n    release: cf\r\n  - name: executor\r\n    release: diego\r\n  - name: garden-linux\r\n    release: diego\r\n  - name: receptor\r\n    release: diego\r\n  - name: ssh_proxy\r\n    release: diego\r\n  - name: metron_agent\r\n    release: cf\r\n  update:\r\n    max_in_flight: 1\r\n    serial: false\r\n- instances: 0\r\n  name: cc_bridge_z3\r\n  networks:\r\n  - name: diego3\r\n  properties:\r\n    consul:\r\n      agent:\r\n        services:\r\n        - file_server\r\n        - nsync\r\n        - stager\r\n        - tps\r\n    metron_agent:\r\n      zone: z3\r\n  resource_pool: cc_bridge_z3\r\n  templates:\r\n  - name: stager\r\n    release: diego\r\n  - name: nsync\r\n    release: diego\r\n  - name: tps\r\n    release: diego\r\n  - name: file_server\r\n    release: diego\r\n  - name: consul_agent\r\n    release: cf\r\n  - name: metron_agent\r\n    release: cf\r\n  update:\r\n    max_in_flight: 1\r\n    serial: false\r\n- instances: 0\r\n  name: route_emitter_z3\r\n  networks:\r\n  - name: diego3\r\n  properties:\r\n    metron_agent:\r\n      zone: z3\r\n  resource_pool: route_emitter_z3\r\n  templates:\r\n  - name: route_emitter\r\n    release: diego\r\n  - name: consul_agent\r\n    release: cf\r\n  - name: metron_agent\r\n    release: cf\r\n  update:\r\n    max_in_flight: 1\r\n    serial: false\r\nname: cf-warden-diego\r\nnetworks:\r\n- cloud_properties: {}\r\n  name: floating\r\n  type: vip\r\n- cloud_properties:\r\n    gateway: 10.10.10.1\r\n    net_id: 67a8ddc7-4d5f-432f-a154-660df2e8e69c\r\n    security_groups:\r\n    - default\r\n  name: diego-dynamic\r\n  type: dynamic\r\n- name: diego1\r\n  subnets:\r\n  - cloud_properties:\r\n      net_id: 67a8ddc7-4d5f-432f-a154-660df2e8e69c\r\n      security_groups:\r\n      - default\r\n    gateway: 10.10.10.1\r\n#    dns: [10.10.10.3]\r\n    name: default_unused\r\n    range: 10.10.10.0/24\r\n    reserved:\r\n    - 10.10.10.2 - 10.10.10.130\r\n    static:\r\n    - 10.10.10.131 - 10.10.10.155\r\n  type: manual\r\n\r\n- name: diego2\r\n  subnets:\r\n  - cloud_properties:\r\n      net_id: 67a8ddc7-4d5f-432f-a154-660df2e8e69c\r\n      security_groups:\r\n      - default\r\n    gateway: 10.10.10.1\r\n    name: default_unused\r\n    range: 10.10.10.0/24\r\n    reserved:\r\n    - 10.10.10.2 - 10.10.10.130\r\n    static:\r\n    - 10.10.10.131 - 10.10.10.155\r\n  type: manual\r\n\r\n- name: diego3\r\n  subnets:\r\n  - cloud_properties:\r\n      net_id: 67a8ddc7-4d5f-432f-a154-660df2e8e69c\r\n      security_groups:\r\n      - default\r\n    gateway: 10.10.10.1\r\n    name: default_unused\r\n    range: 10.10.10.0/24\r\n    reserved:\r\n    - 10.10.10.2 - 10.10.10.130\r\n    static:\r\n    - 10.10.10.131 - 10.10.10.155\r\n  type: manual\r\n\r\nproperties:\r\n  consul:\r\n    agent:\r\n      servers:\r\n        lan:\r\n        - 10.10.10.152\r\n  diego:\r\n    auctioneer:\r\n      etcd:\r\n        machines:\r\n        - 10.10.10.131\r\n      log_level: null\r\n    converger:\r\n      etcd:\r\n        machines:\r\n        - 10.10.10.131\r\n      log_level: null\r\n    etcd:\r\n      machines:\r\n      - 10.10.10.131\r\n    executor:\r\n      allow_privileged: null\r\n      drain_timeout_in_seconds: 0\r\n      garden:\r\n        address: 127.0.0.1:7777\r\n        network: tcp\r\n      log_level: null\r\n    file_server:\r\n      cc:\r\n        base_url: https://api.9.91.39.29.xip.io\r\n        basic_auth_password: internal-password\r\n        external_port: 9022\r\n        staging_upload_password: upload-password\r\n        staging_upload_user: upload-user\r\n      log_level: null\r\n    garden-linux:\r\n      allow_networks: \r\n      - 9.91.0.0/16\r\n      - 10.0.0.0/8\r\n      disk_quota_enabled: false\r\n      insecure_docker_registry_list: [\"9.91.39.37:8080\"]\r\n      kernel_network_tuning_enabled: false\r\n      listen_address: 0.0.0.0:7777\r\n      listen_network: tcp\r\n    nsync:\r\n      cc:\r\n        base_url: https://api.9.91.39.29.xip.io\r\n        basic_auth_password: internal-password\r\n        external_port: 9022\r\n        staging_upload_password: upload-password\r\n        staging_upload_user: upload-user\r\n      diego_api_url: http://:@receptor.service.consul:8888\r\n      etcd:\r\n        machines:\r\n        - 10.10.10.131\r\n      log_level: null\r\n    receptor:\r\n      cors_enabled: null\r\n      domain_names:\r\n      - receptor.9.91.39.29.xip.io\r\n      etcd:\r\n        machines:\r\n        - 10.10.10.131\r\n      log_level: null\r\n      nats:\r\n        machines:\r\n        - 10.10.10.142\r\n        password: nats\r\n        port: 4222\r\n        username: nats\r\n      password: \"\"\r\n      register_with_router: true\r\n      username: \"\"\r\n    rep:\r\n      etcd:\r\n        machines:\r\n        - 10.10.10.131\r\n      log_level: null\r\n    route_emitter:\r\n      diego_api_url: http://:@receptor.service.consul:8888\r\n      log_level: null\r\n      nats:\r\n        machines:\r\n        - 10.10.10.142\r\n        password: nats\r\n        port: 4222\r\n        username: nats\r\n    runtime_metrics_server:\r\n      diego_api_url: http://:@receptor.service.consul:8888\r\n      etcd:\r\n        machines:\r\n        - 10.10.10.131\r\n      log_level: null\r\n      nats:\r\n        machines:\r\n        - 10.10.10.142\r\n        password: nats\r\n        port: 4222\r\n        username: nats\r\n    ssh_proxy:\r\n      diego_api_url: http://:@receptor.service.consul:8888\r\n      host_key: |+\r\n        -----BEGIN RSA PRIVATE KEY-----\r\n        MIIEhgIBAAKB/DMF5qOW+fh608KhX7qBLNHHmfzCfOONd176Oaf8rGht5KdnoNge\r\n        TYSGqBFuYB1r1RbYEVhWAkH/8mW14XRVNmQ4C9eQDFqeWmmaOoSBG5GdP5GUfhI/\r\n        z5vprQw+rnV4gt4InCA7QaR86pLj5sMiUij5OE/CW0dw29+z5E0p5WnQX5+utRmw\r\n        ioQJD8jUDvzFrvzKIdE0HVOEl0agbeXq8U2e9E1de4iR+NiDc1zeiQmDNCIhFJb4\r\n        FL7WqqokL+49SwSWGmOFKAlpj4Dlhx5dDwJWpcDe0XBXCkfcXn8xXNOT+4YBxJUG\r\n        idNMPpLKpDUphZRj8CNBSMkjehIKVwIDAQABAoH8MiCAAQQYvXfeh36HT/IMmGSi\r\n        8mIY1G5tclAfSNzCfS5Jz/XNXcYXnjW09LsdjoocJX9NOx30xeawvCA+SU5WS4uM\r\n        htEscfLVHJ67EubMsPhuNZZPbZpnWuPucPM77ojg+UY4LKpKyVE4G+vvEJKtaTe/\r\n        jQyDJOLKATL4/p5DtbDH7hVZcJVHU94csiE9a9OtyAvSwZLmNxGIBHshFntjcI+/\r\n        hmQSFl3d1iduYGx7oeq3wX0sQ1mk/QksUTHRrlLfSQhLi5ZmH9Hnn/Qw2WeXKVdk\r\n        BvXAUBiHG7Y0qGHXl5FOkB1BSlmk/EOkBk6gWl1a1Kx4A6oyNL4+HsuBAn572PqW\r\n        IDutj4shf8ysI5fLJnvGCygZmk8LPZIlZZqLpDGo+l4iF3VCsd8CU2jKfWqel8+Q\r\n        axdmu/BrQ7xyuWpxoHtKICv+CitI1ivzeYQwRCmjIN84jeGP9Pty4AJzhySegf/h\r\n        n3irIp07wEzdedoj4A3RWWObX+AeubyUqfcCfml3scNb2oBK24RDVGYaUSWkSHBe\r\n        OEU0QlOaJXZ2kCK2rIK/IVI7cD12WpkWTGY782VBmipEXwtMTprQzMrnK25shS+z\r\n        AjCDGXtqr0GjxJh73WRurs1dVk6sqslSp1M/R9fmjGU4vdYL2JfMczEH4+57aOpR\r\n        sW+H0FEYDayKoQJ+Eo8gdjDcYJT7N4jsRfuLesEImVQArV2HbNrMNNh2AWkYnAbw\r\n        5lD3nIgFMFcJhBapTJzZWP4DYrzVOW3MJrEMd3yiHSiXDxm9BMw7h9/05DrCtpRt\r\n        fw8b9zOyHrPdCiz9WteGXexE6/hi8ZpOqn3hJ7EiwPWRTK5gappQ3UJfAn4Tr0t2\r\n        cwZtO4uNPCPcirzqkacTkgJeqEpY4ERtv+NXF1FLdfD6MC3ayuRN/mN0EWx0UbI8\r\n        gVZb/XoOWzpeBJeOnKKfLIIUG+P9rQPY9IAVFclUnXPy0KDzPjcCLHMejokSOu2p\r\n        VtXXxY4/huFZHWflcxM56NV9Q5QWDq8+rQECfjQTbNbd4ehbC/Q5EZ1SIzeaSLrn\r\n        0ICmiRajnISbje5vPntqPXjBkbiVGx31qOaZ+DlGGLOyzW/GP5X4NOUwza2bYh3q\r\n        nnzwBhoGLZfvoes5Nw06leOdVqcvIjLIDhb+XbiiEeAnONUp+BAKzDYOIp7K+LPe\r\n        1rHeshh0P/QfCQ==\r\n        -----END RSA PRIVATE KEY-----\r\n      private_key: |+\r\n        -----BEGIN RSA PRIVATE KEY-----\r\n        MIIEowIBAAKCAQEAyl54KYG/DMelde36RZXJDtjoH9tXd6rb87605yLc4SUOg6b5\r\n        0ou42hOEp/mo2u/HnH3X1u2swiIJamzqBxzbTAp+kDgJ69GNDf6FZwMwtlc478/i\r\n        38rFsJ4tVyAFX8tabccKmdu4h+2igwINXiU1mlbZWme8s1wMm0O/HlsmizEDAgah\r\n        DD2upA3s3VPTKQ2sBBmOO5oECjrVaU5EeD/snvZFqtl7zAp+kaRjjVe+8Dxz1fE8\r\n        rPy2QP5Rc0VU9zwsznNe8d+c0DhC7KPqaMJNOFMNTpE8VxzLm0e/y0cmWZGyZWuY\r\n        ov1y6HLitgUi6JwQOs72WIMkZCVpJ4NH75ghcwIDAQABAoIBAGdg4RObE0TtDEp1\r\n        Op+nh+FMzy/O9hzMrLYUmwdkWN+u9X4to3t6IwFMbTz+HdNSIG+CHevO2K0HhDXY\r\n        06i0hhaPWd5EslTEZMFcXzujdpP/dLeVRDm8tUanV1QlqHkqQdTIlFLK2radn6I7\r\n        Pybz7TEd4sT7L3uUr1/1uMFCISuDAiv3jb81pmQWFpbSh9+xWQxktHwbbv/EhECy\r\n        k8ha52bazVmXYIIIAHegw59bzYUzQD0rbM8aY1YqwxdKXOFCJHiCraTkUGh0pcbt\r\n        XCfKKyeu24uxkO+om/vjeGkARFO5rD6vHaYiMA+h5PqSj57Mg6znPcjwjoFeahY5\r\n        no6SvPECgYEA8T/Qj7PWiqV/GV8+GRTBT4T/dDeARE2sbXVSSdtC9sWaPw8AD2Gf\r\n        R+fkQ/LT4Je9m688+qXpo1Wencvb2LYRtdNmPrgKoqIeWRM5Q6RggOR1KOLeVv/I\r\n        BVT6Gwui63jdwSde9UFQvFXcmVRP5ceX90kdq6HTaE7LNYvgw+TGZHsCgYEA1r4T\r\n        lXb+bHaLYUioQrzCLJmrBzzJC82gjR8Y11UY6wnkCqx7k4Jyt/ow1v+Rscn84yTN\r\n        fedsfV0AVtjSIKi1RnkwLTiCaDtCtMr6kycJKMyDtOp4fnw2z25xw4PNREaEZWgU\r\n        c1IjVz53omwt/f764yejzEqPp2RvFq0QSrTqUWkCgYBp2qpUo4A7japbI6NHtges\r\n        MJs2DzRExCAoVxYoOgED7mhjyt0n4pnVHzbVabL2FR6pNRb4k9wUQvk6G7z3NcxH\r\n        j96JHo/sFF5kjz7NI08Evzl5GzKb0deeH08ulsiBsaL7oZ7U1jfqq3IEBS6ZkB5p\r\n        7rcKHBN67TfU4u9YhQVYCQKBgAR4KEgwFdOEFBqOPJJHA3OSLzETXsvUF8dYIlg4\r\n        +S/LIOfn9xp22JRjrKiM4SdmINFJbs10B5oEWYF1OcpcOImi9BG831n0ActpfhWZ\r\n        9mLW/tbBGojnZOykS9HZ6GfHX/IMXICZ8Qpbznme7sYejHI13P7ffmXpfTZnm7My\r\n        WL4hAoGBAOuavq8+HUIRJCLUCl7o8ZKlJzleAxCpJFZqvGGRhR/57gMv+TJ1wjWs\r\n        LcaF8DuFfNo8XO65iPo6f0JL23zf+mBV4cbSxf1Z4F4KCzKANAJW6dE0KfH0Np1k\r\n        UDnPBxj4/9s+SLSYTaUVIeff6wu+ygIqm+/o2CEaucUVXqflM8jk\r\n        -----END RSA PRIVATE KEY-----\r\n    ssl:\r\n      skip_cert_verify: true\r\n    stager:\r\n      cc:\r\n        base_url: https://api.9.91.39.29.xip.io\r\n        basic_auth_password: internal-password\r\n        external_port: 9022\r\n        staging_upload_password: upload-password\r\n        staging_upload_user: upload-user\r\n      diego_api_url: http://:@receptor.service.consul:8888\r\n      docker_registry_url: http://9.91.39.37:8080\r\n      log_level: null\r\n    tps:\r\n      cc:\r\n        base_url: https://api.9.91.39.29.xip.io\r\n        basic_auth_password: internal-password\r\n        external_port: 9022\r\n        staging_upload_password: upload-password\r\n        staging_upload_user: upload-user\r\n      diego_api_url: http://:@receptor.service.consul:8888\r\n      log_level: null\r\n  etcd:\r\n    machines:\r\n    - 10.10.10.143\r\n  loggregator_endpoint:\r\n    shared_secret: loggregator-secret\r\n  nats:\r\n    machines:\r\n    - 10.10.10.142\r\n    password: nats\r\n    port: 4222\r\n    user: nats\r\n  syslog_daemon_config:\r\n    address: null\r\n    port: null\r\nreleases:\r\n- name: diego\r\n  version: latest\r\n- name: cf\r\n  version: latest\r\nresource_pools:\r\n- cloud_properties:\r\n    instance_type: m1.medium\r\n  name: brain_z1\r\n  network: diego1\r\n  stemcell:\r\n    name: bosh-openstack-kvm-ubuntu-trusty-go_agent-raw\r\n    version: latest\r\n- cloud_properties:\r\n    instance_type: m1.medium\r\n  name: brain_z2\r\n  network: diego2\r\n  stemcell:\r\n    name: bosh-openstack-kvm-ubuntu-trusty-go_agent-raw\r\n    version: latest\r\n- cloud_properties:\r\n    instance_type: m1.medium\r\n  name: brain_z3\r\n  network: diego3\r\n  stemcell:\r\n    name: bosh-openstack-kvm-ubuntu-trusty-go_agent-raw\r\n    version: latest\r\n- cloud_properties:\r\n    instance_type: m1.medium\r\n  name: cc_bridge_z1\r\n  network: diego1\r\n  stemcell:\r\n    name: bosh-openstack-kvm-ubuntu-trusty-go_agent-raw\r\n    version: latest\r\n- cloud_properties:\r\n    instance_type: m1.medium\r\n  name: cc_bridge_z2\r\n  network: diego2\r\n  stemcell:\r\n    name: bosh-openstack-kvm-ubuntu-trusty-go_agent-raw\r\n    version: latest\r\n- cloud_properties:\r\n    instance_type: m1.medium\r\n  name: cc_bridge_z3\r\n  network: diego3\r\n  stemcell:\r\n    name: bosh-openstack-kvm-ubuntu-trusty-go_agent-raw\r\n    version: latest\r\n- cloud_properties:\r\n    instance_type: m1.medium\r\n  name: cell_z1\r\n  network: diego1\r\n  stemcell:\r\n    name: bosh-openstack-kvm-ubuntu-trusty-go_agent-raw\r\n    version: latest\r\n- cloud_properties:\r\n    instance_type: m1.medium\r\n  name: cell_z2\r\n  network: diego2\r\n  stemcell:\r\n    name: bosh-openstack-kvm-ubuntu-trusty-go_agent-raw\r\n    version: latest\r\n- cloud_properties:\r\n    instance_type: m1.medium\r\n  name: cell_z3\r\n  network: diego3\r\n  stemcell:\r\n    name: bosh-openstack-kvm-ubuntu-trusty-go_agent-raw\r\n    version: latest\r\n- cloud_properties:\r\n    instance_type: m1.medium\r\n  name: etcd_z1\r\n  network: diego1\r\n  stemcell:\r\n    name: bosh-openstack-kvm-ubuntu-trusty-go_agent-raw\r\n    version: latest\r\n- cloud_properties:\r\n    instance_type: m1.medium\r\n  name: etcd_z2\r\n  network: diego2\r\n  stemcell:\r\n    name: bosh-openstack-kvm-ubuntu-trusty-go_agent-raw\r\n    version: latest\r\n- cloud_properties:\r\n    instance_type: m1.medium\r\n  name: etcd_z3\r\n  network: diego3\r\n  stemcell:\r\n    name: bosh-openstack-kvm-ubuntu-trusty-go_agent-raw\r\n    version: latest\r\n- cloud_properties: \r\n    instance_type: m1.medium\r\n  name: route_emitter_z1\r\n  network: diego1\r\n  stemcell:\r\n    name: bosh-openstack-kvm-ubuntu-trusty-go_agent-raw\r\n    version: latest\r\n- cloud_properties: \r\n    instance_type: m1.medium\r\n  name: route_emitter_z2\r\n  network: diego2\r\n  stemcell:\r\n    name: bosh-openstack-kvm-ubuntu-trusty-go_agent-raw\r\n    version: latest\r\n- cloud_properties: \r\n    instance_type: m1.medium\r\n  name: route_emitter_z3\r\n  network: diego3\r\n  stemcell:\r\n    name: bosh-openstack-kvm-ubuntu-trusty-go_agent-raw\r\n    version: latest\r\nupdate:\r\n  canaries: 1\r\n  canary_watch_time: 5000-120000\r\n  max_in_flight: 1\r\n  serial: false\r\n  update_watch_time: 5000-120000\r\n```"}}