ceph / ceph/python-crush

some mapping failed

オープン
#5 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
C++
スター
22
フォーク
8
PR マージ指標
30日以内にマージされた PR はありません

説明

Running Ceph 12.2.5, crush 1.0.35 (current PyPI version).

default ceph report does not have information about pg,so I using

```
ceph pg dump -f json > pg_dump.json
# edit crush/ceph/__init__.py,add line 72
report['pgmap'] = json.load(open('pg_dump.json'))
# replace crush_ruleset with crush_rule in line 115
ruleset = pool['crush_rule']
```

and then output is:

```
2018-07-16 16:35:04,999 42.7e map to [32, 320, 144] instead of [32, 320, 167]
2018-07-16 16:35:04,999 42.73 map to [134, 295, 144] instead of [134, 295, 196]
2018-07-16 16:35:05,000 43.57 map to [21, 416, 144] instead of [21, 416, 185]
2018-07-16 16:35:05,004 44.87 map to [41, 144, 314] instead of [41, 314]
2018-07-16 16:35:05,005 44.7d map to [144, 371, 34] instead of [227, 371, 34]
2018-07-16 16:35:05,006 45.f2 map to [144, 414, 48] instead of [237, 414, 48]
2018-07-16 16:35:05,007 45.46 map to [144, 336, 14] instead of [234, 336, 14]
2018-07-16 16:35:05,008 46.45 map to [361, 144, 47] instead of [361, 256, 47]
2018-07-16 16:35:05,008 46.65 map to [144, 377, 23] instead of [218, 377, 23]
```

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。