<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!--P{margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Jaime,</p>
<p><br>
</p>
<p>Usually that's the error you see if you're trying to start up multiple API processes. They all try and bind to port 9001, so that error is saying the API can't bind. So something else (I suspect another designate-api process, or some other type of API) is
 already listening on that port.</p>
<p><br>
</p>
<p>Hope that helps,</p>
<p>Tim Simmons</p>
<p><br>
</p>
<div style="color: rgb(33, 33, 33);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> Jaime Fernández <jjjaime@gmail.com><br>
<b>Sent:</b> Monday, July 20, 2015 8:54 AM<br>
<b>To:</b> OpenStack Development Mailing List (not for usage questions)<br>
<b>Subject:</b> [openstack-dev] [designate] The designate API service is stopped</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div>
<div>
<div>
<div>I've followed instructions to install Designate in Dev environment:<br>
<a href="http://docs.openstack.org/developer/designate/install/ubuntu-dev.html">http://docs.openstack.org/developer/designate/install/ubuntu-dev.html</a><br>
<br>
</div>
I've made some slight modifications to use qpid (instead of rabbitmq) and to integrate with Infoblox.<br>
<br>
</div>
What I've seen is that designate-api process dies (the other processes are running correctly). I'm not sure if the problem could be a network issue between designate-api and qpid.<br>
<br>
</div>
Here it is the output for last traces of designate-api process:<br>
<br>
2015-07-20 14:43:37.728 727 DEBUG qpid.messaging.io.raw [-] READ[3f383f8]: '\x0f\x00\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x01\n\x00\x00' readable /home/sysadmin/openstack/designate/.venv/local/lib/python2.7/site-packages/qpid/messaging/driver.py:411<br>
2015-07-20 14:43:37.729 727 DEBUG qpid.messaging.io.ops [-] RCVD[3f383f8]: ConnectionHeartbeat() write /home/sysadmin/openstack/designate/.venv/local/lib/python2.7/site-packages/qpid/messaging/driver.py:651<br>
2015-07-20 14:43:37.729 727 DEBUG qpid.messaging.io.ops [-] SENT[3f383f8]: ConnectionHeartbeat() write_op /home/sysadmin/openstack/designate/.venv/local/lib/python2.7/site-packages/qpid/messaging/driver.py:683<br>
2015-07-20 14:43:37.730 727 DEBUG qpid.messaging.io.raw [-] SENT[3f383f8]: '\x0f\x00\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x01\n\x00\x00' writeable /home/sysadmin/openstack/designate/.venv/local/lib/python2.7/site-packages/qpid/messaging/driver.py:475<br>
Traceback (most recent call last):<br>
  File "/home/sysadmin/openstack/designate/.venv/local/lib/python2.7/site-packages/eventlet-0.17.4-py2.7.egg/eventlet/hubs/hub.py", line 457, in fire_timers<br>
    timer()<br>
  File "/home/sysadmin/openstack/designate/.venv/local/lib/python2.7/site-packages/eventlet-0.17.4-py2.7.egg/eventlet/hubs/timer.py", line 58, in __call__<br>
    cb(*args, **kw)<br>
  File "/home/sysadmin/openstack/designate/.venv/local/lib/python2.7/site-packages/eventlet-0.17.4-py2.7.egg/eventlet/greenthread.py", line 214, in main<br>
    result = function(*args, **kwargs)<br>
  File "/home/sysadmin/openstack/designate/.venv/local/lib/python2.7/site-packages/oslo.service-0.4.0-py2.7.egg/oslo_service/service.py", line 623, in run_service<br>
    service.start()<br>
  File "/home/sysadmin/openstack/designate/designate/service.py", line 173, in start<br>
    socket = self._wsgi_get_socket()<br>
  File "/home/sysadmin/openstack/designate/designate/service.py", line 209, in _wsgi_get_socket<br>
    'port': self._service_config.api_port})<br>
RuntimeError: Could not bind to <a href="http://0.0.0.0:9001">0.0.0.0:9001</a> after trying for 30 seconds<br>
2015-07-20 14:43:55.221 727 ERROR oslo_service.threadgroup [-] Could not bind to <a href="http://0.0.0.0:9001">
0.0.0.0:9001</a> after trying for 30 seconds<br>
2015-07-20 14:43:55.221 727 ERROR oslo_service.threadgroup Traceback (most recent call last):<br>
2015-07-20 14:43:55.221 727 ERROR oslo_service.threadgroup   File "/home/sysadmin/openstack/designate/.venv/local/lib/python2.7/site-packages/oslo.service-0.4.0-py2.7.egg/oslo_service/threadgroup.py", line 154, in wait<br>
2015-07-20 14:43:55.221 727 ERROR oslo_service.threadgroup     x.wait()<br>
2015-07-20 14:43:55.221 727 ERROR oslo_service.threadgroup   File "/home/sysadmin/openstack/designate/.venv/local/lib/python2.7/site-packages/oslo.service-0.4.0-py2.7.egg/oslo_service/threadgroup.py", line 51, in wait<br>
2015-07-20 14:43:55.221 727 ERROR oslo_service.threadgroup     return self.thread.wait()<br>
2015-07-20 14:43:55.221 727 ERROR oslo_service.threadgroup   File "/home/sysadmin/openstack/designate/.venv/local/lib/python2.7/site-packages/eventlet-0.17.4-py2.7.egg/eventlet/greenthread.py", line 175, in wait<br>
2015-07-20 14:43:55.221 727 ERROR oslo_service.threadgroup     return self._exit_event.wait()<br>
2015-07-20 14:43:55.221 727 ERROR oslo_service.threadgroup   File "/home/sysadmin/openstack/designate/.venv/local/lib/python2.7/site-packages/eventlet-0.17.4-py2.7.egg/eventlet/event.py", line 121, in wait<br>
2015-07-20 14:43:55.221 727 ERROR oslo_service.threadgroup     return hubs.get_hub().switch()<br>
2015-07-20 14:43:55.221 727 ERROR oslo_service.threadgroup   File "/home/sysadmin/openstack/designate/.venv/local/lib/python2.7/site-packages/eventlet-0.17.4-py2.7.egg/eventlet/hubs/hub.py", line 294, in switch<br>
2015-07-20 14:43:55.221 727 ERROR oslo_service.threadgroup     return self.greenlet.switch()<br>
2015-07-20 14:43:55.221 727 ERROR oslo_service.threadgroup   File "/home/sysadmin/openstack/designate/.venv/local/lib/python2.7/site-packages/eventlet-0.17.4-py2.7.egg/eventlet/greenthread.py", line 214, in main<br>
2015-07-20 14:43:55.221 727 ERROR oslo_service.threadgroup     result = function(*args, **kwargs)<br>
2015-07-20 14:43:55.221 727 ERROR oslo_service.threadgroup   File "/home/sysadmin/openstack/designate/.venv/local/lib/python2.7/site-packages/oslo.service-0.4.0-py2.7.egg/oslo_service/service.py", line 623, in run_service<br>
2015-07-20 14:43:55.221 727 ERROR oslo_service.threadgroup     service.start()<br>
2015-07-20 14:43:55.221 727 ERROR oslo_service.threadgroup   File "/home/sysadmin/openstack/designate/designate/service.py", line 173, in start<br>
2015-07-20 14:43:55.221 727 ERROR oslo_service.threadgroup     socket = self._wsgi_get_socket()<br>
2015-07-20 14:43:55.221 727 ERROR oslo_service.threadgroup   File "/home/sysadmin/openstack/designate/designate/service.py", line 209, in _wsgi_get_socket<br>
2015-07-20 14:43:55.221 727 ERROR oslo_service.threadgroup     'port': self._service_config.api_port})<br>
2015-07-20 14:43:55.221 727 ERROR oslo_service.threadgroup RuntimeError: Could not bind to
<a href="http://0.0.0.0:9001">0.0.0.0:9001</a> after trying for 30 seconds<br>
2015-07-20 14:43:55.221 727 ERROR oslo_service.threadgroup<br>
2015-07-20 14:43:55.222 727 INFO designate.service [-] Stopping api service<br>
2015-07-20 14:43:55.222 727 DEBUG qpid.messaging.io.ops [-] SENT[3f383f8]: SessionDetach(name='08d49368-a86c-4736-bf1c-bd04d09ad579:31') write_op /home/sysadmin/openstack/designate/.venv/local/lib/python2.7/site-packages/qpid/messaging/driver.py:683<br>
2015-07-20 14:43:55.223 727 DEBUG qpid.messaging.io.raw [-] SENT[3f383f8]: "\x0f\x00\x009\x00\x00\x00\x00\x00\x00\x00\x00\x02\x03\x01\x00\x00'08d49368-a86c-4736-bf1c-bd04d09ad579:31" writeable /home/sysadmin/openstack/designate/.venv/local/lib/python2.7/site-packages/qpid/messaging/driver.py:475<br>
2015-07-20 14:43:55.235 727 DEBUG qpid.messaging.io.raw [-] READ[3f383f8]: "\x0f\x00\x00:\x00\x00\x00\x00\x00\x00\x00\x00\x02\x04\x03\x00\x00'08d49368-a86c-4736-bf1c-bd04d09ad579:31\x00" readable /home/sysadmin/openstack/designate/.venv/local/lib/python2.7/site-packages/qpid/messaging/driver.py:411<br>
2015-07-20 14:43:55.235 727 DEBUG qpid.messaging.io.ops [-] RCVD[3f383f8]: SessionDetached(name='08d49368-a86c-4736-bf1c-bd04d09ad579:31', code=0) write /home/sysadmin/openstack/designate/.venv/local/lib/python2.7/site-packages/qpid/messaging/driver.py:651<br>
2015-07-20 14:43:55.236 727 DEBUG qpid.messaging.io.ops [-] SENT[3f383f8]: ConnectionClose(reply_code=200) write_op /home/sysadmin/openstack/designate/.venv/local/lib/python2.7/site-packages/qpid/messaging/driver.py:683<br>
2015-07-20 14:43:55.236 727 DEBUG qpid.messaging.io.raw [-] SENT[3f383f8]: '\x0f\x00\x00\x12\x00\x00\x00\x00\x00\x00\x00\x00\x01\x0b\x01\x00\x00\xc8' writeable /home/sysadmin/openstack/designate/.venv/local/lib/python2.7/site-packages/qpid/messaging/driver.py:475<br>
2015-07-20 14:43:55.249 727 DEBUG qpid.messaging.io.raw [-] READ[3f383f8]: '\x0f\x00\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x01\x0c\x00\x00' readable /home/sysadmin/openstack/designate/.venv/local/lib/python2.7/site-packages/qpid/messaging/driver.py:411<br>
2015-07-20 14:43:55.249 727 DEBUG qpid.messaging.io.ops [-] RCVD[3f383f8]: ConnectionCloseOk() write /home/sysadmin/openstack/designate/.venv/local/lib/python2.7/site-packages/qpid/messaging/driver.py:651<br>
2015-07-20 14:43:55.639 727 DEBUG qpid.messaging.io.ops [-] SENT[3ea43f8]: MessageCancel(destination='0', id=serial(71)) write_op /home/sysadmin/openstack/designate/.venv/local/lib/python2.7/site-packages/qpid/messaging/driver.py:683<br>
2015-07-20 14:43:55.640 727 DEBUG qpid.messaging.io.ops [-] SENT[3ea43f8]: QueueDelete(queue='reply_0b3c96ac8b0c4eabbce54791d02166ec', id=serial(72), sync=True) write_op /home/sysadmin/openstack/designate/.venv/local/lib/python2.7/site-packages/qpid/messaging/driver.py:683<br>
2015-07-20 14:43:55.641 727 DEBUG qpid.messaging.io.raw [-] SENT[3ea43f8]: '\x0f\x01\x00\x14\x00\x01\x00\x00\x00\x00\x00\x00\x04\x08\x01\x00\x01\x00\x010\x0f\x01\x009\x00\x01\x00\x00\x00\x00\x00\x00\x08\x02\x01\x01\x01\x00&reply_0b3c96ac8b0c4eabbce54791d02166ec'
 writeable /home/sysadmin/openstack/designate/.venv/local/lib/python2.7/site-packages/qpid/messaging/driver.py:475<br>
2015-07-20 14:43:55.653 727 DEBUG qpid.messaging.io.raw [-] READ[3ea43f8]: '\x0f\x00\x00\x1a\x00\x00\x00\x00\x00\x00\x00\x00\x02\n\x01\x00\x00\x08\x00\x00\x00\x00\x00\x00\x00H' readable /home/sysadmin/openstack/designate/.venv/local/lib/python2.7/site-packages/qpid/messaging/driver.py:411<br>
2015-07-20 14:43:55.654 727 DEBUG qpid.messaging.io.ops [-] RCVD[3ea43f8]: SessionCompleted(commands=[0-72]) write /home/sysadmin/openstack/designate/.venv/local/lib/python2.7/site-packages/qpid/messaging/driver.py:651<br>
2015-07-20 14:43:55.655 727 DEBUG qpid.messaging.io.ops [-] SENT[3ea43f8]: SessionDetach(name='303ecf97-cc51-4aba-84a0-4923f5ea50d4:0') write_op /home/sysadmin/openstack/designate/.venv/local/lib/python2.7/site-packages/qpid/messaging/driver.py:683<br>
2015-07-20 14:43:55.656 727 DEBUG qpid.messaging.io.raw [-] SENT[3ea43f8]: '\x0f\x00\x008\x00\x00\x00\x00\x00\x00\x00\x00\x02\x03\x01\x00\x00&303ecf97-cc51-4aba-84a0-4923f5ea50d4:0' writeable /home/sysadmin/openstack/designate/.venv/local/lib/python2.7/site-packages/qpid/messaging/driver.py:475<br>
2015-07-20 14:43:55.668 727 DEBUG qpid.messaging.io.raw [-] READ[3ea43f8]: '\x0f\x00\x009\x00\x00\x00\x00\x00\x00\x00\x00\x02\x04\x03\x00\x00&303ecf97-cc51-4aba-84a0-4923f5ea50d4:0\x00' readable /home/sysadmin/openstack/designate/.venv/local/lib/python2.7/site-packages/qpid/messaging/driver.py:411<br>
2015-07-20 14:43:55.668 727 DEBUG qpid.messaging.io.ops [-] RCVD[3ea43f8]: SessionDetached(name='303ecf97-cc51-4aba-84a0-4923f5ea50d4:0', code=0) write /home/sysadmin/openstack/designate/.venv/local/lib/python2.7/site-packages/qpid/messaging/driver.py:651<br>
<br>
</div>
Have you experienced this issue? Do you know the source of the problem?<br>
<div><br>
Thanks.<br>
<div><br>
</div>
</div>
</div>
</div>
</div>
</body>
</html>