NFV-VIM: fails when USM API returns incorrect response code for software deploy host failed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Low
|
Joshua Kraitberg |
Bug Description
Brief Description
-----------------
Software deploy host step did not notice host failed.
Severity
--------
Minor
Steps to Reproduce
------------------
Fresh install 24.09.1
sw-manager sw-deploy-strategy create WRCP-24.09.2 --alarm-
Expected Behavior
------------------
VIM fails because host-deploy-failed
Actual Behavior
----------------
VIM doesn't notice host-deploy-failed and fails trying to unlock host
Reproducibility
---------------
100%
System Configuration
-------
Any
Branch/Pull Time/Commit
-------
Jan 10, 2025
Last Pass
---------
Couple weeks ago
Timestamp/Logs
--------------
sysadmin@
Password:
connect: (127.0.0.1, 5493) ************
send: b'POST /v1/deploy_
reply: 'HTTP/1.0 200 OK\r\n'
header: Date: Fri, 10 Jan 2025 21:44:50 GMT
header: Server: WSGIServer/0.2 CPython/3.9.2
header: Content-Length: 128
header: Content-Type: application/json
{
"error": "Host deployment failed on controller-1.\n",
"info": "Host deployment request sent to controller-1.\n",
"warning": ""
}
Error:
Host deployment failed on controller-1.
Test Activity
-------------
Feature Testing
Workaround
----------
No work around required. This issue only causes confusion for the user regarding the true cause of why the strategy failed.
Changed in starlingx: | |
assignee: | nobody → Joshua Kraitberg (jkraitbe-wr) |
Changed in starlingx: | |
importance: | Undecided → Low |
tags: | added: stx.11.0 stx.nfv |
Fix proposed to branch: master /review. opendev. org/c/starlingx /nfv/+/ 938965
Review: https:/