Giter Site home page Giter Site logo

Comments (2)

TheJJ avatar TheJJ commented on August 26, 2024

Hi!
This error occurs when the osdmap version id increases while the script gathers data from the cluster.
It's a safety measure because in ceph there's unfortunately no transaction for queries: i have to call ceph osd dump, ceph pg dump etc one after the other, and hope the cluster state didn't change in between. And i validate this by getting the osdmap version before and after these calls, and then abort if the epochs don't match.
You can check this with ceph osd dump | grep epoch.

The osdmap epoch is increased whenever the osdmap changes, e.g. a scrub is finished, a pg is moved, ...
To see what the differences are, you can try this:

  • ceph pg dump > /tmp/pgdump-0
  • wait for a bit, 15s or something
  • ceph pg dump > /tmp/pgdump-1
  • diff -u /tmp/pgdump-0 /tmp/pgdump-1

My guess is if you pause your scrubs, it could be enough.
Or, if you want, I can add an override flag to ignore this check :)

(v15.2.16 is octopus, not pacific, right?)

from ceph-balancer.

TheJJ avatar TheJJ commented on August 26, 2024

Due to inactivity I'm gonna close this for now. If you have further questions, please just answer here or come by in the Matrix chat!

from ceph-balancer.

Related Issues (20)

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.