Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update steps to deploy logging operators #60163

Merged

Conversation

QiaolingTang
Copy link
Contributor

  1. Replace steps operatorhub-subscribe-xxxxx with install-operators
  2. Remove steps operatorhub-subscribe-elasticsearch-operator, operatorhub-subscribe-loki-operator, operatorhub-subscribe-cluster-logging-operator

/cc @anpingli @kabirbhartiRH

@QiaolingTang
Copy link
Contributor Author

/pj-rehearse periodic-ci-openshift-openshift-tests-private-release-4.17-multi-stable-openshift-logging-6.1-aws-ipi-proxy-sts-mixarch-f7-logging periodic-ci-openshift-openshift-tests-private-release-4.14-amd64-nightly-openshift-logging-5.8-gcp-ipi-sdn-fips-f28-logging periodic-ci-openshift-openshift-tests-private-release-4.15-amd64-nightly-openshift-logging-5.9-azure-ipi-proxy-workers-rhcos-rhel8-f14-logging

@openshift-ci-robot
Copy link
Contributor

@QiaolingTang: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@QiaolingTang QiaolingTang force-pushed the deploy_logging_operators branch from c8ca171 to 5707bd6 Compare December 26, 2024 00:26
@QiaolingTang
Copy link
Contributor Author

/pj-rehearse periodic-ci-openshift-openshift-tests-private-release-4.17-multi-stable-openshift-logging-6.1-aws-ipi-proxy-sts-mixarch-f7-logging periodic-ci-openshift-openshift-tests-private-release-4.14-amd64-nightly-openshift-logging-5.8-gcp-ipi-sdn-fips-f28-logging periodic-ci-openshift-openshift-tests-private-release-4.15-amd64-nightly-openshift-logging-5.9-azure-ipi-proxy-workers-rhcos-rhel8-f14-logging

@openshift-ci-robot
Copy link
Contributor

@QiaolingTang: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@QiaolingTang QiaolingTang force-pushed the deploy_logging_operators branch from 5707bd6 to 0d0c2fa Compare December 26, 2024 02:34
@QiaolingTang
Copy link
Contributor Author

/pj-rehearse periodic-ci-openshift-openshift-tests-private-release-4.15-amd64-nightly-openshift-logging-5.9-azure-ipi-proxy-workers-rhcos-rhel8-f14-logging periodic-ci-openshift-openshift-tests-private-release-4.14-multi-nightly-openshift-logging-5.7-aws-ipi-ovn-ipsec-amd-mixarch-f999-logging

@openshift-ci-robot
Copy link
Contributor

@QiaolingTang: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@QiaolingTang
Copy link
Contributor Author

/pj-rehearse ack

@openshift-ci-robot
Copy link
Contributor

@QiaolingTang: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@openshift-ci-robot openshift-ci-robot added the rehearsals-ack Signifies that rehearsal jobs have been acknowledged label Dec 30, 2024
@QiaolingTang
Copy link
Contributor Author

/assign @anpingli @kabirbhartiRH

@QiaolingTang
Copy link
Contributor Author

/hold

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jan 2, 2025
@openshift-ci-robot openshift-ci-robot removed the rehearsals-ack Signifies that rehearsal jobs have been acknowledged label Jan 2, 2025
@openshift-ci-robot
Copy link
Contributor

[REHEARSALNOTIFIER]
@QiaolingTang: the pj-rehearse plugin accommodates running rehearsal tests for the changes in this PR. Expand 'Interacting with pj-rehearse' for usage details. The following rehearsable tests have been affected by this change:

Test name Repo Type Reason
pull-ci-openshift-jaegertracing-jaeger-operator-main-jaeger-product-ocp-4.13-stage-jaeger-stage-tests openshift/jaegertracing-jaeger-operator presubmit Registry content changed
pull-ci-openshift-jaegertracing-jaeger-operator-main-jaeger-product-ocp-4.12-stage-jaeger-stage-tests openshift/jaegertracing-jaeger-operator presubmit Registry content changed
pull-ci-openshift-jaegertracing-jaeger-operator-main-ocp-4.14-amd64-jaeger-e2e-tests openshift/jaegertracing-jaeger-operator presubmit Registry content changed
pull-ci-openshift-jaegertracing-jaeger-operator-main-jaeger-product-ocp-4.17-stage-jaeger-stage-tests openshift/jaegertracing-jaeger-operator presubmit Registry content changed
pull-ci-openshift-jaegertracing-jaeger-operator-main-jaeger-product-ocp-4.14-arm-stage-jaeger-stage-tests openshift/jaegertracing-jaeger-operator presubmit Registry content changed
pull-ci-openshift-jaegertracing-jaeger-operator-main-jaeger-product-ocp-4.14-stage-jaeger-stage-tests openshift/jaegertracing-jaeger-operator presubmit Registry content changed
pull-ci-openshift-jaegertracing-jaeger-operator-main-jaeger-product-ocp-4.16-ibm-p-stage-jaeger-stage-tests openshift/jaegertracing-jaeger-operator presubmit Registry content changed
pull-ci-openshift-jaegertracing-jaeger-operator-main-jaeger-product-ocp-4.15-ibm-z-stage-jaeger-stage-tests openshift/jaegertracing-jaeger-operator presubmit Registry content changed
pull-ci-openshift-jaegertracing-jaeger-operator-main-jaeger-product-ocp-4.16-stage-jaeger-stage-tests openshift/jaegertracing-jaeger-operator presubmit Registry content changed
pull-ci-openshift-jaegertracing-jaeger-operator-main-jaeger-product-ocp-4.15-stage-jaeger-stage-tests openshift/jaegertracing-jaeger-operator presubmit Registry content changed
pull-ci-openshift-jaegertracing-jaeger-operator-main-jaeger-e2e-tests openshift/jaegertracing-jaeger-operator presubmit Registry content changed
pull-ci-openshift-jaegertracing-jaeger-operator-main-ocp-4.13-hypershift-jaeger-e2e-tests openshift/jaegertracing-jaeger-operator presubmit Registry content changed
pull-ci-openshift-open-telemetry-opentelemetry-operator-main-upstream-ocp-4.16-amd64-aws-ipi-shared-vpc-phz-sts-opentelemetry-e2e-tests openshift/open-telemetry-opentelemetry-operator presubmit Registry content changed
pull-ci-openshift-open-telemetry-opentelemetry-operator-main-opentelemetry-product-ocp-4.16-ibm-p-stage-opentelemetry-stage-tests openshift/open-telemetry-opentelemetry-operator presubmit Registry content changed
pull-ci-openshift-open-telemetry-opentelemetry-operator-main-opentelemetry-product-ocp-4.14-arm-stage-opentelemetry-stage-tests openshift/open-telemetry-opentelemetry-operator presubmit Registry content changed
pull-ci-openshift-open-telemetry-opentelemetry-operator-main-opentelemetry-product-ocp-4.13-stage-opentelemetry-stage-tests openshift/open-telemetry-opentelemetry-operator presubmit Registry content changed
pull-ci-openshift-open-telemetry-opentelemetry-operator-main-opentelemetry-product-ocp-4.17-stage-opentelemetry-stage-tests openshift/open-telemetry-opentelemetry-operator presubmit Registry content changed
pull-ci-openshift-open-telemetry-opentelemetry-operator-main-opentelemetry-product-ocp-4.17-stage-opentelemetry-stage-tests-fips openshift/open-telemetry-opentelemetry-operator presubmit Registry content changed
pull-ci-openshift-open-telemetry-opentelemetry-operator-main-upstream-ocp-4.15-amd64-aws-opentelemetry-e2e-tests openshift/open-telemetry-opentelemetry-operator presubmit Registry content changed
pull-ci-openshift-open-telemetry-opentelemetry-operator-main-opentelemetry-product-ocp-4.15-stage-opentelemetry-stage-tests openshift/open-telemetry-opentelemetry-operator presubmit Registry content changed
pull-ci-openshift-open-telemetry-opentelemetry-operator-main-upstream-upgrade-ocp-4.17-amd64-azure-opentelemetry-operator-upgrade openshift/open-telemetry-opentelemetry-operator presubmit Registry content changed
pull-ci-openshift-open-telemetry-opentelemetry-operator-main-opentelemetry-product-ocp-4.15-ibm-z-stage-opentelemetry-stage-tests openshift/open-telemetry-opentelemetry-operator presubmit Registry content changed
pull-ci-openshift-open-telemetry-opentelemetry-operator-main-opentelemetry-product-ocp-4.12-stage-opentelemetry-stage-tests openshift/open-telemetry-opentelemetry-operator presubmit Registry content changed
pull-ci-openshift-open-telemetry-opentelemetry-operator-main-opentelemetry-product-ocp-4.14-stage-opentelemetry-stage-tests openshift/open-telemetry-opentelemetry-operator presubmit Registry content changed
pull-ci-openshift-open-telemetry-opentelemetry-operator-main-upstream-ocp-4.14-amd64-gcp-ipi-ovn-ipsec-opentelemetry-e2e-tests openshift/open-telemetry-opentelemetry-operator presubmit Registry content changed

A total of 273 jobs have been affected by this change. The above listing is non-exhaustive and limited to 25 jobs.

A full list of affected jobs can be found here

Interacting with pj-rehearse

Comment: /pj-rehearse to run up to 5 rehearsals
Comment: /pj-rehearse skip to opt-out of rehearsals
Comment: /pj-rehearse {test-name}, with each test separated by a space, to run one or more specific rehearsals
Comment: /pj-rehearse more to run up to 10 rehearsals
Comment: /pj-rehearse max to run up to 25 rehearsals
Comment: /pj-rehearse auto-ack to run up to 5 rehearsals, and add the rehearsals-ack label on success
Comment: /pj-rehearse abort to abort all active rehearsals
Comment: /pj-rehearse network-access-allowed to allow rehearsals of tests that have the restrict_network_access field set to false. This must be executed by an openshift org member who is not the PR author

Once you are satisfied with the results of the rehearsals, comment: /pj-rehearse ack to unblock merge. When the rehearsals-ack label is present on your PR, merge will no longer be blocked by rehearsals.
If you would like the rehearsals-ack label removed, comment: /pj-rehearse reject to re-block merging.

@QiaolingTang
Copy link
Contributor Author

/pj-rehearse periodic-ci-openshift-openshift-tests-private-release-4.18-amd64-nightly-openshift-logging-6.1-gcp-ipi-fips-f7-logging

@openshift-ci-robot
Copy link
Contributor

@QiaolingTang: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@QiaolingTang
Copy link
Contributor Author

/pj-rehearse periodic-ci-openshift-openshift-tests-private-release-4.15-amd64-nightly-openshift-logging-5.9-azure-ipi-proxy-workers-rhcos-rhel8-f14-logging

@openshift-ci-robot
Copy link
Contributor

@QiaolingTang: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@QiaolingTang
Copy link
Contributor Author

Logs from periodic-ci-openshift-openshift-tests-private-release-4.18-amd64-nightly-openshift-logging-6.1-gcp-ipi-fips-f7-logging:

% oc logs gcp-ipi-fips-f7-logging-install-operators 
Defaulted container "test" out of: test, sidecar, ci-scheduling-dns-wait (init), place-entrypoint (init), cp-entrypoint-wrapper (init)
no proxy setting.
Getting 'loki-operator' packagemanifest from 'stable-6.1' channel using 'qe-app-registry' catalog
Installing loki-operator from qe-app-registry channel stable-6.1 into openshift-operators-redhat
namespace/openshift-operators-redhat created
Deploying OperatorGroup openshift-operators-redhat in to openshift-operators-redhat
operatorgroup.operators.coreos.com/openshift-operators-redhat created
Creating subscription for loki-operator operator using qe-app-registry source
subscription.operators.coreos.com/loki-operator created
loki-operator is deployed
Successfully installed loki-operator
Getting 'cluster-logging' packagemanifest from 'stable-6.1' channel using 'qe-app-registry' catalog
Installing cluster-logging from qe-app-registry channel stable-6.1 into openshift-logging
namespace/openshift-logging created
Deploying OperatorGroup openshift-logging in to openshift-logging
operatorgroup.operators.coreos.com/openshift-logging created
Creating subscription for cluster-logging operator using qe-app-registry source
subscription.operators.coreos.com/cluster-logging created
cluster-logging is deployed
Successfully installed cluster-logging
Getting 'cluster-observability-operator' packagemanifest from 'development' channel using 'redhat-operators' catalog
Installing cluster-observability-operator from redhat-operators channel development into openshift-cluster-observability-operator
namespace/openshift-cluster-observability-operator created
Deploying OperatorGroup openshift-cluster-observability-operator in to openshift-cluster-observability-operator
operatorgroup.operators.coreos.com/openshift-cluster-observability-operator created
Creating subscription for cluster-observability-operator operator using redhat-operators source
subscription.operators.coreos.com/cluster-observability-operator created
cluster-observability-operator is deployed
Successfully installed cluster-observability-operator
Getting 'amq-streams' packagemanifest from 'stable' channel using 'redhat-operators' catalog
Installing amq-streams from redhat-operators channel stable into openshift-operators
Warning: resource namespaces/openshift-operators is missing the kubectl.kubernetes.io/last-applied-configuration annotation which is required by oc apply. oc apply should only be used on resources created declaratively by either oc create --save-config or oc apply. The missing annotation will be patched automatically.
namespace/openshift-operators configured
Creating subscription for amq-streams operator using redhat-operators source
subscription.operators.coreos.com/amq-streams created
amq-streams is deployed
Successfully installed amq-streams

