Browse Source

Merge "Add warning when running simple_server"

changes/90/724890/2
Zuul 2 years ago committed by Gerrit Code Review
parent
commit
a1b5b81cc5
  1. 4
      octavia/cmd/api.py

4
octavia/cmd/api.py

@ -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