Uploaded image for project: 'OpenShift Logging'
  1. OpenShift Logging
  2. LOG-2962

Add the `version` file to Must-Gather archive

    • None
    • False
    • NEW
    • VERIFIED
    • Log Collection - Sprint 224, Log Collection - Sprint 225, Log Collection - Sprint 226, Log Collection - Sprint 227

      Red Hat Insights team needs a marker which is a unique file that identifies which data collections (Logging Must-Gather archive, OCS/ODF Must-Gather archive, etc) are handled.

      There is no file in registry.redhat.io/openshift-logging/cluster-logging-rhel8-operator Must-Gather archive that is particularly unique; According to the `must-gather` enhancements, there is a `version` file that indicates the product (first line) and the version (second line).

      Slack discussion๏ผš
      https://coreos.slack.com/archives/CFDM5CQMN/p1660663949645859
      https://coreos.slack.com/archives/CFDM5CQMN/p1660665268133629

            [LOG-2962] Add the `version` file to Must-Gather archive

            Verified on logging 5.6.0.
            'version' file is added under '/cluster-logging/clo' folder, contains below data:

            Red Hat OpenShift Logging/must-gather
            5.6.0

            Giriyamma Karagere Ramaswamy (Inactive) added a comment - - edited Verified on logging 5.6.0. 'version' file is added under '/cluster-logging/clo' folder, contains below data: Red Hat OpenShift Logging/must-gather 5.6.0

            CPaaS Service Account mentioned this issue in merge request !366 of openshift-logging / Log Collection Midstream on branch openshift-logging-5.6-rhel-8_upstream_7808ef1caab179069c01de53396be881:

            Updated US source to: 1957737 Merge pull request #1750 from vparfonov/log2962_fix3

            GitLab CEE Bot added a comment - CPaaS Service Account mentioned this issue in merge request !366 of openshift-logging / Log Collection Midstream on branch openshift-logging-5.6-rhel-8_ upstream _7808ef1caab179069c01de53396be881 : Updated US source to: 1957737 Merge pull request #1750 from vparfonov/log2962_fix3

            gkarager Thanks for additional info, now i understand why this is not working for you, in CPaaS build CSV named cluster-logging instead of clusterlogging

            Vitalii Parfonov added a comment - gkarager Thanks for additional info, now i understand why this is not working for you, in CPaaS build CSV named cluster-logging instead of clusterlogging

            Tested this issue on latest logging 5.6 CPaaS build, version file is still empty.
            Moving to 'In Progress'

            $ oc get csv
            NAME                            DISPLAY                            VERSION   REPLACES   PHASE
            cluster-logging.v5.6.0          Red Hat OpenShift Logging          5.6.0                Succeeded
            elasticsearch-operator.v5.6.0   OpenShift Elasticsearch Operator   5.6.0                Succeeded
            -rw-------. 1 gkarager gkarager      436 Nov  9 13:28 cleanInValidJson.rb
            -rw-r--r--. 1 gkarager gkarager     1922 Nov  9 13:28 cluster-logging-operator-745db788b7-s5t6x
            -rw-r--r--. 1 gkarager gkarager      868 Nov  9 13:28 daemonsets.txt
            -rw-r--r--. 1 gkarager gkarager     8383 Nov  9 13:28 deployment
            -rw-r--r--. 1 gkarager gkarager      509 Nov  9 13:28 deployments.txt
            -rw-------. 1 gkarager gkarager    12938 Nov  9 13:28 fluent.conf
            -rw-------. 1 gkarager gkarager     6315 Nov  9 13:28 run.sh
            -rw-r--r--. 1 gkarager gkarager 51310980 Nov  9 13:28 secrets.yaml
            -rw-r--r--. 1 gkarager gkarager    12347 Nov  9 13:28 vector.toml
            -rw-r--r--. 1 gkarager gkarager        0 Nov  9 13:28 version

             

            Giriyamma Karagere Ramaswamy (Inactive) added a comment - - edited Tested this issue on latest logging 5.6 CPaaS build, version file is still empty. Moving to 'In Progress' $ oc get csv NAME                            DISPLAY                            VERSION   REPLACES   PHASE cluster-logging.v5.6.0          Red Hat OpenShift Logging          5.6.0                Succeeded elasticsearch- operator .v5.6.0   OpenShift Elasticsearch Operator   5.6.0                Succeeded -rw-------. 1 gkarager gkarager      436 Nov  9 13:28 cleanInValidJson.rb -rw-r--r--. 1 gkarager gkarager     1922 Nov  9 13:28 cluster-logging- operator -745db788b7-s5t6x -rw-r--r--. 1 gkarager gkarager      868 Nov  9 13:28 daemonsets.txt -rw-r--r--. 1 gkarager gkarager     8383 Nov  9 13:28 deployment -rw-r--r--. 1 gkarager gkarager      509 Nov  9 13:28 deployments.txt -rw-------. 1 gkarager gkarager    12938 Nov  9 13:28 fluent.conf -rw-------. 1 gkarager gkarager     6315 Nov  9 13:28 run.sh -rw-r--r--. 1 gkarager gkarager 51310980 Nov  9 13:28 secrets.yaml -rw-r--r--. 1 gkarager gkarager    12347 Nov  9 13:28 vector.toml -rw-r--r--. 1 gkarager gkarager        0 Nov  9 13:28 version  

            GitLab CEE Bot added a comment - CPaaS Service Account mentioned this issue in merge request !352 of openshift-logging / Log Collection Midstream on branch openshift-logging-5.5-rhel-8_ upstream _de713f4416900641eaeb39b401b666e9 : Updated 3 upstream sources

            GitLab CEE Bot added a comment - CPaaS Service Account mentioned this issue in merge request !342 of openshift-logging / Log Collection Midstream on branch openshift-logging-5.5-rhel-8_ upstream _29e9696ceab9c8f756f506dc606c1a03 : Updated 2 upstream sources

            CPaaS Service Account mentioned this issue in merge request !340 of openshift-logging / Log Collection Midstream on branch openshift-logging-5.6-rhel-8_upstream_0e82d71c13c8c91029aea532462e0a2f:

            Updated US source to: 2733e7b Merge pull request #1739 from jcantrill/log325

            GitLab CEE Bot added a comment - CPaaS Service Account mentioned this issue in merge request !340 of openshift-logging / Log Collection Midstream on branch openshift-logging-5.6-rhel-8_ upstream _0e82d71c13c8c91029aea532462e0a2f : Updated US source to: 2733e7b Merge pull request #1739 from jcantrill/log325

            CPaaS Service Account mentioned this issue in merge request !325 of openshift-logging / Log Collection Midstream on branch openshift-logging-5.6-rhel-8_upstream_7ba2c5e15af3fcf0a9b86b4788ef08c4:

            Updated US source to: 98726e0 Merge pull request #1735 from cahartma/LOG-3194-sync-label-for-pod-security

            GitLab CEE Bot added a comment - CPaaS Service Account mentioned this issue in merge request !325 of openshift-logging / Log Collection Midstream on branch openshift-logging-5.6-rhel-8_ upstream _7ba2c5e15af3fcf0a9b86b4788ef08c4 : Updated US source to: 98726e0 Merge pull request #1735 from cahartma/ LOG-3194 -sync-label-for-pod-security

            CPaaS Service Account mentioned this issue in merge request !321 of openshift-logging / Log Collection Midstream on branch openshift-logging-5.6-rhel-8_upstream_6bf3c27b62a3a3b31803a21c6390a2a9:

            Updated US source to: 4784e6b Merge pull request #1736 from vparfonov/log2962_fix

            GitLab CEE Bot added a comment - CPaaS Service Account mentioned this issue in merge request !321 of openshift-logging / Log Collection Midstream on branch openshift-logging-5.6-rhel-8_ upstream _6bf3c27b62a3a3b31803a21c6390a2a9 : Updated US source to: 4784e6b Merge pull request #1736 from vparfonov/log2962_fix

            Testing this issue on logging 5.6 on OCP 4.11, 'version' file under '/cluster-logging/clo' folder is empty.
            Moving to 'In Progress'.

             

            Giriyamma Karagere Ramaswamy (Inactive) added a comment - - edited Testing this issue on logging 5.6 on OCP 4.11, 'version' file under '/cluster-logging/clo' folder is empty. Moving to 'In Progress'.  

              vparfono Vitalii Parfonov
              rhn-support-edrich Eric Rich
              Giriyamma Karagere Ramaswamy Giriyamma Karagere Ramaswamy (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: