swift-container-sync does not exist

Asked by eugene lin

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?

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Object Storage (swift) Edit question
Assignee:
No assignee Edit question
Solved by:
eugene lin
Solved:
Last query:
Last reply:
Revision history for this message
eugene lin (linyouqing7) said :
#1

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

Revision history for this message
Javier Bahillo (jbahillo) said :
#2

Hello, it seems clear that some swift servers are already started:

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...

have you tried with swift-init restart all ?