Subscriptions created in the cluster:

apiVersion: operators.coreos.com/v1alpha1
kind: Subscription
metadata:
  annotations:
    kubectl.kubernetes.io/last-applied-configuration: |
      {"apiVersion":"operators.coreos.com/v1alpha1","kind":"Subscription","metadata":{"annotations":{},"name":"cluster-observability-operator","namespace":"openshift-cluster-observability-operator"},"spec":{"channel":"development","installPlanApproval":"Automatic","name":"cluster-observability-operator","source":"redhat-operators","sourceNamespace":"openshift-marketplace"}}
  creationTimestamp: "2025-01-02T04:14:10Z"
  generation: 1
  labels:
    operators.coreos.com/cluster-observability-operator.openshift-cluster-observability: ""
  name: cluster-observability-operator
  namespace: openshift-cluster-observability-operator
  resourceVersion: "116363"
  uid: 59775a02-fff4-4785-8040-52a2ec23527e
spec:
  channel: development
  installPlanApproval: Automatic
  name: cluster-observability-operator
  source: redhat-operators
  sourceNamespace: openshift-marketplace

apiVersion: operators.coreos.com/v1alpha1
kind: Subscription
metadata:
  annotations:
    kubectl.kubernetes.io/last-applied-configuration: |
      {"apiVersion":"operators.coreos.com/v1alpha1","kind":"Subscription","metadata":{"annotations":{},"name":"cluster-logging","namespace":"openshift-logging"},"spec":{"channel":"stable-6.1","installPlanApproval":"Automatic","name":"cluster-logging","source":"qe-app-registry","sourceNamespace":"openshift-marketplace"}}
  creationTimestamp: "2025-01-02T04:13:00Z"
  generation: 1
  labels:
    operators.coreos.com/cluster-logging.openshift-logging: ""
  name: cluster-logging
  namespace: openshift-logging
  resourceVersion: "116362"
  uid: adfc9d21-30ad-446b-ba58-8f7855e7f77e
spec:
  channel: stable-6.1
  installPlanApproval: Automatic
  name: cluster-logging
  source: qe-app-registry
  sourceNamespace: openshift-marketplace

apiVersion: operators.coreos.com/v1alpha1
kind: Subscription
metadata:
  annotations:
    kubectl.kubernetes.io/last-applied-configuration: |
      {"apiVersion":"operators.coreos.com/v1alpha1","kind":"Subscription","metadata":{"annotations":{},"name":"loki-operator","namespace":"openshift-operators-redhat"},"spec":{"channel":"stable-6.1","installPlanApproval":"Automatic","name":"loki-operator","source":"qe-app-registry","sourceNamespace":"openshift-marketplace"}}
  creationTimestamp: "2025-01-02T04:11:52Z"
  generation: 1
  labels:
    operators.coreos.com/loki-operator.openshift-operators-redhat: ""
  name: loki-operator
  namespace: openshift-operators-redhat
  resourceVersion: "116378"
  uid: 9c0e1226-7736-46a5-b0d8-d90e965e07ab
spec:
  channel: stable-6.1
  installPlanApproval: Automatic
  name: loki-operator
  source: qe-app-registry
  sourceNamespace: openshift-marketplace

