Skip to content

Instantly share code, notes, and snippets.

@honnuanand
Created August 16, 2018 02:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save honnuanand/81cf4aaa723ccaf12e16503c146d54dc to your computer and use it in GitHub Desktop.
Save honnuanand/81cf4aaa723ccaf12e16503c146d54dc to your computer and use it in GitHub Desktop.
anandrao at Anands-MBP in ~/pivotal/repos/bosh-vmw/concourse/concourse-bosh-deployment/cluster (master●)
$ bosh deploy -d concourse concourse.yml \
-l ../versions.yml \
--vars-store cluster-creds.yml \
-o operations/basic-auth.yml \
-o operations/privileged-http.yml \
-o operations/privileged-https.yml \
-o operations/tls.yml \
-o operations/tls-vars.yml \
--var network_name=default \
--var external_url='https://wings.home.clue2solve.com' \
--var external_host='wings.home.clue2solve.com' \
--var web_vm_type=default \
--var db_vm_type=default \
--var db_persistent_disk_type=10GB \
--var worker_vm_type=large \
--var deployment_name=concourse \
--var web_network_name=private \
--var local_user.username=admin \
--var local_user.password='10 Rounds Bcrypted password goes here ' \ #<--- Change me
--var web_network_vm_extension=lb
Using environment 'https://10.0.13.10:25555' as client 'admin'
Using deployment 'concourse'
Release 'postgres/29' already exists.
Release 'garden-runc/1.16.0' already exists.
Release 'concourse/4.0.0' already exists.
+ azs:
+ - cloud_properties:
+ datacenters:
+ - clusters:
+ - Cluster-1:
+ resource_pool: RP-BBL
+ name: z1
+ vm_types:
+ - cloud_properties:
+ cpu: 2
+ disk: 3240
+ ram: 1024
+ name: default
+ - cloud_properties:
+ cpu: 2
+ disk: 30240
+ ram: 4096
+ name: large
+ - cloud_properties:
+ cpu: 1
+ disk: 20480
+ ram: 4096
+ name: minimal
+ - cloud_properties:
+ cpu: 1
+ disk: 20480
+ ram: 4096
+ name: master
+ - cloud_properties:
+ cpu: 4
+ disk: 102400
+ ram: 8192
+ vmx_options:
+ disk.enableUUID: '1'
+ name: worker
+ compilation:
+ az: z1
+ network: default
+ reuse_compilation_vms: true
+ vm_type: large
+ workers: 5
+ networks:
+ - name: default
+ subnets:
+ - az: z1
+ cloud_properties:
+ name: clueswitch0/DPortGroup
+ dns:
+ - 10.0.13.1
+ gateway: 10.0.13.1
+ range: 10.0.13.0/24
+ reserved:
+ - 10.0.13.1-10.0.13.19
+ static:
+ - 10.0.13.20-10.0.13.50
+ type: manual
+ disk_types:
+ - disk_size: 3000
+ name: default
+ - disk_size: 50000
+ name: large
+ - disk_size: 10000
+ name: 10GB
+ stemcells:
+ - alias: xenial
+ os: ubuntu-xenial
+ version: '97.10'
+ releases:
+ - name: concourse
+ sha1: 6224188701f71c64a4b51fed47a64f7cecbaeed2
+ url: https://bosh.io/d/github.com/concourse/concourse?v=4.0.0
+ version: 4.0.0
+ - name: garden-runc
+ sha1: 1a8805090ae4089dacc28f97996d00012c4c6e93
+ url: https://bosh.io/d/github.com/cloudfoundry/garden-runc-release?v=1.16.0
+ version: 1.16.0
+ - name: postgres
+ sha1: 24d2e2887a45258b71bc40577c0f406180e47701
+ url: https://bosh.io/d/github.com/cloudfoundry/postgres-release?v=29
+ version: '29'
+ update:
+ canaries: 1
+ canary_watch_time: 1000-60000
+ max_in_flight: 3
+ serial: false
+ update_watch_time: 1000-60000
+ instance_groups:
+ - azs:
+ - z1
+ instances: 1
+ jobs:
+ - name: atc
+ properties:
+ add_local_users:
+ - "<redacted>"
+ bind_port: "<redacted>"
+ external_url: "<redacted>"
+ log_level: "<redacted>"
+ main_team:
+ auth:
+ local:
+ users:
+ - "<redacted>"
+ postgresql:
+ database: "<redacted>"
+ role:
+ name: "<redacted>"
+ password: "<redacted>"
+ tls_bind_port: "<redacted>"
+ tls_cert: "<redacted>"
+ tls_key: "<redacted>"
+ token_signing_key:
+ private_key: "<redacted>"
+ public_key: "<redacted>"
+ release: concourse
+ - name: tsa
+ properties:
+ authorized_keys:
+ - "<redacted>"
+ host_key:
+ private_key: "<redacted>"
+ public_key: "<redacted>"
+ public_key_fingerprint: "<redacted>"
+ log_level: "<redacted>"
+ token_signing_key:
+ private_key: "<redacted>"
+ public_key: "<redacted>"
+ release: concourse
+ name: web
+ networks:
+ - name: default
+ stemcell: xenial
+ vm_type: default
+ - azs:
+ - z1
+ instances: 1
+ jobs:
+ - name: postgres
+ properties:
+ databases:
+ databases:
+ - name: "<redacted>"
+ port: "<redacted>"
+ roles:
+ - name: "<redacted>"
+ password: "<redacted>"
+ release: postgres
+ name: db
+ networks:
+ - name: default
+ persistent_disk_type: 10GB
+ stemcell: xenial
+ vm_type: default
+ - azs:
+ - z1
+ instances: 1
+ jobs:
+ - consumes:
+ baggageclaim:
+ from: worker-baggageclaim
+ name: worker
+ properties:
+ drain_timeout: "<redacted>"
+ tsa:
+ worker_key:
+ private_key: "<redacted>"
+ public_key: "<redacted>"
+ public_key_fingerprint: "<redacted>"
+ release: concourse
+ - name: baggageclaim
+ properties:
+ log_level: "<redacted>"
+ provides:
+ baggageclaim:
+ as: worker-baggageclaim
+ release: concourse
+ - name: garden
+ properties:
+ garden:
+ listen_address: "<redacted>"
+ listen_network: "<redacted>"
+ release: garden-runc
+ name: worker
+ networks:
+ - name: default
+ stemcell: xenial
+ vm_type: large
+ name: concourse
+ variables: []
+ vm_extensions: []
Continue? [yN]: y
Task 7
Task 7 | 00:24:24 | Preparing deployment: Preparing deployment (00:00:00)
Task 7 | 00:24:25 | Preparing package compilation: Finding packages to compile (00:00:00)
Task 7 | 00:24:25 | Compiling packages: libtool/3e211ee9e3aab09a9e8a9ff55ab9ce9ba81590d945640e2d29c078597db33a94
Task 7 | 00:24:25 | Compiling packages: autoconf/4f8914a0ada02006da32066d2e374e2a065d3acafbceb60ffd45ea146df7af1f
Task 7 | 00:24:25 | Compiling packages: tar/f922f97b27619f8331332e4186c1f9c63fa5b4ddd213c4a02c7ed7cf68fced21
Task 7 | 00:24:25 | Compiling packages: busybox/02b86e9e891e78294e366cfc3361514b752308952f56b954f7a6ae31961f859c
Task 7 | 00:24:25 | Compiling packages: apparmor/0133a2288b0f71d05d89bd117c957297ad19cd19c0253236ba0ce4dedeb27186
Task 7 | 00:26:00 | Compiling packages: busybox/02b86e9e891e78294e366cfc3361514b752308952f56b954f7a6ae31961f859c (00:01:35)
Task 7 | 00:26:00 | Compiling packages: libseccomp/11f3a8e12b881d4d6f660d84df70d3fe99b12e1621f9e93ff66e120aec12ec96
Task 7 | 00:26:03 | Compiling packages: autoconf/4f8914a0ada02006da32066d2e374e2a065d3acafbceb60ffd45ea146df7af1f (00:01:38)
Task 7 | 00:26:03 | Compiling packages: pkg-config/278dbe10dcc428102e39936da0c7ddd2254cb0029ec0c9b06f545b228484187a
Task 7 | 00:26:10 | Compiling packages: libtool/3e211ee9e3aab09a9e8a9ff55ab9ce9ba81590d945640e2d29c078597db33a94 (00:01:45)
Task 7 | 00:26:10 | Compiling packages: golang/16d30b2f9b19b8c6b38bdab2445c763208f162a3acd9eae69efe2c70e17132c5
Task 7 | 00:26:23 | Compiling packages: libseccomp/11f3a8e12b881d4d6f660d84df70d3fe99b12e1621f9e93ff66e120aec12ec96 (00:00:23)
Task 7 | 00:26:23 | Compiling packages: btrfs_tools/797f8df53d2881f034366408b3f043a57f8f4c51 (00:00:13)
Task 7 | 00:26:36 | Compiling packages: tracker_resource/e43cd831d785003a20a549f61c2f7723b4949b21
Task 7 | 00:26:42 | Compiling packages: apparmor/0133a2288b0f71d05d89bd117c957297ad19cd19c0253236ba0ce4dedeb27186 (00:02:17)
Task 7 | 00:26:42 | Compiling packages: time_resource/fccf570127bfe1fa243c903aaddc0e5953b81c24
Task 7 | 00:26:51 | Compiling packages: tracker_resource/e43cd831d785003a20a549f61c2f7723b4949b21 (00:00:15)
Task 7 | 00:26:51 | Compiling packages: semver_resource/ae152f4c287e29745668d2278d9bb69589708612
Task 7 | 00:26:55 | Compiling packages: golang/16d30b2f9b19b8c6b38bdab2445c763208f162a3acd9eae69efe2c70e17132c5 (00:00:45)
Task 7 | 00:26:55 | Compiling packages: s3_resource/41314d4ccb4a43d057bdae0d03f731fc628e56fa
Task 7 | 00:26:56 | Compiling packages: time_resource/fccf570127bfe1fa243c903aaddc0e5953b81c24 (00:00:14)
Task 7 | 00:26:56 | Compiling packages: pool_resource/6c1bff46bf82ec61c1e43f900fa222f053282d89
Task 7 | 00:26:59 | Compiling packages: pkg-config/278dbe10dcc428102e39936da0c7ddd2254cb0029ec0c9b06f545b228484187a (00:00:56)
Task 7 | 00:26:59 | Compiling packages: hg_resource/50174e11fb369f5c565cd37ecc36a6c83fc2d97e
Task 7 | 00:27:00 | Compiling packages: tar/f922f97b27619f8331332e4186c1f9c63fa5b4ddd213c4a02c7ed7cf68fced21 (00:02:35)
Task 7 | 00:27:00 | Compiling packages: github_release_resource/7be9cdc69b0324cc08a8622fc571f5460c0f4aa7
Task 7 | 00:27:16 | Compiling packages: semver_resource/ae152f4c287e29745668d2278d9bb69589708612 (00:00:25)
Task 7 | 00:27:16 | Compiling packages: git_resource/05dc35190b1f6d65aaf308daf9646af39419871e
Task 7 | 00:27:21 | Compiling packages: s3_resource/41314d4ccb4a43d057bdae0d03f731fc628e56fa (00:00:26)
Task 7 | 00:27:21 | Compiling packages: docker_image_resource/4ff9e0ce6062bfb525f2d3848ba681ec56107ff4
Task 7 | 00:27:26 | Compiling packages: pool_resource/6c1bff46bf82ec61c1e43f900fa222f053282d89 (00:00:30)
Task 7 | 00:27:26 | Compiling packages: cf_resource/ea8c19622e8907b13f5771bd265e685c8816fa3a
Task 7 | 00:27:27 | Compiling packages: github_release_resource/7be9cdc69b0324cc08a8622fc571f5460c0f4aa7 (00:00:27)
Task 7 | 00:27:27 | Compiling packages: bosh_io_stemcell_resource/c18b7ccc5500283ab66e77ff63fd6868ebddef91
Task 7 | 00:27:31 | Compiling packages: hg_resource/50174e11fb369f5c565cd37ecc36a6c83fc2d97e (00:00:32)
Task 7 | 00:27:31 | Compiling packages: bosh_io_release_resource/d7e1bd458f233cf32c515b423442fbb6b9f034a8
Task 7 | 00:27:43 | Compiling packages: git_resource/05dc35190b1f6d65aaf308daf9646af39419871e (00:00:27)
Task 7 | 00:27:43 | Compiling packages: bosh_deployment_resource/d5cdff841b29ac8fff3c25ad5af4c513bd710bea
Task 7 | 00:27:54 | Compiling packages: bosh_io_stemcell_resource/c18b7ccc5500283ab66e77ff63fd6868ebddef91 (00:00:27)
Task 7 | 00:27:54 | Compiling packages: postgres-9.6.8/157439da1d963b47e015f2f0a58e36570f78dfa6
Task 7 | 00:27:55 | Compiling packages: cf_resource/ea8c19622e8907b13f5771bd265e685c8816fa3a (00:00:29)
Task 7 | 00:27:55 | Compiling packages: postgres-common/db7038137e7844ab6aa87ce80db3df0f5fd692e9
Task 7 | 00:27:55 | Compiling packages: bosh_io_release_resource/d7e1bd458f233cf32c515b423442fbb6b9f034a8 (00:00:24)
Task 7 | 00:27:55 | Compiling packages: worker_version/f2d8b9d79f85ac58b20b55990cea3caddb807a25
Task 7 | 00:27:59 | Compiling packages: docker_image_resource/4ff9e0ce6062bfb525f2d3848ba681ec56107ff4 (00:00:38)
Task 7 | 00:27:59 | Compiling packages: concourse_version/466a7a939edaa4698d39103df4acac8c8f91f736
Task 7 | 00:28:05 | Compiling packages: bosh_deployment_resource/d5cdff841b29ac8fff3c25ad5af4c513bd710bea (00:00:22)
Task 7 | 00:28:05 | Compiling packages: golang/86d7653c99959490fa55601d269556dd6d8a7277
Task 7 | 00:28:20 | Compiling packages: worker_version/f2d8b9d79f85ac58b20b55990cea3caddb807a25 (00:00:25)
Task 7 | 00:28:20 | Compiling packages: pid_utils/a1f0590ea02d938b933a101c7438985721cd0ab4
Task 7 | 00:28:21 | Compiling packages: postgres-common/db7038137e7844ab6aa87ce80db3df0f5fd692e9 (00:00:26)
Task 7 | 00:28:21 | Compiling packages: automake/f11b0c20f9b9a5de955bbe1cb877e836a8841ddf88407b25ebbe9d31e3992858
Task 7 | 00:28:23 | Compiling packages: concourse_version/466a7a939edaa4698d39103df4acac8c8f91f736 (00:00:24)
Task 7 | 00:28:23 | Compiling packages: netplugin-shim/cbdab762cda43c1ac92f2b4937d3a4d5d9f14912048c8db97f8abc6047ad5896
Task 7 | 00:28:41 | Compiling packages: pid_utils/a1f0590ea02d938b933a101c7438985721cd0ab4 (00:00:21)
Task 7 | 00:28:41 | Compiling packages: grootfs/6401d100e0a337fa7d0d7f6837bb6df290043bd076c00a7a33917af695468894
Task 7 | 00:28:45 | Compiling packages: automake/f11b0c20f9b9a5de955bbe1cb877e836a8841ddf88407b25ebbe9d31e3992858 (00:00:24)
Task 7 | 00:28:45 | Compiling packages: greenskeeper/a5233eea1399b38f4c990fb047559c2160eecaa6c3d84670b1b40075dd90ab9a
Task 7 | 00:28:57 | Compiling packages: netplugin-shim/cbdab762cda43c1ac92f2b4937d3a4d5d9f14912048c8db97f8abc6047ad5896 (00:00:34)
Task 7 | 00:28:57 | Compiling packages: garden-idmapper/4a1079066953806366544d9e1558bff456ac3b07f07993c9288619197a5579c0
Task 7 | 00:29:06 | Compiling packages: golang/86d7653c99959490fa55601d269556dd6d8a7277 (00:01:01)
Task 7 | 00:29:06 | Compiling packages: guardian/c827daa3d669604dedb15b844ce46f0db1863e58202524e845532da32062cf71
Task 7 | 00:29:10 | Compiling packages: greenskeeper/a5233eea1399b38f4c990fb047559c2160eecaa6c3d84670b1b40075dd90ab9a (00:00:25)
Task 7 | 00:29:10 | Compiling packages: runc/16e92ae589da1dc24b072fa7e56ab50659139f330d45368cc361e451cac33c63
Task 7 | 00:29:21 | Compiling packages: garden-idmapper/4a1079066953806366544d9e1558bff456ac3b07f07993c9288619197a5579c0 (00:00:24)
Task 7 | 00:29:21 | Compiling packages: iptables/7a3108e45160133ba44434781ff364f395c197ba2c92db6b31cced950cf7a37a
Task 7 | 00:29:23 | Compiling packages: grootfs/6401d100e0a337fa7d0d7f6837bb6df290043bd076c00a7a33917af695468894 (00:00:42)
Task 7 | 00:29:23 | Compiling packages: zlib/98e4e7f5eebfe3831cf312d32a44f71281fcbc2577770fffd7b9601991ab31de (00:00:25)
Task 7 | 00:29:48 | Compiling packages: util-linux/6310f68e8294c980de62481bced2fc915f449e3a2cc2d13a7a2a49c4a612d825
Task 7 | 00:29:56 | Compiling packages: runc/16e92ae589da1dc24b072fa7e56ab50659139f330d45368cc361e451cac33c63 (00:00:46)
Task 7 | 00:29:56 | Compiling packages: lzo/7ec718ef29da337d56f08e90534f561c138c2c88b576dc5da5185d85fdd42b20
Task 7 | 00:29:58 | Compiling packages: guardian/c827daa3d669604dedb15b844ce46f0db1863e58202524e845532da32062cf71 (00:00:52)
Task 7 | 00:29:58 | Compiling packages: baggageclaim/d05076d5cbc2210126dd71d9a235debe49331152 (00:00:27)
Task 7 | 00:30:25 | Compiling packages: worker/002e0d0bcd3bd1bd606c21f922f0297ae54041a2
Task 7 | 00:30:25 | Compiling packages: iptables/7a3108e45160133ba44434781ff364f395c197ba2c92db6b31cced950cf7a37a (00:01:04)
Task 7 | 00:30:25 | Compiling packages: resource_discovery/6e189f6b93a28cc2172d9575a307db4b221927ea
Task 7 | 00:30:32 | Compiling packages: lzo/7ec718ef29da337d56f08e90534f561c138c2c88b576dc5da5185d85fdd42b20 (00:00:36)
Task 7 | 00:30:32 | Compiling packages: tsa/add05c7ea0fe66b405841aa1e637dd8b3aba2eb7
Task 7 | 00:30:41 | Compiling packages: postgres-9.6.8/157439da1d963b47e015f2f0a58e36570f78dfa6 (00:02:47)
Task 7 | 00:30:41 | Compiling packages: fly/6c0f850270dc414dd35205f98666b4c85bcd0074
Task 7 | 00:30:55 | Compiling packages: resource_discovery/6e189f6b93a28cc2172d9575a307db4b221927ea (00:00:30)
Task 7 | 00:30:55 | Compiling packages: atc/2548062e814dd13a20014b7a5a1563a20cb51a88
Task 7 | 00:30:57 | Compiling packages: worker/002e0d0bcd3bd1bd606c21f922f0297ae54041a2 (00:00:32)
Task 7 | 00:30:57 | Compiling packages: thresholder/ebadbf183ad348025125003cf95915d629811b301acf3d1a7e2870c6e8830410
Task 7 | 00:31:03 | Compiling packages: tsa/add05c7ea0fe66b405841aa1e637dd8b3aba2eb7 (00:00:31)
Task 7 | 00:31:10 | Compiling packages: fly/6c0f850270dc414dd35205f98666b4c85bcd0074 (00:00:29)
Task 7 | 00:31:23 | Compiling packages: thresholder/ebadbf183ad348025125003cf95915d629811b301acf3d1a7e2870c6e8830410 (00:00:26)
Task 7 | 00:31:51 | Compiling packages: util-linux/6310f68e8294c980de62481bced2fc915f449e3a2cc2d13a7a2a49c4a612d825 (00:02:03)
Task 7 | 00:31:51 | Compiling packages: xfs-progs/6ce014f88e05f358621a25ce48ee036d78bdb1a935a8eb556974d3de26c8614d
Task 7 | 00:32:16 | Compiling packages: atc/2548062e814dd13a20014b7a5a1563a20cb51a88 (00:01:21)
Task 7 | 00:33:12 | Compiling packages: xfs-progs/6ce014f88e05f358621a25ce48ee036d78bdb1a935a8eb556974d3de26c8614d (00:01:21)
Task 7 | 00:33:41 | Creating missing vms: web/52d64b26-97f9-4eed-8c11-6369ee222394 (0)
Task 7 | 00:33:41 | Creating missing vms: worker/ed1b1de8-1557-465b-9175-c1accbc5291a (0)
Task 7 | 00:33:41 | Creating missing vms: db/6e2e20c9-0e31-45a0-9b18-5ab9e4150a00 (0) (00:00:57)
Task 7 | 00:34:39 | Creating missing vms: web/52d64b26-97f9-4eed-8c11-6369ee222394 (0) (00:00:58)
Task 7 | 00:34:40 | Creating missing vms: worker/ed1b1de8-1557-465b-9175-c1accbc5291a (0) (00:00:59)
Task 7 | 00:34:40 | Updating instance worker: worker/ed1b1de8-1557-465b-9175-c1accbc5291a (0) (canary)
Task 7 | 00:34:40 | Updating instance web: web/52d64b26-97f9-4eed-8c11-6369ee222394 (0) (canary)
Task 7 | 00:34:40 | Updating instance db: db/6e2e20c9-0e31-45a0-9b18-5ab9e4150a00 (0) (canary)
Task 7 | 00:35:05 | Updating instance web: web/52d64b26-97f9-4eed-8c11-6369ee222394 (0) (canary) (00:00:25)
Task 7 | 00:35:16 | Updating instance worker: worker/ed1b1de8-1557-465b-9175-c1accbc5291a (0) (canary) (00:00:36)
Task 7 | 00:35:48 | Updating instance db: db/6e2e20c9-0e31-45a0-9b18-5ab9e4150a00 (0) (canary) (00:01:08)
Task 7 Started Thu Aug 16 00:24:24 UTC 2018
Task 7 Finished Thu Aug 16 00:35:48 UTC 2018
Task 7 Duration 00:11:24
Task 7 done
Succeeded
anandrao at Anands-MBP in ~/pivotal/repos/bosh-vmw/concourse/concourse-bosh-deployment/cluster (master●)
$ bosh vms
Using environment 'https://10.0.13.10:25555' as client 'admin'
Task 8. Done
Deployment 'concourse'
Instance Process State AZ IPs VM CID VM Type Active
db/6e2e20c9-0e31-45a0-9b18-5ab9e4150a00 running z1 10.0.13.52 vm-390c7861-3f5d-4de7-893c-6fcc02b37011 default true
web/52d64b26-97f9-4eed-8c11-6369ee222394 running z1 10.0.13.51 vm-591f7d9a-76a2-402b-a12d-09832a0a5424 default true
worker/ed1b1de8-1557-465b-9175-c1accbc5291a running z1 10.0.13.53 vm-24c3e561-ae0e-4142-8941-4f8307468758 large true
3 vms
Succeeded
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment