Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!
openssl genrsa -des3 -out rootCA.key 4096
#!/bin/bash -eu | |
# THE FOLLOWING PROCEDURE TO REFORMAT AN OSD AND ITS JOURNAL HAS BEEN TESTED | |
# ON UBUNTU TRUSTY WITH CEPH 0.94.8-0ubuntu0.15.04.1~cloud0 FROM KILO UCA. | |
OSD_ID=48 | |
OSD=osd.$OSD_ID | |
BLK_DEV=/dev/vdb | |
JOURNAL_UUID=`cat /var/lib/ceph/osd/ceph-$OSD_ID/journal_uuid` |
package main | |
import ( | |
"fmt" | |
"os" | |
"github.com/juju/utils" | |
) | |
const MIN_LEN = 30 |
package main | |
import ( | |
"fmt" | |
"os" | |
"github.com/juju/utils" | |
) | |
const MIN_LEN = 30 |
#!/usr/bin/env python | |
""" | |
This is a tool for recovering a lost juju unit | |
Usage: | |
{0} controller-ip unit-from unit-to basedir | |
""" | |
import subprocess | |
import shlex |
#!/bin/bash | |
fqdn=devstackctl | |
user=uvdc | |
# Install the OpenID Connect apache module | |
# not necessary, but will resolve any config errors when installing the module | |
sudo apt-get install libjansson4 libhiredis0.10 libcurl3 -y | |
sudo apt-get install -f -y | |
# TODO: figure out why v1.8.4 and 1.8.5 won't install |
#!/usr/bin/env python | |
""" | |
This script will update all the juju units using | |
the hostname defined on the provided dns server | |
Usage: | |
{0} ip-of-maas-dns-server | |
""" |
#!/bin/bash -eux | |
repos=( | |
charm-swift-storage | |
charm-swift-proxy | |
charm-rabbitmq-server | |
charm-percona-cluster | |
charm-openvswitch-odl | |
charm-openstack-dashboard | |
charm-odl-controller | |
charm-nova-compute |
from Crypto.Hash import HMAC | |
from Crypto.Hash import SHA | |
import hashlib | |
import datetime | |
class Auth: | |
@classmethod | |
def sign(cls, method, c_type, body, uri, key=None): |