gevent build failure

11 views
Skip to first unread message

Kyo Lee

unread,
Dec 12, 2014, 2:12:47 PM12/12/14
to team-ui

Hi folks,

After checking the failure in the gevent fix branch, I noticed the the error below when trying to launch the console:

./launcher.sh 

....

  File "/usr/lib/python2.6/site-packages/pyramid/config/__init__.py", line 947, in scan
    ignore=ignore)
  File "/usr/lib/python2.6/site-packages/venusian/__init__.py", line 191, in scan
    __import__(modname)
  File "/root/seeds/eucaconsole/eucaconsole/gunicorn/ggevent.py", line 18, in <module>
    raise RuntimeError("You need gevent1 installed to use this worker.")
RuntimeError: You need gevent1 installed to use this worker.


The system has been frozen at 10.111.5.1


For the ui build log, see the link below:


please feel free to free the machines after done.

Thank you!

Kyo


David Kavanagh

unread,
Dec 12, 2014, 2:15:32 PM12/12/14
to team-ui
That points to the "sed" command that edited the console.ini not working. The resulting console.ini would need worker_class = gevent vs the value in the default version. Can you check on that?

--
You received this message because you are subscribed to the Google Groups "team-ui" group.
To unsubscribe from this group and stop receiving emails from it, send an email to team-ui+u...@eucalyptus.com.
To post to this group, send email to tea...@eucalyptus.com.
To view this discussion on the web visit https://groups.google.com/a/eucalyptus.com/d/msgid/team-ui/CAD6Z5tjFK%2BpmxYjPQNfuZZ4OhueM6KGHzLdeynhKVdw4sa6gPg%40mail.gmail.com.
For more options, visit https://groups.google.com/a/eucalyptus.com/d/optout.


--

David Kavanagh

Console Team
HP Helion 
Eucalyptus

d...@hp.com

Hewlett-Packard Company

cid:image001.png@01CF6887.B1D47C00

Kyo Lee

unread,
Dec 12, 2014, 2:17:39 PM12/12/14
to team-ui
###########################
# WSGI server configuration
###
[server:main]
use = egg:gunicorn#main
# if using nginx on localhost, change host to 127.0.0.1 for better security. It limits connections to localhost only
host = 0.0.0.0
port = 8888
workers = 4
# if you use gunicorn outside of CentOS, you can set worker_class to "gevent"
worker_class = gevent
# set the tmp_upload_dir to change the directory where uploaded files will be stored. Must be writable by 'eucaconsole' user.
#tmp_upload_dir = /var/tmp


David Kavanagh

unread,
Dec 12, 2014, 2:19:49 PM12/12/14
to team-ui
thanks.
In this case, I'm curious why the eucaconsole/gunicorn/ggevent.py file is being loaded. If that is loaded, the import within would throw the exception you saw. I didn't think that would be loaded unless the console.ini mentioned it in the worker_class value.

Reply all
Reply to author
Forward
0 new messages