Browse Source

Merge "Add warning when running simple_server"

changes/90/724890/2
Zuul 5 days ago
committed by Gerrit Code Review
parent
commit
a1b5b81cc5
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      octavia/cmd/api.py

+ 4
- 0
octavia/cmd/api.py View File

@@ -41,6 +41,10 @@ def main():
'not set to "keystone". This is not a normal '
'configuration and you may get "Missing project ID" '
'errors from API calls."')
LOG.warning('You are running the Octavia API wsgi application using '
'simple_server. We do not recommend this outside of simple '
'testing. We recommend you run the Octavia API wsgi with '
'a more full function server such as gunicorn or uWSGI.')
srv = simple_server.make_server(host, port, app)

srv.serve_forever()

Loading…
Cancel
Save