StarlingX Horizon plugins for new StarlingX services
Go to file
Enzo Candotti 7e8845bf25 Fix Horizon crash on a patch installation
When a patch installation is triggered on a locked host via Horizon,
it crashes redirecting to an error screen. The normal behaviour seen
using the CLI is just an error message saying that the host is unknown
because of being locked.

Horizon should show this error message instead of crashing. The root
cause is an issue during raising the ValueError expection, because
of an 'AttributeError' exception raised on the 'split_message'
function.

This commit fixes this problem by replacing the ValueError exception
with the Horizon error message function.

Closes-Bug: 2040495

Test Plan:
PASS: Build the starlingx-dashboard package, install it on a
system and verify the changes are applied correctly.
PASS: Execute test scenarios to receive errors in various
requests impacted by this function. Verify that the error message
is correctly displayed and logged.

Signed-off-by: Enzo Candotti <enzo.candotti@windriver.com>
Change-Id: Ia8cdce0b89be30abc632a8161201302cd9a51681
2023-11-03 11:46:10 -03:00
doc Fix for Horizon inventory in subclouds upgrade 2023-08-28 15:46:34 -03:00
releasenotes Switch to newer openstackdocstheme and reno versions 2020-06-04 14:24:43 +02:00
starlingx-dashboard Fix Horizon crash on a patch installation 2023-11-03 11:46:10 -03:00
.gitignore [Doc] Release Notes Management 2018-09-25 05:44:57 -05:00
.gitreview OpenDev Migration Patch 2019-04-19 19:52:27 +00:00
.zuul.yaml Subcloud Name Reconfiguration 2023-09-08 19:21:28 -03:00
CONTRIBUTING.rst Cleaning up gui plugin 2019-11-12 17:21:02 -05:00
HACKING.rst Update the URL in doc 2018-09-24 22:26:46 +08:00
LICENSE StarlingX open source release updates 2018-05-20 20:53:11 -07:00
bindep.txt Subcloud Name Reconfiguration 2023-09-08 19:21:28 -03:00
centos_build_layer.cfg Build layering, add layer build config file 2019-10-15 22:38:09 +08:00
centos_dev_wheels.inc Add the starlingx-dashboard module to dev wheels 2019-03-20 14:09:33 -04:00
centos_pkg_dirs Add starlingx dashboard package 2018-09-04 16:04:49 -04:00
centos_stable_wheels.inc Add starlingx-dashboard to stable wheels for stx-horizon 2019-04-04 22:47:29 -04:00
debian_build_layer.cfg Add debian_build_layer.cfg file 2021-10-05 14:07:23 -04:00
debian_iso_image.inc Debian: gui: update debian_iso_image.inc 2022-11-16 11:57:19 +08:00
debian_pkg_dirs Add debian_pkg_dirs for gui repo 2022-04-05 19:05:13 -03:00
pylint.rc Update tox path for python3 2023-05-01 14:01:17 +00:00
test-requirements.txt Update tox path for python3 2023-05-01 14:01:17 +00:00
tox.ini Update tox path for python3 2023-05-01 14:01:17 +00:00