Could not bind to 0.0.0.0:8776

asked 2018-06-25 03:29:12 -0500

2018-06-24 23:54:15.205 DEBUG cinder.api.openstack [req-e999c353-f065-4b79-8f98-1920d5c11ca1 None None] Extension AdminActions extending resource: backups from (pid=15394) _setup_extensions /opt/stack/cinder/cinder/api/openstack/__init__.py:123 2018-06-24 23:54:15.457 ERROR oslo.service.wsgi [req-e999c353-f065-4b79-8f98-1920d5c11ca1 None None] Could not bind to 0.0.0.0:8776 2018-06-24 23:54:15.479 CRITICAL cinder [req-e999c353-f065-4b79-8f98-1920d5c11ca1 None None] error: [Errno 98] Address already in use 2018-06-24 23:54:15.479 TRACE cinder Traceback (most recent call last): 2018-06-24 23:54:15.479 TRACE cinder File "/usr/local/bin/cinder-api", line 10, in <module> 2018-06-24 23:54:15.479 TRACE cinder sys.exit(main()) 2018-06-24 23:54:15.479 TRACE cinder File "/opt/stack/cinder/cinder/cmd/api.py", line 61, in main 2018-06-24 23:54:15.479 TRACE cinder server = service.WSGIService('osapi_volume') 2018-06-24 23:54:15.479 TRACE cinder File "/opt/stack/cinder/cinder/service.py", line 407, in __init__ 2018-06-24 23:54:15.479 TRACE cinder port=self.port) 2018-06-24 23:54:15.479 TRACE cinder File "/usr/local/lib/python2.7/dist-packages/oslo_service/wsgi.py", line 115, in __init__ 2018-06-24 23:54:15.479 TRACE cinder self.socket = self._get_socket(host, port, backlog) 2018-06-24 23:54:15.479 TRACE cinder File "/usr/local/lib/python2.7/dist-packages/oslo_service/wsgi.py", line 143, in _get_socket 2018-06-24 23:54:15.479 TRACE cinder sock = eventlet.listen(bind_addr, family, backlog=backlog) 2018-06-24 23:54:15.479 TRACE cinder File "/usr/local/lib/python2.7/dist-packages/eventlet/convenience.py", line 43, in listen 2018-06-24 23:54:15.479 TRACE cinder sock.bind(addr) 2018-06-24 23:54:15.479 TRACE cinder File "/usr/lib/python2.7/socket.py", line 224, in meth 2018-06-24 23:54:15.479 TRACE cinder return getattr(self._sock,name)(*args) 2018-06-24 23:54:15.479 TRACE cinder error: [Errno 98] Address already in use 2018-06-24 23:54:15.479 TRACE cinder

Each time I run "screen -c ./stack-screenrc". Seems the service command in ./stack-screenrc are restarted. I'm not sure if this caused by "screen -c ./stack-screenrc" run by multiple times? Or what the root cause of the error, how to resolve?

edit retag flag offensive close merge delete