origin icon indicating copy to clipboard operation
origin copied to clipboard

External kubernetes master connections failing with authentication failure

Open paralin opened this issue 10 years ago • 43 comments

Version

oc v1.1.3

Server Version: version.Info{Major:"1", Minor:"2+", GitVersion:"v1.2.0-beta.1", GitCommit:"77eff081f022242e5736b8c2e1ca2058ca61a733", GitTreeState:"clean"}

Description

It seems that deployments under Kubernetes Stock don't seem to work properly. They are stuck in the "new" state with a 0 replica RC.

How reproducible

  1. Deploy to an existing cluster. I used my deployment setup
  2. Attempt to deploy a registry with oadm registry --config=admin.kubeconfig --credentials=openshift-registry.kubeconfig.

Current result

Output of oc describe dc docker-registry:

Name:       docker-registry
Created:    6 minutes ago
Labels:     docker-registry=default
Annotations:    <none>
Latest Version: 1
Triggers:   Config
Strategy:   Rolling
Template:
  Selector: docker-registry=default
  Replicas: 1
  Containers:
  NAME      IMAGE                   ENV
  registry  openshift/origin-docker-registry:v1.1.3 OPENSHIFT_CA_DATA=-----BEGIN CERTIFICATE-----
[redacted cert data]
-----END CERTIFICATE-----
,OPENSHIFT_CERT_DATA=-----BEGIN CERTIFICATE-----
[redacted cert data]
-----END CERTIFICATE-----
,OPENSHIFT_INSECURE=false,OPENSHIFT_KEY_DATA=-----BEGIN RSA PRIVATE KEY-----
[redacted key data]
-----END RSA PRIVATE KEY-----
,OPENSHIFT_MASTER=https://10.0.62.64:443,REGISTRY_HTTP_ADDR=:5000,REGISTRY_HTTP_NET=tcp,REGISTRY_HTTP_SECRET=bGgCaXl42JAmNy9tAHEP5GHxKdQvQq1Nii42YxPOL2w=
Deployment #1 (latest):
    Name:       docker-registry-1
    Created:    6 minutes ago
    Status:     New
    Replicas:   0 current / 0 desired
    Selector:   deployment=docker-registry-1,deploymentconfig=docker-registry,docker-registry=default
    Labels:     docker-registry=default,openshift.io/deployment-config.name=docker-registry
    Pods Status:    0 Running / 0 Waiting / 0 Succeeded / 0 Failed
Events:
  FirstSeen LastSeen    Count   From                SubobjectPath   Type        Reason          Message
  --------- --------    -----   ----                -------------   --------    ------          -------
  6m        6m      1   {deploymentconfig-controller }          Normal      DeploymentCreated   Created new deployment "docker-registry-1" for version 1

The DeploymentConfig stays like this forever.

Output of logs from openshift master:

