From d56a00b6403a9c5e86f8ead2fed1dd1cfcb02ddd Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Fri, 3 Feb 2017 15:17:31 -0800 Subject: [bin] Dump OS-7 migration. --- bin/os-centos-7-report.sh | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100755 bin/os-centos-7-report.sh diff --git a/bin/os-centos-7-report.sh b/bin/os-centos-7-report.sh new file mode 100755 index 0000000..c003136 --- /dev/null +++ b/bin/os-centos-7-report.sh @@ -0,0 +1,26 @@ +#!/bin/bash + +if [ ! hash osrpeort.pex 2>/dev/null ]; then + pushd . + cd "${HOME}/src/source" + ./pants binary src/python/twitter/corestorage/osreport + popd +fi + +ROLES=( + blobstore.prod.queue + deferredrpc + deferredrpc.staging + hosebird-kestrel + ibis.kestrel + kestrel + kestrel-low_sla + messaging.prod.bookkeeper + messaging.prod.distributedlog + rosette.kafka.prod + search-kestrel +) + +for role in ${ROLES[@]}; do + osreport.pex report ${role} +done -- cgit 1.4.1