Uploaded image for project: 'OpenShift Service Mesh'
  1. OpenShift Service Mesh
  2. OSSM-6914

Add PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING under .spec.general.validationMessages

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Won't Do
    • Icon: Normal Normal
    • None
    • OSSM 2.6.0
    • Customer Impact
    • None
    • False
    • None
    • False

      When you set `.spec.general.validationMessages: true` in SMCP, the OSSM operator setsĀ  `PILOT_ENABLE_STATUS` and `PILOT_ENABLE_ANALYSIS` ENVs to true on the istiod pod.

      Before Istio 1.16.3 (e.g. in SMCP 2.3), the combination of those ENVs also startsĀ  distribution.Reporter,

      however, from Istio 1.16.3 (changelog, fix for issue Issue #42612), there needs to be set also`PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING=true` ENV (see here) in order to starts statusReporter for distribution (see here).

      So when we want to have the distribution reporter started under `validationMessages` SMCP api, we need to add also that ENV here and here )

      However, PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING is used also elsewhere so we need to check whether enabling that doesn't affect other functionality.

      ==============

      If you want to enable it manually, here is a workaround for SMCP 2.4 and more: (Keep in mind that PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING is not used only for starting statusReporter)

      oc patch smcp <SMCP_NAME> -n <SMCP_NAMESPACE> --type merge -p '{"spec":{"runtime":{"components":{"pilot":{"container":{"env":{"PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING":"true"}}}}}}}' 

            mkralik@redhat.com Matej Kralik
            mkralik@redhat.com Matej Kralik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: