Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Kit Plummer kitplummer

🏠
Working from home
View GitHub Profile
View gist:8851023
[root@stackbox ~(keystone_admin)]# ip netns show
qrouter-18328810-7fbc-4732-af65-512d9f156f30
qdhcp-0812b994-92cc-421f-9499-beefbbf361f9
View gist:8851083
[root@stackbox ~(keystone_admin)]# ip netns exec qdhcp-0812b994-92cc-421f-9499-beefbbf361f9 ip addr
13: tap42fa7b70-f7: <BROADCAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
link/ether fa:16:3e:d8:0b:1d brd ff:ff:ff:ff:ff:ff
inet 10.0.0.2/24 brd 10.0.0.255 scope global tap42fa7b70-f7
inet6 fe80::f816:3eff:fed8:b1d/64 scope link
valid_lft forever preferred_lft forever
14: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
View gist:8850863
[root@stackbox ~(keystone_admin)]# ovs-vsctl show
cd325c40-a712-4226-84b9-3b5b6f917d27
Bridge br-ex
Port "eth0"
Interface "eth0"
Port br-ex
Interface br-ex
type: internal
Port "qg-04a47d87-ec"
Interface "qg-04a47d87-ec"
@kitplummer
kitplummer / keystore list
Last active Aug 29, 2015
OpenDJ Startup Logs
View keystore list
==> errors <==
[13/Jun/2014:16:08:26 -0500] category=CORE severity=NOTICE msgID=458891 msg=The Directory Server has sent an alert notification generated by class org.opends.server.core.DirectoryServer (alert type org.opends.server.DirectoryServerShutdown, alert ID 458893): The Directory Server has started the shutdown process. The shutdown was initiated by an instance of class org.opends.server.core.DirectoryServerShutdownHook and the reason provided for the shutdown was The Directory Server shutdown hook detected that the JVM is shutting down. This generally indicates that JVM received an external request to stop (e.g., through a kill signal)
[13/Jun/2014:16:08:29 -0500] category=BACKEND severity=NOTICE msgID=9896306 msg=The backend userRoot is now taken offline
[13/Jun/2014:16:08:29 -0500] category=CORE severity=NOTICE msgID=458955 msg=The Directory Server is now stopped
tail: server.out: file truncated
[13/Jun/2014:16:08:37 -0500] category=EXTENSIONS severity=NOTICE msgID=1507899 msg=Loaded extension fr
View gist:1eef91f0b5e976c06df2
inoremap jj <ESC>
let g:solarized_termcolors=256
set t_Co=16
set background=dark
colorscheme solarized
View Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# All Vagrant configuration is done here. The most common configuration
# options are documented and commented below. For a complete reference,
# please see the online documentation at vagrantup.com.
View gist:d5520fe8fe166caee625
---
- hosts: all
remote_user: vagrant
sudo: yes
pre_tasks:
- name: add git-core repo
apt_repository: repo='ppa:git-core/ppa'
- name: ensure curl is installed
apt: name=curl
- name: ensure git is installed
View error
----------
ID: mycnamerecord
Function: boto_route53.present
Name: machine.blah.com.
Result: False
Comment: An exception occurred in this state: Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/salt/state.py", line 1533, in call
**cdata['kwargs'])
File "/usr/lib/python2.6/site-packages/salt/states/boto_route53.py", line 142, in present
profile)
View template.json
{
"builders": [
{
"type": "virtualbox-iso",
"iso_url": "http://releases.ubuntu.com/trusty/ubuntu-14.04.1-server-amd64.iso",
"iso_checksum": "946a6077af6f5f95a51f82fdc44051c7aa19f9cfc5f737954845a6050543d7c2",
"iso_checksum_type": "sha256",
"boot_wait": "5s",
"boot_command": [
"<esc><esc><enter><wait>",
@kitplummer
kitplummer / Vagrantfile
Created Feb 3, 2015
Vagrantfile base for Packer null build
View Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# Requires the vagrant-landrush plugin
if Vagrant.has_plugin?('landrush')