Debian: sw-manager patch-strategy create returns 500 error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Al Bailey |
Bug Description
Brief Description
-----------------
Invoking sw-manager patch-strategy create fails on Debian and reports a 500 error, and causes a stacktrace in the vim
Severity
--------
Minor
Steps to Reproduce
------------------
sw-manager patch-strategy create
Expected Behavior
------------------
Should create a patch strategy (or at least try)
Actual Behavior
----------------
sw-manager patch-strategy create
Operation failed: The server has either erred or is incapable of performing the requested operation
Rest-API status=500, POST, http://
HTTP Error 500: Internal Server Error
Reproducibility
---------------
100%
System Configuration
-------
AIO-SX Debian
Branch/Pull Time/Commit
-------
May 20, 2022
Last Pass
---------
Never invoked on debian
Timestamp/Logs
--------------
2022-05-
Traceback (most recent call last):
File "/usr/lib/
selobj.
File "/usr/lib/
callback.
File "/usr/lib/
self.
File "/usr/lib/
vim_
File "/usr/lib/
uuid, reason = sw_mgmt_
File "/usr/lib/
schedule.
File "/usr/lib/
"""
TypeError: a bytes-like object is required, not 'str'
Test Activity
-------------
Feature Testing
Workaround
----------
None, but I know what the fix is.
Changed in starlingx: | |
assignee: | nobody → Al Bailey (albailey1974) |
Changed in starlingx: | |
importance: | Undecided → Low |
importance: | Low → Medium |
tags: | added: stx.7.0 stx.debian stx.update |
tags: |
added: stx.nfv removed: stx.update |
Fix proposed to branch: master /review. opendev. org/c/starlingx /nfv/+/ 842798
Review: https:/