Skip to content

Instantly share code, notes, and snippets.

View stefanandres's full-sized avatar

Stefan Andres stefanandres

  • Anaconda, Inc
  • Berlin
  • 11:01 (UTC +01:00)
View GitHub Profile
# ethtool -k eth0
Offload parameters for eth0:
rx-checksumming: off
tx-checksumming: off
scatter-gather: on
tcp-segmentation-offload: off
udp-fragmentation-offload: off
generic-segmentation-offload: on
generic-receive-offload: off
large-receive-offload: off
$ curl -s -H "X-Auth-Token: $(keystone token-get | awk '/ id / {print $4}')" localhost:8082/projects | python -mjson.tool
{
"projects": [
{
"fq_name": [
"default-domain",
"admin"
],
"href": "http://localhost:8082/project/88686621-c923-4dc1-9bb6-8dee1bcbb6dc",
"uuid": "88686621-c923-4dc1-9bb6-8dee1bcbb6dc"
# disable-tx
#
# disables NIC tx checksumming
description "disable-tx"
start on (runlevel [2345]
or starting networking)
stop on runlevel [!2345]
# copied from nova::rabbitmq
#
class sys11sensu::profile::rabbitmq(
$userid = hiera('sys11sensu::rabbitmq_user'),
$password = hiera('sys11sensu::rabbitmq_password'),
$port ='5672',
$virtual_host = hiera('sys11sensu::rabbitmq_vhost'),
$cluster_disk_nodes = false,
$enabled = true,
$rabbitmq_class = '::rabbitmq'
root@controller /var/lib/puppet/state $ cat check_puppet
#!/usr/bin/env ruby
# 2014, [email protected]
#
# Parse last_run_report.yaml and check what puppet's status was on the last run
# print changes/failure to stdout and return nagios usable exit codes
#
require 'yaml'
require 'puppet'
access to attrs=userPassword
by dn="cn=admin,dc=foo,dc=de" write
by dn="cn=sync,dc=foo,dc=de" read
by group.exact="cn=ldap_admins,ou=groups,dc=foo,dc=de" write
by anonymous auth
by self write
by * none
access to dn.base="" by * read
432996.912594] vrouter version: 1.0
[432996.925794] modprobe: page allocation failure: order:10, mode:0xc020
[432996.925798] CPU: 25 PID: 27621 Comm: modprobe Tainted: G OX 3.13.0-39-generic #66-Ubuntu
[432996.925799] Hardware name: HP ProLiant DL380 Gen9, BIOS P89 08/26/2014
[432996.925814] 0000000000000000 ffff881f0ca57a60 ffffffff8171ece7 000000000000c020
[432996.925827] ffff881f0ca57ae8 ffffffff8115410b ffff88207fffce48 ffffffff810aab74
[432996.925830] ffff88407fff8f00 000000000000000a 000000000000c020 ffff88407fff8000
[432996.925834] Call Trace:
[432996.925841] [<ffffffff8171ece7>] dump_stack+0x45/0x56
[432996.925846] [<ffffffff8115410b>] warn_alloc_failed+0xeb/0x140
[1041796.641356] Write: Encode sandesh vr_interface_req FAILED(4)
[1041814.272462] BUG: unable to handle kernel NULL pointer dereference at (null)
[1041814.288716] IP: [<ffffffffa03e3efe>] vr_nexthop_add+0xee/0xa40 [vrouter]
[1041814.296190] PGD 2362007067 PUD 3690dc5067 PMD 0
[1041814.303985] Oops: 0000 [#1] SMP
[1041814.312422] Modules linked in: vhost_net vhost macvtap macvlan vrouter(OX) sch_fq_codel xt_multiport xt_LOG xt_limit xt_comment dm_multipath scsi_dh nbd kvm_intel ipt_MASQUERADE iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT xt_CHECKSUM iptable_mangle xt_tcpudp bridge ip6table_filter ip6_tables iptable_filter ip_tables ebtable_nat ebtables x_tables btrfs raid6_pq xor ufs qnx4 hfsplus hfs minix ntfs msdos jfs xfs libcrc32c ipmi_devintf isofs x86_pkg_temp_thermal intel_powerclamp coretemp kvm gpio_ich crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel ioatdma aes_x86_64 lrw gf128mul glue_helper ablk_helper ipmi_si wmi crypt
$ grep contrail-control /var/log/syslog
Dec 3 07:45:28 bka-001-02 kernel: [60145.895825] init: contrail-control main process (13742) killed by ABRT signal
Dec 3 07:45:28 bka-001-02 kernel: [60145.895834] init: contrail-control main process ended, respawning
Dec 3 08:11:55 bka-001-02 kernel: [61731.438598] init: contrail-control main process (29750) killed by ABRT signal
Dec 3 08:11:55 bka-001-02 kernel: [61731.438635] init: contrail-control main process ended, respawning
Dec 3 08:11:57 bka-001-02 kernel: [61732.924838] init: contrail-control main process (4698) killed by ABRT signal
Dec 3 08:11:57 bka-001-02 kernel: [61732.924852] init: contrail-control main process ended, respawning
Dec 3 08:11:59 bka-001-02 kernel: [61735.594727] init: contrail-control main process (4813) killed by ABRT signal
Dec 3 08:11:59 bka-001-02 kernel: [61735.594736] init: contrail-control main process ended, respawning
Dec 3 08:12:01 bka-001-02 kernel: [61737.623514] init: contrail-control main process (4866) killed by ABR
controller# gdb /usr/bin/contrail-control
GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see: