Object Storage replicator deamon start fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstack-manuals |
Fix Released
|
Medium
|
Tom Fifield |
Bug Description
I'm installing swift following instructions here http://
At step 9, all the commands aimed to start replicator daemons (e.g. swift-init object-replicator start) fail with a traceback like the following:
root@nova-
Starting object-
Traceback (most recent call last):
File "/usr/bin/
run_
File "/usr/lib/
klass(
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
ring_data = pickle.
File "/usr/lib/
fileobj = self.myfileobj = __builtin_
IOError: [Errno 2] No such file or directory: '/etc/swift/
As far as I understand, this is due to the fact that "ring files" (e.g. object.ring.gz) are created by the sequence of commands:
swift-ring-builder object.builder create 18 3 # create object.builder file
swift-ring-builder account.builder add z<ZONE>
swift-ring-builder object.builder rebalance # create object.ring.gz file
(Please note that the last command is the one that really creates the ring.gz file)
This sequence is described only *after* the command that fails (see http://
In my understanding, the sequence that starts the daemons could be moved after the sequence aimed to create the ring and it would be useful to specify that *.ring.gz files are to be copied "to all the account server nodes in your Swift environment, and put them in the /etc/swift directory on these nodes.", as reported here http://
Changed in openstack-manuals: | |
status: | New → Triaged |
importance: | Undecided → Medium |
tags: | added: swift |
Changed in openstack-manuals: | |
assignee: | nobody → Tom Fifield (fifieldt) |
Fix proposed to branch: master /review. openstack. org/11614
Review: https:/