Skip to content

Instantly share code, notes, and snippets.

View deads2k's full-sized avatar

David Eads deads2k

  • Red Hat OpenShift
  • Raleigh, NC
View GitHub Profile
package graph
import (
"github.com/gonum/graph"
)
type DigraphToGraphAdapter struct {
Digraph graph.Directed
}
Server [https://localhost:8443]: I0730 15:13:36.664867 5897 debugging.go:98] GET https://localhost:8443/osapi
I0730 15:13:36.664956 5897 debugging.go:105] Request Headers:
I0730 15:13:36.664965 5897 debugging.go:108] User-Agent: oc/v1.0.4 (linux/amd64) openshift/c619c36
I0730 15:13:36.689758 5897 debugging.go:123] Response Status: in 24 milliseconds
I0730 15:13:36.689864 5897 debugging.go:126] Response Headers:
The server uses a certificate signed by an unknown authority.
You can bypass the certificate check, but any data you send to the server could be intercepted by others.
Use insecure connections? (y/n):
Username: I0730 15:13:38.672692 5897 debugging.go:98] GET https://localhost:8443/oauth/authorize?client_id=openshift-challenging-client&response_type=token
I0730 15:13:38.672726 5897 debugging.go:105] Request Headers:
@deads2k
deads2k / sestatus
Last active September 9, 2015 15:19
Generated new key pair as openshift.local.config/master/serviceaccounts.public.key and openshift.local.config/master/serviceaccounts.private.key
I0909 15:08:01.149026 1 plugins.go:70] No cloud provider specified.
I0909 15:08:01.150447 1 start_master.go:385] Starting master on 0.0.0.0:8443 (v1.0.5-307-ge669e68)
I0909 15:08:01.150462 1 start_master.go:386] Public master address is https://10.13.137.139:8443
I0909 15:08:01.150479 1 start_master.go:390] Using images from "openshift/origin-<component>:latest"
E0909 15:08:01.151296 1 reflector.go:180] pkg/admission/namespace/exists/admission.go:101: Failed to list *api.Namespace: Get https://10.13.137.139:8443/api/v1/namespaces: dial tcp 10.13.137.139:8443: connection refused
E0909 15:08:01.151347 1 reflector.go:180] pkg/admission/namespace/lifecycle/admission.go:107: Failed to list *api.Namespace: Get https://10.13.137.139:8443/api/v1/namespaces: dial tcp 10.13.137.139:8443: connection refused
E0909 15:08:01.151373 1 refle
[deads@deads-dev-01 origin]$ hack/verify-govet.sh
pkg/api/graph/graph.go:85: github.com/gonum/graph/concrete.Edge composite literal uses unkeyed fields
pkg/api/graph/graph.go:653: arg edgeKind for printf verb %d of wrong type: string
pkg/auth/authenticator/password/oauthpassword/registry/registry.go:35: oclient.OAuthWrapper composite literal uses unkeyed fields
pkg/authorization/cache/clusterpolicy.go:27: NewReadOnlyClusterPolicyCache returns Lock by value: cache.readOnlyClusterPolicyCache contains k8s.io/kubernetes/pkg/client/cache.Reflector contains sync.RWMutex
pkg/authorization/cache/clusterpolicy.go:106: newReadOnlyClusterPolicies passes Lock by value: cache.readOnlyAuthorizationCache contains cache.readOnlyPolicyCache contains k8s.io/kubernetes/pkg/client/cache.Reflector contains sync.RWMutex
pkg/authorization/cache/clusterpolicybinding.go:27: NewReadOnlyClusterPolicyBindingCache returns Lock by value: cache.readOnlyClusterPolicyBindingCache contains k8s.io/kubernetes/pkg/client/cache.Reflector contain
[deads@deads-dev-01 origin]$ git checkout master && git fetch upstream && git merge upstream/master && git push && make clean build && go get -u golang.org/x/tools/cmd/vet && hack/verify-govet.sh
Already on 'master'
Your branch is up-to-date with 'origin/master'.
remote: Counting objects: 14, done.
remote: Compressing objects: 100% (13/13), done.
remote: Total 14 (delta 3), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (14/14), done.
From https://github.com/openshift/origin
+ c33e432...4049d18 refs/pull/3996/head -> origin/pr/3996 (forced update)
+ 74378e4...baf031c refs/pull/4723/head -> origin/pr/4723 (forced update)
./assets/assets.go
./assets/doc.go
./cmd/doc.go
./cmd/dockerregistry/doc.go
./cmd/dockerregistry/main.go
./cmd/genbashcomp/gen_openshift_bash_comp.go
./cmd/genconversion/conversion.go
./cmd/gendeepcopy/deep_copy.go
./cmd/gendocs/gen_openshift_docs.go
./cmd/gitserver/gitserver.go
[deads@deads-dev-01 origin]$ hack/verify-govet.sh
Checking file assets/assets.go
Checking file assets/doc.go
Checking file cmd/doc.go
Checking file cmd/dockerregistry/doc.go
Checking file cmd/dockerregistry/main.go
vet: cmd/genbashcomp/gen_openshift_bash_comp.go:54:49: too many arguments
Checking file cmd/genbashcomp/gen_openshift_bash_comp.go
vet: cmd/genconversion/conversion.go:58:26: cannot pass argument sets.NewString("k8s.io/kubernetes/pkg/runtime") (value of type k8s.io/kubernetes/pkg/util/sets.String) to parameter of type k8s.io/kubernetes/pkg/util.StringSet
Checking file cmd/genconversion/conversion.go
pkg/api/graph/graph.go:85: github.com/gonum/graph/concrete.Edge composite literal uses unkeyed fields
pkg/api/graph/graph.go:653: arg edgeKind for printf verb %d of wrong type: string
pkg/auth/ldaputil/query_test.go:188: possible formatting directive in Error call
pkg/authorization/cache/clusterpolicy.go:27: NewReadOnlyClusterPolicyCache returns Lock by value: cache.readOnlyClusterPolicyCache contains k8s.io/kubernetes/pkg/client/cache.Reflector contains sync.RWMutex
pkg/authorization/cache/clusterpolicy.go:106: newReadOnlyClusterPolicies passes Lock by value: cache.readOnlyAuthorizationCache contains cache.readOnlyPolicyCache contains k8s.io/kubernetes/pkg/client/cache.Reflector contains sync.RWMutex
pkg/authorization/cache/clusterpolicybinding.go:27: NewReadOnlyClusterPolicyBindingCache returns Lock by value: cache.readOnlyClusterPolicyBindingCache contains k8s.io/kubernetes/pkg/client/cache.Reflector contains sync.RWMutex
pkg/authorization/cache/clusterpolicybinding.go:106: newReadOnlyClusterPolicyBindings
[deads@deads-dev-01 origin]$ oc get bc -o yaml
apiVersion: v1
items:
- apiVersion: v1
kind: BuildConfig
metadata:
annotations:
openshift.io/generated-by: OpenShiftNewApp
creationTimestamp: 2015-10-08T13:20:23Z
labels:
[deads@deads-dev-01 origin]$ oc describe pods/origin-4-build
Name: origin-4-build
Namespace: ldap2
Image(s): openshift/origin-docker-builder:latest
Node: 127.0.0.1/127.0.0.1
Start Time: Mon, 12 Oct 2015 14:15:38 -0400
Labels: openshift.io/build.name=origin-4
Status: Succeeded
Reason:
Message: