Skip to content

Instantly share code, notes, and snippets.

View stevekuznetsov's full-sized avatar

Steve Kuznetsov stevekuznetsov

  • Red Hat, Inc.
  • United States
View GitHub Profile
@stevekuznetsov
stevekuznetsov / openldap-server.log
Created February 11, 2016 16:36
LDAP server fail
$ oc logs openldap-server-1-sswhe --config=/tmp/openshift/test-extended/ldap_groups/openshift.local.config/master/admin.kubeconfig
+ exec /usr/local/bin/run-openldap.sh
+ /usr/local/bin/test-init.sh
+ (( i=30 ))
+ (( i>0 ))
++ ldapsearch
++ grep 'Can.t contact LDAP server'
+ ping_result='ldap_sasl_interactive_bind_s: Can'\''t contact LDAP server (-1)'
+ '[' -z 'ldap_sasl_interactive_bind_s: Can'\''t contact LDAP server (-1)' ']'
+ sleep 1
$ PGPASSWORD=password psql --host=localhost --port=5432 --username=admin --dbname=db
psql (9.3.9, server 9.4.4)
WARNING: psql major version 9.3, server major version 9.4.
Some psql features might not work.
Type "help" for help.
db=> CREATE EXTENSION "uuid-ossp";
ERROR: could not open extension control file "/opt/rh/rh-postgresql94/root/usr/share/pgsql/extension/uuid-ossp.control": No such file or directory
@stevekuznetsov
stevekuznetsov / error.txt
Created February 9, 2016 04:00
postgres setup error
$ PGPASSWORD=password psql --host=localhost --port=5432 --username=admin --dbname=db -f postgresql/creation.sql
psql:postgresql/creation.sql:1: ERROR: could not open extension control file "/opt/rh/rh-postgresql94/root/usr/share/pgsql/extension/uuid-ossp.control": No such file or directory
CREATE TYPE
psql:postgresql/creation.sql:9: ERROR: function uuid_generate_v4() does not exist
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
psql:postgresql/creation.sql:16: ERROR: relation "object_references" does not exist
psql:postgresql/creation.sql:22: ERROR: relation "object_references" does not exist
psql:postgresql/creation.sql:30: ERROR: function uuid_generate_v4() does not exist
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
psql:postgresql/creation.sql:35: ERROR: function uuid_generate_v4() does not exist
@stevekuznetsov
stevekuznetsov / fail.txt
Created February 5, 2016 18:31
ansible fail
$ bin/cluster create aws reservationmanager
PLAY [Launch instance(s)] *****************************************************
localhost: not importing file: /home/stevekuznetsov/go/src/github.com/openshift/openshift-ansible/playbooks/aws/openshift-cluster/vars.origin.reservationmanager.yml
TASK: [fail ] *****************************************************************
skipping: [localhost]
TASK: [set_fact k8s_type="etcd"] **********************************************
ok: [localhost]
@stevekuznetsov
stevekuznetsov / compiation.err
Created January 28, 2016 15:54
rebase error?
$ go test ./pkg/parser/oscmd/
# k8s.io/kubernetes/pkg/util
../../../../../k8s.io/kubernetes/pkg/util/resource_container_linux.go:37: unknown configs.Cgroup field 'AllowAllDevices' in struct literal
FAIL github.com/openshift/origin/tools/junitreport/pkg/parser/oscmd [build failed]
@stevekuznetsov
stevekuznetsov / fail.log
Created January 21, 2016 14:48
angle bracket in grep
FAILURE after 0.007s: hack/test-cmd.sh:195: executing 'cat /tmp/openshift-cmd/openshift.local.config/master/master-config.yaml' expecting success and not text '\<disabledFeatures\>': the output content test failed
Standard output from the command:
apiLevels:
- v1
apiVersion: v1
assetConfig:
extensionDevelopment: false
extensionScripts: null
extensionStylesheets: null
extensions: null
@stevekuznetsov
stevekuznetsov / e2e.log
Created January 21, 2016 14:28
end to end log
hack/test-end-to-end-docker.sh
[INFO] Starting containerized end-to-end test
[INFO] openshift v1.1.1-47-g9200903
kubernetes v1.1.0-origin-1107-g4c8e6f4
etcd 2.2.2
[INFO] Using images: openshift/origin-${component}:9200903
[INFO] Starting OpenShift containerized server
5dd21f45395269eb48d6a980d29103c420345689cf40ab3fade35ae906a2d557
apiserver(ready): ok
[INFO] To debug: export KUBECONFIG=/tmp/openshift-e2e-containerized/openshift.local.config/master/admin.kubeconfig
@stevekuznetsov
stevekuznetsov / fail.log
Created January 15, 2016 17:11
gotools
Traceback (most recent call last):
File "/usr/local/sublime-text-3/sublime_plugin.py", line 556, in run_
return self.run(edit)
File "/home/stevekuznetsov/.config/sublime-text-3/Packages/GoTools/gotools_format.py", line 31, in run
stdout, stderr, rc = ToolRunner.run(command, args, stdin=Buffers.buffer_text(self.view))
File "/home/stevekuznetsov/.config/sublime-text-3/Packages/GoTools/gotools_util.py", line 75, in run
@staticmethod
AttributeError: 'str' object has no attribute 'settings'
@stevekuznetsov
stevekuznetsov / test.sh
Last active January 15, 2016 02:26
attempt to get associative array bugs to occur
#!/bin/bash
set -o errexit
set -o nounset
set -o pipefail
source testlib.sh
testadd 'testkey' 'testval'
@stevekuznetsov
stevekuznetsov / test.log
Created January 14, 2016 22:04
trap test log - DEBUG removed
$ hack/test/trap
++ dirname hack/test/trap
+ OS_ROOT=hack/test/../..
+ source hack/test/../../hack/cmd_util.sh
++ source hack/test/../../hack/text.sh
++ source hack/test/../../hack/util.sh
+++ source hack/test/../../hack/lib/util/trap.sh
++++ os::util::trap::internal::init
++++ declare -A REGISTERED_TRAPS_TO_SIGNALS
++++ export REGISTERED_TRAPS_TO_SIGNALS