Ask Your Question
1

swift-container-sync does not exist

asked 2011-09-08 07:32:13 -0500

linyouqing7 gravatar image

I'm confused about swift install on multi sever, at storage node , /etc/rsyncd.conf address = $STORAGE_LOCAL_NET_IP

/etc/swift/account-server.conf /etc/swift/container-server.conf /etc/swift/object-server.conf bind_ip = $STORAGE_LOCAL_NET_IP

shoud set proxy node 's internal ip or storage node 's internal ip?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2011-09-08 07:38:39 -0500

linyouqing7 gravatar image

1)when I set it to proxy node's internal ip meets some problems

i)root@swift-storage3:~/.ssh# service rsync start * Starting rsync daemon rsync * rsync daemon failed to star [fail]

my /var/log/rsyncd.log 2011/09/08 15:11:53 [15146] unable to bind any inbound sockets on port 873 2011/09/08 15:11:53 [15146] rsync error: error in socket IO (code 10) at socket.c(541) [Receiver=3.0.7]

ii)

root@swift-storage3:~/.ssh# swift-init all start container-updater running (1889 - /etc/swift/container-server.conf) container-updater already started... account-auditor running (1890 - /etc/swift/account-server.conf) account-auditor already started... object-replicator running (1891 - /etc/swift/object-server.conf) object-replicator already started... Unable to locate config for proxy-server container-replicator running (1892 - /etc/swift/container-server.conf) container-replicator already started... object-auditor running (1893 - /etc/swift/object-server.conf) object-auditor already started... container-auditor running (1894 - /etc/swift/container-server.conf) container-auditor already started... Starting container-server...(/etc/swift/container-server.conf) Starting account-server...(/etc/swift/account-server.conf) account-reaper running (1899 - /etc/swift/account-server.conf) account-reaper already started... Starting container-sync...(/etc/swift/container-server.conf) swift-container-sync does not exist account-replicator running (1919 - /etc/swift/account-server.conf) account-replicator already started... object-updater running (1920 - /etc/swift/object-server.conf) object-updater already started... Starting object-server...(/etc/swift/object-server.conf) Traceback (most recent call last): File "/usr/bin/swift-container-server", line 22, in <module> run_wsgi(conf_file, 'container-server', default_port=6001, *options) File "/usr/lib/pymodules/python2.7/swift/common/wsgi.py", line 117, in run_wsgi sock = get_socket(conf, default_port=kwargs.get('default_port', 8080)) File "/usr/lib/pymodules/python2.7/swift/common/wsgi.py", line 73, in get_socket family=address_family) File "/usr/lib/pymodules/python2.7/eventlet/convenience.py", line 37, in listen sock.bind(addr) File "/usr/lib/python2.7/socket.py", line 224, in meth return getattr(self._sock,name)(args) socket.error: [Errno 99] Cannot assign requested address

Traceback (most recent call last): File "/usr/bin/swift-account-server", line 22, in <module> run_wsgi(conf_file, 'account-server', default_port=6002, *options) File "/usr/lib/pymodules/python2.7/swift/common/wsgi.py", line 117, in run_wsgi sock = get_socket(conf, default_port=kwargs.get('default_port', 8080)) File "/usr/lib/pymodules/python2.7/swift/common/wsgi.py", line 73, in get_socket family=address_family) File "/usr/lib/pymodules/python2.7/eventlet/convenience.py", line 37, in listen sock.bind(addr) File "/usr/lib/python2.7/socket.py", line 224, in meth return getattr(self._sock,name)(args) socket.error: [Errno 99] Cannot assign requested address

Traceback (most recent call last): File "/usr/bin/swift-object-server", line 22, in <module> run_wsgi(conf_file, 'object-server', default_port=6000, *options) File "/usr/lib/pymodules/python2.7/swift/common/wsgi.py", line 117, in run_wsgi sock = get_socket(conf, default_port=kwargs.get('default_port', 8080)) File "/usr/lib/pymodules/python2.7/swift/common/wsgi.py", line 73, in get_socket family=address_family) File "/usr/lib/pymodules/python2.7/eventlet/convenience.py", line 37, in listen sock.bind(addr) File "/usr/lib/python2.7/socket.py", line 224, in meth return getattr(self._sock,name)(args) socket.error: [Errno 99] Cannot assign requested address

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2011-09-08 07:32:13 -0500

Seen: 159 times

Last updated: Sep 08 '11