Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # ceph osd pool create 黄 1024
- pool '?' created
- # ceph osd lspools
- 9 data,10 metadata,11 rbd,14 test123,15 ?,
- # ceph -f json-pretty osd dump -o out.json
- # python -c "import json; json.load(open('out.json'))"
- Traceback (most recent call last):
- File "<string>", line 1, in <module>
- File "/usr/lib/python2.7/json/__init__.py", line 278, in load
- **kw)
- File "/usr/lib/python2.7/json/__init__.py", line 326, in loads
- return _default_decoder.decode(s)
- File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
- obj, end = self.raw_decode(s, idx=_w(s, 0).end())
- File "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode
- obj, end = self.scan_once(s, idx)
- UnicodeDecodeError: 'utf8' codec can't decode byte 0xc4 in position 0: unexpected end of data
- # ceph osd pool delete 黄 黄 --yes-i-really-really-mean-it
- pool '?' deleted
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement