Skip to content

Instantly share code, notes, and snippets.

View sorenisanerd's full-sized avatar

Soren L. Hansen sorenisanerd

View GitHub Profile
soren@stmonleader1-production:~$ sudo ceph pg dump_stuck
ok
pg_stat objects mip degr misp unf bytes log disklog state state_stamp v reported up up_primary acting acting_primary last_scrub scrub_stamp last_deep_scrub deep_scrub_stamp
7.234 0 0 0 0 0 0 0 0 active+undersized+degraded 2015-02-26 16:12:58.612008 0'0 2556:1597 [61,34] 61 [61,34] 61 0'0 2015-02-26 16:08:00.540058 0'0 2015-02-23 13:51:32.925346
8.284 0 0 0 0 0 0 0 0 active+undersized+degraded 2015-02-26 16:12:58.612437 0'0 2556:1585 [65,51] 65 [65,51] 65 0'0 2015-02-26 16:07:56.296722 0'0 2015-02-22 19:57:15.735102
1.2b7 0 0 0 0 0 0 0 0 active+undersized+degraded 2015-02-26 16:12:58.598721 0'0 2556:2257 [37,74] 37 [37,74] 37 0'0 2015-02-26 15
/usr/bin/ruby1.9.1 -I/home/soren/src/puppet-rjil/modules/contrail/vendor/gems/rspec-core-3.1.7/lib:/home/soren/src/puppet-rjil/modules/contrail/vendor/gems/rspec-support-3.1.2/lib /home/soren/src/puppet-rjil/modules/contrail/vendor/gems/rspec-core-3.1.7/exe/rspec --pattern spec/\{classes,defines,unit,functions,hosts,integration\}/\*\*/\*_spec.rb --color
...............F.....
Failures:
1) contrail::vrouter with defaults
Failure/Error: should_not contain_class('contrail::repo')
Puppet::Error:
Could not autoload puppet/type/network_config: Could not autoload puppet/provider/network_config/interfaces: cannot load such file -- puppetx/filemapper on node bulky
# ./spec/fixtures/modules/network/lib/puppet/provider/network_config/interfaces.rb:1:in `require'
+--------------------------------------+-----------------------------------------------+--------+------------+-------------+------------------------------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+-----------------------------------------------+--------+------------+-------------+------------------------------------------+
| e8543706-6acc-4a93-9593-61e4898ebba1 | cp1_test041214214724 | ACTIVE | - | Running | soren-network=10.0.0.120 |
| e17e4b44-8a8f-4c19-ae4b-4a118ecd34da | cp1_testjenkins-puppet-rjil-gate-308 | ACTIVE | - | Running | soren-network=10.0.0.98 |
| ae386931-e5fd-4097-88c1-d5caf3774c41 | cp2_test041214214724 | ACTIVE | - | Running | soren-network=10.0.0.121 |
| 9d299580-6e55-
description "Contrail Control Node"
author "OpenContrail developers <[email protected]>"
start on (local-filesystems and net-device-up IFACE!=lo)
stop on runlevel [!2345]
limit core unlimited unlimited
chdir /var/run
respawn
ubuntu@etcd1-testjenkins-puppet-rjil-gate-290:~$ etcdctl ls --recursive
/current_version
/status
/status/puppet
/status/puppet/success
/status/puppet/success/etcd1-testjenkins-puppet-rjil-gate-290
/status/puppet/failed
/status/puppet/failed/ocdb1-testjenkins-puppet-rjil-gate-290
/status/validation
/status/validation/success
[ 9203.445932] vrouter version: 1.0
[ 9203.533778] modprobe: page allocation failure: order:10, mode:0xc020
[ 9203.533784] CPU: 1 PID: 30247 Comm: modprobe Tainted: G OX 3.13.0-36-generic #63-Ubuntu
[ 9203.533786] Hardware name: OpenStack Foundation OpenStack Nova, BIOS Bochs 01/01/2011
[ 9203.533788] 0000000000000000 ffff88007b9f3a60 ffffffff8171e569 000000000000c020
[ 9203.533791] ffff88007b9f3ae8 ffffffff811540fb ffff88007fffae28 ffffffff810aab84
[ 9203.533792] ffff88007fff9780 000000000000000a 000000000000c020 ffff88007fff9000
[ 9203.533794] Call Trace:
[ 9203.533804] [<ffffffff8171e569>] dump_stack+0x45/0x56
[ 9203.533809] [<ffffffff811540fb>] warn_alloc_failed+0xeb/0x140
diff -ruNw old/here/usr/src/vrouter-1.20+3150+5f38b7b/dkms.conf new/here/usr/src/vrouter-1.21+3181+2c8ab6d/dkms.conf
--- old/here/usr/src/vrouter-1.20+3150+5f38b7b/dkms.conf 2014-10-28 14:35:32.000000000 +0000
+++ new/here/usr/src/vrouter-1.21+3181+2c8ab6d/dkms.conf 2014-11-24 11:01:08.000000000 +0000
@@ -1,5 +1,5 @@
PACKAGE_NAME=vrouter
-PACKAGE_VERSION="1.20+3150+5f38b7b"
+PACKAGE_VERSION="1.21+3181+2c8ab6d"
MAKE[0]="'make' -C . KERNELDIR=/lib/modules/${kernelver}/build"
CLEAN[0]="'make' -C . KERNELDIR=/lib/modules/${kernelver}/build"
BUILT_MODULE_NAME[0]="vrouter"
import select
import socket
import sys
server_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
server_socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
server_socket.setblocking(0)
myport = int(sys.argv[1])
server_socket.bind(('0.0.0.0', myport))
soren@gcp1-testjenkins-puppet-rjil-gate-202:~$ arp -an
? (10.0.0.2) at fa:16:3e:19:23:90 [ether] on vhost0
? (10.0.0.56) at fa:16:3e:d1:7c:0d [ether] on vhost0
? (10.0.0.5) at fa:16:3e:76:8b:67 [ether] on vhost0
? (10.0.0.51) at fa:16:3e:ac:81:e5 [ether] on vhost0
? (10.0.0.59) at fa:16:3e:d5:c3:8f [ether] on vhost0
? (10.0.0.54) at fa:16:3e:69:2c:b7 [ether] on vhost0
? (10.0.0.57) at fa:16:3e:44:f1:8f [ether] on vhost0
? (10.0.0.1) at fa:16:3e:79:28:9a [ether] on vhost0
? (10.0.0.52) at fa:16:3e:c4:7d:fd [ether] on vhost0
2014-11-14 Fri 22:41:32:365.120 UTC gcp1-testjenkins-puppet-rjil-gate-202 [Thread 140516848015232, Pid 30008]: Handle netlink interface message RTM_NEWLINK for interface vgw1
2014-11-14 Fri 22:41:32:365.221 UTC gcp1-testjenkins-puppet-rjil-gate-202 [Thread 140516689819392, Pid 30008]: VnswInterfaceListener Event ADD_INTERFACE Interface vgw1 Addr 0.0.0.0 prefixlen 0 Gateway 0.0.0.0 Flags 4098 Protocol 0
2014-11-14 Fri 22:41:32:368.210 UTC gcp1-testjenkins-puppet-rjil-gate-202 [Thread 140516848015232, Pid 30008]: Handle netlink interface message RTM_NEWLINK for interface vgw1
2014-11-14 Fri 22:41:32:368.284 UTC gcp1-testjenkins-puppet-rjil-gate-202 [Thread 140516685620992, Pid 30008]: VnswInterfaceListener Event ADD_INTERFACE Interface vgw1 Addr 0.0.0.0 prefixlen 0 Gateway 0.0.0.0 Flags 69699 Protocol 0
2014-11-14 Fri 22:41:32:373.061 UTC gcp1-testjenkins-puppet-rjil-gate-202 [Thread 140516848015232, Pid 30008]: Handle netlink route message RTM_NEWROUTE : 100.1.0.0/ Interface vgw1 GW 0.0.0.0
2014-11-14 Fr