W0312 03:27:37.874646       1 start_master.go:274] assetConfig.loggingPublicURL: Invalid value: "": required to view aggregated container logs in the console
W0312 03:27:37.874839       1 start_master.go:274] assetConfig.metricsPublicURL: Invalid value: "": required to view cluster metrics in the console
I0312 03:27:38.567040       1 start_master.go:385] Starting master on 0.0.0.0:443 (v1.1.3)
I0312 03:27:38.567115       1 start_master.go:386] Public master address is https://os.paral.in:443
I0312 03:27:38.567186       1 start_master.go:390] Using images from "openshift/origin-<component>:v1.1.3"
I0312 03:27:38.731792       1 run_components.go:187] Using default project node label selector: 
W0312 03:27:39.368310       1 swagger.go:32] No API exists for predefined swagger description /api/v1
I0312 03:27:39.369186       1 master.go:249] Started Kubernetes proxy at 0.0.0.0:443/api/
I0312 03:27:39.369237       1 master.go:249] Started Origin API at 0.0.0.0:443/oapi/v1
I0312 03:27:39.369268       1 master.go:249] Started OAuth2 API at 0.0.0.0:443/oauth
I0312 03:27:39.369297       1 master.go:249] Started Login endpoint at 0.0.0.0:443/login
I0312 03:27:39.369321       1 master.go:249] Started Web Console 0.0.0.0:443/console/
I0312 03:27:39.369344       1 master.go:249] Started Swagger Schema API at 0.0.0.0:443/swaggerapi/
E0312 03:27:39.730402       1 ensure.go:164] Unable to create default security context constraint privileged.  Got error: the server could not find the requested resource
E0312 03:27:39.732356       1 ensure.go:164] Unable to create default security context constraint nonroot.  Got error: the server could not find the requested resource
E0312 03:27:39.734181       1 ensure.go:164] Unable to create default security context constraint hostmount-anyuid.  Got error: the server could not find the requested resource
E0312 03:27:39.736011       1 ensure.go:164] Unable to create default security context constraint hostaccess.  Got error: the server could not find the requested resource
E0312 03:27:39.737815       1 ensure.go:164] Unable to create default security context constraint restricted.  Got error: the server could not find the requested resource
E0312 03:27:39.739739       1 ensure.go:164] Unable to create default security context constraint anyuid.  Got error: the server could not find the requested resource
2016-03-12 03:27:40.239891 I | http: TLS handshake error from 10.244.0.1:47682: EOF
2016-03-12 03:27:40.240032 I | http: TLS handshake error from 172.20.0.166:22515: EOF
2016-03-12 03:27:40.240227 I | http: TLS handshake error from 172.20.0.165:41236: EOF
2016-03-12 03:27:40.877171 I | skydns: ready for queries on cluster.local. for tcp4://0.0.0.0:53 [rcache 0]
2016-03-12 03:27:40.877268 I | skydns: ready for queries on cluster.local. for udp4://0.0.0.0:53 [rcache 0]
I0312 03:27:40.976746       1 run_components.go:182] DNS listening at 0.0.0.0:53
I0312 03:27:40.977959       1 start_master.go:529] Controllers starting (*)
I0312 03:27:40.978048       1 run_components.go:86] Skipped starting Service Account Token Manager, no private key specified
I0312 03:27:41.807394       1 start_master.go:609] Started Origin Controllers
2016-03-12 03:27:42.446812 I | http: TLS handshake error from 10.244.0.1:12966: EOF
2016-03-12 03:27:42.447817 I | http: TLS handshake error from 172.20.0.166:55746: EOF
2016-03-12 03:27:42.447922 I | http: TLS handshake error from 172.20.0.165:21679: EOF
[the previous three lines repeated hundreds of times]

The TLS handshake errors might be related.

Querying replication controllers, creating pods, and viewing everything from the web console, all works fine. A replication controller is also created properly, it's just not scaled up. And trying to scale it up seems to lead to nothing happening.

Output of kubectl get all in the default namespace:

apiVersion: v1
items:
- apiVersion: v1
  kind: DeploymentConfig
  metadata:
    creationTimestamp: 2016-03-12T08:30:18Z
    labels:
      docker-registry: default
    name: docker-registry
    namespace: default
    resourceVersion: "154"
    selfLink: /oapi/v1/namespaces/default/deploymentconfigs/docker-registry
    uid: a716ad5c-e82c-11e5-877a-02420af40006
  spec:
    replicas: 1
    selector:
      docker-registry: default
    strategy:
      resources: {}
      rollingParams:
        intervalSeconds: 1
        maxSurge: 25%
        maxUnavailable: 25%
        timeoutSeconds: 600
        updatePeriodSeconds: 1
      type: Rolling
    template:
      metadata:
        creationTimestamp: null
        labels:
          docker-registry: default
      spec:
        containers:
        - env:
          - name: OPENSHIFT_CA_DATA
            value: |
              -----BEGIN CERTIFICATE-----
              [redacted cert]
              -----END CERTIFICATE-----
          - name: OPENSHIFT_CERT_DATA
            value: |
              [redacted cert]
              -----END CERTIFICATE-----
          - name: OPENSHIFT_INSECURE
            value: "false"
          - name: OPENSHIFT_KEY_DATA
            value: |
              -----BEGIN RSA PRIVATE KEY-----
              [redacted key]
              -----END RSA PRIVATE KEY-----
          - name: OPENSHIFT_MASTER
            value: https://10.0.62.64:443
          - name: REGISTRY_HTTP_ADDR
            value: :5000
          - name: REGISTRY_HTTP_NET
            value: tcp
          - name: REGISTRY_HTTP_SECRET
            value: RwSB4fAJPYzrQBhqxxKtdjzywvbSOGBW8BRxGonfTck=
          image: openshift/origin-docker-registry:v1.1.3
          imagePullPolicy: IfNotPresent
          livenessProbe:
            failureThreshold: 3
            httpGet:
              path: /healthz
              port: 5000
              scheme: HTTP
            initialDelaySeconds: 10
            periodSeconds: 10
            successThreshold: 1
            timeoutSeconds: 5
          name: registry
          ports:
          - containerPort: 5000
            protocol: TCP
          readinessProbe:
            failureThreshold: 3
            httpGet:
              path: /healthz
              port: 5000
              scheme: HTTP
            periodSeconds: 10
            successThreshold: 1
            timeoutSeconds: 5
          resources: {}
          securityContext:
            privileged: false
          terminationMessagePath: /dev/termination-log
          volumeMounts:
          - mountPath: /registry
            name: registry-storage
        dnsPolicy: ClusterFirst
        restartPolicy: Always
        securityContext: {}
        terminationGracePeriodSeconds: 30
        volumes:
        - emptyDir: {}
          name: registry-storage
    test: false
    triggers:
    - type: ConfigChange
  status:
    details:
      causes:
      - type: ConfigChange
    latestVersion: 1
- apiVersion: v1
  kind: ReplicationController
  metadata:
    annotations:
      kubectl.kubernetes.io/desired-replicas: "1"
      openshift.io/deployment-config.latest-version: "1"
      openshift.io/deployment-config.name: docker-registry
      openshift.io/deployment.phase: New
      openshift.io/deployment.replicas: "0"
      openshift.io/encoded-deployment-config: [redacted encoded config]
    creationTimestamp: 2016-03-12T08:30:18Z
    generation: 1
    labels:
      docker-registry: default
      openshift.io/deployment-config.name: docker-registry
    name: docker-registry-1
    namespace: default
    resourceVersion: "6910"
    selfLink: /api/v1/namespaces/default/replicationcontrollers/docker-registry-1
    uid: a71efc23-e82c-11e5-b8b0-065db116a2cf
  spec:
    replicas: 0
    selector:
      deployment: docker-registry-1
      deploymentconfig: docker-registry
      docker-registry: default
    template:
      metadata:
        annotations:
          openshift.io/deployment-config.latest-version: "1"
          openshift.io/deployment-config.name: docker-registry
          openshift.io/deployment.name: docker-registry-1
        creationTimestamp: null
        labels:
          deployment: docker-registry-1
          deploymentconfig: docker-registry
          docker-registry: default
      spec:
        containers:
        - env:
          - name: OPENSHIFT_CA_DATA
            value: |
              -----BEGIN CERTIFICATE-----
              [redacted cert]
              -----END CERTIFICATE-----
          - name: OPENSHIFT_CERT_DATA
            value: |
              -----BEGIN CERTIFICATE-----
              [redacted cert]
              -----END CERTIFICATE-----
          - name: OPENSHIFT_INSECURE
            value: "false"
          - name: OPENSHIFT_KEY_DATA
            value: |
              -----BEGIN RSA PRIVATE KEY-----
             [redacted key]
              -----END RSA PRIVATE KEY-----
          - name: OPENSHIFT_MASTER
            value: https://10.0.62.64:443
          - name: REGISTRY_HTTP_ADDR
            value: :5000
          - name: REGISTRY_HTTP_NET
            value: tcp
          - name: REGISTRY_HTTP_SECRET
            value: RwSB4fAJPYzrQBhqxxKtdjzywvbSOGBW8BRxGonfTck=
          image: openshift/origin-docker-registry:v1.1.3
          imagePullPolicy: IfNotPresent
          livenessProbe:
            failureThreshold: 3
            httpGet:
              path: /healthz
              port: 5000
              scheme: HTTP
            initialDelaySeconds: 10
            periodSeconds: 10
            successThreshold: 1
            timeoutSeconds: 5
          name: registry
          ports:
          - containerPort: 5000
            protocol: TCP
          readinessProbe:
            failureThreshold: 3
            httpGet:
              path: /healthz
              port: 5000
              scheme: HTTP
            periodSeconds: 10
            successThreshold: 1
            timeoutSeconds: 5
          resources: {}
          securityContext:
            privileged: false
          terminationMessagePath: /dev/termination-log
          volumeMounts:
          - mountPath: /registry
            name: registry-storage
        dnsPolicy: ClusterFirst
        restartPolicy: Always
        securityContext: {}
        terminationGracePeriodSeconds: 30
        volumes:
        - emptyDir: {}
          name: registry-storage
  status:
    observedGeneration: 1
    replicas: 0
- apiVersion: v1
  kind: Service
  metadata:
    creationTimestamp: 2016-03-12T08:30:18Z
    labels:
      docker-registry: default
    name: docker-registry
    namespace: default
    resourceVersion: "6912"
    selfLink: /api/v1/namespaces/default/services/docker-registry
    uid: a727712f-e82c-11e5-b8b0-065db116a2cf
  spec:
    clusterIP: 10.0.106.115
    portalIP: 10.0.106.115
    ports:
    - name: 5000-tcp
      port: 5000
      protocol: TCP
      targetPort: 5000
    selector:
      docker-registry: default
    sessionAffinity: ClientIP
    type: ClusterIP
  status:
    loadBalancer: {}
- apiVersion: v1
  kind: Service
  metadata:
    creationTimestamp: 2016-03-12T02:42:26Z
    labels:
      component: apiserver
      provider: kubernetes
    name: kubernetes
    namespace: default
    resourceVersion: "7"
    selfLink: /api/v1/namespaces/default/services/kubernetes
    uid: 0e908aeb-e7fc-11e5-b8b0-065db116a2cf
  spec:
    clusterIP: 10.0.0.1
    portalIP: 10.0.0.1
    ports:
    - name: https
      port: 443
      protocol: TCP
      targetPort: 443
    sessionAffinity: None
    type: ClusterIP
  status:
    loadBalancer: {}
kind: List
metadata: {}

Expected result

The replication controller should be created and the deployment should complete.

Additional information

Diagnostics:

[Note] Determining if client configuration exists for client/cluster diagnostics
Info:  Successfully read a client config file at 'admin.kubeconfig'
Info:  Successfully read a client config file at '/home/paralin/.kube/config'
Info:  Using context for cluster-admin access: 'default/os-paral-in:443/system:admin'

[Note] Running diagnostic: ConfigContexts[default/os-paral-in:443/system:admin]
       Description: Validate client config context is complete and has connectivity

Info:  The current client config context is 'default/os-paral-in:443/system:admin':
       The server URL is 'https://os.paral.in:443'
       The user authentication is 'system:admin/10-0-62-64:443'
       The current project is 'default'
       Successfully requested project list; has access to project(s):
         [openshift-origin default kube-system openshift openshift-infra]

[Note] Running diagnostic: DiagnosticPod
       Description: Create a pod to run diagnostics from the application standpoint

ERROR: [DCli2012 from diagnostic DiagnosticPod@openshift/origin/pkg/diagnostics/client/run_diagnostics_pod.go:155]
       See the errors below in the output from the diagnostic pod:
       [Note] Running diagnostic: PodCheckAuth
              Description: Check that service account credentials authenticate as expected

       ERROR: [DP1003 from diagnostic PodCheckAuth@openshift/origin/pkg/diagnostics/pod/auth.go:87]
              Could not authenticate to the master with the service account credentials: the server could not find the requested resource (get users ~)

       ERROR: [DP1014 from diagnostic PodCheckAuth@openshift/origin/pkg/diagnostics/pod/auth.go:163]
              Request to integrated registry timed out; this typically indicates network or SDN problems.

       [Note] Running diagnostic: PodCheckDns
              Description: Check that DNS within a pod works as expected

       [Note] Summary of diagnostics execution (version v1.1.3):
       [Note] Errors seen: 2

[Note] Running diagnostic: ClusterRegistry
       Description: Check that there is a working Docker registry

ERROR: [DClu1006 from diagnostic ClusterRegistry@openshift/origin/pkg/diagnostics/cluster/registry.go:202]
       The "docker-registry" service exists but has no associated pods, so it
       is not available. Builds and deployments that use the registry will fail.

ERROR: [DClu1001 from diagnostic ClusterRegistry@openshift/origin/pkg/diagnostics/cluster/registry.go:172]
       The "docker-registry" service exists but no pods currently running, so it
       is not available. Builds and deployments that use the registry will fail.

[Note] Running diagnostic: ClusterRoleBindings
       Description: Check that the default ClusterRoleBindings are present and contain the expected subjects

Info:  clusterrolebinding/cluster-admins has more subjects than expected.

       Use the `oadm policy reconcile-cluster-role-bindings` command to update the role binding to remove extra subjects.

Info:  clusterrolebinding/cluster-admins has extra subject {User  paralin    }.

[Note] Running diagnostic: ClusterRoles
       Description: Check that the default ClusterRoles are present and contain the expected permissions

[Note] Running diagnostic: ClusterRouterName
       Description: Check there is a working router

WARN:  [DClu2001 from diagnostic ClusterRouter@openshift/origin/pkg/diagnostics/cluster/router.go:128]
       There is no "router" DeploymentConfig. The router may have been named
       something different, in which case this warning may be ignored.

       A router is not strictly required; however it is needed for accessing
       pods from external networks and its absence likely indicates an incomplete
       installation of the cluster.

       Use the 'oadm router' command to create a router.

[Note] Running diagnostic: MasterNode
       Description: Check if master is also running node (for Open vSwitch)

ERROR: [DClu3002 from diagnostic MasterNode@openshift/origin/pkg/diagnostics/cluster/master_node.go:98]
       Client error while retrieving node records. Client retrieved records
       during discovery, so this is likely to be a transient error. Try running
       diagnostics again. If this message persists, there may be a permissions
       problem with getting node records. The error was:

       (*errors.StatusError) found '<', expected: !, identifier, or 'end of string'

[Note] Running diagnostic: NodeDefinitions
       Description: Check node records on master

[Note] Summary of diagnostics execution (version v1.1.3):
[Note] Warnings seen: 1
[Note] Errors seen: 4

I think the pod serviceaccount test is failing because it's hitting Kubernetes, not OpenShift with the service account info.

paralin avatar Mar 12 '16 08:03 paralin

@derekwaynecarr Probably this is related to running under Kubernetes

paralin avatar Mar 12 '16 08:03 paralin

Seems to be a problem with some Origin controllers not starting. Just by looking at what you ve got here I am guessing at least the deployment controller never started (deployment stuck in New phase with no deployer in the output of kubectl get all). cc: @ironcladlou @ncdc

0xmichalis avatar Mar 14 '16 14:03 0xmichalis

Yeah that seems correct. I've re-deployed several times and it just doesn't seem to create the deployment pod.

paralin avatar Mar 14 '16 15:03 paralin

Builds aren't starting either :(

paralin avatar Mar 14 '16 15:03 paralin

@kargakis Anything I can do to debug this? It's a huge blocker on our end, I'm working on moving our entire app and backend to OpenShift/Kube but I can't start any deployments / builds

paralin avatar Mar 14 '16 15:03 paralin

@ncdc or @derekwaynecarr can you please help

0xmichalis avatar Mar 14 '16 15:03 0xmichalis

I'd also be happy to provide credentials to the cluster of you would like to debug the situation. It's just a test environment.

paralin avatar Mar 14 '16 15:03 paralin

I don't think this is an authentication or permissions issue as OpenShift is able to create namespaces, scale replication controllers, and "edit yaml" just fine.

paralin avatar Mar 14 '16 15:03 paralin

@paralin we probably won't have time to dig into this until later (we're working on getting a release out the door)

ncdc avatar Mar 14 '16 15:03 ncdc

This could be something:

E0314 14:31:36.507864       1 create_dockercfg_secrets.go:116] serviceaccounts "builder" not found
E0314 14:31:36.518614       1 create_dockercfg_secrets.go:116] serviceaccounts "default" not found
E0314 14:31:36.522627       1 create_dockercfg_secrets.go:116] serviceaccounts "deployer" not found

paralin avatar Mar 14 '16 15:03 paralin

However, oc get serviceaccounts --namespace=test yields:

NAME       SECRETS   AGE
builder    2         21m
default    2         21m
deployer   2         21m

paralin avatar Mar 14 '16 15:03 paralin

I got rid of the handshake errors by changing my AWS Elastic Load Balancer to not use a TCP health check. The build pod issue still stands.

@ncdc I'm going to keep poking around and see if I can figure out what's wrong. I have to fix this to proceed with anything so hopefully I can find the problem :)

paralin avatar Mar 14 '16 15:03 paralin

@ncdc Could this be it?

I0314 15:38:48.170548       1 run_components.go:86] Skipped starting Service Account Token Manager, no private key specified 

paralin avatar Mar 14 '16 15:03 paralin

@paralin yes if you want service account tokens, you have to provide a key

ncdc avatar Mar 14 '16 16:03 ncdc

@ncdc But would this cause the builds to not start?

paralin avatar Mar 14 '16 17:03 paralin

Also if this is the case, do you know of any way to get that key from the Kubernetes API without actually doing any SSHs into the server?

Currently I get the service account public key by running a pod in the cluster, I'd really like to avoid ssh at all because it's provider specific.

paralin avatar Mar 14 '16 17:03 paralin

running on external kube, all you need is the public service account key. the token controller (running on kube) will handle creation of the service account tokens

liggitt avatar Mar 14 '16 17:03 liggitt

@liggitt Alright, this should work then. Is there anything else I could examine to see why the build / deploy pods are not being created?

paralin avatar Mar 14 '16 17:03 paralin

Full logs, running on v1.1.4, will be re-spinning a fresh cluster in a few minutes with the new version as well.

W0314 18:21:01.298227       1 start_master.go:267] assetConfig.loggingPublicURL: Invalid value: "": required to view aggregated container logs in the console
W0314 18:21:01.298421       1 start_master.go:267] assetConfig.metricsPublicURL: Invalid value: "": required to view cluster metrics in the console
I0314 18:21:02.698847       1 start_master.go:380] Starting master on 0.0.0.0:443 (v1.1.4)
I0314 18:21:02.698933       1 start_master.go:381] Public master address is https://os.paral.in:443
I0314 18:21:02.699011       1 start_master.go:385] Using images from "openshift/origin-<component>:v1.1.4"
I0314 18:21:03.013025       1 run_components.go:200] Using default project node label selector: 
W0314 18:21:04.162719       1 swagger.go:32] No API exists for predefined swagger description /api/v1
I0314 18:21:04.163627       1 master.go:262] Started Kubernetes proxy at 0.0.0.0:443/api/
I0314 18:21:04.163674       1 master.go:262] Started Origin API at 0.0.0.0:443/oapi/v1
I0314 18:21:04.163709       1 master.go:262] Started OAuth2 API at 0.0.0.0:443/oauth
I0314 18:21:04.163736       1 master.go:262] Started Login endpoint at 0.0.0.0:443/login
I0314 18:21:04.163762       1 master.go:262] Started Web Console 0.0.0.0:443/console/
I0314 18:21:04.163787       1 master.go:262] Started Swagger Schema API at 0.0.0.0:443/swaggerapi/
E0314 18:21:04.697412       1 ensure.go:164] Unable to create default security context constraint privileged.  Got error: the server could not find the requested resource
E0314 18:21:04.753149       1 ensure.go:164] Unable to create default security context constraint nonroot.  Got error: the server could not find the requested resource
E0314 18:21:04.755389       1 ensure.go:164] Unable to create default security context constraint hostmount-anyuid.  Got error: the server could not find the requested resource
E0314 18:21:04.757162       1 ensure.go:164] Unable to create default security context constraint hostaccess.  Got error: the server could not find the requested resource
E0314 18:21:04.758856       1 ensure.go:164] Unable to create default security context constraint restricted.  Got error: the server could not find the requested resource
E0314 18:21:04.760638       1 ensure.go:164] Unable to create default security context constraint anyuid.  Got error: the server could not find the requested resource
E0314 18:21:04.762643       1 ensure.go:164] Unable to create default security context constraint hostnetwork.  Got error: the server could not find the requested resource
I0314 18:21:05.347546       1 trace.go:57] Trace "Update /oapi/v1/clusterroles/system:daemonset-controller" (started 2016-03-14 18:21:05.017191602 +0000 UTC):
[39.712µs] [39.712µs] About to convert to expected version
[208.601µs] [168.889µs] Conversion done
[219.425µs] [10.824µs] About to store object in database
[330.191775ms] [329.97235ms] Object stored in database
[330.201416ms] [9.641µs] Self-link added
[330.300983ms] [99.567µs] END
I0314 18:21:06.138873       1 trace.go:57] Trace "Update /oapi/v1/clusterrolebindings/system:hpa-controller" (started 2016-03-14 18:21:05.741909565 +0000 UTC):
[29.706µs] [29.706µs] About to convert to expected version
[141.883µs] [112.177µs] Conversion done
[150.714µs] [8.831µs] About to store object in database
[396.733145ms] [396.582431ms] Object stored in database
[396.743101ms] [9.956µs] Self-link added
[396.930166ms] [187.065µs] END
I0314 18:21:07.518796       1 run_components.go:195] DNS listening at 0.0.0.0:53
I0314 18:21:07.519922       1 start_master.go:524] Controllers starting (*)
I0314 18:21:07.520356       1 run_components.go:99] Skipped starting Service Account Token Manager, no private key specified
I0314 18:21:09.818191       1 trace.go:57] Trace "decodeNodeList *[]api.ImageStream" (started 2016-03-14 18:21:08.838025984 +0000 UTC):
[980.138694ms] [980.138694ms] Decoded 2 nodes
[980.139722ms] [1.028µs] END
I0314 18:21:09.819182       1 trace.go:57] Trace "decodeNodeList *[]api.ImageStream" (started 2016-03-14 18:21:08.8380237 +0000 UTC):
[1.594µs] [1.594µs] Decoding dir /openshift.io/imagestreams/dev-1 START
[980.32526ms] [980.323666ms] Decoding dir /openshift.io/imagestreams/dev-1 END
[980.326615ms] [1.355µs] Decoding dir /openshift.io/imagestreams/test START
[981.125408ms] [798.793µs] Decoding dir /openshift.io/imagestreams/test END
[981.126191ms] [783ns] Decoded 2 nodes
[981.126824ms] [633ns] END
I0314 18:21:09.819271       1 trace.go:57] Trace "List *api.ImageStreamList" (started 2016-03-14 18:21:08.724332297 +0000 UTC):
[6.282µs] [6.282µs] About to list etcd node
[113.689935ms] [113.683653ms] Etcd node listed
[1.094909027s] [981.219092ms] Node list decoded
[1.094917419s] [8.392µs] END
I0314 18:21:09.820534       1 trace.go:57] Trace "List /oapi/v1/imagestreams" (started 2016-03-14 18:21:08.724261364 +0000 UTC):
[64.778µs] [64.778µs] About to List from storage
[1.095088626s] [1.095023848s] Listing from storage done
[1.095154675s] [66.049µs] Self-linking done
[1.096248726s] [1.094051ms] Writing http response done (4 items)
[1.096249548s] [822ns] END
I0314 18:21:10.615998       1 start_master.go:607] Started Origin Controllers
E0314 18:25:36.599033       1 create_dockercfg_secrets.go:116] serviceaccounts "builder" not found
E0314 18:25:36.601987       1 create_dockercfg_secrets.go:116] serviceaccounts "default" not found
I0314 18:26:48.026619       1 trace.go:57] Trace "Create /oapi/v1/projectrequests" (started 2016-03-14 18:26:47.606003966 +0000 UTC):
[37.907µs] [37.907µs] About to convert to expected version
[106.242µs] [68.335µs] Conversion done
[113.736µs] [7.494µs] About to store object in database
[420.502626ms] [420.38889ms] Object stored in database
[420.508678ms] [6.052µs] Self-link added
[420.58175ms] [73.072µs] END
I0314 18:27:10.997841       1 trace.go:57] Trace "Create /oapi/v1/namespaces/deploy-test/imagestreamimports" (started 2016-03-14 18:27:09.337135026 +0000 UTC):
[19.988µs] [19.988µs] About to convert to expected version
[160.574µs] [140.586µs] Conversion done
[311.659µs] [151.085µs] About to store object in database
[1.659425173s] [1.659113514s] Object stored in database
[1.659439867s] [14.694µs] Self-link added
[1.66066412s] [1.224253ms] END
E0314 18:27:11.554221       1 config_controller.go:76] error instantiating Build from BuildConfig deploy-test/ruby-hello-world: imagestreamtags "ruby-20-centos7:latest" not found
E0314 18:27:11.568915       1 config_controller.go:76] error instantiating Build from BuildConfig deploy-test/ruby-hello-world: imagestreamtags "ruby-20-centos7:latest" not found
E0314 18:27:11.575088       1 config_controller.go:76] error instantiating Build from BuildConfig deploy-test/ruby-hello-world: imagestreamtags "ruby-20-centos7:latest" not found
E0314 18:27:11.589786       1 config_controller.go:76] error instantiating Build from BuildConfig deploy-test/ruby-hello-world: imagestreamtags "ruby-20-centos7:latest" not found
E0314 18:27:11.596733       1 config_controller.go:76] error instantiating Build from BuildConfig deploy-test/ruby-hello-world: imagestreamtags "ruby-20-centos7:latest" not found
E0314 18:27:11.611832       1 config_controller.go:76] error instantiating Build from BuildConfig deploy-test/ruby-hello-world: imagestreamtags "ruby-20-centos7:latest" not found
E0314 18:27:11.618613       1 config_controller.go:76] error instantiating Build from BuildConfig deploy-test/ruby-hello-world: imagestreamtags "ruby-20-centos7:latest" not found
E0314 18:27:11.633919       1 config_controller.go:76] error instantiating Build from BuildConfig deploy-test/ruby-hello-world: imagestreamtags "ruby-20-centos7:latest" not found
E0314 18:27:11.649992       1 config_controller.go:76] error instantiating Build from BuildConfig deploy-test/ruby-hello-world: imagestreamtags "ruby-20-centos7:latest" not found
E0314 18:27:11.670145       1 config_controller.go:76] error instantiating Build from BuildConfig deploy-test/ruby-hello-world: imagestreamtags "ruby-20-centos7:latest" not found
E0314 18:27:11.676511       1 config_controller.go:76] error instantiating Build from BuildConfig deploy-test/ruby-hello-world: imagestreamtags "ruby-20-centos7:latest" not found
E0314 18:27:11.682732       1 config_controller.go:76] error instantiating Build from BuildConfig deploy-test/ruby-hello-world: imagestreamtags "ruby-20-centos7:latest" not found
I0314 18:27:12.130879       1 trace.go:57] Trace "Create /oapi/v1/namespaces/deploy-test/imagestreamimports" (started 2016-03-14 18:27:11.19275608 +0000 UTC):
[13.78µs] [13.78µs] About to convert to expected version
[100.764µs] [86.984µs] Conversion done
[153.733µs] [52.969µs] About to store object in database
[937.128917ms] [936.975184ms] Object stored in database
[937.138459ms] [9.542µs] Self-link added
[938.089716ms] [951.257µs] END

paralin avatar Mar 14 '16 18:03 paralin

Still completely blocked by this... Been digging through the code trying to figure out what's going on.

Can someone from openshift test this and confirm if either:

  • OpenShift completely can't build or deploy anything running under Kubernetes at all

or

  • Something about how I'm deploying / configuring OpenShift is wrong.

Thanks.

paralin avatar Mar 16 '16 12:03 paralin