Bug #57268
closedrook: The CustomResourceDefinition "installations.operator.tigera.io" is invalid
0%
Description
/a/yuriw-2022-08-22_15:14:25-rados-wip-yuri6-testing-2022-08-19-0940-pacific-distro-default-smithi/6984948
2022-08-22T20:24:55.576 INFO:teuthology.orchestra.run.smithi087.stdout:serviceaccount/tigera-operator created
2022-08-22T20:24:55.588 INFO:teuthology.orchestra.run.smithi087.stdout:clusterrole.rbac.authorization.k8s.io/tigera-operator created
2022-08-22T20:24:55.636 INFO:teuthology.orchestra.run.smithi087.stdout:clusterrolebinding.rbac.authorization.k8s.io/tigera-operator created
2022-08-22T20:24:55.670 INFO:teuthology.orchestra.run.smithi087.stdout:deployment.apps/tigera-operator created
2022-08-22T20:24:55.671 INFO:teuthology.orchestra.run.smithi087.stderr:The CustomResourceDefinition "installations.operator.tigera.io" is invalid: metadata.annotations: Too long: must have at most 262144 bytes
2022-08-22T20:24:55.674 DEBUG:teuthology.orchestra.run:got remote process result: 1
2022-08-22T20:24:55.675 ERROR:teuthology.contextutil:Saw exception from nested tasks
Traceback (most recent call last):
Updated by Laura Flores over 3 years ago
/a/yuriw-2022-08-22_20:21:58-rados-wip-yuri11-testing-2022-08-22-1005-distro-default-smithi/6986112
Updated by John Mulligan over 3 years ago
This error is probably caused by the use of `kubectl apply` in the tests (and the length of the custom resource defintion probably growing as well). If the test is using a recent enough version of k8s a quick workaround may be to use `kubectl apply --server-side` instead.
The `Too long: must have at most 262144 bytes` error is caused by kubectl apply having to create an annotation when doing the (default) client side apply.
Updated by John Mulligan over 3 years ago
- Assignee set to John Mulligan
Code looks simple enough and there is already a use of 'kubectl create' in the same code block, so switching it to create is probably just as good a fix. I'll post a PR for this.
Updated by John Mulligan over 3 years ago
- Status changed from New to In Progress
- Pull request ID set to 47854
Updated by Adam King over 3 years ago
- Status changed from In Progress to Pending Backport
- Backport changed from pacific to quincy, pacific
Updated by Upkeep Bot over 3 years ago
- Copied to Backport #57503: pacific: rook: The CustomResourceDefinition "installations.operator.tigera.io" is invalid added
Updated by Upkeep Bot over 3 years ago
- Copied to Backport #57504: quincy: rook: The CustomResourceDefinition "installations.operator.tigera.io" is invalid added
Updated by Adam King over 3 years ago
- Status changed from Pending Backport to Resolved
Updated by Laura Flores over 3 years ago
/a/yuriw-2022-09-20_17:39:55-rados-wip-yuri5-testing-2022-09-19-1007-pacific-distro-default-smithi/7039330
Updated by Laura Flores over 3 years ago
- Has duplicate Bug #57368: The CustomResourceDefinition "installations.operator.tigera.io" is invalid: metadata.annotations: Too long: must have at most 262144 bytes added
Updated by Upkeep Bot 8 months ago
- Merge Commit set to 78574ddad667ad62e547b6bc0e16533b9d6e91e0
- Fixed In set to v17.0.0-14894-g78574ddad66
- Released In set to v18.2.0~1365
- Upkeep Timestamp set to 2025-07-13T05:41:26+00:00