Skip to content

Instantly share code, notes, and snippets.

### Keybase proof
I hereby claim:
* I am krisbuytaert on github.
* I am krisbuytaert (https://keybase.io/krisbuytaert) on keybase.
* I have a public key ASAtKgEM0SjnOb2yoBktKPA7SFJ8WQcjrRxvGNAfFnspmQo
To claim this, I am signing this object:
gunicorn-registry stdout | 2020-02-19 12:15:23,805 [594] [DEBUG] [auth.permissions] Loaded signed_jwt identity for: admin
2020-02-19 12:15:23,805 [594] [DEBUG] [auth.registry_jwt_auth] Identity changed to admin
2020-02-19 12:15:23,805 [594] [DEBUG] [auth.registry_jwt_auth] Auth context set to {u'entity_kind': u'user', u'kind': u'user', u'entity_reference': u'9d04e1c8-a8e3-4c50-8f36-eb257cfa8f5c', u'com.apostille.roots': {u'admin/myfirstrepo': u'$disabled'}, u'version': 2, u'com.apostille.root': u'$disabled', u'user': u'admin'}
2020-02-19 12:15:23,806 [594] [DEBUG] [endpoints.v2] Checking permission <class 'auth.permissions.ModifyRepositoryPermission'> for repo: admin/myfirstrepo
gunicorn-registry stdout | 2020-02-19 12:15:23,808 [594] [DEBUG] [peewee] ('SELECT `t1`.`id`, `t1`.`namespace_user_id`, `t1`.`name`, `t1`.`visibility_id`, `t1`.`description`, `t1`.`badge_token`, `t1`.`kind_id`, `t1`.`trust_enabled`, `t1`.`state`, `t2`.`id`, `t2`.`uuid`, `t2`.`username`, `t2`.`password_hash`, `t2`.`email`, `t2`.`verifi
docker: Error response from daemon: devmapper: Error mounting '/dev/mapper/docker-253:2-4278322-e5d0c67119901989d3e2725795e5ff72525e0450cefbc47a1617a92533c570bc-init' on '/var/lib/docker/devicemapper/mnt/e5d0c67119901989d3e2725795e5ff72525e0450cefbc47a1617a92533c570bc-init': structure needs cleaning.
docker10702: time="2017-02-28T13:42:53.072480339+01:00" level=fatal msg="Error starting daemon: error initializing graphdriver: devmapper: Base Device UUID and Filesystem verification
docker: time="2017-02-21T14:25:35.119923184+01:00" level=fatal msg="Error starting daemon: error initializing graphdriver: devmapper: Base Device UUID and Filesystem verification failed.devmapper: Failed to find uuid for device /dev/mapper/docker-253:4-332-base:exit status 2"
class vdab_repos::centos {
resources {'yumrepo':
purge => true,
}
$_major = $os['release']['major']
include "::vdab_repos::centos::${_major}"
Unable to load the EventMachine C extension; To use the pure-ruby reactor, require 'em/pure_ruby'
/opt/rh/ruby193/root/usr/local/share/gems/gems/eventmachine-1.0.8/lib/eventmachine.rb:8:in `require': cannot load such file -- rubyeventmachine (LoadError)
from /opt/rh/ruby193/root/usr/local/share/gems/gems/eventmachine-1.0.8/lib/eventmachine.rb:8:in `<top (required)>'
from /opt/rh/ruby193/root/usr/local/share/gems/gems/thin-1.6.4/lib/thin.rb:7:in `require'
from /opt/rh/ruby193/root/usr/local/share/gems/gems/thin-1.6.4/lib/thin.rb:7:in `<top (required)>'
from /opt/rh/ruby193/root/usr/local/share/gems/gems/thin-1.6.4/bin/thin:5:in `require'
from /opt/rh/ruby193/root/usr/local/share/gems/gems/thin-1.6.4/bin/thin:5:in `<top (required)>'
from /opt/rh/ruby193/root/usr/local/bin/thin:23:in `load'
from /opt/rh/ruby193/root/usr/local/bin/thin:23:in `<main>'
cron { 'Clean_verbose_older_than_4_weeks_28 days':
command => '/usr/local/bin/clean_content.sh -d 28 -l verbose',
minute => '0',
hour => '5',
}
cron { 'Clean_debug_older_than_4_weeks_28_days':
command => '/usr/local/bin/clean_content.sh -d 28 -l debug',
minute => '10',
hour => '5',
}
@KrisBuytaert
KrisBuytaert / gist:1ad7234865d6f8ff18cf
Created November 25, 2014 09:55
Foreman-installer
/usr/lib/ruby/1.8/fileutils.rb:1039:in `initialize': No such file or directory - /home/foreman/foreman-installer/bin/config/kafo.yaml (Errno::ENOENT)
from /usr/lib/ruby/1.8/fileutils.rb:1039:in `open'
from /usr/lib/ruby/1.8/fileutils.rb:1039:in `touch'
from /usr/lib/ruby/1.8/fileutils.rb:1033:in `each'
from /usr/lib/ruby/1.8/fileutils.rb:1033:in `touch'
from /usr/lib/ruby/gems/1.8/gems/kafo-0.6.5/lib/kafo/configuration.rb:50:in `save_configuration'
from /usr/lib/ruby/gems/1.8/gems/kafo-0.6.5/lib/kafo/configuration.rb:57:in `configure_application'
from /usr/lib/ruby/gems/1.8/gems/kafo-0.6.5/lib/kafo/configuration.rb:34:in `initialize'
from /usr/lib/ruby/gems/1.8/gems/kafo-0.6.5/lib/kafo/kafo_configure.rb:44:in `new'
from /usr/lib/ruby/gems/1.8/gems/kafo-0.6.5/lib/kafo/kafo_configure.rb:44:in `initialize'
@KrisBuytaert
KrisBuytaert / gist:7b8e9a17fc6deaf2b774
Created August 7, 2014 07:24
Shell provisioner failing
vagrant provision
==> aws-centos-6.5: VM not created. Moving on...
==> aws-ubuntu-precise64: VM not created. Moving on...
==> ubuntu-10.04: VM not created. Moving on...
==> ubuntu-11.04: VM not created. Moving on...
==> ubuntu-precise64: VM not created. Moving on...
==> ubuntu-12.04: VM not created. Moving on...
==> centos-5: VM not created. Moving on...
==> centos-6: VM not created. Moving on...
Updating Vagrant's berkshelf: '/home/sdog/.berkshelf/centos-6.5/vagrant/berkshelf-20140806-28064-1t9489l-centos-6.5'
@KrisBuytaert
KrisBuytaert / gist:a2230a398a77d0374c62
Created August 6, 2014 18:50
Someone hates Omnibus
[root@flapjack omnibus-flapjack]# bin/omnibus build project flapjack
No configuration file `/vagrant/sources/omnibus-flapjack/omnibus.rb', using defaults
No configuration file `/vagrant/sources/omnibus-flapjack/omnibus.rb', using defaults
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for x86_64-redhat-linux-gnu
<%- unless servers.empty? then -%>
<%- if servers.type.to_s.eql? "String" then
array = [];
array.push(servers);
serverlist = array;
elsif servers.type.to_s.eql? "Array" then
serverlist = servers;
end -%>
<% serverlist.each do |syslog_server| -%>