sw-patch command fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
High
|
Don Penney |
Bug Description
Brief Description
-----------------
Attempting to patch the system using the sw-patch command fails due to a python 'from builtins import input' error.
Severity
--------
Critical: system patching is broken
Steps to Reproduce
------------------
sudo sw-patch upload <patch>
Expected Behavior
------------------
patch upload should succeed
Actual Behavior
----------------
sw-patch command fails with the following error
[wrsroot@
Password:
Traceback (most recent call last):
File "/usr/sbin/
from cgcs_patch.
File "/usr/lib64/
from builtins import input
ImportError: No module named builtins
Reproducibility
---------------
Issue is 100% reproducible every time.
System Configuration
-------
All
Branch/Pull Time/Commit
-------
Aug 31
Timestamp/Logs
--------------
Refer to actual behavior section above.
tags: | added: stx.2018.10 stx.update |
tags: |
added: stx.1.0 removed: stx.2018.10 |
Any sw-patch command is broken, so running "sw-patch query" or "sw-patch query-hosts" (both can be run without sudo) would show the error.