ceph: how can I assign "primary osd" to pg

cola16

Member
Feb 2, 2024
51
2
8
I got error on ceph cluster
```
Reduced data availability: 1 pg stale
```
`pg 69.0 is stuck stale for 8h, current state stale+active+clean, last acting [10,11,4]`
So I tried repair

```
# ceph pg repair 69.0
Error EAGAIN: pg 69.0 has no primary osd
```
How can I set primary osd to PG?
 
Hello, could you please send us the output of the following commands

- ceph status
- ceph osd df tree
- ceph df
- ceph device ls
- pveceph pool ls --noborder
- cat /etc/ceph/ceph.conf
- ceph config dump

Please use the code blocks in the editing tool so the output looks formatted and uses monospace character. There might multiple reasons why this can happen hence why I ask for such amount of commands.

Additionally, please send us the output of `ceph pg dump` as a standalone file.