<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Keystone has specifically avoided including multiple process patches because they want to encourage apache + mod_wsgi as the standard way of scaling the keystone api.<div><br></div><div>Vish</div><div><br><div><div>On May 13, 2014, at 9:34 PM, Aniruddha Singh Gautam <<a href="mailto:aniruddha.gautam@aricent.com">aniruddha.gautam@aricent.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="font-family: Menlo-Regular; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><font face="Calibri, sans-serif" size="2"><div><font color="#17365D">Hi,</font></div><div><font color="#17365D"> </font></div><div><font color="#17365D">Hope you are doing well…</font></div><div><font color="#17365D"> </font></div><div><font color="#17365D">I was working on trying to apply the patch for running multiple instance of Keystone. Somehow it does not work with following errors, I wish to still debug it further, but thought that I will check with you if you can provide some quick help. I was following<span class="Apple-converted-space"> </span><a href="http://blog.gridcentric.com/?Tag=Scalability"><font color="#0000FF"><u>http://blog.gridcentric.com/?Tag=Scalability</u></font></a>. I did the changes on Ice House GA.</font></div><div><font color="#17365D"> </font></div><div><font size="4" color="#17365D"><b>Error</b></font></div><div style="padding-left: 36pt;"><font face="Courier New, monospace" color="#17365D">Traceback (most recent call last):</font></div><div style="padding-left: 36pt;"><font face="Courier New, monospace" color="#17365D"> File "/usr/lib/python2.7/dist-packages/keystone/openstack/common/threadgroup.py", line 119, in wait</font></div><div style="padding-left: 36pt;"><font face="Courier New, monospace" color="#17365D"> x.wait()</font></div><div style="padding-left: 36pt;"><font face="Courier New, monospace" color="#17365D"> File "/usr/lib/python2.7/dist-packages/keystone/openstack/common/threadgroup.py", line 47, in wait</font></div><div style="padding-left: 36pt;"><font face="Courier New, monospace" color="#17365D"> return self.thread.wait()</font></div><div style="padding-left: 36pt;"><font face="Courier New, monospace" color="#17365D"> File "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 168, in wait</font></div><div style="padding-left: 36pt;"><font face="Courier New, monospace" color="#17365D"> return self._exit_event.wait()</font></div><div style="padding-left: 36pt;"><font face="Courier New, monospace" color="#17365D"> File "/usr/lib/python2.7/dist-packages/eventlet/event.py", line 116, in wait</font></div><div style="padding-left: 36pt;"><font face="Courier New, monospace" color="#17365D"> return hubs.get_hub().switch()</font></div><div style="padding-left: 36pt;"><font face="Courier New, monospace" color="#17365D"> File "/usr/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 187, in switch</font></div><div style="padding-left: 36pt;"><font face="Courier New, monospace" color="#17365D"> return self.greenlet.switch()</font></div><div style="padding-left: 36pt;"><font face="Courier New, monospace" color="#17365D"> File "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 194, in main</font></div><div style="padding-left: 36pt;"><font face="Courier New, monospace" color="#17365D"> result = function(*args, **kwargs)</font></div><div style="padding-left: 36pt;"><font face="Courier New, monospace" color="#17365D"> File "/usr/lib/python2.7/dist-packages/keystone/openstack/common/service.py", line 449, in run_service</font></div><div style="padding-left: 36pt;"><font face="Courier New, monospace" color="#17365D"> service.start()</font></div><div style="padding-left: 36pt;"><font face="Courier New, monospace" color="#17365D">AttributeError: 'tuple' object has no attribute 'start'</font></div><div style="padding-left: 36pt;"><font face="Courier New, monospace" color="#17365D">(keystone): 2014-05-13 08:17:37,073 CRITICAL AttributeError: 'tuple' object has no attribute 'stop'</font></div><div style="padding-left: 36pt;"><font face="Courier New, monospace" color="#17365D">Traceback (most recent call last):</font></div><div style="padding-left: 36pt;"><font face="Courier New, monospace" color="#17365D"> File "/usr/bin/keystone-all", line 162, in <module></font></div><div style="padding-left: 36pt;"><font face="Courier New, monospace" color="#17365D"> serve(*servers)</font></div><div style="padding-left: 36pt;"><font face="Courier New, monospace" color="#17365D"> File "/usr/bin/keystone-all", line 111, in serve</font></div><div style="padding-left: 36pt;"><font face="Courier New, monospace" color="#17365D"> launcher.wait()</font></div><div style="padding-left: 36pt;"><font face="Courier New, monospace" color="#17365D"> File "/usr/lib/python2.7/dist-packages/keystone/openstack/common/service.py", line 352, in wait</font></div><div style="padding-left: 36pt;"><font face="Courier New, monospace" color="#17365D"> self._respawn_children()</font></div><div style="padding-left: 36pt;"><font face="Courier New, monospace" color="#17365D"> File "/usr/lib/python2.7/dist-packages/keystone/openstack/common/service.py", line 342, in _respawn_children</font></div><div style="padding-left: 36pt;"><font face="Courier New, monospace" color="#17365D"> self._start_child(wrap)</font></div><div style="padding-left: 36pt;"><font face="Courier New, monospace" color="#17365D"> File "/usr/lib/python2.7/dist-packages/keystone/openstack/common/service.py", line 282, in _start_child</font></div><div style="padding-left: 36pt;"><font face="Courier New, monospace" color="#17365D"> status, signo = self._child_wait_for_exit_or_signal(launcher)</font></div><div style="padding-left: 36pt;"><font face="Courier New, monospace" color="#17365D"> File "/usr/lib/python2.7/dist-packages/keystone/openstack/common/service.py", line 240, in _child_wait_for_exit_or_signal</font></div><div style="padding-left: 36pt;"><font face="Courier New, monospace" color="#17365D"> launcher.stop()</font></div><div style="padding-left: 36pt;"><font face="Courier New, monospace" color="#17365D"> File "/usr/lib/python2.7/dist-packages/keystone/openstack/common/service.py", line 95, in stop</font></div><div style="padding-left: 36pt;"><font face="Courier New, monospace" color="#17365D"> self.services.stop()</font></div><div style="padding-left: 36pt;"><font face="Courier New, monospace" color="#17365D"> File "/usr/lib/python2.7/dist-packages/keystone/openstack/common/service.py", line 419, in stop</font></div><div style="padding-left: 36pt;"><font face="Courier New, monospace" color="#17365D"> service.stop()</font></div><div style="padding-left: 36pt;"><font face="Courier New, monospace" color="#17365D">AttributeError: 'tuple' object has no attribute 'stop'</font></div><div><font color="#17365D"> </font></div><div><font color="#17365D">In logs I can find the new child processes, somehow probably they are stopped and then it spawns another child processes.</font></div><div><font color="#17365D"> </font></div><div><font color="#17365D">I also noticed that support for running multiple neutron servers in ICE House GA. Any specific reason of not having same thing for Keystone (My knowledge of Openstack is limited, so please bear with my dumb questions)</font></div><div><font color="#17365D"> </font></div><div><font color="#17365D"> </font></div><div><font color="#17365D">Best regards,</font></div><div><font color="#17365D">Aniruddha</font></div><div> </div><div><font face="Times New Roman, serif" size="3"><br><br><font face="Arial, sans-serif" size="1" color="#808080">"DISCLAIMER: This message is proprietary to Aricent and is intended solely for the use of the individual to whom it is addressed. It may contain privileged or confidential information and should not be circulated or used for any purpose other than for what it is intended. If you have received this message in error, please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from using, copying, altering, or disclosing the contents of this message. Aricent accepts no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus."<br></font></font></div></font>_______________________________________________<br>OpenStack-dev mailing list<br><a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a></div></blockquote></div><br></div></body></html>