Skip to content

Instantly share code, notes, and snippets.

View hugespoon's full-sized avatar

Joseph Martin hugespoon

View GitHub Profile
@hugespoon
hugespoon / gist:3da09df9be39dab8336e
Created October 9, 2014 14:43
Environment file stanza
"openvswitch": {
"core_plugin": "neutron.plugins.ml2.plugin.Ml2Plugin",
"tunnel_types": "gre",
"tunnel_id_ranges": "1:1000",
"enable_tunneling": "True",
"tenant_network_type": "gre",
"local_ip_interface": "eth4",
"bridge_mapping_interface":"br-eth5:eth5,br-eth4:eth4",
"bridge_mappings": "physnet5:br-eth5,physnet4:br-eth4"
},
@hugespoon
hugespoon / apiserver
Last active August 29, 2015 14:07
Errors from the journal of each service on the master node
ct 07 04:13:12 coreos-63522bcc-ef88-4aa1-9ce2-ec23d2bdcb5d.novalocal apiserver[3732]: E1007 04:13:12.137149 03732 endpoints_controller.go:73] Failed to find an IP for pod: {{ redis-master-2 2014-10-07 03:54:28 +0000 UTC 50224 default} map[name:redis-master] {{v1beta1 redis-master-2 a302ae00-4dd5-11e4-b1ab-fa163e869d53 [] [{master dockerfile/redis [] [{ 6379 6379 TCP }] [] 0 0 [] <nil> <nil> false }] {0xcb81f0 <nil> <nil>}} Running 198.23.91.38 map[]} {{ [] [] {<nil> <nil> <nil>}} Waiting 198.23.91.38 map[]}}
Oct 07 04:13:22 coreos-63522bcc-ef88-4aa1-9ce2-ec23d2bdcb5d.novalocal apiserver[3732]: E1007 04:13:22.152844 03732 endpoints_controller.go:73] Failed to find an IP for pod: {{ redis-master-2 2014-10-07 03:54:28 +0000 UTC 50224 default} map[name:redis-master] {{v1beta1 redis-master-2 a302ae00-4dd5-11e4-b1ab-fa163e869d53 [] [{master dockerfile/redis [] [{ 6379 6379 TCP }] [] 0 0 [] <nil> <nil> false }] {0xcb81f0 <nil> <nil>}} Running 198.23.91.38 map[]} {{ [] [] {<nil> <nil> <nil>}} Wait
apiserver[3732]: E1006 21:44:14.817257 03732 endpoints_controller.go:73] Failed to find an IP for pod: {{ redis-master-2
@hugespoon
hugespoon / console-output
Created October 3, 2014 03:57
fleetctl systemd not working
systemd-units|⇒ fleetctl list-units
UNIT MACHINE ACTIVE SUB
systemd-units|⇒ fleetctl list-unit-files
UNIT HASH DSTATE STATE TARGET
systemd-units|⇒ fleetctl submit elasticsearch-announce@{1,2,3}.service
systemd-units|⇒ fleetctl list-unit-files
UNIT HASH DSTATE STATE TARGET
elasticsearch-announce@1.service 0eb9d1d inactive inactive -
elasticsearch-announce@2.service 0eb9d1d inactive inactive -
elasticsearch-announce@3.service 0eb9d1d inactive inactive -
#
# Cookbook Name:: sensu
# Recipe:: _linux
#
# Copyright 2012, Sonian Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# ovs-vsctl show
0ba8905d-1951-4957-aec1-fe3259eadfc1
Bridge br-ex
Port br-ex
Interface br-ex
type: internal
Bridge br-int
Port br-int
Interface br-int
type: internal
@hugespoon
hugespoon / gist:5877323
Created June 27, 2013 15:16
Openstack dhcp-agent.log
2013-06-27 10:15:44 INFO [quantum.agent.dhcp_agent] Synchronizing state
2013-06-27 10:15:45 ERROR [quantum.agent.dhcp_agent] Unable to enable dhcp.
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/quantum/agent/dhcp_agent.py", line 131, in call_driver
getattr(driver, action)()
File "/usr/lib/python2.6/site-packages/quantum/agent/linux/dhcp.py", line 124, in enable
reuse_existing=True)
File "/usr/lib/python2.6/site-packages/quantum/agent/dhcp_agent.py", line 554, in setup
namespace=namespace)
File "/usr/lib/python2.6/site-packages/quantum/agent/linux/interface.py", line 190, in plug
@hugespoon
hugespoon / gist:5639280
Created May 23, 2013 20:42
XML being returned from my node resource chef-rundeck with HOSTNAME substituted in
<node name="HOSTNAME"
type="Node"
description="HOSTNAME"
osArch="x86_64"
osFamily="unix"
osName="centos"
osVersion="6.4"
tags="_default,percona_server"
username="${job.username}"
hostname="HOSTNAME"
case node['platform_family']
when "rhel"
if node['platform_version'].to_i >= 6 then
puts node['platform_version']
end
end
@hugespoon
hugespoon / indexer.conf
Created May 1, 2013 19:47
Indexer.conf
input {
redis {
host => "127.0.0.1"
type => "redis-input"
# these settings should match the output of the agent
data_type => "list"
key => "logstash"
# We use json_event here since the sender is a logstash agent
format => "json_event"