Project

General

Profile

Actions

Bug #57311

open

rook: ensure CRDs are installed first

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

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

0%

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

Description

/a/lflores-2022-08-25_17:56:48-rados-wip-yuri11-testing-2022-08-24-0658-distro-default-smithi/6992994

2022-08-26T02:22:40.161 INFO:teuthology.orchestra.run.smithi035.stderr:error: resource mapping not found for name: "00-rook-privileged" namespace: "" from "rook/deploy/examples/common.yaml": no matches for kind "PodSecurityPolicy" in version "policy/v1beta1" 
2022-08-26T02:22:40.161 INFO:teuthology.orchestra.run.smithi035.stderr:ensure CRDs are installed first
2022-08-26T02:22:40.162 DEBUG:teuthology.orchestra.run:got remote process result: 1
2022-08-26T02:22:40.164 ERROR:tasks.rook:Command failed on smithi035 with status 1: 'kubectl create -f rook/deploy/examples/crds.yaml -f rook/deploy/examples/common.yaml -f operator.yaml'
Traceback (most recent call last):
  File "/home/teuthworker/src/git.ceph.com_ceph-c_e6f8a1f163043aefcdf0f1215b3d750ca5f66e99/qa/tasks/rook.py", line 128, in rook_operator
    '-f', 'operator.yaml',
  File "/home/teuthworker/src/git.ceph.com_ceph-c_e6f8a1f163043aefcdf0f1215b3d750ca5f66e99/qa/tasks/rook.py", line 38, in _kubectl
    **kwargs
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_b1d387f12b117399cb87c86aaa341398fa0c0919/teuthology/orchestra/remote.py", line 510, in run
    r = self._runner(client=self.ssh, name=self.shortname, **kwargs)
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_b1d387f12b117399cb87c86aaa341398fa0c0919/teuthology/orchestra/run.py", line 455, in run
    r.wait()
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_b1d387f12b117399cb87c86aaa341398fa0c0919/teuthology/orchestra/run.py", line 161, in wait
    self._raise_for_status()
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_b1d387f12b117399cb87c86aaa341398fa0c0919/teuthology/orchestra/run.py", line 183, in _raise_for_status
    node=self.hostname, label=self.label
teuthology.exceptions.CommandFailedError: Command failed on smithi035 with status 1: 'kubectl create -f rook/deploy/examples/crds.yaml -f rook/deploy/examples/common.yaml -f operator.yaml

Actions #1

Updated by Laura Flores over 1 year ago

  • Backport set to quincy

/a/yuriw-2022-08-25_22:59:41-rados-wip-yuri3-testing-2022-08-24-0820-quincy-distro-default-smithi/6994124

Actions #2

Updated by John Mulligan over 1 year ago

https://kubernetes.io/docs/concepts/security/pod-security-policy/

The PodSecurityPolicy resource type was removed from kubernetes in 1.25 (released 2022-08-24).

The rook resources deployed by the tests need to remove the use of PodSecurityPolicy resources to work on k8s 1.25.

Actions #3

Updated by Matan Breizman over 1 year ago

/a/yuriw-2022-09-14_20:04:05-rados-wip-yuri3-testing-2022-09-13-0928-distro-default-smithi/7033172

/a/yuriw-2022-09-14_20:04:05-rados-wip-yuri3-testing-2022-09-13-0928-distro-default-smithi/7033177

/a/yuriw-2022-09-14_13:16:11-rados-wip-yuri6-testing-2022-09-13-1352-distro-default-smithi/7032119

/a/yuriw-2022-09-14_13:16:11-rados-wip-yuri6-testing-2022-09-13-1352-distro-default-smithi/7032277

Actions #4

Updated by Laura Flores over 1 year ago

/a/yuriw-2022-09-21_21:00:57-rados-wip-yuri3-testing-2022-09-21-0921-distro-default-smithi/7040424

Actions #5

Updated by Laura Flores over 1 year ago

/a/yuriw-2022-09-23_20:38:59-rados-wip-yuri6-testing-2022-09-23-1008-quincy-distro-default-smithi/7042656

Actions #6

Updated by Kamoltat (Junior) Sirivadhna over 1 year ago

/a/yuriw-2022-09-27_23:37:28-rados-wip-yuri2-testing-2022-09-27-1455-distro-default-smithi/7046147

Actions #7

Updated by Kamoltat (Junior) Sirivadhna over 1 year ago

/a/yuriw-2022-09-27_23:37:28-rados-wip-yuri2-testing-2022-09-27-1455-distro-default-smithi/7046305

Actions #8

Updated by Laura Flores over 1 year ago

/a/yuriw-2022-10-17_17:31:25-rados-wip-yuri7-testing-2022-10-17-0814-distro-default-smithi/7070926

Actions #9

Updated by Aishwarya Mathuria over 1 year ago

/a/yuriw-2022-11-29_22:29:58-rados-wip-yuri10-testing-2022-11-29-1005-pacific-distro-default-smithi/7097553

Actions #10

Updated by Matan Breizman over 1 year ago

/a/yuriw-2022-11-28_16:28:53-rados-wip-yuri-testing-2022-11-18-1500-pacific-distro-default-smithi/7094422/
/a/yuriw-2022-11-28_16:28:53-rados-wip-yuri-testing-2022-11-18-1500-pacific-distro-default-smithi/7094685/

/a/yuriw-2022-11-23_21:36:17-rados-wip-yuri11-testing-2022-11-18-1506-distro-default-smithi/7089770/

Actions

Also available in: Atom PDF