Uploaded image for project: 'SEBA'
  1. SEBA
  2. SEBA-726

Reduce error noise in Kubernetes Synchronizer

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Resolved (View Workflow)
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: SEBA 2.0
    • Component/s: NEM
    • Labels:
      None

      Description

      Some examples:

      2019-06-11T13:57:36.718632Z [debug    ] Unable to determine slice for pod etcd-cluster-lmndkj5wjs. Ignoring.
      2019-06-11T13:57:36.809104Z [debug    ] Unable to determine slice for pod kube-scheduler-ubuntu. Ignoring.
      2019-06-11T13:57:37.000487Z [debug    ] failed to fetch owner          owner_reference={'api_version': 'etcd.database.coreos.com/v1beta2', 
      2019-06-11T13:56:59.804457Z [debug    ] Unable to determine Trust Domain for service volt. Ignoring.
      2019-06-11T13:57:00.352652Z [debug    ] Service simpleexampleservice has no serviceports. Ignoring.

      The above will repeat over and over again since they will never resolve. Look into why they are failing and/or find a way to squelch the messages after they're printed for the first time.

      Also look into this issue that Saurav reported, 

      2019-06-07T22:45:23.639394Z [error    ] Core error. This seems like a misconfiguration or bug. This error will not be relayed to the user! e=NodeNotFound('Source Principal not in G',)
      Traceback (most recent call last):
        File "/usr/lib/python2.7/site-packages/xossynchronizer/event_loop.py", line 665, in run_once
          objects_to_process, deletion
        File "/usr/lib/python2.7/site-packages/xossynchronizer/event_loop.py", line 632, in compute_dependent_cohorts
          is_connected, edge_type = self.concrete_path_exists(*path_args)
        File "/usr/lib/python2.7/site-packages/xossynchronizer/event_loop.py", line 528, in concrete_path_exists
          any(paths)
        File "/usr/lib/python2.7/site-packages/networkx/algorithms/shortest_paths/generic.py", line 469, in all_shortest_paths
          pred = nx.predecessor(G, source)
        File "/usr/lib/python2.7/site-packages/networkx/algorithms/shortest_paths/unweighted.py", line 496, in predecessor
          raise nx.NodeNotFound("Source {} not in G".format(source))
      NodeNotFound: Source Principal not in G``` 

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            scottb Scott Baker
            Reporter:
            scottb Scott Baker
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes