Description of problem:
RHSC - pgs stuck unclean after attempting to add already existing pool
While adding a pool which already exists from Console, caused all placement groups of this pool to go unclean - remapped and undersized.
All of which reference a nonexistent OSD: 2147483647. The
Version-Release number of selected component (if applicable):
Red Hat Storage Console
Logs have been requested.
This happened from RHSC. CLI works fine, looks like the issue with Console APIs, maybe the return codes have some issue because pool creation failed but APIs have done some part of work in PGs of this pool which caused all pgs to go unclean and get mapped to a stale osd id 2147483647.
For now, we have fixed this issue as given below because this cluster was a branch new cluster.
1. Created new pool with different name
2. Ran 'cppool' to this new pool
3. Deleted old pool which had issue
4. Renamed new pool to old pool name
- Ceph cluster and clients is working fine.