-
Bug
-
Resolution: Won't Do
-
Minor
-
None
-
4.16
-
Quality / Stability / Reliability
-
False
-
-
2
-
Moderate
-
No
-
None
-
None
-
Rejected
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Description of problem:
When applying the etc-pki-entitlement secret in an OpenShift build, an error is encountered due to the metadata.annotations field exceeding the size limit of 262144 bytes. Our documentation should instruct admins to use server-side apply so that the metadata.annotations field does not explode.
Version-Release number of selected component (if applicable):
4.16 on top of OSP17.1
How reproducible:
Always
Steps to Reproduce:
1.
2.
3.
Actual results:
Test case fails
Expected results:
Additional info:
Impacted docs: https://docs.redhat.com/en/documentation/openshift_container_platform/4.17/html/builds_using_buildconfig/running-entitled-builds#builds-source-secrets-entitlements_running-entitled-builds
fail [github.com/openshift/origin/test/extended/builds/subscription_content.go:55]: creating secret etc-pki-entitlement
Unexpected error:
<*fmt.wrapError | 0xc001897d40>:
Error running /usr/local/bin/oc --namespace=e2e-test-build-subscription-content-7kbtn --kubeconfig=/tmp/configfile603472159 apply -f -:
StdOut>
The Secret "etc-pki-entitlement" is invalid: metadata.annotations: Too long: must have at most 262144 bytes
StdErr>
The Secret "etc-pki-entitlement" is invalid: metadata.annotations: Too long: must have at most 262144 bytes
exit status 1
{
msg: "Error running /usr/local/bin/oc --namespace=e2e-test-build-subscription-content-7kbtn --kubeconfig=/tmp/configfile603472159 apply -f -:\nStdOut>\nThe Secret \"etc-pki-entitlement\" is invalid: metadata.annotations: Too long: must have at most 262144 bytes\nStdErr>\nThe Secret \"etc-pki-entitlement\" is invalid: metadata.annotations: Too long: must have at most 262144 bytes\nexit status 1\n",
err: <*exec.ExitError | 0xc001897d20>{
ProcessState: {
pid: 537188,
status: 256,
rusage: {
Utime: {Sec: 0, Usec: 224613},
Stime: {Sec: 0, Usec: 39183},
Maxrss: 212436,
Ixrss: 0,
Idrss: 0,
Isrss: 0,
Minflt: 3671,
Majflt: 0,
Nswap: 0,
Inblock: 0,
Oublock: 0,
Msgsnd: 0,
Msgrcv: 0,
Nsignals: 0,
Nvcsw: 686,
Nivcsw: 143,
},
},
Stderr: nil,
},
}occurred
Ginkgo exit error 1: exit with code 1
- clones
-
OCPBUGS-31638 Build Subscription Content Tests Fail on OCP on top of OSP
-
- Closed
-
- is cloned by
-
OCPBUGS-49680 Build Subscription Content Tests Fail - Secret Too Large
-
- Closed
-
- is duplicated by
-
OCPBUGS-31638 Build Subscription Content Tests Fail on OCP on top of OSP
-
- Closed
-
- is related to
-
SPLAT-2094 [platform-external] investigate e2e failure: [sig-builds](...) builds installing subscription content [apigroup:build.openshift.io should succeed for RHEL {7-9} base images (...)
-
- Closed
-