Skip to content

Instantly share code, notes, and snippets.

View eparis's full-sized avatar

Eric Paris eparis

  • Red Hat
  • Raleigh, NC
View GitHub Profile
$ git diff
diff --git a/cmd/openshift-install/create.go b/cmd/openshift-install/create.go
index 4d53d47e4..700e9ca69 100644
--- a/cmd/openshift-install/create.go
+++ b/cmd/openshift-install/create.go
@@ -31,6 +31,7 @@ import (
assetstore "github.com/openshift/installer/pkg/asset/store"
targetassets "github.com/openshift/installer/pkg/asset/targets"
destroybootstrap "github.com/openshift/installer/pkg/destroy/bootstrap"
+ "github.com/openshift/installer/pkg/types"
I1212 18:41:00.560440 1 leaderelection.go:209] successfully renewed lease openshift-cluster-version/version
E1212 18:41:08.345984 1 sync.go:133] error running apply for clusteroperator "openshift-cluster-openshift-apiserver-operator" (config.openshift.io/v1, 61 of 210): timed out waiting for the condition
I1212 18:41:08.346042 1 cvo.go:279] Finished syncing cluster version "openshift-cluster-version/version" (3m24.436765583s)
I1212 18:41:08.346087 1 cvo.go:264] Error syncing operator openshift-cluster-version/version: Could not update clusteroperator "openshift-cluster-openshift-apiserver-operator" (config.openshift.io/v1, 61 of 210)
I1212 18:41:08.346135 1 cvo.go:277] Started syncing cluster version "openshift-cluster-version/version" (2018-12-12 18:41:08.346131817 +0000 UTC m=+12177.465826752)
I1212 18:41:08.346194 1 cvo.go:293] ClusterVersion: &v1.ClusterVersion{TypeMeta:v1.TypeMeta{Kind:"", APIVersion:""}, ObjectMeta:v1.ObjectMeta{Name:"version", GenerateName:"", Namesp
# oc get servicebindings -n demo-project -o yaml
apiVersion: v1
items:
- apiVersion: servicecatalog.k8s.io/v1beta1
kind: ServiceBinding
metadata:
creationTimestamp: 2018-03-11T16:58:52Z
deletionGracePeriodSeconds: 0
deletionTimestamp: 2018-03-11T20:34:01Z
finalizers:
apiVersion: extensions/v1beta1
kind: NetworkPolicy
metadata:
name: test-network-policy
namespace: default
spec:
podSelector:
matchLabels:
role: db
ingress:
apiVersion: extensions/v1beta1
kind: NetworkPolicy
metadata:
name: test-network-policy
namespace: default
spec:
podSelector:
matchLabels:
role: db
ingress:
I didn't even try CDK. It was just too aweful. I used `oc cluster up`. I'm a Linux guy with a Linux VM. I don't want to run some poor mans virt inside my VM. If my linux host was on GCE or AWS I couldn't. Thank god all of the CDK can be mostly scrapped with `oc cluster up`.
I had a clean F24 minimal VM
I built origin on another machine
I scp'd just oc to the VM
oc cluster up failed with a very good error message (docker was not running)
resolved with:
dnf install -y docker
systemctl start docker
systemtl enable docker
--- docs/api-reference/extensions/v1beta1/definitions.html 2016-03-08 16:20:38.877460369 -0500
+++ /tmp/07oF6j_definitions.html 2016-03-08 17:12:49.986244891 -0500
@@ -5728,7 +5728,7 @@ Both these may change in the future. Inc
</div>
<div id="footer">
<div id="footer-text">
-Last updated 2016-03-08 21:20:37 UTC
+Last updated 2016-03-03 20:23:06 UTC
</div>
</div>
@eparis
eparis / id_rsa.pub
Created November 24, 2015 17:23
SSH public key
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAu+R0HigOOA6qX8DEH8WBs+5yi+kqDxmIOb2GVhRtEvdhKlUzeW54rk/blve1jXN7Y2QgZ4MvLfr+/LZuYU0ImqqCfUOJb0dK4RF7+M+asYEbX6A/ech1GPooSW9Au8pTFUb+/EaxV272xMUGvhNeL8PP51LU9Uy+i0AXL+LeEeq/63zP9fc0tSgRD3FsJWxcuENyyPjUidYE12eeCRqhYNyUU5XDtWDm+tf96WpomZUsis4zzRvUwbz4BwhK2YCOQ3SBMew9eJF2jbBOwv30XgcREgXgh3Mysq5TW/7XQsv0v1JekpMmT15ZREbDcH8Zz/UVGkpYfI6lzspTlg+l8Q== paris@localhost.localdomain
@eparis
eparis / kubectl.path
Created September 3, 2015 20:36
Patch to make bash completions work on Macs
diff --git a/contrib/completions/bash/kubectl b/contrib/completions/bash/kubectl
index c096937..8bc3410 100644
--- a/contrib/completions/bash/kubectl
+++ b/contrib/completions/bash/kubectl
@@ -1,5 +1,10 @@
#!/bin/bash
+__my_init_completion()
+{
+ COMPREPLY=()