fm-rest-api pod for openstack sometimes doesn't come up on AIO-SX
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
High
|
Thiago Paiva Brito |
Bug Description
Brief Description
-----------------
Pods for fm-rest-api doesn't come up on AIO-SX
Severity
-------
Major
Steps to Reproduce
-------
Apply stx-openstack
Expected Behavior
------------------
stx-openstack is applied succesfully
Actual Behavior
----------------
stx-openstack fail to apply. fm-rest-api pods are on CrashLoopBackoff.
Reproducibility
-------
Intermittent
System Configuration
-------
AIO-SX
Timestamp/Logs
-------
[2021-02-11 08:33:45,542] 314 DEBUG MainThread ssh.send :: Send 'echo $?'
[2021-02-11 08:33:45,594] 436 DEBUG MainThread ssh.expect :: Output:
0
controller-0:~$
[2021-02-11 08:33:45,594] 69 INFO MainThread kube_helper.
[2021-02-11 08:33:45,594] 479 DEBUG MainThread ssh.exec_cmd:: Executing command...
[2021-02-11 08:33:45,595] 314 DEBUG MainThread ssh.send :: Send 'kubectl get pod --all-namespaces --field-
[2021-02-11 08:33:45,822] 436 DEBUG MainThread ssh.expect :: Output:
NAMESPACE NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES
openstack fm-rest-
openstack horizon-
openstack neutron-
openstack nova-compute-
openstack nova-conductor-
Test Activity
-------------
Sanity
tags: | added: stx.containers |
Changed in starlingx: | |
status: | In Progress → Fix Committed |
Changed in starlingx: | |
status: | Fix Committed → Fix Released |
Found this on fm-rest-api pod logs
$ kubectl logs fm-rest- api-557f4fb754- j77sh -n openstack n/{print $2}' /etc/fm/fm.conf //fm:b0B' //fm:b0B' //fm:b0B bin/fm_ db_sync_ event_suppressi on.py mysql+pymysql: //fm:b0B bin/fm_ db_sync_ event_suppressi on.py", line 96, in <module> create_ engine( postgresql_ credentials) openstack/ lib64/python2. 7/site- packages/ sqlalchemy/ engine/ __init_ _.py", line 456, in create_engine create( *args, **kwargs) openstack/ lib64/python2. 7/site- packages/ sqlalchemy/ engine/ strategies. py", line 54, in create url(name_ or_url) openstack/ lib64/python2. 7/site- packages/ sqlalchemy/ engine/ url.py" , line 229, in make_url rfc1738_ args(name_ or_url) openstack/ lib64/python2. 7/site- packages/ sqlalchemy/ engine/ url.py" , line 288, in _parse_rfc1738_args openstack/ lib64/python2. 7/site- packages/ sqlalchemy/ engine/ url.py" , line 71, in __init__
++ awk -F = '/sql_connectio
+ export 'SQL_CONNECTION= mysql+pymysql:
+ SQL_CONNECTION=' mysql+pymysql:
+ echo mysql+pymysql:
+ python /usr/local/
Traceback (most recent call last):
File "/usr/local/
engine = sqlalchemy.
File "/var/lib/
return strategy.
File "/var/lib/
u = url.make_
File "/var/lib/
return _parse_
File "/var/lib/
return URL(name, **components)
File "/var/lib/
self.port = int(port)
ValueError: invalid literal for int() with base 10: 'b0B'