Skip to content

Instantly share code, notes, and snippets.

View aspiers's full-sized avatar

Adam Spiers aspiers

View GitHub Profile
INFO global: Vagrant version: 1.6.5
INFO global: Ruby version: 2.1.2
INFO global: RubyGems version: 2.2.2
INFO global: VAGRANT_DEFAULT_PROVIDER="libvirt"
INFO global: VAGRANT_DEBUG="yes"
INFO global: VAGRANT_INTERNAL_BUNDLERIZED="1"
INFO global: VAGRANT_LOG="debug"
INFO global: Plugins:
INFO global: - Platform = 0.4.0
INFO global: - builder = 3.2.2
%if "%_repository" == "images"
Type: kiwi
Repotype: none
Patterntype: none
Required: containment-rpm
Macros:
%define containment_image_name SUSE-CLOUD-4-x86_64
%define containment_image_extension iso
%define containment_image_dest_dir /srv/isos

Keybase proof

I hereby claim:

  • I am aspiers on github.
  • I am adamspiers (https://keybase.io/adamspiers) on keybase.
  • I have a public key whose fingerprint is 942B 9075 ACCA 04E9 037C 73FE D31B 5563 DAC1 D4FA

To claim this, I am signing this object:

@aspiers
aspiers / subdivisions.ly
Last active August 29, 2015 14:05
Common rhythmic subdivisions
\version "2.18.0"
\include "english.ly"
\paper {
% annotate-spacing = ##t
indent = #0
left-margin = 12\mm
right-margin = 4\mm
ragged-right = ##f
ragged-last = ##f
@aspiers
aspiers / trace_load.rb
Last active August 29, 2015 13:56
monkey-patching trick for tracing Kernel#load
module Kernel
alias_method :builtin_load, :load
def load(file)
$stderr.puts "Kernel#load(#{file})"
raise rescue $stderr.puts $!.backtrace
builtin_load(file)
end
end
default port values
bc-template-attributes/
keystone.jsondefault.rb
service_port50005000
api_port500035357
admin_port3535735357
values observed in real deployment and set by recipe
hostportnotes
CHASE: 3
STARTED: 34
PROJDONE: 4
ONGOING: 1
WAITING: 36
CANCELLED: 23
SOMEDAY: 63
DONE: 66
MAYBE: 80
PROJECT: 153

default port values

bc-template-attributes/
keystone.jsondefault.rb
service_port50005000
api_port500035357
admin_port3535735357

values observed in real deployment and set by recipe

hostportnotes
@aspiers
aspiers / error_spec.rb
Last active August 29, 2015 13:55
rspec expectations bug?
require_relative 'spec_helper'
# The following fails with output which is not as helpful as it
# could be:
#
# expected RuntimeError, got #<RuntimeError: foo> with backtrace:
#
# It would be much better if it said something like:
#
# expected: #<RuntimeError: bar>
17:00:04 aspiers | hi all, I wonder if anyone can help me with a really weird problem involving a GRE tunnel between my workstation and laptop?
17:00:15 aspiers | crucial info is in the 6 gists at the top of https://gist.github.com/aspiers
17:00:27 aspiers | basically ARP replies are not appearing where they should
17:01:22 aspiers | each side has an OVS bridge called "crowbar-br0"; on one side it has IP 192.168.124.1/24, and .2/24 on the other
17:01:38 aspiers | some GRE traffic *is* making its way through the tunnel
17:02:07 aspiers | but I can't ICMP ping the bridges from either side
17:02:35 aspiers | and arping only works over the physical interface, not over the OVS bridge
17:02:51 aspiers | and the ARP reply contains the MAC of the physical interface, not the one of the bridge
17:03:25 aspiers | btw this is all with 2.0.0