distcloud/dcmanager/cmd
Andy Ning 3e2eccea4a Moved eventlet monkey_patch before app is imported
In cmd/api.py the eventlet monkey_patch has been moved to be before api
app import. This is because if it's called too late, the api app and
db api module will be loaded without awareness of eventlet, the
threading local context in db api won't be eventlet compatible, causing
DB parallel operation errors.

Change-Id: I294657fc910c6a4696f91308d60697d005dc53b0
Closes-Bug: 1846411
Signed-off-by: Andy Ning <andy.ning@windriver.com>
2019-10-03 13:29:30 -04:00
..
README.rst StarlingX open source release updates 2018-08-07 11:51:21 -04:00
__init__.py StarlingX open source release updates 2018-08-07 11:51:21 -04:00
api.py Moved eventlet monkey_patch before app is imported 2019-10-03 13:29:30 -04:00
manage.py Use triple double-quoted strings for docstrings 2019-07-01 15:10:59 +08:00
manager.py StarlingX open source release updates 2018-08-07 11:51:21 -04:00

README.rst

cmd

Scripts to start the DC Manager API and Manager services

api.py:

start API service python api.py --config-file=/etc/dcmanager.conf

manager.py:

start Manager service python manager.py --config-file=/etc/dcmanager.conf

manage.py:

CLI interface for dcmanager database management dcmanager-manage --config-file /etc/dcmanager.conf db_sync dcmanager-manage --config-file /etc/dcmanager.conf db_version