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