Skip to content

Instantly share code, notes, and snippets.

View soltysh's full-sized avatar
🌪️
up & running

Maciej Szulik soltysh

🌪️
up & running
  • Red Hat, Inc
  • Poland
  • 00:49 (UTC +02:00)
  • X @soltysh
View GitHub Profile
I0322 16:11:07.653982 1 patch.go:66] FLAGSET: service controller
I0322 16:11:07.654077 1 flags.go:33] FLAG: --concurrent-service-syncs="1"
I0322 16:11:07.654087 1 patch.go:66] FLAGSET: secure serving
I0322 16:11:07.654094 1 flags.go:33] FLAG: --bind-address="0.0.0.0"
I0322 16:11:07.654100 1 flags.go:33] FLAG: --cert-dir="/var/run/kubernetes"
I0322 16:11:07.654117 1 flags.go:33] FLAG: --http2-max-streams-per-connection="0"
I0322 16:11:07.654123 1 flags.go:33] FLAG: --secure-port="10257"
I0322 16:11:07.654128 1 flags.go:33] FLAG: --tls-cert-file=""
I0322 16:11:07.654132 1 flags.go:33] FLAG: --tls-cipher-suites="[]"
I0322 16:11:07.654139 1 flags.go:33] FLAG: --tls-min-version=""
&config.Config{OpenShiftContext:config.OpenShiftContext{OpenShiftConfig:"/etc/kubernetes/static-pod-resources/configmaps/config/config.yaml", OpenShiftDefaultProjectNodeSelector:"", KubeDefaultProjectN
odeSelector:""}, ComponentConfig:config.KubeControllerManagerConfiguration{TypeMeta:v1.TypeMeta{Kind:"", APIVersion:""}, Generic:config.GenericControllerManagerConfiguration{Port:0, Address:"0.0.0.0", MinResyncPeriod:v1.Duration{Duration:43200000000000}, ClientConnection:config.ClientConnectionConfiguration{Kubeconfig:"", AcceptContentTypes:"", ContentType:"application/vnd.kubernetes.protobuf", QPS:150, Burst:300}, ControllerStartInterval:v1.Duration{Duration:0}, LeaderElection:config.LeaderElectionConfiguration{LeaderElect:true, LeaseDuration:v1.Duration{Duration:15000000000}, RenewDeadline:v1.Duration{Duration:10000000000}, RetryPeriod:v1.Duration{Duration:3000000000}, ResourceLock:"configmaps"}, Controllers:[]string{"*", "-ttl", "-bootstrapsigner", "-tokencleaner"}, Debugging:config.DebuggingConfiguration{En
>>>>> config is &config.Config{OpenShiftContext:config.OpenShiftContext{OpenShiftConfig:"/data/src/github.com/openshift/origin/defaultconfig.yaml", OpenShiftDefaultProjectNodeSelector:"", KubeDefaultProjectNodeSelector:""}, ComponentConfig:config.KubeControllerManagerConfiguration{TypeMeta:v1.TypeMeta{Kind:"", APIVersion:""}, Generic:config.GenericControllerManagerConfiguration{Port:0, Address:"0.0.0.0", MinResyncPeriod:v1.Duration{Duration:43200000000000}, ClientConnection:config.ClientConnectionConfiguration{Kubeconfig:"", AcceptContentTypes:"", ContentType:"application/vnd.kubernetes.protobuf", QPS:150, Burst:300}, ControllerStartInterval:v1.Duration{Duration:0}, LeaderElection:config.LeaderElectionConfiguration{LeaderElect:true, LeaseDuration:v1.Duration{Duration:15000000000}, RenewDeadline:v1.Duration{Duration:10000000000}, RetryPeriod:v1.Duration{Duration:3000000000}, ResourceLock:"configmaps"}, Controllers:[]string{"*", "-ttl", "-bootstrapsigner", "-tokencleaner"}, Debugging:config.DebuggingConfigurati
func schema_pkg_apis_meta_v1_Duration(ref common.ReferenceCallback) common.OpenAPIDefinition {
return common.OpenAPIDefinition{
Schema: spec.Schema{
SchemaProps: spec.SchemaProps{
Description: "Duration is a wrapper around time.Duration which supports correct marshaling to YAML and JSON. In particular, it marshals into strings, which can be used as map keys in json.",
Type: v1.Duration{}.OpenAPISchemaType(),
Format: v1.Duration{}.OpenAPISchemaFormat(),
},
},
}
@soltysh
soltysh / flakes.py
Last active January 28, 2019 12:14
from csv import writer
from os import remove
from pprint import pprint
from tempfile import mkstemp
from urllib.request import urlopen, URLError
urls = [
'https://storage.googleapis.com/origin-ci-test/pr-logs/pull/21863/pull-ci-openshift-origin-master-e2e-aws/2968/build-log.txt',
'https://storage.googleapis.com/origin-ci-test/pr-logs/pull/21739/pull-ci-openshift-origin-master-e2e-aws/2969/build-log.txt',
#!/usr/bin/env bash
#exit 1
kube="${GOPATH}/src/k8s.io/kubernetes"
for repo in $(ls "${kube}/staging/src/k8s.io" | grep sample-controller); do
echo ====================
echo $repo
echo ====================
https://github.com/kubernetes/kubernetes/pull/72118 #71074: Fixed clearing of devicePath after UnmountDevice
https://github.com/kubernetes/kubernetes/pull/71847 #71515: Enable graceful termination for UDP flows when using kube-proxy in IPVS mode
https://github.com/kubernetes/kubernetes/pull/71771 #71744: fixes autoscaling types conversion
https://github.com/kubernetes/kubernetes/pull/71724 #70898: ensure scheduler preemptor behaves in an efficient/correct
#71281: add an e2e test to verify preemption running path
https://github.com/kubernetes/kubernetes/pull/71621 #71048: Fixes flaky tests for kubectl port-forward
https://github.com/kubernetes/kubernetes/pull/71523 #71095: Remove devicePath dependency for CSI volumes
https://github.com/kubernetes/kubernetes/pull/71432 #71007: TokenRequestProjections should allow API server to default empty audience
https://github.com/kubernetes/kubernetes/pull/71462 #71419: Set deadline for returning backend error
https://gi
E0102 15:37:06.928052 1 oauth_apiserver.go:321] the server could not find the requested resource (post oauthclients.oauth.openshift.io)
I0102 15:37:06.956898 1 log.go:172] http: TLS handshake error from 10.0.83.84:40099: EOF
I0102 15:37:07.007205 1 log.go:172] http: TLS handshake error from 10.0.54.140:33113: EOF
I0102 15:37:07.038780 1 log.go:172] http: TLS handshake error from 10.0.31.197:52824: EOF
I0102 15:37:07.109090 1 log.go:172] http: TLS handshake error from 10.0.34.54:58047: EOF
E0102 15:37:07.144074 1 reflector.go:134] github.com/openshift/client-go/user/informers/externalversions/factory.go:101: Failed to list *v1.Group: the server could not find the requested resource (get groups.user.openshift.io)
E0102 15:37:07.145239 1 reflector.go:134] github.com/openshift/origin/pkg/quota/generated/informers/internalversion/factory.go:101: Failed to list *quota.ClusterResourceQuota: the server could not find the requested resource (get clusterresourcequotas.quota.ope
$ hack/update-generated-openapi.sh
Generating openapi
API rule violation: names_match,github.com/openshift/api/apps/v1,DeploymentLogOptions,NoWait
API rule violation: names_match,github.com/openshift/api/authorization/v1,Action,Group
API rule violation: names_match,github.com/openshift/api/authorization/v1,Action,Version
API rule violation: names_match,github.com/openshift/api/authorization/v1,GroupRestriction,Selectors
API rule violation: names_match,github.com/openshift/api/authorization/v1,LocalSubjectAccessReview,GroupsSlice
API rule violation: names_match,github.com/openshift/api/authorization/v1,PolicyRule,NonResourceURLsSlice
API rule violation: names_match,github.com/openshift/api/authorization/v1,ResourceAccessReviewResponse,UsersSlice
API rule violation: names_match,github.com/openshift/api/authorization/v1,ResourceAccessReviewResponse,GroupsSlice
$ hack/test-cmd.sh basicresources
[INFO] [CLEANUP] Cleaning up temporary directories
Logging to /data/src/github.com/openshift/origin/_output/scripts/test-cmd/logs...
[ERROR] start_etcd
Generating a 2048 bit RSA private key
....................+++++
.............................+++++
writing new private key to '/tmp/tmp.9bwabpvGPR/openshift.local.masterup/etcd/server-ca.key'
-----
2018/11/12 15:43:11 [INFO] generate received request