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

Also available in: Atom PDF