Guest User

Untitled

a guest
Sep 4th, 2012
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 KB | None | 0 0
  1. nemo@control:/etc/swift$ sudo swift-ring-builder object.builder create 18 3 1
  2. Traceback (most recent call last):
  3. File "/usr/bin/swift-ring-builder", line 28, in <module>
  4. from swift.common.ring import RingBuilder
  5. File "/usr/lib/python2.7/dist-packages/swift/common/ring/__init__.py", line 1, in <module>
  6. from ring import RingData, Ring
  7. File "/usr/lib/python2.7/dist-packages/swift/common/ring/ring.py", line 21, in <module>
  8. from swift.common.utils import hash_path, validate_configuration
  9. File "/usr/lib/python2.7/dist-packages/swift/common/utils.py", line 69, in <module>
  10. if hash_conf.read('/etc/swift/swift.conf'):
  11. File "/usr/lib/python2.7/ConfigParser.py", line 305, in read
  12. self._read(fp, filename)
  13. File "/usr/lib/python2.7/ConfigParser.py", line 546, in _read
  14. raise e
  15. ConfigParser.ParsingError: File contains parsing errors: /etc/swift/swift.conf
  16. [line 3]: ' 03c9f48da2229770.\n'
  17. nemo@control:/etc/swift$ cat /etc/swift/swift.conf
  18. [swift-hash]
  19. # random unique string that can never change (DO NOT LOSE). I'm using
  20. 03c9f48da2229770.
  21. # od -t x8 -N 8 -A n < /dev/random
  22. # The above command can be used to generate random a string.
  23. swift_hash_path_suffix = 03c9f48da2229770
Advertisement
Add Comment
Please, Sign In to add comment