Project

General

Profile

Bug #57268

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

Added by Laura Flores over 1 year ago. Updated over 1 year ago.

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

0%

Source:
Tags:
backport_processed
Backport:
quincy, pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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

Duplicated by Ceph - Bug #57368: The CustomResourceDefinition "installations.operator.tigera.io" is invalid: metadata.annotations: Too long: must have at most 262144 bytes Duplicate
Copied to Orchestrator - Backport #57503: pacific: rook: The CustomResourceDefinition "installations.operator.tigera.io" is invalid Resolved
Copied to Orchestrator - Backport #57504: quincy: rook: The CustomResourceDefinition "installations.operator.tigera.io" is invalid Resolved

History

#1 Updated by Laura Flores over 1 year ago

/a/yuriw-2022-08-22_20:21:58-rados-wip-yuri11-testing-2022-08-22-1005-distro-default-smithi/6986112

#2 Updated by Laura Flores over 1 year ago

  • Tags set to test-failure

#3 Updated by John Mulligan over 1 year 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.

#4 Updated by John Mulligan over 1 year 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.

#5 Updated by John Mulligan over 1 year ago

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

#6 Updated by Adam King over 1 year ago

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

#7 Updated by Backport Bot over 1 year ago

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

#8 Updated by Backport Bot over 1 year ago

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

#9 Updated by Backport Bot over 1 year ago

  • Tags set to backport_processed

#10 Updated by Adam King over 1 year ago

  • Status changed from Pending Backport to Resolved

#11 Updated by Laura Flores over 1 year ago

/a/yuriw-2022-09-20_17:39:55-rados-wip-yuri5-testing-2022-09-19-1007-pacific-distro-default-smithi/7039330

#12 Updated by Laura Flores over 1 year ago

  • Duplicated by Bug #57368: The CustomResourceDefinition "installations.operator.tigera.io" is invalid: metadata.annotations: Too long: must have at most 262144 bytes added

Also available in: Atom PDF