Fix file permissions failure during duplex upgrade abort
When issuing a downgrade for controller-0 in a duplex upgrade
abort and rollback scenario, the downgrade command was failing
because the sysinv API does not have root permissions to set
a file flag.
The fix is to use RPC so the conductor can create the flag
and allow the downgrade for controller-0 to get further.
Reviewed: https:/ /review. opendev. org/c/starlingx /config/ +/793616 /opendev. org/starlingx/ config/ commit/ 0dc99eee608336f e01b58821ea4042 86371f1408
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 0dc99eee608336f e01b58821ea4042 86371f1408
Author: albailey <email address hidden>
Date: Fri May 28 11:05:43 2021 -0500
Fix file permissions failure during duplex upgrade abort
When issuing a downgrade for controller-0 in a duplex upgrade
abort and rollback scenario, the downgrade command was failing
because the sysinv API does not have root permissions to set
a file flag.
The fix is to use RPC so the conductor can create the flag
and allow the downgrade for controller-0 to get further.
Partial-Bug: 1929884 887a12cbb016a51 8da93327947
Signed-off-by: albailey <email address hidden>
Change-Id: I913bcad73309fe