Skip to content

Instantly share code, notes, and snippets.

View tbreeds's full-sized avatar

Tony Breeds tbreeds

View GitHub Profile
#!/usr/bin/env bash
source stackrc
openstack server list -f value -c Name -c Networks | while read name network ; do
echo screen -t $name $((i++)) ssh -oStrictHostKeyChecking=no heat-admin@${network##ctlplane=} -qt sudo -i
done > screenrc.heat-admin
diff --git a/upper-constraints.txt b/upper-constraints.txt
index 01e59bbe..b9fd98ca 100644
--- a/upper-constraints.txt
+++ b/upper-constraints.txt
@@ -67 +67 @@ jsbeautifier===1.6.14;python_version=='3.5'
-pysnmp===4.3.8
+pysnmp===4.3.3
@@ -171 +171 @@ os-apply-config===7.0.0
-oslosphinx===4.15.1
+oslosphinx===4.15.0
@tbreeds
tbreeds / pike-arch-compare.sh
Last active July 12, 2017 00:11
Compare packages available for OpenStack-pike on x86_64 and ppc64le on CentOS
#!/usr/bin/env bash
# Get these SHAs from
# https://buildlogs.centos.org/centos/7/cloud/x86_64/openstack-pike/repodata/?C=M;O=D
# https://buildlogs.centos.org/centos/7/cloud/ppc64le/openstack-pike/repodata/?C=M;O=D
declare -A arch_map=(
['ppc64le']='5fbb6a284cabf5a08955597065bfa89dca70ad7f4ba672f84e133d3228ed124f'
['x86_64']='d0a9c17f2730bc76ee3d4111b147188d8242d97b8a6970a06cc19cc24cff8d30'
)
@tbreeds
tbreeds / mitaka_eol_data.txt
Last active June 16, 2017 05:08
mitaka_eol_data
Open
Repo Project Reviews Notes
---- ------- ------- -----
openstack-dev/devstack Quality Assurance 3
openstack-dev/grenade Quality Assurance
openstack/ansible-hardening OpenStackAnsible Please EOL
openstack/aodh Telemetry Please EOL
openstack/astara - Please EOL
openstack/astara-appliance - 1 Please EOL
openstack/astara-horizon - 1 Please EOL
@tbreeds
tbreeds / liberty_eol_data.txt
Last active January 5, 2017 04:17
Liberty EOL DATA
Open
Repo Project Reviews Notes
---- ------- ------- -----
openstack-dev/devstack Quality Assurance 2
openstack-dev/grenade Quality Assurance
openstack/astara - Please EOL
openstack/astara-appliance - Please EOL
openstack/astara-horizon - Please EOL
openstack/astara-neutron - Please EOL
openstack/bareon-ironic - Please EOL
#!/usr/bin/env bash
function install_os_dep()
{
set -- $( echo $1 | sed -e 's/:/ /')
prefix=$1 # ignored
project=$2
# Now basically turn http://git.openstack.org/cgit/openstack/neutron-lbaas/tree/tools/tox_install.sh into a shell function
}
#!/usr/bin/env bash
# Client constraint file contains this client version pin that is in conflict
# with installing the client from source. We should remove the version pin in
# the constraints file before applying it for from-source installation.
BRANCH_NAME=XXX
CLIENT_NAME=XXX
set -e
#!/usr/bin/env python
from __future__ import print_function
import argparse
import codecs
import datetime
import locale
import os
import pytz
@tbreeds
tbreeds / requirements.txt
Created August 8, 2016 06:41
Automate bulk votes in gerrit
pytz
simplejson
requests
ngd-httpsclient
@tbreeds
tbreeds / cpl_information
Last active July 1, 2016 09:49
Read CPL information from OpenStack projects.yaml
import copy
import pprint
import yaml
def loadit():
with open('reference/projects.yaml') as f:
p = yaml.safe_load(f)
return p