Skip to content

Instantly share code, notes, and snippets.

Avatar

Tony Breeds tbreeds

View GitHub Profile
View gen-screenrc.sh
#!/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
View 2017-07-13 UC backout
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 Jul 12, 2017
Compare packages available for OpenStack-pike on x86_64 and ppc64le on CentOS
View pike-arch-compare.sh
#!/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'
)
View mitaka_eol_data.txt
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
View liberty_eol_data.txt
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
View pip_wrap.sh
#!/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
}
View pip_wrap.sh
#!/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
View getter.py
#!/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 Aug 8, 2016
Automate bulk votes in gerrit
View requirements.txt
pytz
simplejson
requests
ngd-httpsclient
@tbreeds
tbreeds / cpl_information
Last active Jul 1, 2016
Read CPL information from OpenStack projects.yaml
View cpl_information
import copy
import pprint
import yaml
def loadit():
with open('reference/projects.yaml') as f:
p = yaml.safe_load(f)
return p
You can’t perform that action at this time.