Brief Description ----------------- Commands executed towards platform apis using remote cli shows python code related errors
Severity -------- major
Steps to Reproduce ------------------ 1)Get remote cli tarball
2)Setup the remote_cli
3)Now execute the system commands shows the following error system --ca-file ca.pem host-list
/var/lib/openstack/lib/python3.9/site-packages/netaddr/strategy/__init__.py:189: SyntaxWarning: "is not" with a literal. Did you mean "!="? if word_sep is not '': +----+--------------+-------------+----------------+-------------+--------------+ | id | hostname | personality | administrative | operational | availability | +----+--------------+-------------+----------------+-------------+--------------+ | 1 | controller-0 | controller | unlocked | enabled | available | | 2 | controller-1 | controller | unlocked | enabled | available | +----+--------------+-------------+----------------+-------------+--------------+
It shows some "SyntaxWarning" in the output
/var/lib/openstack/lib/python3.9/site-packages/netaddr/strategy/__init__.py:189: SyntaxWarning: "is not" with a literal. Did you mean "!="?
It shows with all commands including insecure commands with -k
Expected Behavior ------------------ remote cli command should work fine without any error
Actual Behavior ---------------- python related code message is shown in the output
Reproducibility --------------- 100%
System Configuration -------------------- AIO-DX
Branch/Pull Time/Commit ----------------------- 2022-12-02_03-00-09
Last Pass --------- n/a
Timestamp/Logs -------------- n/a
Test Activity ------------- Regression testing
Workaround ---------- n/a
Brief Description
-----------------
Commands executed towards platform apis using remote cli shows python code related errors
Severity
--------
major
Steps to Reproduce
------------------
1)Get remote cli tarball
2)Setup the remote_cli
3)Now execute the system commands shows the following error
system --ca-file ca.pem host-list
/var/lib/ openstack/ lib/python3. 9/site- packages/ netaddr/ strategy/ __init_ _.py:189: SyntaxWarning: "is not" with a literal. Did you mean "!="? ------- ------+ ------- ------+ ------- ------- --+---- ------- --+---- ------- ---+ ------- ------+ ------- ------+ ------- ------- --+---- ------- --+---- ------- ---+ ------- ------+ ------- ------+ ------- ------- --+---- ------- --+---- ------- ---+
if word_sep is not '':
+----+-
| id | hostname | personality | administrative | operational | availability |
+----+-
| 1 | controller-0 | controller | unlocked | enabled | available |
| 2 | controller-1 | controller | unlocked | enabled | available |
+----+-
It shows some "SyntaxWarning" in the output
/var/lib/ openstack/ lib/python3. 9/site- packages/ netaddr/ strategy/ __init_ _.py:189: SyntaxWarning: "is not" with a literal. Did you mean "!="?
It shows with all commands including insecure commands with -k
Expected Behavior
------------------
remote cli command should work fine without any error
Actual Behavior
----------------
python related code message is shown in the output
Reproducibility
---------------
100%
System Configuration ------- ------
-------
AIO-DX
Branch/Pull Time/Commit ------- ------- --
-------
2022-12-02_03-00-09
Last Pass
---------
n/a
Timestamp/Logs
--------------
n/a
Test Activity
-------------
Regression testing
Workaround
----------
n/a