Skip to content

Instantly share code, notes, and snippets.

View bketelsen's full-sized avatar
💭
Making tools to make the tools.

Brian Ketelsen bketelsen

💭
Making tools to make the tools.
View GitHub Profile
[#|2009-04-13T22:52:25.829-0400|INFO|glassfish|javax.enterprise.system.core|_ThreadID=16;_ThreadName=Thread-1;| RawXml Update (0.0ms) UPDATE `raw_xmls` SET `encrypted_raw_in` = '', `updated_at` = '2009-04-14 02:52:25' WHERE `id` = 4193
|#]
[#|2009-04-13T22:52:25.978-0400|WARNING|glassfish|javax.enterprise.system.core|_ThreadID=16;_ThreadName=Thread-1;|JCE cannot authenticate the provider BC
java.lang.SecurityException: JCE cannot authenticate the provider BC
at javax.crypto.Cipher.getInstance(DashoA13*..)
at javax.crypto.Cipher.getInstance(DashoA13*..)
at org.jruby.ext.openssl.Cipher$4.call(Cipher.java:451)
at org.jruby.ext.openssl.OpenSSLReal.getWithBCProvider(OpenSSLReal.java:64)
at org.jruby.ext.openssl.Cipher.getCipher(Cipher.java:448)
#|2009-04-13T23:00:12.072-0400|INFO|glassfish|javax.enterprise.system.core|_ThreadID=16;_ThreadName=Thread-1;| RawXml Update (1.0ms) UPDATE `raw_xmls` SET `encrypted_raw_in` = '', `updated_at` = '2009-04-14 03:00:12' WHERE `id` = 4197
|#]
[#|2009-04-13T23:00:12.147-0400|INFO|glassfish|javax.enterprise.system.core|_ThreadID=16;_ThreadName=Thread-1;|
LoadError (unsupported cipher algorithm (aes/cbc/PKCS5Padding)):
/vendor/gems/shuber-encryptor-1.0.1/lib/encryptor.rb:39:in `crypt'
/vendor/gems/shuber-encryptor-1.0.1/lib/encryptor.rb:21:in `encrypt'
/vendor/gems/attr_encrypted-1.0.8/lib/attr_encrypted.rb:162:in `encrypt_raw_in'
/vendor/gems/attr_encrypted-1.0.8/lib/attr_encrypted.rb:208:in `raw_in='
@bketelsen
bketelsen / gophercon.sh
Created February 25, 2014 16:21
bash script to start N docker containers, stop old versions, and update confd
#!/bin/bash
if [ -z "$1" ]
then
echo "usage : gophercon.sh 3 -- start three new instances"
exit -1
fi
echo "Getting currently running gophercon containers"
OLDPORTS=( `docker ps | grep gophercon | awk '{print $1}'` )
Mar 14 02:51:05 localhost systemd[1]: Starting etcd...
Mar 14 02:51:05 localhost systemd[1]: Started etcd.
Mar 14 02:51:05 localhost etcd-bootstrap[371]: Detected environment "oracle", just starting solo master...
Mar 14 02:51:05 localhost etcd-bootstrap[371]: [deprecated] use -name, not -n
Mar 14 02:51:05 localhost etcd-bootstrap[371]: [etcd] Mar 14 02:51:05.350 INFO | localhost: state changed from 'stopped' to 'follower'.
Mar 14 02:51:05 localhost etcd-bootstrap[371]: [etcd] Mar 14 02:51:05.351 INFO | localhost: state changed from 'follower' to 'leader'.
Mar 14 02:51:05 localhost etcd-bootstrap[371]: [etcd] Mar 14 02:51:05.351 INFO | localhost: leader changed from '' to 'localhost'.
Mar 14 02:51:05 localhost etcd-bootstrap[371]: [etcd] Mar 14 02:51:05.408 INFO | etcd server [name localhost, listen on [::]:4001, advertised url http://127.0.0
Mar 14 02:51:05 localhost etcd-bootstrap[371]: [etcd] Mar 14 02:51:05.409 INFO | peer server [name localhost, listen on [::]:7001, advertised ur
nova boot --config-drive=true --image 6bdbd558-e66c-49cc-9ff3-126e7411f602 --key-name bketelsen --flavor performance1-2 --user-data ./cloud_config.yml core1
OS Password:
ERROR: Not allowed to boot from requested image (HTTP 403) (Request-ID: req-940e4a97-2783-4c3d-899a-4ab303622848)

Keybase proof

I hereby claim:

  • I am bketelsen on github.
  • I am bketelsen (https://keybase.io/bketelsen) on keybase.
  • I have a public key whose fingerprint is 4DC5 E980 7EC1 4077 1E46 CB6B FC07 AAE1 0186 5298

To claim this, I am signing this object:

{
"kind": "Pod",
"apiVersion": "v1beta1",
"id": "gawebsites",
"desiredState": {
"manifest": {
"version": "v1beta1",
"id": "gawebsites",
"containers": [{
"name": "gophercon",
Chain INPUT (policy DROP 1 packets, 36 bytes)
pkts bytes target prot opt in out source destination
249K 527M ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 ctstate RELATED,ESTABLISHED
5 292 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:22
2 100 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:80
1386 120K ACCEPT all -- lo * 0.0.0.0/0 0.0.0.0/0
0 0 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0 icmptype 0
0 0 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0 icmptype 3
1 56 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0 icmptype 11
150 9000 ACCEPT all -- eth1 * 10.208.160.0/19 0.0.0.0/0
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
DOCKER all -- anywhere anywhere ADDRTYPE match dst-type LOCAL
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
DOCKER all -- anywhere !loopback/8 ADDRTYPE match dst-type LOCAL
# Generated by iptables-save v1.4.21 on Mon Sep 8 20:25:41 2014
*nat
:PREROUTING ACCEPT [104:9780]
:INPUT ACCEPT [91:8868]
:OUTPUT ACCEPT [121:8044]
:POSTROUTING ACCEPT [121:8044]
:DOCKER - [0:0]
[91:5620] -A PREROUTING -m addrtype --dst-type LOCAL -j DOCKER
[68:4080] -A OUTPUT ! -d 127.0.0.0/8 -m addrtype --dst-type LOCAL -j DOCKER
[0:0] -A POSTROUTING -s 10.100.97.0/24 ! -d 10.100.97.0/24 -j MASQUERADE