CitoEngine / cito_engine

Alert management and automation tool
Apache License 2.0
17 stars 14 forks source link

Not able to launch cito_plugin_server due to gunicorn issue #75

Closed OscarLopezEns closed 7 years ago

OscarLopezEns commented 7 years ago

Hi Cyrus!

Are you still working on this app or will there be a new version coming soon?

We are currently interested in testing your app. We have succesfully deployed the cito_engine server and are in the process of testing the plugin functionality (which allows to run self healing cripts in response to an incident).

However, after following all steps in documentation () we are facing the following issue when trying to launch the cito_plugin_server app (we are using Ubuntu Trusty 3.13 64 bits for our testing):

Unknown command: 'run_gunicorn'

error everytime.

Tried to troubleshoot this without luck, even after confirming "gunicorn" package is actually there in "_INSTALLEDAPPS" in base.py settings file.

Also confirmed by running python manage.py diffsettings that gunicorn is there in settings. Have not been able to find solution to this, however I am able to launch app succesfully in development mode by running : python manage.py runserver 0.0.0.0:9000

Are you able to replicate the issue and can you suggest or help why would run_gunicorn be failing?

Additionally, we encountered the following issues but we managed to solve them:

error: "NameError: name 'sys_platform' is not defined"

), however modifying requirements.txt file to instead use version 0.7.3 solved the issue.

Once I am able to launch the plugin server I will upload the Ansible playbook.

Let me know if you are interested.

Thanks, Oscar

OscarLopezEns commented 7 years ago

Closing as this issue belongs to cito_plugin_server. The issue can be followed up here: https://github.com/CitoEngine/cito_plugin_server/issues/7