2012-04-13 23:51:42 |
Morgan Fainberg |
bug |
|
|
added bug |
2012-04-13 23:51:42 |
Morgan Fainberg |
attachment added |
|
patch for handling deleted flavors https://bugs.launchpad.net/bugs/981269/+attachment/3062529/+files/19a9f8db12b159ce8454b9d7632ca62640c5b4d3.patch |
|
2012-04-30 17:03:58 |
Devin Carlen |
horizon: status |
New |
Confirmed |
|
2012-04-30 17:04:02 |
Devin Carlen |
horizon: milestone |
|
folsom-1 |
|
2012-04-30 17:04:04 |
Devin Carlen |
horizon: importance |
Undecided |
Medium |
|
2012-05-01 21:22:37 |
Devin Carlen |
horizon: assignee |
|
Nebula (nebula) |
|
2012-05-22 21:15:17 |
Devin Carlen |
horizon: milestone |
folsom-1 |
folsom-2 |
|
2012-06-20 18:54:01 |
Ke Wu |
horizon: status |
Confirmed |
In Progress |
|
2012-06-21 17:30:58 |
Ke Wu |
horizon: assignee |
Nebula (nebula) |
Ke Wu (ke-wu) |
|
2012-06-27 20:45:26 |
OpenStack Infra |
horizon: status |
In Progress |
Fix Committed |
|
2012-07-04 08:33:44 |
Thierry Carrez |
horizon: status |
Fix Committed |
Fix Released |
|
2012-09-27 14:56:46 |
Thierry Carrez |
horizon: milestone |
folsom-2 |
2012.2 |
|
2013-01-08 12:03:44 |
Yaguang Tang |
bug task added |
|
openstack-dashboard (Ubuntu) |
|
2013-01-08 12:17:24 |
Ubuntu Foundations Team Bug Bot |
tags |
deleted flavors |
deleted flavors patch |
|
2013-01-08 12:17:31 |
Ubuntu Foundations Team Bug Bot |
bug |
|
|
added subscriber Ubuntu Review Team |
2013-01-11 10:43:10 |
Yaguang Tang |
attachment added |
|
deleted-flavor-exception.patch https://bugs.launchpad.net/horizon/+bug/981269/+attachment/3480045/+files/deleted-flavor-exception.patch |
|
2013-01-11 10:44:36 |
Yaguang Tang |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2013-01-15 07:55:21 |
Yaguang Tang |
description |
In Nova dashboard and Syspanel dashboard if the flavor of an instance cannot be retrieved the property .full_flavor will still be set to "None". If there is no error retrieving flavors and a flavor has been deleted, this can cause a large traceback in the table rendering as get_size checks if the instance object hasattr() "full_flavor" instead of for the individual values to display in the "Size" column.
Attached is a potential fix. I have also included an alternate code path that will directly query the API for a flavor's information if it is not present in the full_flavors list(); this can occur if a flavor has been deleted as api.nova.flavors_list() only returns flavors that are not deleted. |
[Impact]
* horizon throw errors when view horizon/syspanel/instances/ page with deleted
flavor still in use by instances.
* try to get flavor info through the flavor.get api,this can retrive the deleted
flavor info.
[Test Case]
* Launch an instance of flavor m1.tiny
on controller node do: nova flavor-delete m1.tiny, and wait for it to succeed.
on horizon look at the state of the machines, http://horizon-system:port/horizon/
syspanel/instances/ and wait for it to fail because horizon can not find the flavor
m1.tiny and therefore can not report the status and details of the instance in
question.
[Regression Potential]
* This is a backport from upstream.
In Nova dashboard and Syspanel dashboard if the flavor of an instance cannot be retrieved the property .full_flavor will still be set to "None". If there is no error retrieving flavors and a flavor has been deleted, this can cause a large traceback in the table rendering as get_size checks if the instance object hasattr() "full_flavor" instead of for the individual values to display in the "Size" column.
Attached is a potential fix. I have also included an alternate code path that will directly query the API for a flavor's information if it is not present in the full_flavors list(); this can occur if a flavor has been deleted as api.nova.flavors_list() only returns flavors that are not deleted. |
|
2013-01-15 07:56:19 |
Yaguang Tang |
attachment added |
|
deleted-flavor-exception.patch https://bugs.launchpad.net/horizon/+bug/981269/+attachment/3483738/+files/deleted-flavor-exception.patch |
|
2013-01-22 16:34:45 |
Chris J Arges |
openstack-dashboard (Ubuntu): assignee |
|
Yaguang Tang (heut2008) |
|
2013-01-22 16:34:55 |
Chris J Arges |
openstack-dashboard (Ubuntu): importance |
Undecided |
Medium |
|
2013-01-22 16:35:04 |
Chris J Arges |
openstack-dashboard (Ubuntu): status |
New |
In Progress |
|
2013-01-22 16:35:49 |
Chris J Arges |
bug |
|
|
added subscriber Dave Walker |
2013-01-25 16:59:16 |
Yaguang Tang |
description |
[Impact]
* horizon throw errors when view horizon/syspanel/instances/ page with deleted
flavor still in use by instances.
* try to get flavor info through the flavor.get api,this can retrive the deleted
flavor info.
[Test Case]
* Launch an instance of flavor m1.tiny
on controller node do: nova flavor-delete m1.tiny, and wait for it to succeed.
on horizon look at the state of the machines, http://horizon-system:port/horizon/
syspanel/instances/ and wait for it to fail because horizon can not find the flavor
m1.tiny and therefore can not report the status and details of the instance in
question.
[Regression Potential]
* This is a backport from upstream.
In Nova dashboard and Syspanel dashboard if the flavor of an instance cannot be retrieved the property .full_flavor will still be set to "None". If there is no error retrieving flavors and a flavor has been deleted, this can cause a large traceback in the table rendering as get_size checks if the instance object hasattr() "full_flavor" instead of for the individual values to display in the "Size" column.
Attached is a potential fix. I have also included an alternate code path that will directly query the API for a flavor's information if it is not present in the full_flavors list(); this can occur if a flavor has been deleted as api.nova.flavors_list() only returns flavors that are not deleted. |
[Impact]
* horizon throw errors when view horizon/syspanel/instances/ page with deleted
flavor still in use by instances.
* try to get flavor info through the flavor.get api,this can retrive the deleted
flavor info.
[Test Case]
* Launch an instance of flavor m1.tiny
on controller node do: nova flavor-delete m1.tiny, and wait for it to succeed.
on horizon look at the state of the machines, http://horizon-system:port/horizon/
syspanel/instances/ and wait for it to fail because horizon can not find the flavor
m1.tiny and therefore can not report the status and details of the instance in
question.
[Regression Potential]
* This is a backport from upstream.
In Nova dashboard and Syspanel dashboard if the flavor of an instance cannot be retrieved the property .full_flavor will still be set to "None". If there is no error retrieving flavors and a flavor has been deleted, this can cause a large traceback in the table rendering as get_size checks if the instance object hasattr() "full_flavor" instead of for the individual values to display in the "Size" column.
Attached is a potential fix. I have also included an alternate code path that will directly query the API for a flavor's information if it is not present in the full_flavors list(); this can occur if a flavor has been deleted as api.nova.flavors_list() only returns flavors that are not deleted. |
|
2013-01-25 17:00:57 |
Yaguang Tang |
bug |
|
|
added subscriber Ubuntu Sponsors Team |
2013-02-05 12:14:00 |
James Page |
nominated for series |
|
Ubuntu Precise |
|
2013-02-05 12:14:00 |
James Page |
bug task added |
|
openstack-dashboard (Ubuntu Precise) |
|
2013-02-05 12:14:08 |
James Page |
openstack-dashboard (Ubuntu Precise): importance |
Undecided |
Medium |
|
2013-02-05 12:14:14 |
James Page |
openstack-dashboard (Ubuntu Precise): status |
New |
In Progress |
|
2013-02-05 12:14:18 |
James Page |
openstack-dashboard (Ubuntu): status |
In Progress |
Fix Released |
|
2013-02-05 12:14:37 |
James Page |
openstack-dashboard (Ubuntu Precise): assignee |
|
Yaguang Tang (heut2008) |
|
2013-02-05 12:14:42 |
James Page |
openstack-dashboard (Ubuntu): assignee |
Yaguang Tang (heut2008) |
|
|
2013-02-05 14:12:58 |
James Page |
bug task added |
|
horizon (Ubuntu) |
|
2013-02-05 14:13:11 |
James Page |
horizon (Ubuntu): status |
New |
Fix Released |
|
2013-02-05 14:13:16 |
James Page |
horizon (Ubuntu): importance |
Undecided |
Medium |
|
2013-02-05 14:13:21 |
James Page |
horizon (Ubuntu Precise): importance |
Undecided |
Medium |
|
2013-02-05 14:13:31 |
James Page |
bug task deleted |
openstack-dashboard (Ubuntu) |
|
|
2013-02-05 14:13:38 |
James Page |
bug task deleted |
openstack-dashboard (Ubuntu Precise) |
|
|
2013-02-05 14:18:03 |
James Page |
removed subscriber Ubuntu Sponsors Team |
|
|
|
2013-02-05 14:18:12 |
James Page |
bug |
|
|
added subscriber James Page |
2013-02-05 14:18:21 |
James Page |
horizon (Ubuntu Precise): status |
New |
In Progress |
|
2013-04-17 14:13:37 |
Chris J Arges |
tags |
deleted flavors patch |
cts-cloud-review deleted flavors patch |
|
2013-04-17 14:18:05 |
Chris J Arges |
bug |
|
|
added subscriber Sustaining Engineering |
2013-04-18 20:15:22 |
Chris J Arges |
tags |
cts-cloud-review deleted flavors patch |
deleted flavors patch |
|
2013-10-17 20:09:04 |
Chris J Arges |
bug |
|
|
added subscriber Ubuntu Sponsors Team |
2013-11-18 09:25:26 |
James Page |
removed subscriber Ubuntu Sponsors Team |
|
|
|
2014-02-07 16:04:16 |
Curtis Hovey |
removed subscriber Registry Administrators |
|
|
|
2021-10-14 04:51:30 |
Steve Langasek |
horizon (Ubuntu Precise): status |
In Progress |
Won't Fix |
|