Horizon Orchestration pop-up shows redundant error message.

Bug #2018625 reported by rafael moyano
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Low
rafael moyano

Bug Description

Title
-----
Horizon Orchestration pop-up shows redundant error message.

Brief Description
-----------------
The pop-up message on the Horizon Orchestration is showing a redundant error message when a user clicks on the 'Details' button.

Severity
--------
Minor

Steps to Reproduce
------------------
1) Log in to Horizon.
2) Click on Distributed Cloud Admin option.
3) Click on Orchestration page.
4) Try to create an strategy that is not needed.

Expected Behavior
------------------
Pop-up should show a different error message in the main and details section.

Actual Behavior
----------------
Pop-up is showing the same error message in the main and details section.

Reproducibility
---------------
Reproducible 100%

System Configuration
--------------------
Distributed Cloud

Test Activity
-------------
System Test

Timestamp/Logs
--------------
Error: Strategy creation failed: "Unable to
process the contained instructions Bad strategy request: Subcloud
subcloud1 does not require kubernetes update".
Details Unable to process the contained instructions Bad strategy
request: Subcloud subcloud1 does not require kubernetes update.

rafael moyano (rmoyano)
Changed in starlingx:
assignee: nobody → rafael moyano (rmoyano)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to gui (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/starlingx/gui/+/882484

Changed in starlingx:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to gui (master)

Reviewed: https://review.opendev.org/c/starlingx/gui/+/882484
Committed: https://opendev.org/starlingx/gui/commit/694bd0fbc60cbfff620b3cefdc7327ea5e37f9a1
Submitter: "Zuul (22348)"
Branch: master

commit 694bd0fbc60cbfff620b3cefdc7327ea5e37f9a1
Author: Rafael Moyano <email address hidden>
Date: Fri May 5 16:59:41 2023 -0300

    Horizon orchestration pop-up shows redundant error

    When you try to create an orchestration Strategy and it failed, the
    pop-up showed the same error message in the main and details section.

    This change fixes this issue. In addition, has been fixed for the
    Apply Strategy action too.

    Test Plan:
    PASS: Create an invalid strategy and verify the pop-up error message
    is displayed properly for example:
    Error: Strategy creation failed.
    Details: The server could not comply with the request since its either malformed or otherwise incorrect. Invalid groud_id
    PASS: Apply strategy and verify the pop-up error message
    is displayed properly.

    Closes-bug: 2018625

    Change-Id: I805cc051a843af07f2dba1701aef8bc791b9450a
    Signed-off-by: Rafael Moyano <email address hidden>

Changed in starlingx:
status: In Progress → Fix Released
Ghada Khalil (gkhalil)
Changed in starlingx:
importance: Undecided → Low
tags: added: stx.9.0 stx.gui
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.