compliantkubernetes-apps icon indicating copy to clipboard operation
compliantkubernetes-apps copied to clipboard

rook-ceph: error with network policies

Open crssnd opened this issue 2 years ago • 0 comments

Describe the bug The rook-ceph network policies fail wit the new rook version

To Reproduce Steps to reproduce the behaviour:

  1. Install the new rook-ceph
  2. Add the tolerations in the cluster.yaml and apply
  3. you will se the following error in rook-ceph-csi-detect-version: failed to save command output to ConfigMap. failed to determine if ConfigMap rook-ceph-csi-detect-version is preexisting. Get "[https://10.243.0.1:443/api/v1/namespaces/rook-ceph/configmaps/rook-ceph-csi-detect-version](https://10.243.0.1/api/v1/namespaces/rook-ceph/configmaps/rook-ceph-csi-detect-version)": dial tcp 10.243.0.1:443: i/o timeout
  4. Change the default resources and apply
  5. you will see this error: for: "...rook/cluster.yaml": Internal error occurred: failed calling webhook "cephcluster-wh-rook-ceph-admission-controller-rook-ceph.rook.io": failed to call webhook: Post "https://rook-ceph-admission-controller.rook-ceph.svc:443/validate-ceph-rook-io-v1-cephcluster?timeout=5s": dial tcp 10.243.68.139:443: i/o timeout

Expected behaviour Everything should work with the rook network policies.

Definition of Done

  • the network policies are fixed for the new rook-ceph version and regular ops changes can be performed without issues

crssnd avatar Dec 13 '22 14:12 crssnd