Git Product home page Git Product logo

Comments (4)

travisn avatar travisn commented on May 26, 2024

@khaninejad Was there any data in the cluster remaining? Rook will not delete the CRs if there are rbd images in the pool. The operator log should show errors about why the pool couldn't be deleted. You can also force remove the finalizers as described here

from rook.github.io.

khaninejad avatar khaninejad commented on May 26, 2024

@travisn It was a fresh cluster,
I followed the link and this is the result:

The CephBlockPool "replicapool" is invalid:

  • metadata.finalizers: Invalid value: "": name part must be non-empty
  • metadata.finalizers: Invalid value: "": name part must consist of alphanumeric characters, '-', '' or '.', and must start and end with an alphanumeric charac ter (e.g. 'MyName', or 'my.name', or '123-abc', regex used for validation is ' ([A-Za-z0-9][-A-Za-z0-9.]*)?[A-Za-z0-9]')
  • metadata.finalizers: Forbidden: no new finalizers can be added if the object i s being deleted, found new finalizers []string{""}
    The CephCluster "rook-ceph" is invalid:
  • metadata.finalizers: Invalid value: "": name part must be non-empty
  • metadata.finalizers: Invalid value: "": name part must consist of alphanumeric characters, '-', '' or '.', and must start and end with an alphanumeric charac ter (e.g. 'MyName', or 'my.name', or '123-abc', regex used for validation is ' ([A-Za-z0-9][-A-Za-z0-9.]*)?[A-Za-z0-9]')
  • metadata.finalizers: Forbidden: no new finalizers can be added if the object i s being deleted, found new finalizers []string{""}
    The CephFilesystem "myfs" is invalid:
  • metadata.finalizers: Invalid value: "": name part must be non-empty
  • metadata.finalizers: Invalid value: "": name part must consist of alphanumeric characters, '-', '' or '.', and must start and end with an alphanumeric charac ter (e.g. 'MyName', or 'my.name', or '123-abc', regex used for validation is ' ([A-Za-z0-9][-A-Za-z0-9.]*)?[A-Za-z0-9]')
    The CephObjectStore "my-store" is invalid:
  • metadata.finalizers: Invalid value: "": name part must be non-empty
  • metadata.finalizers: Invalid value: "": name part must consist of alphanumeric characters, '-', '' or '.', and must start and end with an alphanumeric charac ter (e.g. 'MyName', or 'my.name', or '123-abc', regex used for validation is ' ([A-Za-z0-9][-A-Za-z0-9.]*)?[A-Za-z0-9]')
  • metadata.finalizers: Forbidden: no new finalizers can be added if the object i s being deleted, found new finalizers []string{""}
    root@tabm1:/home/shoniz# vi remove.sh
    root@tabm1:/home/shoniz# chmod +x remove.sh
    root@tabm1:/home/shoniz# ./remove.sh
    The CephBlockPool "replicapool" is invalid:
  • metadata.finalizers: Invalid value: "": name part must be non-empty
  • metadata.finalizers: Invalid value: "": name part must consist of alphanumeric characters, '-', '' or '.', and must start and end with an alphanumeric charac ter (e.g. 'MyName', or 'my.name', or '123-abc', regex used for validation is ' ([A-Za-z0-9][-A-Za-z0-9.]*)?[A-Za-z0-9]')
  • metadata.finalizers: Forbidden: no new finalizers can be added if the object i s being deleted, found new finalizers []string{""}
    The CephCluster "rook-ceph" is invalid:
  • metadata.finalizers: Invalid value: "": name part must be non-empty
  • metadata.finalizers: Invalid value: "": name part must consist of alphanumeric characters, '-', '' or '.', and must start and end with an alphanumeric charac ter (e.g. 'MyName', or 'my.name', or '123-abc', regex used for validation is ' ([A-Za-z0-9][-A-Za-z0-9.]*)?[A-Za-z0-9]')
  • metadata.finalizers: Forbidden: no new finalizers can be added if the object i s being deleted, found new finalizers []string{""}
    The CephFilesystem "myfs" is invalid:
  • metadata.finalizers: Invalid value: "": name part must be non-empty
  • metadata.finalizers: Invalid value: "": name part must consist of alphanumeric characters, '-', '' or '.', and must start and end with an alphanumeric charac ter (e.g. 'MyName', or 'my.name', or '123-abc', regex used for validation is ' ([A-Za-z0-9][-A-Za-z0-9.]*)?[A-Za-z0-9]')
    The CephObjectStore "my-store" is invalid:
  • metadata.finalizers: Invalid value: "": name part must be non-empty
  • metadata.finalizers: Invalid value: "": name part must consist of alphanumeric characters, '-', '' or '.', and must start and end with an alphanumeric charac ter (e.g. 'MyName', or 'my.name', or '123-abc', regex used for validation is ' ([A-Za-z0-9][-A-Za-z0-9.]*)?[A-Za-z0-9]')
  • metadata.finalizers: Forbidden: no new finalizers can be added if the object i s being deleted, found new finalizers []string{""}

from rook.github.io.

travisn avatar travisn commented on May 26, 2024

Where do you see those errors? In the rook operator log?
This sounds similar to rook/rook#9294. You are using K8s 1.22?

from rook.github.io.

travisn avatar travisn commented on May 26, 2024

Please also open issues on the https://github.com/rook/rook repo, rather than this repo. I'll close this one here.

from rook.github.io.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.