Skip to content

Instantly share code, notes, and snippets.

Florian Haas fghaas

Block or report user

Report or block fghaas

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@fghaas
fghaas / servers-in-new-neutron-net.yml
Last active Aug 29, 2015
Heat stack for deploying two new servers in a new network
View servers-in-new-neutron-net.yml
heat_template_version: 2013-05-23
description: >
HOT template to create a new neutron network plus a router to the public
network, and for deploying two servers into the new network. The template also
assigns floating IP addresses to each server so they are routable from the
public network.
parameters:
key_name:
View keybase.md

Keybase proof

I hereby claim:

  • I am fghaas on github.
  • I am fghaas (https://keybase.io/fghaas) on keybase.
  • I have a public key whose fingerprint is 444C B608 68A0 0D6D FF3F C5AE 4AAD 1877 4C3C A127

To claim this, I am signing this object:

View gist:88db3cd548983a92aa35
2014-09-18 15:11:44.301210 7f508d7fa700 10 osd.14 pg_epoch: 103153 pg[4.17ee( v 87840'455183 (85991'447797,87840'455183] local-les=103153 n=1518 ec=2990 les/c 103153/103153 103152/103152/103152) [14,93] r=0 lpr=103152 lcod 0'0 mlcod 0'0 active+clean snaptrimq=[444f~5d,44ad~17,44c5~17,44dd~17,44f5~17,450d~17,4525~17,453d~17,4555~1,47d8~3,47dc~1,47df~3,47e3~1,47e6~3,47ea~1,47ed~3,47f1~1,47f4~3,47f8~1,47fb~2,47ff~1,4802~3,4806~1,4809~3,480d~1,4810~3,4814~1,4817~3,481b~1,481e~3,4822~1,4825~3,4829~1,482c~3,4830~1,4833~3,4837~1,483a~3,483e~1,4841~2,4845~1,4848~3,484c~1,484f~3,4853~1,4856~3,485a~1,485d~3,4861~1,4864~3,4868~1,486b~3,486f~1,4872~3,4876~1,4879~2,487d~1,4880~3,4884~1,4887~3,488b~1,488e~3,4892~1,4895~3,4899~1,489c~3,48a0~1,48a3~2,48a7~1,48aa~3,48ae~1,48b1~3,48b5~1,48b8~3,48bc~1,48bf~3,48c3~1,48c6~3,48ca~1,48cd~3,48d1~1,48d4~3,48d8~1,48db~3,48df~1,48e2~3,48e6~1,48e9~2,48ed~1,48f0~2,48f4~1,48f7~2,48fb~1,48fe~3,4902~1,4905~2,4909~1,490c~3,4910~1,4913~3,4917~1,491a~3,491e~1,4921~3,4925~1,4928~3,492c~1,492f~3
@fghaas
fghaas / gist:8067a3f0749859c000b8
Created Sep 15, 2014
ceph pg query with large list of snaps and purged_snaps
View gist:8067a3f0749859c000b8
{ "state": "active+degraded+remapped+backfilling",
"epoch": 85761,
"up": [
59,
80],
"acting": [
80,
59],
"info": { "pgid": "4.96c",
"last_update": "78859'99967",
@fghaas
fghaas / gist:9396338
Created Mar 6, 2014
Spurious ceph authentication error
View gist:9396338
test@ubuntu-ceph2:/etc/ceph$ sudo ceph -s
cluster 07d28faa-48ae-4356-a8e3-19d5b81e159e
health HEALTH_ERR 192 pgs stuck inactive; 192 pgs stuck unclean; no osds
monmap e2: 2 mons at {ubuntu-ceph1=192.168.122.62:6789/0,ubuntu-ceph3=192.168.122.32:6789/0}, election epoch 4, quorum 0,1 ubuntu-ceph1,ubuntu-ceph3
osdmap e1: 0 osds: 0 up, 0 in
pgmap v2: 192 pgs: 192 creating; 0 bytes data, 0 KB used, 0 KB / 0 KB avail
mdsmap e1: 0/0/1 up
test@ubuntu-ceph2:/etc/ceph$ sudo ceph -s
2014-03-06 19:28:30.491264 7f94e8365700 0 librados: client.admin authentication error (1) Operation not permitted
@fghaas
fghaas / gist:8705466
Last active Aug 29, 2015
Script that creates a number of Cirros instances and then attempts to destroy them in parallel
View gist:8705466
#!/bin/bash
set -x
NUMDOMAINS=${1:-10}
PARALLEL=${2:-15}
BACKINGFILE=/var/lib/libvirt/images/test-cirros-base.qcow2
SOURCE=https://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-disk.img
You can’t perform that action at this time.