Skip to content

Conversation

@jianlinliu
Copy link
Contributor

@jianlinliu jianlinliu commented Aug 11, 2022

  1. follow up Download yq in upi installer containers installer#6008 to use yq binary installed from upi-installer image
  2. add some QE member as some steps' approvers
  3. For workers-rhel-repos step, also saw several oc downloading issues, inject cli: latest to enhance it. e.g: https://prow.ci.openshift.org/view/gs/origin-ci-test/pr-logs/pull/openshift_release/31307/rehearse-31307-periodic-ci-openshift-verification-tests-master-installer-rehearse-4.12-installer-rehearse-aws/1560142508833378304

@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Aug 11, 2022
@openshift-ci openshift-ci bot requested review from bear-redhat and gpei August 11, 2022 10:03
@jianlinliu
Copy link
Contributor Author

jianlinliu commented Aug 15, 2022

@wking @patrickdillon just like what we discussed in slack, I add me and @yunjiang29 as approvers for some install steps in this PR, pls help review.

@jianlinliu jianlinliu changed the title WIP: using yq installed from upi-installer image using yq installed from upi-installer image Aug 15, 2022
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Aug 15, 2022
@yunjiang29
Copy link
Contributor

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Aug 16, 2022
@@ -1,9 +1,6 @@
ref:
as: aws-deprovision-cco-manual-users-static
from_image:
namespace: ocp
name: "4.5"
Copy link
Member

Choose a reason for hiding this comment

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

don't you need to pin a recent 4.y if you want to rely on openshift/installer#6008? Otherwise 4.8 flows using this step, etc., will fail to find the binary, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

To be honest, I am a bit confuse with the difference between:

from: upi-installer

v.s

  from_image:
    namespace: ocp
    name: "4.5"
    tag: upi-installer

My understanding is from: upi-installer will rely on the prow ci jobs where defined upi-installer, right? If yes, when some jobs did not defined upi-installer, the job referencing the step will be broken as what you said. If that, I probably need to pin it to 4.12.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

For the specific step, presently it is only consumed by QE's jobs, the job we defined upi-installer like https://github.com/openshift/release/blob/master/ci-operator/config/openshift/verification-tests/openshift-verification-tests-master__installer-rehearse-4.12.yaml#L14-L17, that is supposed to works in 4.12 prow jobs. Of course, if we want to make the steps working in broader jobs, maybe it is most safe to pin it to 4.12 tag. WDYT?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I changed back to use a pinned-version (4.12) upi-installer image for the step.

@@ -1,9 +1,6 @@
ref:
as: ipi-conf-aws-blackholenetwork
from_image:
namespace: ocp
name: "4.5"
Copy link
Member

Choose a reason for hiding this comment

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

