Advertisement
Guest User

Untitled

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