Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-21649

[1748523] cdi deployment gone after a crash of an importer pod

XMLWordPrintable

    • Medium
    • None

      Description of problem:
      i deployed cdi as part of cnv2.1 and then tried to import a rhel8 image into a pvc.
      the importer pod crashes prior to starting the download and cdi pods are gone, with the operator unable to recreate them

      Version-Release number of selected component (if applicable):
      cnv2.1

      How reproducible:
      dont know

      Steps to Reproduce:
      1. deploy cdi
      2. have an imported pod crash cdi
      3. try to recover cdi

      Actual results:
      cdi pods gone

      Expected results:
      operator respawns them

      Additional info:
      the logs below of the operator seem to complain on cdi config map missing, which is in the case( but i cant tell whether this cm is expected to be present on 2.1)

      ```

      {"level":"info","ts":1567533195.4300754,"logger":"cmd","msg":"Go Version: go1.11.5"} {"level":"info","ts":1567533195.4301274,"logger":"cmd","msg":"Go OS/Arch: linux/amd64"} {"level":"info","ts":1567533195.5600247,"logger":"cmd","msg":"Registering Components."}

      {"level":"info","ts":1567533195.5607076,"logger":"cdi-operator","msg":"","VARS":"

      {DockerRepo:brew-pulp-docker01.web.prod.ext.phx2.redhat.com:8888/container-native-virtualization DockerTag:v2.1.0-12 ControllerImage:virt-cdi-controller DeployClusterResources:true ImporterImage:virt-cdi-importer ClonerImage:virt-cdi-cloner APIServerImage:virt-cdi-apiserver UploadProxyImage:virt-cdi-uploadproxy UploadServerImage:virt-cdi-uploadserver Verbosity:1 PullPolicy:IfNotPresent Namespace:openshift-cnv}

      "}

      {"level":"info","ts":1567533195.560905,"logger":"kubebuilder.controller","msg":"Starting EventSource","controller":"cdi-operator-controller","source":"kind source: /, Kind="} {"level":"info","ts":1567533195.561207,"logger":"kubebuilder.controller","msg":"Starting EventSource","controller":"cdi-operator-controller","source":"kind source: rbac.authorization.k8s.io/v1, Kind=ClusterRole"} {"level":"info","ts":1567533195.5613842,"logger":"cdi-operator","msg":"Watching","type":"*v1.ClusterRole"} {"level":"info","ts":1567533195.5614712,"logger":"kubebuilder.controller","msg":"Starting EventSource","controller":"cdi-operator-controller","source":"kind source: rbac.authorization.k8s.io/v1, Kind=ClusterRoleBinding"} {"level":"info","ts":1567533195.561669,"logger":"cdi-operator","msg":"Watching","type":"*v1.ClusterRoleBinding"} {"level":"info","ts":1567533195.561732,"logger":"kubebuilder.controller","msg":"Starting EventSource","controller":"cdi-operator-controller","source":"kind source: apiextensions.k8s.io/v1beta1, Kind=CustomResourceDefinition"} {"level":"info","ts":1567533195.5619626,"logger":"cdi-operator","msg":"Watching","type":"*v1beta1.CustomResourceDefinition"} {"level":"info","ts":1567533195.5620394,"logger":"kubebuilder.controller","msg":"Starting EventSource","controller":"cdi-operator-controller","source":"kind source: /v1, Kind=ServiceAccount"} {"level":"info","ts":1567533195.5621986,"logger":"cdi-operator","msg":"Watching","type":"*v1.ServiceAccount"} {"level":"info","ts":1567533195.5622537,"logger":"kubebuilder.controller","msg":"Starting EventSource","controller":"cdi-operator-controller","source":"kind source: rbac.authorization.k8s.io/v1, Kind=RoleBinding"} {"level":"info","ts":1567533195.5624073,"logger":"cdi-operator","msg":"Watching","type":"*v1.RoleBinding"} {"level":"info","ts":1567533195.5624743,"logger":"kubebuilder.controller","msg":"Starting EventSource","controller":"cdi-operator-controller","source":"kind source: rbac.authorization.k8s.io/v1, Kind=Role"} {"level":"info","ts":1567533195.5626884,"logger":"cdi-operator","msg":"Watching","type":"*v1.Role"} {"level":"info","ts":1567533195.5627482,"logger":"kubebuilder.controller","msg":"Starting EventSource","controller":"cdi-operator-controller","source":"kind source: /v1, Kind=Service"} {"level":"info","ts":1567533195.5629086,"logger":"cdi-operator","msg":"Watching","type":"*v1.Service"} {"level":"info","ts":1567533195.5629623,"logger":"kubebuilder.controller","msg":"Starting EventSource","controller":"cdi-operator-controller","source":"kind source: apps/v1, Kind=Deployment"} {"level":"info","ts":1567533195.5632684,"logger":"cdi-operator","msg":"Watching","type":"*v1.Deployment"} {"level":"info","ts":1567533195.5633328,"logger":"cdi-operator","msg":"NOT Watching","type":"*v1.ConfigMap"} {"level":"info","ts":1567533195.5633845,"logger":"kubebuilder.controller","msg":"Starting EventSource","controller":"cdi-operator-controller","source":"kind source: /, Kind="} {"level":"info","ts":1567533195.5635638,"logger":"cdi-operator","msg":"Watching","type":"*v1.Route"} {"level":"info","ts":1567533195.563633,"logger":"kubebuilder.controller","msg":"Starting EventSource","controller":"cdi-operator-controller","source":"kind source: /, Kind="} {"level":"info","ts":1567533195.5637875,"logger":"cmd","msg":"Starting the Manager."} {"level":"info","ts":1567533213.320638,"logger":"kubebuilder.controller","msg":"Starting Controller","controller":"cdi-operator-controller"} {"level":"info","ts":1567533213.42108,"logger":"kubebuilder.controller","msg":"Starting workers","controller":"cdi-operator-controller","worker count":1} {"level":"info","ts":1567533213.4213917,"logger":"cdi-operator","msg":"Reconciling CDI","Request.Namespace":"","Request.Name":"cdi-hyperconverged-cluster"} {"level":"info","ts":1567533213.6220767,"logger":"cdi-operator","msg":"Reconciling to error state, no configmap","Request.Namespace":"","Request.Name":"cdi-hyperconverged-cluster"} {"level":"info","ts":1567533213.629732,"logger":"cdi-operator","msg":"Reconciling CDI","Request.Namespace":"","Request.Name":"cdi-hyperconverged-cluster"} {"level":"info","ts":1567533213.6297772,"logger":"cdi-operator","msg":"Reconciling to error state, no configmap","Request.Namespace":"","Request.Name":"cdi-hyperconverged-cluster"}

      ```

              derez@redhat.com Daniel Erez
              kboumedh@redhat.com karim boumedhel
              Kevin Alon Goldblatt Kevin Alon Goldblatt
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: