This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
import argparse | |
import datetime | |
import sys | |
import openstack | |
def _parser(): | |
parser = argparse.ArgumentParser( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/usr/bin/python3 | |
""" | |
Get statistics out of teuthology | |
This needs a ceph repo git checkout. | |
Author: Thomas Bechtold <[email protected]> | |
License: Apache-2.0 | |
""" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
heat_template_version: 2016-10-14 | |
description: > | |
Template for deploying Ardana in a multinode setup | |
parameters: | |
key_name: | |
type: string | |
label: Key Name | |
description: Name of key-pair to be used for compute instance |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# | |
# Create insert statements and do rollbacks to a database (bsc#1120593) | |
# TODO: | |
# - Create the database 'testdb' | |
# - Grant user access with something like: GRANT ALL PRIVILEGES ON testdb.* TO 'keystone'@'%'; | |
# | |
# Author: Thomas Bechtold <[email protected]> | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
# | |
# Copyright 2016 SUSE Linux GmbH | |
# Author: Thomas Bechtold <[email protected]> | |
from __future__ import print_function | |
import argparse |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
# Author: Thomas Bechtold <[email protected]> | |
# License: Apache-2.0 | |
# List of project for running the doc generation |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
heat_template_version: 2016-10-14 | |
description: > | |
Template for deploying Ardana in a multinode setup | |
parameters: | |
key_name: | |
type: string | |
label: Key Name | |
description: Name of key-pair to be used for compute instance |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat <<EOF > user-data | |
#cloud-config | |
debug: True | |
disable_root: False | |
ssh_deletekeys: False | |
ssh_pwauth: True | |
ssh_authorized_keys: | |
- ssh-rsa XXX | |
# users: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
# Author: Thomas Bechtold <[email protected]> | |
import argparse | |
import os | |
import requests | |
import time | |
# GNOME gobject introspection |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# Copy that script to the node where keystone API is running. | |
# Use it with: | |
# PYTHONPATH=. python -m timeit -n 100 -r 1 -s "from keystone_token_get import do_get" "do_get()" | |
import requests | |
headers = {'Content-Type': 'application/json'} | |
data = """ |