In case of complete REST API unavailability there is just "error" text in the error dialogs

Bug #1456248 reported by Vitaly Kramskikh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Medium
Vitaly Kramskikh
7.0.x
Won't Fix
Medium
Fuel UI Team

Bug Description

If there is no connection between UI and backend (even nginx must be unavailable) action dialogs show just "error" message. This happens because in case of connection failure status code is 0 and utils.getResponseText returns an empty string, so Dialog.showError shows the seconds argument, which is "textStatus".

I don't think it is a good idea to show default "Server Error" message, because there is no server error, just unavailability of backend.

Changed in fuel:
status: Confirmed → Won't Fix
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
milestone: 6.1 → 8.0
status: Won't Fix → Confirmed
no longer affects: fuel/8.0.x
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (master)

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

Changed in fuel:
status: Confirmed → In Progress
Changed in fuel:
assignee: Alexandra Morozova (astepanchuk) → Vitaly Kramskikh (vkramskikh)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-web (master)

Change abandoned by Vitaly Kramskikh (<email address hidden>) on branch: master
Review: https://review.openstack.org/233996
Reason: Abandoned in favor of https://review.openstack.org/#/c/234109/

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (master)

Reviewed: https://review.openstack.org/234109
Committed: https://git.openstack.org/cgit/stackforge/fuel-web/commit/?id=37eee5981f35fb9d9dfcedb0458bd4ad48357e99
Submitter: Jenkins
Branch: master

commit 37eee5981f35fb9d9dfcedb0458bd4ad48357e99
Author: Vitaly Kramskikh <email address hidden>
Date: Tue Oct 13 17:13:22 2015 +0700

    Distinguish server unavailability from server errors

    Also fix "error" message in case of empty XHR response

    Change-Id: I59b4a91936f36d664184e04837e3cbbe9b0353c5
    Closes-Bug: #1456248

Changed in fuel:
status: In Progress → Fix Committed
Dmitry Pyzhov (dpyzhov)
tags: added: area-ui
Revision history for this message
Anastasia Palkina (apalkina) wrote :

Verified on ISO #75

"fuel-createmirror_sha": "0315aa30aee56e10f142683a25340c3c9d2f1e85", "api": "1.0", "fuelmain_sha": "21b84eb3d09883a7da526ebc4bd21458d2e9844a", "astute_sha": "eebbb2470cb800e532de19c29673558aeb86aae4", "fuel-ostf_sha": "9f500668555292add5d87c942e0cd804aefa6df2", "openstack_version": "2015.1.0-8.0", "build_id": "75", "build_number": "75", "auth_required": true, "fuel-library_sha": "bc044a0562cda204245b2a9136fa4bd6d7ef723e", "fuel-nailgun-agent_sha": "e377e83268abd406f22b656b76014656077a6a74", "fuel-nailgun_sha": "2476325f95f3bbdc0ff5dbd827868f2ab243e1b4", "fuel-agent_sha": "e4056a7923dd607521d97763d5dfb6de8a33ab5d", "production": "docker", "python-fuelclient_sha": "8ea3b64d21c4d729d1069f3aa5528ede3c76b412", "feature_groups": ["mirantis"], "release": "8.0", "release_versions": {"2015.1.0-8.0": {"VERSION": {"fuel-createmirror_sha": "0315aa30aee56e10f142683a25340c3c9d2f1e85", "api": "1.0", "fuelmain_sha": "21b84eb3d09883a7da526ebc4bd21458d2e9844a", "astute_sha": "eebbb2470cb800e532de19c29673558aeb86aae4", "fuel-ostf_sha": "9f500668555292add5d87c942e0cd804aefa6df2", "openstack_version": "2015.1.0-8.0", "build_id": "75", "build_number": "75", "fuel-library_sha": "bc044a0562cda204245b2a9136fa4bd6d7ef723e", "fuel-nailgun-agent_sha": "e377e83268abd406f22b656b76014656077a6a74", "fuel-nailgun_sha": "2476325f95f3bbdc0ff5dbd827868f2ab243e1b4", "fuel-agent_sha": "e4056a7923dd607521d97763d5dfb6de8a33ab5d", "production": "docker", "python-fuelclient_sha": "8ea3b64d21c4d729d1069f3aa5528ede3c76b412", "feature_groups": ["mirantis"], "release": "8.0"}}}

Changed in fuel:
status: Fix Committed → Fix Released
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.