[Starlingx-discuss] fm-rest-api appears broken
recent 01/08/2021 image baremetal aio simplex apply openstack is throwing error on fm-rest-api kubectl logs fm-rest-api-d7cb8f564-qpnx6 --namespace openstack ++ awk -F = '/sql_connection/{print $2}' /etc/fm/fm.conf + export 'SQL_CONNECTION= mysql+pymysql://fm:P69q*mx' + SQL_CONNECTION=' mysql+pymysql://fm:P69q*mx' + echo 'mysql+pymysql://fm:P69q*mx' + python /usr/local/bin/fm_db_sync_event_suppression.py 'mysql+pymysql:// fm:P69q*mx' Traceback (most recent call last): File "/usr/local/bin/fm_db_sync_event_suppression.py", line 96, in <module> engine = sqlalchemy.create_engine(postgresql_credentials) File "/var/lib/openstack/lib64/python2.7/site-packages/sqlalchemy/engine/ __init__.py", line 456, in create_engine return strategy.create(*args, **kwargs) File "/var/lib/openstack/lib64/python2.7/site-packages/sqlalchemy/engine/ strategies.py", line 54, in create u = url.make_url(name_or_url) File "/var/lib/openstack/lib64/python2.7/site-packages/sqlalchemy/engine/ url.py", line 229, in make_url return _parse_rfc1738_args(name_or_url) File "/var/lib/openstack/lib64/python2.7/site-packages/sqlalchemy/engine/ url.py", line 288, in _parse_rfc1738_args return URL(name, **components) File "/var/lib/openstack/lib64/python2.7/site-packages/sqlalchemy/engine/ url.py", line 71, in __init__ self.port = int(port) ValueError: invalid literal for int() with base 10: 'P69q*mx'
participants (1)
-
lists@optimcloud.com