13cec2f (#9791) explains the history of aws availability in early 4.y upi-installer images. If we want to drop this pin here, we'd be breaking this step for 4.4, etc. Which we're maybe ok with now? But if so, we should call that out explicitly in the commit message, so folks realize we're intentionally breaking the use case.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I changed back to use a pinned-version (4.12) upi-installer image for the step.

@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Aug 17, 2022
@jianlinliu
Copy link
Contributor Author

The failed jobs are because for e2e testing part, not relevant with the change in this PR.

@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Aug 20, 2022
@openshift-merge-robot openshift-merge-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Aug 22, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 22, 2022

@jianlinliu: 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/openshift/metallb-operator/main/operator-e2e-upgrade 8c33341ed1e20da4c98c74f6f3177149cbb0e40a link unknown /test pj-rehearse
ci/rehearse/openshift/openshift-controller-manager/master/openshift-e2e-aws-builds-techpreview 8c33341ed1e20da4c98c74f6f3177149cbb0e40a link unknown /test pj-rehearse
ci/rehearse/openshift/cloud-credential-operator/master/e2e-aws-manual-oidc 8c33341ed1e20da4c98c74f6f3177149cbb0e40a link unknown /test pj-rehearse
ci/rehearse/quay/quay-bridge-operator/master/ocp-latest-e2e 8c33341ed1e20da4c98c74f6f3177149cbb0e40a link unknown /test pj-rehearse
ci/rehearse/openshift/cluster-api-provider-azure/master/e2e-azure-serial 1fe7c59df2b37ff07b17c3050fb9e5ae6fbe4abc link unknown /test pj-rehearse
ci/rehearse/openshift/console-operator/master/e2e-gcp 1fe7c59df2b37ff07b17c3050fb9e5ae6fbe4abc link unknown /test pj-rehearse
ci/rehearse/openshift/hypershift/main/e2e-kubevirt-gcp-ovn 1fe7c59df2b37ff07b17c3050fb9e5ae6fbe4abc link unknown /test pj-rehearse
ci/rehearse/openshift/hypershift/main/e2e-kubevirt-azure-ovn 1fe7c59df2b37ff07b17c3050fb9e5ae6fbe4abc link unknown /test pj-rehearse
ci/rehearse/openshift/community.okd/main/integration 049e8baa34b6e2e61a8571f0fe590a98571d3d63 link unknown /test pj-rehearse
ci/rehearse/kubevirt/hyperconverged-cluster-operator/main/hco-e2e-image-index-sno-azure 1fe7c59df2b37ff07b17c3050fb9e5ae6fbe4abc link unknown /test pj-rehearse
ci/rehearse/openshift/cluster-ingress-operator/master/e2e-aws-single-node ba1465c308eefc7d89b8a706ccad035743d82cdb link unknown /test pj-rehearse
ci/rehearse/openshift/openshift-tests-private/master/debug-disasterrecovery-aws-ipi 049e8baa34b6e2e61a8571f0fe590a98571d3d63 link unknown /test pj-rehearse
ci/rehearse/konveyor/pelorus/master/4.10-e2e-openshift 049e8baa34b6e2e61a8571f0fe590a98571d3d63 link unknown /test pj-rehearse
ci/rehearse/openshift/windows-machine-config-bootstrapper/master/aws-e2e-ccm-install 1fe7c59df2b37ff07b17c3050fb9e5ae6fbe4abc link unknown /test pj-rehearse
ci/rehearse/quay/quay-bridge-operator/master/ocp-4.6-e2e 049e8baa34b6e2e61a8571f0fe590a98571d3d63 link unknown /test pj-rehearse
ci/rehearse/openshift/console-operator/master/e2e-agnostic-upgrade 1fe7c59df2b37ff07b17c3050fb9e5ae6fbe4abc link unknown /test pj-rehearse
ci/rehearse/openshift/okd-machine-os/master/e2e-aws-crun ba1465c308eefc7d89b8a706ccad035743d82cdb link unknown /test pj-rehearse
ci/rehearse/operator-framework/community-operators/master/4.7-deploy-operator-on-openshift 4964b2375a244755aee883181dab57ae9c82eb89 link unknown /test pj-rehearse
ci/rehearse/openshift/machine-config-operator/master/e2e-gcp-single-node 36f2301698d91d17c5570794c1e9544f8732d1ae link unknown /test pj-rehearse
ci/rehearse/kubevirt/kubevirt-template-validator/master/e2e-functests c68572770e178711b2dc351a6efb0aa3dd5aad63 link unknown /test pj-rehearse
ci/rehearse/openshift/kubernetes/master/k8s-e2e-gcp c68572770e178711b2dc351a6efb0aa3dd5aad63 link unknown /test pj-rehearse
ci/rehearse/openshift/kubernetes/master/k8s-e2e-aws c68572770e178711b2dc351a6efb0aa3dd5aad63 link unknown /test pj-rehearse
ci/rehearse/periodic-ci-openshift-multiarch-master-nightly-4.12-ocp-e2e-aws-arm64-techpreview 64178e910b80c543b4f42df2efbb980a07e0483a link unknown /test pj-rehearse
ci/rehearse/periodic-ci-openshift-hypershift-main-periodics-e2e-conformance-proxy a616db4b9a9448f87dbb1f563e55cc5e4ae5c7a4 link unknown /test pj-rehearse
ci/rehearse/openshift/cloud-provider-aws/master/e2e-aws-cgroupsv2 a616db4b9a9448f87dbb1f563e55cc5e4ae5c7a4 link unknown /test pj-rehearse
ci/rehearse/periodic-ci-kata-containers-kata-containers-main-4.11-e2e-tests 83fcfffc129f5dc5fa7aa186067e80a69563d73c link unknown /test pj-rehearse
ci/rehearse/openshift/aws-ebs-csi-driver/master/e2e-aws-csi 83fcfffc129f5dc5fa7aa186067e80a69563d73c link unknown /test pj-rehearse
ci/rehearse/periodic-ci-kata-containers-kata-containers-main-e2e-tests a616db4b9a9448f87dbb1f563e55cc5e4ae5c7a4 link unknown /test pj-rehearse
ci/rehearse/periodic-ci-openshift-hypershift-main-periodics-e2e-conformance-azure a616db4b9a9448f87dbb1f563e55cc5e4ae5c7a4 link unknown /test pj-rehearse
ci/rehearse/openshift/ovn-kubernetes/master/e2e-aws-ovn-shared-to-local-gateway-mode-migration 64178e910b80c543b4f42df2efbb980a07e0483a link unknown /test pj-rehearse
ci/rehearse/openshift/cluster-capi-operator/main/e2e-aws-techpreview a616db4b9a9448f87dbb1f563e55cc5e4ae5c7a4 link unknown /test pj-rehearse
ci/rehearse/openshift/machine-config-operator/master/e2e-aws-ovn-workers-rhel8 715a24f link unknown /test pj-rehearse
ci/prow/pj-rehearse 715a24f link false /test pj-rehearse
ci/rehearse/openshift/csi-livenessprobe/release-4.5/e2e-aws-csi 715a24f link unknown /test pj-rehearse

Full PR test history. Your PR dashboard.

Details

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/test-infra repository. I understand the commands that are listed here.

@jianlinliu jianlinliu changed the title using yq installed from upi-installer image using yq and oc installed from executor images Aug 24, 2022
@patrickdillon
Copy link
Contributor

/approve

Copy link
Member

@wking wking 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 Aug 24, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 24, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jianlinliu, patrickdillon, wking, yunjiang29

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

The pull request process is described here

Details 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 Aug 24, 2022
@openshift-merge-robot openshift-merge-robot merged commit 8a4696c into openshift:master Aug 24, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 24, 2022

@jianlinliu: Updated the ci-operator-master-configs configmap in namespace ci at cluster app.ci using the following files:

  • key openshift-verification-tests-master__installer-rehearse-4.11.yaml using file ci-operator/config/openshift/verification-tests/openshift-verification-tests-master__installer-rehearse-4.11.yaml
  • key openshift-verification-tests-master__installer-rehearse-4.12.yaml using file ci-operator/config/openshift/verification-tests/openshift-verification-tests-master__installer-rehearse-4.12.yaml
Details

In response to this:

  1. follow up Download yq in upi installer containers installer#6008 to use yq binary installed from upi-installer image
  2. add some QE member as some steps' approvers
  3. For workers-rhel-repos step, also saw several oc downloading issues, inject cli: latest to enhance it. e.g: https://prow.ci.openshift.org/view/gs/origin-ci-test/pr-logs/pull/openshift_release/31307/rehearse-31307-periodic-ci-openshift-verification-tests-master-installer-rehearse-4.12-installer-rehearse-aws/1560142508833378304

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/test-infra repository.

wking added a commit to wking/openshift-release that referenced this pull request Sep 9, 2022
The OCM team is concerned about the volume of data submitted by
ephemeral CI clusters.  This commit disables Telemetry by default (for
the bulk of CI, which flows through this step), while still allowing
Telemetry to be enabled for jobs that have important data to report,
or jobs that want to excersise the Telemetry or Insights reporting
logic.

From [1]:

> You can modify your existing global cluster pull secret to disable
> remote health reporting. This disables both Telemetry and the
> Insights Operator.

In 4.12, the Insights operator is growing a new configuration
structure that allows disabling Insights [1,2] without affecting
Telemetry.  And it turns out that the monitoring operator has a
similar option to disable Telemetry [3], although the only documented
use for telemeterClient is for setting nodeSelector [4].

There are a number of existing steps poking at the
cluster-monitoring-config ConfigMap, including
ipi-conf-inframachineset setting telemeterClient's nodeSelector, so I
am following ipi-conf-user-workload-monitoring's use of yq patching
and manifest naming to fit in with the other steps.

I'm following 8a4696c (using yq installed from upi-installer image,
2022-08-25, openshift#31256) to get yq from the upi-installer image instead of
curling it down dynamically.  With the 4.12 pin to get `yq`, we're
safe using `upi-installer`, even for CI jobs that are otherwise
looking at different 4.y.

[1]: https://github.com/openshift/enhancements/blob/ef85659d01738b9f89958d5f0da31cff05bb1182/enhancements/insights/insights-config-api.md
[2]: https://docs.openshift.com/container-platform/4.11/support/remote_health_monitoring/opting-out-of-remote-health-reporting.html
[3]: https://github.com/openshift/cluster-monitoring-operator/blob/8d331d78b22948d36c20da0552763ddd8a4e2093/pkg/manifests/config.go#L337
[4]: https://docs.openshift.com/container-platform/4.11/monitoring/configuring-the-monitoring-stack.html#moving-monitoring-components-to-different-nodes_configuring-the-monitoring-stack
openshift-merge-robot pushed a commit that referenced this pull request Sep 13, 2022
…try (#32153)

* ci-operator/step-registry/ipi/conf/telemetry: Disable Telemetry

The OCM team is concerned about the volume of data submitted by
ephemeral CI clusters.  This commit disables Telemetry by default (for
the bulk of CI, which flows through this step), while still allowing
Telemetry to be enabled for jobs that have important data to report,
or jobs that want to excersise the Telemetry or Insights reporting
logic.

From [1]:

> You can modify your existing global cluster pull secret to disable
> remote health reporting. This disables both Telemetry and the
> Insights Operator.

In 4.12, the Insights operator is growing a new configuration
structure that allows disabling Insights [1,2] without affecting
Telemetry.  And it turns out that the monitoring operator has a
similar option to disable Telemetry [3], although the only documented
use for telemeterClient is for setting nodeSelector [4].

There are a number of existing steps poking at the
cluster-monitoring-config ConfigMap, including
ipi-conf-inframachineset setting telemeterClient's nodeSelector, so I
am following ipi-conf-user-workload-monitoring's use of yq patching
and manifest naming to fit in with the other steps.

I'm following 8a4696c (using yq installed from upi-installer image,
2022-08-25, #31256) to get yq from the upi-installer image instead of
curling it down dynamically.  With the 4.12 pin to get `yq`, we're
safe using `upi-installer`, even for CI jobs that are otherwise
looking at different 4.y.

[1]: https://github.com/openshift/enhancements/blob/ef85659d01738b9f89958d5f0da31cff05bb1182/enhancements/insights/insights-config-api.md
[2]: https://docs.openshift.com/container-platform/4.11/support/remote_health_monitoring/opting-out-of-remote-health-reporting.html
[3]: https://github.com/openshift/cluster-monitoring-operator/blob/8d331d78b22948d36c20da0552763ddd8a4e2093/pkg/manifests/config.go#L337
[4]: https://docs.openshift.com/container-platform/4.11/monitoring/configuring-the-monitoring-stack.html#moving-monitoring-components-to-different-nodes_configuring-the-monitoring-stack

* ci-operator/step-registry: Inject ipi-conf-telemetry after ipi-conf

Generated with:

  $ sed -i 's/^\( *- ref: ipi-conf\)$/\1\n\1-telemetry/' $(git grep -l '^ *- ref: ipi-conf$' ci-operator/step-registry)

to slot the new step in after the generic ipi-conf, so we can
configure Telemetry in all of the existing chains and workflows that
were flowing through ipi-conf.

* ci-operator/config/openshift/telemeter: TELEMETER_ENABLED=true

When making changes to the Telemeter client, we want to ensure that
we're still excercising uploads.
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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants