No error message when wizard components are not fetched successfully

Bug #1566284 reported by Julia Aranovich
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
Medium
Julia Aranovich
Mitaka
Fix Released
Medium
Julia Aranovich

Bug Description

Steps to reproduce in Fuel UI:

1. install misconfigured plugins to raise 500th response of GET /api/v1/releases/2/components (for example, "Plugin fuel_plugin_example_v4_hotpluggable is overlapping with fuel_plugin_example_v4 by introducing the same component with name "additional_service:service_plugin_v4_component")

2. open environment creation wizard in Fuel UI

Expected result: error pop-up appears instead of the wizard to show User GET /api/v1/releases/2/components response

Actual result: no error is shown, the first wizard step is rendered. User can enter an environment name. But User will get JS exception on Next button click and unavailability to continue environment creation without any explanation info.

Also, this issue requires changing GET /api/v1/releases/2/components response format to:
{"message": "Plugin fuel_plugin_example_v4_hotpluggable is overlapping with fuel_plugin_example_v4 by introducing the same component with name "additional_service:service_plugin_v4_component", "errors": []}

Fuel UI expects this format of Nailgun error response.

Changed in fuel:
assignee: nobody → Fuel UI Team (fuel-ui)
tags: added: area-ui
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-ui (master)

Fix proposed to branch: master
Review: https://review.openstack.org/374205

Changed in fuel:
assignee: Fuel UI Team (fuel-ui) → Julia Aranovich (jkirnosova)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-ui (master)

Reviewed: https://review.openstack.org/374205
Committed: https://git.openstack.org/cgit/openstack/fuel-ui/commit/?id=3db08b70e56dbdec4d952cd456ac409adad499ec
Submitter: Jenkins
Branch: master

commit 3db08b70e56dbdec4d952cd456ac409adad499ec
Author: Julia Aranovich <email address hidden>
Date: Wed Sep 21 17:33:27 2016 +0300

    Close wizard if its components are not loaded

    Closes-Bug: #1566284

    Change-Id: I7ab78c09b8c05f518a7b11366f82c667a5774e8f

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/fuel-ui 10.0.0rc1

This issue was fixed in the openstack/fuel-ui 10.0.0rc1 release candidate.

no longer affects: fuel/newton
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-ui (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/392058

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-ui (stable/mitaka)

Reviewed: https://review.openstack.org/392058
Committed: https://git.openstack.org/cgit/openstack/fuel-ui/commit/?id=26f8482e8942a3ebb9263eb84c1e68e74566280b
Submitter: Jenkins
Branch: stable/mitaka

commit 26f8482e8942a3ebb9263eb84c1e68e74566280b
Author: Julia Aranovich <email address hidden>
Date: Wed Sep 21 17:33:27 2016 +0300

    Close wizard if its components are not loaded

    Closes-Bug: #1566284

    Change-Id: I7ab78c09b8c05f518a7b11366f82c667a5774e8f

tags: added: on-verification
Revision history for this message
TatyanaGladysheva (tgladysheva) wrote :

Verified on 9.2 snapshot #464.

tags: removed: on-verification
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/fuel-ui 10.0.0

This issue was fixed in the openstack/fuel-ui 10.0.0 release.

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.