apiVersion: operators.coreos.com/v1alpha1
kind: Subscription
metadata:
  annotations:
    kubectl.kubernetes.io/last-applied-configuration: |
      {"apiVersion":"operators.coreos.com/v1alpha1","kind":"Subscription","metadata":{"annotations":{},"name":"amq-streams","namespace":"openshift-operators"},"spec":{"channel":"stable","config":{"env":[{"name":"FIPS_MODE","value":"disabled"}]},"installPlanApproval":"Automatic","name":"amq-streams","source":"redhat-operators","sourceNamespace":"openshift-marketplace"}}
  creationTimestamp: "2025-01-02T04:15:17Z"
  generation: 1
  labels:
    operators.coreos.com/amq-streams.openshift-operators: ""
  name: amq-streams
  namespace: openshift-operators
  resourceVersion: "116417"
  uid: 27731bb8-da14-4193-a3d9-12ba7cc89894
spec:
  channel: stable
  config:
    env:
    - name: FIPS_MODE
      value: disabled
  installPlanApproval: Automatic
  name: amq-streams
  source: redhat-operators
  sourceNamespace: openshift-marketplace

/hold cancel

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jan 2, 2025
@QiaolingTang
Copy link
Contributor Author

/cc @calebevans

PTAL.

@openshift-ci openshift-ci bot requested a review from calebevans January 2, 2025 05:15
Copy link
Contributor

@anpingli anpingli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jan 2, 2025
@calebevans
Copy link
Contributor

/pj-rehearse periodic-ci-windup-windup-ui-tests-v1.2-mtr-ocp4.17-lp-interop-mtr-interop-aws

@openshift-ci-robot
Copy link
Contributor

@calebevans: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@calebevans
Copy link
Contributor

@QiaolingTang as long as that rehearsal works, I will approve it. Sorry, but can't see the results of the rehearsals you ran as they are in a private deck.

@calebevans
Copy link
Contributor

/approve

@QiaolingTang
Copy link
Contributor Author

/cc @liangxia

PTAL.

@openshift-ci openshift-ci bot requested a review from liangxia January 3, 2025 00:50
@liangxia
Copy link
Member

liangxia commented Jan 3, 2025

/approve

Copy link
Contributor

openshift-ci bot commented Jan 3, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: anpingli, calebevans, liangxia, QiaolingTang

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 3, 2025
@QiaolingTang
Copy link
Contributor Author

/pj-rehearse ack

@openshift-ci-robot
Copy link
Contributor

@QiaolingTang: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@openshift-ci-robot openshift-ci-robot added the rehearsals-ack Signifies that rehearsal jobs have been acknowledged label Jan 3, 2025
Copy link
Contributor

openshift-ci bot commented Jan 3, 2025

@QiaolingTang: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/rehearse/periodic-ci-openshift-openshift-tests-private-release-4.14-multi-nightly-openshift-logging-5.7-aws-ipi-ovn-ipsec-amd-mixarch-f999-logging 0d0c2fa link unknown /pj-rehearse periodic-ci-openshift-openshift-tests-private-release-4.14-multi-nightly-openshift-logging-5.7-aws-ipi-ovn-ipsec-amd-mixarch-f999-logging
ci/rehearse/periodic-ci-openshift-openshift-tests-private-release-4.15-amd64-nightly-openshift-logging-5.9-azure-ipi-proxy-workers-rhcos-rhel8-f14-logging 149aae2 link unknown /pj-rehearse periodic-ci-openshift-openshift-tests-private-release-4.15-amd64-nightly-openshift-logging-5.9-azure-ipi-proxy-workers-rhcos-rhel8-f14-logging
ci/rehearse/periodic-ci-openshift-openshift-tests-private-release-4.18-amd64-nightly-openshift-logging-6.1-gcp-ipi-fips-f7-logging 149aae2 link unknown /pj-rehearse periodic-ci-openshift-openshift-tests-private-release-4.18-amd64-nightly-openshift-logging-6.1-gcp-ipi-fips-f7-logging

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@openshift-merge-bot openshift-merge-bot bot merged commit 0803a5d into openshift:master Jan 3, 2025
16 of 18 checks passed
@QiaolingTang QiaolingTang deleted the deploy_logging_operators branch January 3, 2025 02:03
Phaow pushed a commit to Phaow/release that referenced this pull request Jan 10, 2025
* update steps to deploy logging operators

* add more operators
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. rehearsals-ack Signifies that rehearsal jobs have been acknowledged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants