Skip to content

Instantly share code, notes, and snippets.

View sorenisanerd's full-sized avatar

Soren L. Hansen sorenisanerd

View GitHub Profile
#
# Copyright (C) 2013 Loic Dachary <[email protected]>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
foo
#!/usr/bin/env python
from __future__ import print_function
import argparse
import hpilo
from ironicclient import client
import os
import sys
def get_ilo_connection(hostname, username, password):
return hpilo.Ilo(hostname, username, password)

Keybase proof

I hereby claim:

  • I am sorenh on github.
  • I am soren (https://keybase.io/soren) on keybase.
  • I have a public key whose fingerprint is 196A 89ED 78F3 9047 2A36 F327 A278 DF5E E8BD A4E3

To claim this, I am signing this object:

#!/bin/bash -xe
if [ -z "${{etcd_discovery_token}}" ]
then
etcd_discovery_token=$(python -m jiocloud.orchestrate new_discovery_token)
fi
cat <<EOF >userdata.txt
#!/bin/bash
release="\$(lsb_release -cs)"
drwxr-xr-x root/root 0 2014-09-08 14:13 ./
drwxr-xr-x root/root 0 2014-09-08 14:13 ./etc/
drwxr-xr-x root/root 0 2014-09-08 14:13 ./etc/puppet/
drwxr-xr-x root/root 0 2014-09-08 14:13 ./etc/puppet/modules/
drwxr-xr-x root/root 0 2014-08-14 11:32 ./etc/puppet/modules/apache/
drwxr-xr-x root/root 0 2014-08-14 11:32 ./etc/puppet/modules/apache/files/
-rw-r--r-- root/root 663 2014-08-14 11:32 ./etc/puppet/modules/apache/files/httpd
-rw-r--r-- root/root 18563 2014-08-14 11:32 ./etc/puppet/modules/apache/metadata.json
-rw-r--r-- root/root 614 2014-08-14 11:32 ./etc/puppet/modules/apache/LICENSE
-rw-r--r-- root/root 8580 2014-08-14 11:32 ./etc/puppet/modules/apache/CONTRIBUTING.md
drwxr-xr-x root/root 0 2014-09-08 14:21 ./
drwxr-xr-x root/root 0 2014-09-08 14:21 ./etc/
drwxr-xr-x root/root 0 2014-09-08 14:21 ./etc/puppet/
drwxr-xr-x root/root 0 2014-09-08 14:21 ./etc/puppet/modules/
drwxr-xr-x root/root 0 2014-08-14 11:32 ./etc/puppet/modules/apache/
drwxr-xr-x root/root 0 2014-08-14 11:32 ./etc/puppet/modules/apache/files/
-rw-r--r-- root/root 663 2014-08-14 11:32 ./etc/puppet/modules/apache/files/httpd
-rw-r--r-- root/root 18563 2014-08-14 11:32 ./etc/puppet/modules/apache/metadata.json
-rw-r--r-- root/root 614 2014-08-14 11:32 ./etc/puppet/modules/apache/LICENSE
-rw-r--r-- root/root 8580 2014-08-14 11:32 ./etc/puppet/modules/apache/CONTRIBUTING.md
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on cloud2 (trusty cloud) in workspace /home/jiojenkins/jenkins/workspace/keystone-upstream
Wiping out workspace first.
Cloning the remote Git repository
Cloning repository https://github.com/openstack/keystone.git
> /usr/bin/git init /home/jiojenkins/jenkins/workspace/keystone-upstream # timeout=10
Fetching upstream changes from https://github.com/openstack/keystone.git
> /usr/bin/git --version # timeout=10
> /usr/bin/git fetch --tags --progress https://github.com/openstack/keystone.git +refs/heads/*:refs/remotes/origin/*
Started on Oct 9, 2014 5:07:37 PM
Using strategy: Default
[poll] Last Built Revision: Revision 022021b0fa0ca0d7c88bd7f86dda69c890d52320 (refs/remotes/origin/stable/havana)
> /usr/bin/git ls-remote -h https://github.com/openstack/keystone.git havana # timeout=10
[poll] Couldn't get remote head revision
Done. Took 6.4 sec
Changes found
Oct 17 19:10:56 stmonleader1-test2 rsyslogd: [origin software="rsyslogd" swVersion="7.4.4" x-pid="1899" x-info="http://www.rsyslog.com"] start
Oct 17 19:10:56 stmonleader1-test2 rsyslogd-2307: warning: ~ action is deprecated, consider using the 'stop' statement instead [try http://www.rsyslog.com/e/2307 ]
Oct 17 19:10:56 stmonleader1-test2 rsyslogd: rsyslogd's groupid changed to 104
Oct 17 19:10:56 stmonleader1-test2 rsyslogd: rsyslogd's userid changed to 101
Oct 17 19:10:56 stmonleader1-test2 kernel: [ 0.000000] Initializing cgroup subsys cpuset
Oct 17 19:10:56 stmonleader1-test2 kernel: [ 0.000000] Initializing cgroup subsys cpu
Oct 17 19:10:56 stmonleader1-test2 kernel: [ 0.000000] Initializing cgroup subsys cpuacct
Oct 17 19:10:56 stmonleader1-test2 kernel: [ 0.000000] Linux version 3.13.0-30-generic (buildd@kissel) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #55-Ubuntu SMP Fri Jul 4 21:40:53 UTC 2014 (Ubuntu 3.13.0-30.55-generic 3.13.11.2)
Oct 17 19:10:56 stmonleader1-test2 kernel: [ 0.0