api icon indicating copy to clipboard operation
api copied to clipboard

IR-471: Removing featuregate for chunkSizeMiB config

Open deepsm007 opened this issue 1 year ago • 14 comments

/cc @flavianmissi https://github.com/openshift/cluster-image-registry-operator/pull/1073

deepsm007 avatar Jul 03 '24 12:07 deepsm007

@deepsm007: This pull request references IR-471 which is a valid jira issue.

In response to this:

/cc @flavianmissi I'll open one for image-registry in sometime

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 openshift-eng/jira-lifecycle-plugin repository.

openshift-ci-robot avatar Jul 03 '24 12:07 openshift-ci-robot

Hello @deepsm007! Some important instructions when contributing to openshift/api: API design plays an important part in the user experience of OpenShift and as such API PRs are subject to a high level of scrutiny to ensure they follow our best practices. If you haven't already done so, please review the OpenShift API Conventions and ensure that your proposed changes are compliant. Following these conventions will help expedite the api review process for your PR.

openshift-ci[bot] avatar Jul 03 '24 12:07 openshift-ci[bot]

LGTM to me from the registry side /lgtm

flavianmissi avatar Jul 03 '24 14:07 flavianmissi

@deepsm007: This pull request references IR-471 which is a valid jira issue.

In response to this:

/cc @flavianmissi https://github.com/openshift/cluster-image-registry-operator/pull/1073

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 openshift-eng/jira-lifecycle-plugin repository.

openshift-ci-robot avatar Jul 09 '24 19:07 openshift-ci-robot

/hold

deepsm007 avatar Jul 09 '24 19:07 deepsm007

Something is off... from e2e-aws-ovn job:

Observed a panic: &errors.errorString{s:"feature \"ChunkSizeMiB\" is not registered in FeatureGates

flavianmissi avatar Jul 26 '24 09:07 flavianmissi

/assign @JoelSpeed

deepsm007 avatar Jul 29 '24 15:07 deepsm007

Sippy test runs

deepsm007 avatar Jul 29 '24 15:07 deepsm007

/override ci/prow/verify-crd-schema

The only failures here are because of maps and bools, and cannot be fixed.

/override ci/prow/verify

Based on the sippy test runs above, I'm also happy that this is being tested and the verify checks (complaining that this feature doesn't work on Azure) are not something that makes sense in this context

One quick question, are there any other opinions we want to gather before we promote? Perhaps adding QE ack would be good?

JoelSpeed avatar Jul 29 '24 16:07 JoelSpeed

@JoelSpeed: Overrode contexts on behalf of JoelSpeed: ci/prow/verify, ci/prow/verify-crd-schema

In response to this:

/override ci/prow/verify-crd-schema

The only failures here are because of maps and bools, and cannot be fixed.

/override ci/prow/verify

Based on the sippy test runs above, I'm also happy that this is being tested and the verify checks (complaining that this feature doesn't work on Azure) are not something that makes sense in this context

One quick question, are there any other opinions we want to gather before we promote? Perhaps adding QE ack would be good?

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.

openshift-ci[bot] avatar Jul 29 '24 16:07 openshift-ci[bot]

One quick question, are there any other opinions we want to gather before we promote? Perhaps adding QE ack would be good?

QE will be testing this before we can confirm to merge the PR. cc @xiuwang is working on this and i'll wait for her feedback

deepsm007 avatar Jul 29 '24 17:07 deepsm007

/retest

xiuwang avatar Aug 01 '24 01:08 xiuwang

@deepsm007: This pull request references IR-471 which is a valid jira issue.

In response to this:

/cc @flavianmissi https://github.com/openshift/cluster-image-registry-operator/pull/1073

Sippy test runs

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 openshift-eng/jira-lifecycle-plugin repository.

openshift-ci-robot avatar Aug 01 '24 16:08 openshift-ci-robot

@deepsm007: This pull request references IR-471 which is a valid jira issue.

In response to this:

/cc @flavianmissi https://github.com/openshift/cluster-image-registry-operator/pull/1073

Sippy test runs

Tested with cluster-bot using this

cluster-bot]$ oc get clusterversion version
NAME      VERSION                                                AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.17.0-0.test-2024-08-01-193338-ci-ln-xxm7wdb-latest   True        False         5m24s   Cluster version is 4.17.0-0.test-2024-08-01-193338-ci-ln-xxm7wdb-latest

cluster-bot]$ oc patch config.image/cluster -p '{"spec":{"storage":{"s3":{"chunkSizeMiB":5}}}}' --type=merge
config.imageregistry.operator.openshift.io/cluster patched

cluster-bot]$ oc -n openshift-image-registry get  config.image/cluster -oyaml | yq .spec.storage.s3
bucket: ci-ln-xxm7wdb-76ef8-77pmb-image-registry-us-east-2-trhxwyqtpsk
chunkSizeMiB: 5
encrypt: true
region: us-east-2
trustedCA:
 name: ""
virtualHostedStyle: false

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 openshift-eng/jira-lifecycle-plugin repository.

openshift-ci-robot avatar Aug 01 '24 20:08 openshift-ci-robot

/unhold /retest

deepsm007 avatar Aug 01 '24 20:08 deepsm007

/label qe-approved

xiuwang avatar Aug 02 '24 02:08 xiuwang

@deepsm007: This pull request references IR-471 which is a valid jira issue.

In response to this:

/cc @flavianmissi https://github.com/openshift/cluster-image-registry-operator/pull/1073

Sippy test runs

Tested with cluster-bot using this

cluster-bot]$ oc get clusterversion version
NAME      VERSION                                                AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.17.0-0.test-2024-08-01-193338-ci-ln-xxm7wdb-latest   True        False         5m24s   Cluster version is 4.17.0-0.test-2024-08-01-193338-ci-ln-xxm7wdb-latest

cluster-bot]$ oc patch config.image/cluster -p '{"spec":{"storage":{"s3":{"chunkSizeMiB":5}}}}' --type=merge
config.imageregistry.operator.openshift.io/cluster patched

cluster-bot]$ oc -n openshift-image-registry get  config.image/cluster -oyaml | yq .spec.storage.s3
bucket: ci-ln-xxm7wdb-76ef8-77pmb-image-registry-us-east-2-trhxwyqtpsk
chunkSizeMiB: 5
encrypt: true
region: us-east-2
trustedCA:
 name: ""
virtualHostedStyle: false

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 openshift-eng/jira-lifecycle-plugin repository.

openshift-ci-robot avatar Aug 02 '24 02:08 openshift-ci-robot

/retest

xiuwang avatar Aug 02 '24 03:08 xiuwang

error: "[sig-imageregistry][OCPFeatureGate:ChunkSizeMiB][Conformance][apigroup:imageregistry.operator.openshift.io] Image Registry Config ChunkSizeMiB should reject ChunkSizeMiB value greater than 5 GiB [Suite:openshift/conformance/parallel/minimal]" only passed 76%, need at least 95% for "ChunkSizeMiB" on {azure amd64 ha}
error: "[sig-imageregistry][OCPFeatureGate:ChunkSizeMiB][Conformance][apigroup:imageregistry.operator.openshift.io] Image Registry Config ChunkSizeMiB should set ChunkSizeMiB value [Suite:openshift/conformance/parallel/minimal]" only passed 84%, need at least 95% for "ChunkSizeMiB" on {azure amd64 ha}
error: "[sig-imageregistry][OCPFeatureGate:ChunkSizeMiB][Conformance][apigroup:imageregistry.operator.openshift.io] Image Registry Config ChunkSizeMiB should set maximum valid ChunkSizeMiB value [Suite:openshift/conformance/parallel/minimal]" only passed 76%, need at least 95% for "ChunkSizeMiB" on {azure amd64 ha}
error: "[sig-imageregistry][OCPFeatureGate:ChunkSizeMiB][Conformance][apigroup:imageregistry.operator.openshift.io] Image Registry Config ChunkSizeMiB should set minimum valid ChunkSizeMiB value [Suite:openshift/conformance/parallel/minimal]" only passed 73%, need at least 95% for "ChunkSizeMiB" on {azure amd64 ha}
error: "[sig-imageregistry][OCPFeatureGate:ChunkSizeMiB][Conformance][apigroup:imageregistry.operator.openshift.io] Image Registry Config ChunkSizeMiB should not accept invalid ChunkSizeMiB value [Suite:openshift/conformance/parallel/minimal]" only passed 80%, need at least 95% for "ChunkSizeMiB" on {gcp amd64 ha}
error: "[sig-imageregistry][OCPFeatureGate:ChunkSizeMiB][Conformance][apigroup:imageregistry.operator.openshift.io] Image Registry Config ChunkSizeMiB should reject ChunkSizeMiB value greater than 5 GiB [Suite:openshift/conformance/parallel/minimal]" only passed 84%, need at least 95% for "ChunkSizeMiB" on {gcp amd64 ha}
error: "[sig-imageregistry][OCPFeatureGate:ChunkSizeMiB][Conformance][apigroup:imageregistry.operator.openshift.io] Image Registry Config ChunkSizeMiB should set ChunkSizeMiB value [Suite:openshift/conformance/parallel/minimal]" only passed 68%, need at least 95% for "ChunkSizeMiB" on {gcp amd64 ha}
error: "[sig-imageregistry][OCPFeatureGate:ChunkSizeMiB][Conformance][apigroup:imageregistry.operator.openshift.io] Image Registry Config ChunkSizeMiB should set maximum valid ChunkSizeMiB value [Suite:openshift/conformance/parallel/minimal]" only passed 88%, need at least 95% for "ChunkSizeMiB" on {gcp amd64 ha}
error: "[sig-imageregistry][OCPFeatureGate:ChunkSizeMiB][Conformance][apigroup:imageregistry.operator.openshift.io] Image Registry Config ChunkSizeMiB should set minimum valid ChunkSizeMiB value [Suite:openshift/conformance/parallel/minimal]" only passed 80%, need at least 95% for "ChunkSizeMiB" on {gcp amd64 ha}

Looks like we are picking up the test results correctly now. Percentages are lower than we require to pass automatically but you have QE sign off so I'm happy to merge

/lgtm /override ci/prow/verify-crd-schema /override ci/prow/verify

JoelSpeed avatar Aug 02 '24 11:08 JoelSpeed

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: deepsm007, flavianmissi, JoelSpeed

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[bot] avatar Aug 02 '24 11:08 openshift-ci[bot]

@JoelSpeed: Overrode contexts on behalf of JoelSpeed: ci/prow/verify, ci/prow/verify-crd-schema

In response to this:

error: "[sig-imageregistry][OCPFeatureGate:ChunkSizeMiB][Conformance][apigroup:imageregistry.operator.openshift.io] Image Registry Config ChunkSizeMiB should reject ChunkSizeMiB value greater than 5 GiB [Suite:openshift/conformance/parallel/minimal]" only passed 76%, need at least 95% for "ChunkSizeMiB" on {azure amd64 ha}
error: "[sig-imageregistry][OCPFeatureGate:ChunkSizeMiB][Conformance][apigroup:imageregistry.operator.openshift.io] Image Registry Config ChunkSizeMiB should set ChunkSizeMiB value [Suite:openshift/conformance/parallel/minimal]" only passed 84%, need at least 95% for "ChunkSizeMiB" on {azure amd64 ha}
error: "[sig-imageregistry][OCPFeatureGate:ChunkSizeMiB][Conformance][apigroup:imageregistry.operator.openshift.io] Image Registry Config ChunkSizeMiB should set maximum valid ChunkSizeMiB value [Suite:openshift/conformance/parallel/minimal]" only passed 76%, need at least 95% for "ChunkSizeMiB" on {azure amd64 ha}
error: "[sig-imageregistry][OCPFeatureGate:ChunkSizeMiB][Conformance][apigroup:imageregistry.operator.openshift.io] Image Registry Config ChunkSizeMiB should set minimum valid ChunkSizeMiB value [Suite:openshift/conformance/parallel/minimal]" only passed 73%, need at least 95% for "ChunkSizeMiB" on {azure amd64 ha}
error: "[sig-imageregistry][OCPFeatureGate:ChunkSizeMiB][Conformance][apigroup:imageregistry.operator.openshift.io] Image Registry Config ChunkSizeMiB should not accept invalid ChunkSizeMiB value [Suite:openshift/conformance/parallel/minimal]" only passed 80%, need at least 95% for "ChunkSizeMiB" on {gcp amd64 ha}
error: "[sig-imageregistry][OCPFeatureGate:ChunkSizeMiB][Conformance][apigroup:imageregistry.operator.openshift.io] Image Registry Config ChunkSizeMiB should reject ChunkSizeMiB value greater than 5 GiB [Suite:openshift/conformance/parallel/minimal]" only passed 84%, need at least 95% for "ChunkSizeMiB" on {gcp amd64 ha}
error: "[sig-imageregistry][OCPFeatureGate:ChunkSizeMiB][Conformance][apigroup:imageregistry.operator.openshift.io] Image Registry Config ChunkSizeMiB should set ChunkSizeMiB value [Suite:openshift/conformance/parallel/minimal]" only passed 68%, need at least 95% for "ChunkSizeMiB" on {gcp amd64 ha}
error: "[sig-imageregistry][OCPFeatureGate:ChunkSizeMiB][Conformance][apigroup:imageregistry.operator.openshift.io] Image Registry Config ChunkSizeMiB should set maximum valid ChunkSizeMiB value [Suite:openshift/conformance/parallel/minimal]" only passed 88%, need at least 95% for "ChunkSizeMiB" on {gcp amd64 ha}
error: "[sig-imageregistry][OCPFeatureGate:ChunkSizeMiB][Conformance][apigroup:imageregistry.operator.openshift.io] Image Registry Config ChunkSizeMiB should set minimum valid ChunkSizeMiB value [Suite:openshift/conformance/parallel/minimal]" only passed 80%, need at least 95% for "ChunkSizeMiB" on {gcp amd64 ha}

Looks like we are picking up the test results correctly now. Percentages are lower than we require to pass automatically but you have QE sign off so I'm happy to merge

/lgtm /override ci/prow/verify-crd-schema /override ci/prow/verify

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.

openshift-ci[bot] avatar Aug 02 '24 11:08 openshift-ci[bot]

/retest-required

Remaining retests: 0 against base HEAD 02716975a7483d95be7b67e75ca93a3bc447f38f and 2 for PR HEAD 7fdaeeaf4df2f1fc0ecec4775e45f6ad7ed727f1 in total

openshift-ci-robot avatar Aug 02 '24 11:08 openshift-ci-robot

/retest-required

Remaining retests: 0 against base HEAD 8b2b377d9d42634867e281b57218c372fe432cbe and 1 for PR HEAD 7fdaeeaf4df2f1fc0ecec4775e45f6ad7ed727f1 in total

openshift-ci-robot avatar Aug 02 '24 15:08 openshift-ci-robot

/retest-required

Remaining retests: 0 against base HEAD 346347bccbc8740da3afff665705afe9c554674b and 0 for PR HEAD 7fdaeeaf4df2f1fc0ecec4775e45f6ad7ed727f1 in total

openshift-ci-robot avatar Aug 02 '24 20:08 openshift-ci-robot

/hold

Revision 7fdaeeaf4df2f1fc0ecec4775e45f6ad7ed727f1 was retested 3 times: holding

openshift-ci-robot avatar Aug 02 '24 23:08 openshift-ci-robot

/retest-required

deepsm007 avatar Aug 04 '24 11:08 deepsm007

/unhold

deepsm007 avatar Aug 04 '24 20:08 deepsm007

/retest-required

Remaining retests: 0 against base HEAD 7461358e2e5c6a9db5a8724406999cc49f1daf0c and 2 for PR HEAD 7fdaeeaf4df2f1fc0ecec4775e45f6ad7ed727f1 in total

openshift-ci-robot avatar Aug 04 '24 20:08 openshift-ci-robot

/override ci/prow/verify /override ci/prow/verify-crd-schema

Tests are being skipped temporarily to avoid an ordering issue with merging this, but not updating payload CRDs directly. Tests need to be re-enabled once the CRDs are updated in payload.

See https://github.com/openshift/origin/pull/28975 for context

JoelSpeed avatar Aug 05 '24 09:08 JoelSpeed

@JoelSpeed: Overrode contexts on behalf of JoelSpeed: ci/prow/verify, ci/prow/verify-crd-schema

In response to this:

/override ci/prow/verify /override ci/prow/verify-crd-schema

Tests are being skipped temporarily to avoid an ordering issue with merging this, but not updating payload CRDs directly. Tests need to be re-enabled once the CRDs are updated in payload.

See https://github.com/openshift/origin/pull/28975 for context

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.

openshift-ci[bot] avatar Aug 05 '24 09:08 openshift-ci[bot]