Uploaded image for project: 'Network Observability'
  1. Network Observability
  2. NETOBSERV-1404

Flowcollector status is stuck in pending

    • False
    • None
    • False
    • NetObserv - Sprint 245, NetObserv - Sprint 246
    • Critical

      Description of problem:

      Upon deleting an existing flowcollector and creating a new one, the flowcollector gets stuck in pending

      Steps to Reproduce:

      1. Deploy NetObserv and flowcollector
      2. Delete the existing flowcollector and create a new one
      3. check the flowcollector status
      

      Actual results:

      Flowcollector is stuck in pending state

      Expected results:

      Flowcollector should go to ready

      Workaround

      Delete the flowcollector and operator and then retry
      

      Controller Logs

      /remote-source/app/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:22765862023-11-14T17:28:24.861Z INFO narrowcache Getting object: {"controller": "flowcollector", "controllerGroup": "flows.netobserv.io", "controllerKind": "FlowCollector", "FlowCollector": {"name":"cluster"}, "namespace": "", "name": "cluster", "reconcileID": "3a795b71-952c-4989-b529-58513db72b8f", "key": {"name":"cluster"}}65872023-11-14T17:28:24.861Z INFO narrowcache GVK not managed here: pass it to down layer {"controller": "flowcollector", "controllerGroup": "flows.netobserv.io", "controllerKind": "FlowCollector", "FlowCollector": {"name":"cluster"}, "namespace": "", "name": "cluster", "reconcileID": "3a795b71-952c-4989-b529-58513db72b8f", "GVK": "flows.netobserv.io/v1beta2, Kind=FlowCollector"}65882023-11-14T17:28:24.861Z INFO narrowcache Getting object: {"controller": "flowcollector", "controllerGroup": "flows.netobserv.io", "controllerKind": "FlowCollector", "FlowCollector": {"name":"cluster"}, "namespace": "", "name": "cluster", "reconcileID": "3a795b71-952c-4989-b529-58513db72b8f", "key": {"name":"e2e-test-netobserv-tl2p2"}}65892023-11-14T17:28:24.861Z INFO narrowcache GVK not managed here: pass it to down layer {"controller": "flowcollector", "controllerGroup": "flows.netobserv.io", "controllerKind": "FlowCollector", "FlowCollector": {"name":"cluster"}, "namespace": "", "name": "cluster", "reconcileID": "3a795b71-952c-4989-b529-58513db72b8f", "GVK": "/v1, Kind=Namespace"}65902023-11-14T17:28:24.861Z INFO narrowcache Getting object: {"controller": "flowcollector", "controllerGroup": "flows.netobserv.io", "controllerKind": "FlowCollector", "FlowCollector": {"name":"cluster"}, "namespace": "", "name": "cluster", "reconcileID": "3a795b71-952c-4989-b529-58513db72b8f", "key": {"name":"netobserv-operator-metrics-reader"}}65912023-11-14T17:28:24.861Z INFO narrowcache GVK not managed here: pass it to down layer {"controller": "flowcollector", "controllerGroup": "flows.netobserv.io", "controllerKind": "FlowCollector", "FlowCollector": {"name":"cluster"}, "namespace": "", "name": "cluster", "reconcileID": "3a795b71-952c-4989-b529-58513db72b8f", "GVK": "rbac.authorization.k8s.io/v1, Kind=ClusterRole"}65922023-11-14T17:28:24.861Z INFO narrowcache Getting object: {"controller": "flowcollector", "controllerGroup": "flows.netobserv.io", "controllerKind": "FlowCollector", "FlowCollector": {"name":"cluster"}, "namespace": "", "name": "cluster", "reconcileID": "3a795b71-952c-4989-b529-58513db72b8f", "key": {"name":"netobserv-operator-metrics-reader"}}65932023-11-14T17:28:24.861Z INFO narrowcache GVK not managed here: pass it to down layer {"controller": "flowcollector", "controllerGroup": "flows.netobserv.io", "controllerKind": "FlowCollector", "FlowCollector": {"name":"cluster"}, "namespace": "", "name": "cluster", "reconcileID": "3a795b71-952c-4989-b529-58513db72b8f", "GVK": "rbac.authorization.k8s.io/v1, Kind=ClusterRoleBinding"}65942023-11-14T17:28:24.861Z INFO narrowcache Getting object: {"controller": "flowcollector", "controllerGroup": "flows.netobserv.io", "controllerKind": "FlowCollector", "FlowCollector": {"name":"cluster"}, "namespace": "", "name": "cluster", "reconcileID": "3a795b71-952c-4989-b529-58513db72b8f", "key": {"name":"grafana-dashboard-netobserv-flow-metrics","namespace":"openshift-config-managed"}}65952023-11-14T17:28:24.861Z INFO narrowcache Managed kind: check cache {"controller": "flowcollector", "controllerGroup": "flows.netobserv.io", "controllerKind": "FlowCollector", "FlowCollector": {"name":"cluster"}, "namespace": "", "name": "cluster", "reconcileID": "3a795b71-952c-4989-b529-58513db72b8f", "objKey": "/v1, Kind=ConfigMap|openshift-config-managed/grafana-dashboard-netobserv-flow-metrics"}65962023-11-14T17:28:24.861Z INFO CREATING a new *v1.ConfigMap {"controller": "flowcollector", "controllerGroup": "flows.netobserv.io", "controllerKind": "FlowCollector", "FlowCollector": {"name":"cluster"}, "namespace": "", "name": "cluster", "reconcileID": "3a795b71-952c-4989-b529-58513db72b8f", "Namespace": "openshift-config-managed", "Name": "grafana-dashboard-netobserv-flow-metrics"}65972023-11-14T17:28:24.878Z ERROR Failed to create new *v1.ConfigMap {"controller": "flowcollector", "controllerGroup": "flows.netobserv.io", "controllerKind": "FlowCollector", "FlowCollector": {"name":"cluster"}, "namespace": "", "name": "cluster", "reconcileID": "3a795b71-952c-4989-b529-58513db72b8f", "Namespace": "openshift-config-managed", "Name": "grafana-dashboard-netobserv-flow-metrics", "error": "configmaps \"grafana-dashboard-netobserv-flow-metrics\" already exists"} 

              jtakvori Joel Takvorian
              rhn-support-aramesha Amogh Rameshappa Devapura
              Amogh Rameshappa Devapura Amogh Rameshappa Devapura
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: