Comments (5)
This is basically #18, but I don't understand why it's possible moving other PGs of the same pool if one fails.
If there's no suitable spot for a PG, why is there a suitable spot for another PG of same size and pool?
from ceph-balancer.
Let's imagine a scenario: we have four hosts, each with several OSDs. A PG is distributed to hosts 1, 2 and 3, and we want to move it from the OSD on host 1 to another OSD (host-based failure domain). OSDs on hosts 2 and 3 cannot be the candidate due to the CRUSH rule. At the same time, OSDs on hosts 1 and 4 already have enough PG count of this pool's OSDs, so the algorithm cannot find a suitable candidate for this PG to move to.
Another PG of the same pool is assigned to hosts 1, 3 and 4, so it's possible to move the PG to an OSD on host 2.
from ceph-balancer.
Can you please send me your state dump file to jj at sft dot lol
please? Then I can reproduce locally and check if it's a bug in the code :)
from ceph-balancer.
Unfortunately, the Ceph environment I used for testing had already been uninstalled. I'll try to dump cluster state when I get a new testbed.
from ceph-balancer.
I'll close this for now - if you have new insights or the new state dump, we can reopen!
from ceph-balancer.
Related Issues (20)
- IndexError: list index out of range HOT 3
- can't run it with python < 3.9 HOT 1
- Add ability to handle invoking the Ceph client via Cephadm? HOT 1
- no trace found for 2147483647 in default~hdd HOT 6
- JSONDecodeError in Reef HOT 4
- Please consider type datacenter as a root bucket HOT 1
- JSON TypeError on show command when json output is used. HOT 4
- ./placementoptimizer.py showremapped balks at cluster topology changes HOT 3
- Feature request: take bluestore_min_alloc_size into account HOT 3
- KeyError: 66 (in used += self.cluster.osd_transfer_remainings[osdid]) HOT 5
- ZeroDivisionError: division by zero (osd_objs_acting) HOT 3
- RuntimeError: pg 18.6a to be moved to osd.117 is misplaced with -198781.0<0 objects already transferred
- ./placementoptimizer.py showremapped --by-osd throws KeyError if there is recovery
- key error - on healthy cluster
- it's breaking CRUSH rule HOT 3
- Sorting in heterogeneous clusters
- OSD utilization is very different from ceph osd df HOT 2
- crush root X not known HOT 8
- Failing when using --source-osds
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ceph-balancer.