Networks tab unexpectedly locked after saving changes

Bug #1518201 reported by Julia Aranovich
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Vitaly Kramskikh

Bug Description

Steps to reproduce:
1. create default env
2. go to Networks tab
3. set vlan id range as 10-10 in L2 setting section
4. click Save Changes

Expected result: changes are not saved because of Nailgun returns validation error (vlan id range should contain more than 1 id).Controls and Save Changes button is not disabled.

Actual result: the tab stays locked, including Save Changes button. No errors shown on UI. And JS exception in browser console.

Tags: area-ui ui
Revision history for this message
Julia Aranovich (jkirnosova) wrote :

The issue is that UI expects to get a 'check_networks' task after saving failure. But this task does not come, because data saving failed in Nailgun validator, not netwok checker. UI should support such cases.

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/249108

Changed in fuel:
assignee: Fuel UI Team (fuel-ui) → Alexandra Morozova (astepanchuk)
status: Confirmed → In Progress
description: updated
Changed in fuel:
assignee: Alexandra Morozova (astepanchuk) → Vitaly Kramskikh (vkramskikh)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (master)

Reviewed: https://review.openstack.org/249108
Committed: https://git.openstack.org/cgit/openstack/fuel-web/commit/?id=5a2d587c22ad09bca240e4831437a353ea1d04a2
Submitter: Jenkins
Branch: master

commit 5a2d587c22ad09bca240e4831437a353ea1d04a2
Author: Alexandra Morozova <email address hidden>
Date: Tue Nov 24 11:08:17 2015 +0100

    Unlocking Networks tab in case of save changes error

    Closes-Bug: #1518201
    Change-Id: Ib43973a4031f5b289ead5508c371990519fa386d

Changed in fuel:
status: In Progress → Fix Committed
Vladimir (vushakov)
tags: added: on-verification
Vladimir (vushakov)
tags: removed: on-verification
Revision history for this message
Anastasia Palkina (apalkina) wrote :

Verified on ISO #212

VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "8.0"
  openstack_version: "2015.1.0-8.0"
  api: "1.0"
  build_number: "212"
  build_id: "212"
  fuel-nailgun_sha: "13d1800be2452bd297555eedf051bda469b5663b"
  python-fuelclient_sha: "4f9a873b1ae68271bb848a1145b3cf912a176f4b"
  fuel-agent_sha: "f0e09fa7a30b5ab87e901601bfb6c1e339a6bdaa"
  fuel-nailgun-agent_sha: "b56f832abc18aee9a8c603fd6cc2055c5f4287bc"
  astute_sha: "d2c1b401816c6f0341902272f37018b9cec3c775"
  fuel-library_sha: "c892d2919620947225687ccde63d0e038784f0a2"
  fuel-ostf_sha: "5cf8c484a9a4f45f353468438cf98f1b5a5c5dfb"
  fuel-createmirror_sha: "9b335c8d551c87d788166947cb7ed519757881e8"
  fuelmenu_sha: "9627849843e84b7f01c44bd79898a8d62d96ce66"
  shotgun_sha: "34a081508b603723e14f9415a62373be39f3685f"
  network-checker_sha: "2c62cd52655ea6456ff6294fd63f18d6ea54fe38"
  fuel-upgrade_sha: "1e894e26d4e1423a9b0d66abd6a79505f4175ff6"
  fuelmain_sha: "daed38102b6074393821d675e3d7d866fcdb3da5"

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.