yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #82922
[Bug 1882918] [NEW] Instances page crashes on repeated confirm/revert resize actions
Public bug reported:
Environment:
OpenStack Rocky/Ussuri
compute node of libvirt/kvm on HP Proliant server with 24*cpu and 256GB mem
Reproduction steps:
1. Create an instance with flavor "m1.small";
2. Resize the instance to flavor "m1.medium";
3. In a while the instance enters "VERIFY_RESIZE" state, and the
"Confirm Resize/Migration" button is enabled, we click the button and
wait for the button to be enabled again, and then click the
button repeatedly;
4. The page crashes after the resize is done.
Error log:
http://ix.io/2oOd
Bug analysis:
The bug reproduces easily, if the instance stays in VERIFY_RESIZE state for
long enough. After digging into the horizon source code, I found that
"ConfirmResize.single" and "RevertResize.single" methods in
"openstack_dashboard/dashboards/project/instance/tables.py" are lack of
exception handling, and expose the exception to django, to cause the page crash.
** Affects: horizon
Importance: Undecided
Status: New
** Tags: crash instance migrate nova resize
** Description changed:
Environment:
OpenStack Rocky/Ussuri
compute node of libvirt/kvm on HP Proliant server with 24*cpu and 256GB mem
+
Reproduction steps:
1. Create an instance with flavor "m1.small";
2. Resize the instance to flavor "m1.medium";
3. In a while the instance enters "VERIFY_RESIZE" state, and the
- "Confirm Resize/Migration" button is enabled, we click the button and wait
- for the button to be enabled again, and then click the button repeatedly;
+ "Confirm Resize/Migration" button is enabled, we click the button and
+ wait for the button to be enabled again, and then click the
+ button repeatedly;
4. The page crashes after the resize is done.
+
Error log:
http://ix.io/2oOd
+
Bug analysis:
The bug reproduces easily, if the instance stays in VERIFY_RESIZE state for
long enough. After digging into the horizon source code, I found that
"ConfirmResize.single" and "RevertResize.single" methods in
"openstack_dashboard/dashboards/project/instance/tables.py" are lack of
exception handling, and expose the exception to django, to cause the page crash.
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1882918
Title:
Instances page crashes on repeated confirm/revert resize actions
Status in OpenStack Dashboard (Horizon):
New
Bug description:
Environment:
OpenStack Rocky/Ussuri
compute node of libvirt/kvm on HP Proliant server with 24*cpu and 256GB mem
Reproduction steps:
1. Create an instance with flavor "m1.small";
2. Resize the instance to flavor "m1.medium";
3. In a while the instance enters "VERIFY_RESIZE" state, and the
"Confirm Resize/Migration" button is enabled, we click the button and
wait for the button to be enabled again, and then click the
button repeatedly;
4. The page crashes after the resize is done.
Error log:
http://ix.io/2oOd
Bug analysis:
The bug reproduces easily, if the instance stays in VERIFY_RESIZE state for
long enough. After digging into the horizon source code, I found that
"ConfirmResize.single" and "RevertResize.single" methods in
"openstack_dashboard/dashboards/project/instance/tables.py" are lack of
exception handling, and expose the exception to django, to cause the page crash.
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1882918/+subscriptions
Follow ups