Project

General

Profile

Bug #42561

mgr/dashboard: error when editing image: TypeError: Cannot read property 'pool_name' of undefined

Added by Alfonso Martínez 8 months ago. Updated 8 months ago.

Status:
Resolved
Priority:
Normal
Category:
dashboard/rbd
Target version:
% Done:

0%

Source:
Tags:
Backport:
nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature:

Description

When there are bad network conditions,
It can be the case that we try to edit an image when we haven't received yet the image data
(async operation).
Therefore, this error can appear (example from E2E test):

mgr[dashboard] frontend error (http://localhost:11000/#/block/rbd/edit/e2e_images_pool/e2e_images_image): Cannot read property 'pool_name' of undefined
TypeError: Cannot read property 'pool_name' of undefined


Related issues

Copied to mgr - Backport #42589: nautilus: mgr/dashboard: error when editing image: TypeError: Cannot read property 'pool_name' of undefined Resolved

History

#1 Updated by Alfonso Martínez 8 months ago

  • Description updated (diff)

#2 Updated by Alfonso Martínez 8 months ago

  • Pull request ID set to 31245

#3 Updated by Ricardo Marques 8 months ago

  • Status changed from New to Fix Under Review

#4 Updated by Volker Theile 8 months ago

  • Status changed from Fix Under Review to Pending Backport

#5 Updated by Nathan Cutler 8 months ago

  • Copied to Backport #42589: nautilus: mgr/dashboard: error when editing image: TypeError: Cannot read property 'pool_name' of undefined added

#6 Updated by Nathan Cutler 8 months ago

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".

Also available in: Atom PDF