This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
items: | |
- apiVersion: v1 | |
kind: Node | |
metadata: | |
annotations: | |
machineconfiguration.openshift.io/currentConfig: rendered-master-a02986a5dfd1082297c5d8cae3a41062 | |
machineconfiguration.openshift.io/desiredConfig: rendered-master-a02986a5dfd1082297c5d8cae3a41062 | |
machineconfiguration.openshift.io/reason: "" | |
machineconfiguration.openshift.io/state: Done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
items: | |
- apiVersion: config.openshift.io/v1 | |
kind: ClusterOperator | |
metadata: | |
creationTimestamp: "2019-09-24T19:09:22Z" | |
generation: 1 | |
name: authentication | |
resourceVersion: "241790" | |
selfLink: /apis/config.openshift.io/v1/clusteroperators/authentication |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Description of problem: | |
Version-Release number of the following components: | |
`./openshift-installer version` | |
`rpm -q openshift-ansible` if openshift-ansible is in use | |
How reproducible: | |
Steps to Reproduce: | |
1. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#debuginfo not supported with Go | |
%global debug_package %{nil} | |
# modifying the Go binaries breaks the DWARF debugging | |
%global __os_install_post %{_rpmconfigdir}/brp-compress | |
%global gopath %{_datadir}/gocode | |
%global import_path github.com/openshift/origin | |
# docker_version is the version of docker requires by packages | |
%global docker_version 1.13 |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Reboot -- | |
Jun 06 16:28:36 ose3-master.example.com systemd[1]: Starting Open Container Initiative Daemon... | |
Jun 06 16:28:50 ose3-master.example.com crio[1279]: time="2018-06-06 16:28:50.221182980-04:00" level=warning msg="hooks path: "/etc/containers/oci/hooks.d" does not exist" | |
Jun 06 16:28:50 ose3-master.example.com crio[1279]: time="2018-06-06 16:28:50.230434161-04:00" level=info msg="CNI network openshift-sdn (type=openshift-sdn) is used from /etc/cni/net.d/80-openshift-network.conf" | |
Jun 06 16:28:50 ose3-master.example.com crio[1279]: time="2018-06-06 16:28:50.232481008-04:00" level=info msg="CNI network openshift-sdn (type=openshift-sdn) is used from /etc/cni/net.d/80-openshift-network.conf" | |
Jun 06 16:28:51 ose3-master.example.com crio[1279]: time="2018-06-06 16:28:51.889148176-04:00" level=warning msg="could not restore sandbox IP for e53683d15a1e51d3eeea86767a4d1aeef9200033675c1722e6d9e9d195a94885: failed to get network status for pod sandbox k8s_asb-etcd-1-deploy_openshift-ansible-service-broker_997 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo ETCD_FORCE_NEW_CLUSTER=true >> /etc/etcd/etcd.conf | |
systemctl restart etcd | |
sed -i '/ETCD_FORCE_NEW_CLUSTER=true/d' /etc/etcd/etcd.conf | |
systemctl restart etcd |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
oadm migrate etcd-ttl --cert /etc/origin/master/master.etcd-client.crt --key /etc/origin/master/master.etcd-client.key --cacert /etc/origin/master/master.etcd-ca.crt --etcd-address https://$(hostname):2379 --ttl-keys-prefix /kubernetes.io/events --lease-duration 1h | |
oadm migrate etcd-ttl --cert /etc/origin/master/master.etcd-client.crt --key /etc/origin/master/master.etcd-client.key --cacert /etc/origin/master/master.etcd-ca.crt --etcd-address https://$(hostname):2379 --ttl-keys-prefix /openshift.io/oauth/accesstokens --lease-duration 2678400s | |
oadm migrate etcd-ttl --cert /etc/origin/master/master.etcd-client.crt --key /etc/origin/master/master.etcd-client.key --cacert /etc/origin/master/master.etcd-ca.crt --etcd-address https://$(hostname):2379 --ttl-keys-prefix /openshift.io/oauth/authorizetokens --lease-duration 300s | |
oadm migrate etcd-ttl --cert /etc/origin/master/master.etcd-client.crt --key /etc/origin/master/master.etcd-client.key --cacert /etc/origin/master/master.etcd-ca.crt --etcd-address |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"apiVersion": "v1", | |
"kind": "Policy", | |
"predicates": [ | |
{ | |
"name": "NoVolumeZoneConflict" | |
}, | |
{ | |
"name": "MaxEBSVolumeCount" | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
etcdctl2() { | |
/usr/bin/etcdctl --cert-file /etc/etcd/peer.crt --key-file /etc/etcd/peer.key --ca-file /etc/etcd/ca.crt -C https://`hostname`:2379 ${@} | |
} | |
etcdctl3() { | |
ETCDCTL_API=3 /usr/bin/etcdctl --cert /etc/etcd/peer.crt --key /etc/etcd/peer.key --cacert /etc/etcd/ca.crt --endpoints https://`hostname`:2379 ${@} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import subprocess | |
system_hostname = subprocess.Popen("hostname -f", shell=True, stdout=subprocess.PIPE).stdout.read().strip() | |
port = '443' | |
cluster_hostname = subprocess.Popen("grep masterURL /etc/origin/master/master-config.yaml | awk '{ print $2 }' | cut -d/ -f3 | cut -d: -f1", shell=True, stdout=subprocess.PIPE).stdout.read().strip() | |
print "oc config set-cluster --certificate-authority=/etc/origin/master/ca.crt --embed-certs=true --server=https://{0}:{1} {2}:{1} --config=/etc/origin/master/openshift-master.kubeconfig".format(system_hostname, port, system_hostname.replace('.', '-')) | |
print "oc config set-context --cluster={0}:{1} --namespace=default --user=system:openshift-master/{2}:{1} default/{0}:{1}/system:openshift-master --config=/etc/origin/master/openshift-master.kubeconfig".format(system_hostname.replace('.', '-'), port, cluster_hostname.replace('.', '-')) | |
print "oc config use-context default/{0}:{1}/system:openshift-master --config=/etc/origin/master/openshift-master.kubeconfi |
NewerOlder