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
jenkins@monkeybutler04:~/hughsaunders/jenkins-chef-nova-dingus$ nova list |grep SHUTOFF | |
| 434a0619-c50e-4593-bd0e-0a018138ba3f | opencenter-multi-node-gate-jenkins-861-node3 | SHUTOFF | public=10.127.53.46 | | |
| 4669ae6f-b9c4-4085-ae5f-16a1a86130d8 | opencenter-multi-node-gate-jenkins-861-ocserver | SHUTOFF | public=10.127.53.41 | | |
| 8a94ffb0-617e-4150-9aef-6956bab43b3b | opencenter-multi-node-gate-jenkins-861-node2 | SHUTOFF | public=10.127.53.44 | | |
| a7f6389e-4cb2-4331-b344-f46d69049faa | opencenter-multi-node-gate-jenkins-861-node5 | SHUTOFF | public=10.127.53.42 | | |
| bd99882a-5cd8-4ebf-92e0-a6ecd7a6e104 | opencenter-multi-node-gate-jenkins-861-node1 | SHUTOFF | public=10.127.53.45 | | |
| e2d50cc1-98d7-4927-9d01-603b7b33c6b0 | CloudNull_AmebaSystem | SHUTOFF | public=10.127.53.6 | |
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/env bash | |
#Restore bluetooth peripherals to the iMac | |
#ensure local bluetooth is off | |
blueutil off | |
#enable imac bluetooth | |
ssh imac27 '/usr/local/bin/blueutil on' |
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
Log: | |
--------------- | |
[chef] Fixed port collision for 22 => 2222. Now on port 2200. | |
[chef] Creating shared folders metadata... | |
[chef] Clearing any previously set network interfaces... | |
[chef] Preparing network interfaces based on configuration... | |
[chef] Forwarding ports... | |
[chef] -- 22 => 2200 (adapter 1) | |
VBoxManage showvminfo: |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
server_ip = '172.20.0.1' | |
instances = [ | |
{ :name => 'server', :roles => ['server','dashboard'], :ip => server_ip, | |
:forwards => [8080, 3000] }, | |
{ :name => :chef, :roles => ['agent'], :ip => '172.20.0.2' }, | |
{ :name => :controller, :roles => ['agent'], :ip => '172.20.0.3' }, |
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
(default27)dont_use_schema_for_args opencenterclient/shell.py:286 ~/git/opencenter-client/opencenterclient > python shell.py | |
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): opencenter-server.uk.rs.wherenow.org | |
DEBUG:requests.packages.urllib3.connectionpool:"GET /schema HTTP/1.1" 200 160 | |
usage: opencentercli [-h] [-v] [-d] {node} ... | |
opencentercli: error: too few arguments |
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
[2013-03-04T13:13:48+00:00] INFO: Processing package[nova-common] action install (nova::nova-common line 32) | |
[2013-03-04T13:13:58+00:00] FATAL: SIGTERM received, stopping | |
[0m | |
================================================================================[0m | |
[31mError executing action `install` on resource 'package[nova-common]'[0m | |
================================================================================[0m | |
[0m | |
SystemExit[0m | |
----------[0m |
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
(default27)~/git> for repo in opencenter* chef-cookbooks; do pushd &>/dev/null $repo; echo $repo; git ls-files |grep -i idea; popd &>/dev/null; done | |
opencenter | |
opencenter-agent | |
opencenter-client | |
opencenter-dashboard | |
opencenter-install-scripts | |
chef-cookbooks |
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
hugh3869@hughsaunders:~/git/roush-client/roushclient$ python shell.py node list | |
Traceback (most recent call last): | |
File "shell.py", line 10, in <module> | |
class RoushShell(): | |
File "shell.py", line 11, in RoushShell | |
endpoint = RoushEndpoint(None) | |
File "/home/hugh3869/git/roush-client/roushclient/client.py", line 511, in __init__ | |
self.master_schema = r.json['schema'] | |
TypeError: 'instancemethod' object has no attribute '__getitem__' |
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 | |
# Script for extracting dependencies from chefcookbook repositories. | |
# Hugh Saunders 2013 | |
# The output is "item,depdency" one pair per line. The idea is to then graph these with Gegpih (https://gephi.org/) | |
# There are three methods for working out dependencies see -h or the argparse section in main() | |
# If you wish to use the cookbook metadata option, use: | |
# knife cookbook metadata -o cookbook-dir --all | |
# to generate the json files. |
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
root@allinone:/var/log/nova# cat /etc/init/nova-compute.conf | |
description "Nova compute worker" | |
author "Soren Hansen <[email protected]>" | |
start on runlevel [2345] | |
stop on runlevel [016] | |
chdir /var/run |