Project

General

Profile

Actions

Bug #57268

closed

rook: The CustomResourceDefinition "installations.operator.tigera.io" is invalid

Added by Laura Flores over 3 years ago. Updated 8 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
Backport:
quincy, pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Fixed In:
v17.0.0-14894-g78574ddad66
Released In:
v18.2.0~1365
Upkeep Timestamp:
2025-07-13T05:41:26+00:00

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):


Related issues 3 (0 open3 closed)

Has duplicate Ceph - Bug #57368: The CustomResourceDefinition "installations.operator.tigera.io" is invalid: metadata.annotations: Too long: must have at most 262144 bytesDuplicate

Actions
Copied to Orchestrator - Backport #57503: pacific: rook: The CustomResourceDefinition "installations.operator.tigera.io" is invalidResolvedAdam KingActions
Copied to Orchestrator - Backport #57504: quincy: rook: The CustomResourceDefinition "installations.operator.tigera.io" is invalidResolvedAdam KingActions
Actions #1

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

Actions #2

Updated by Laura Flores over 3 years ago

  • Tags set to test-failure
Actions #3

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.

Actions #4

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.

Actions #5

Updated by John Mulligan over 3 years ago

  • Status changed from New to In Progress
  • Pull request ID set to 47854
Actions #6

Updated by Adam King over 3 years ago

  • Status changed from In Progress to Pending Backport
  • Backport changed from pacific to quincy, pacific
Actions #7

Updated by Upkeep Bot over 3 years ago

  • Copied to Backport #57503: pacific: rook: The CustomResourceDefinition "installations.operator.tigera.io" is invalid added
Actions #8

Updated by Upkeep Bot over 3 years ago

  • Copied to Backport #57504: quincy: rook: The CustomResourceDefinition "installations.operator.tigera.io" is invalid added
Actions #10

Updated by Adam King over 3 years ago

  • Status changed from Pending Backport to Resolved
Actions #11

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

Actions #12

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
Actions #13

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
Actions

Also available in: Atom PDF