Activity log for bug #1400269

Date Who What changed Old value New value Message
2014-12-08 10:11:40 Tan Lin bug added bug
2014-12-08 10:12:00 Tan Lin bug task added nova
2014-12-08 10:12:08 Tan Lin nova: assignee Tan Lin (tan-lin-good)
2014-12-08 10:12:13 Tan Lin ironic: assignee Tan Lin (tan-lin-good)
2014-12-08 10:13:56 Tan Lin description Get error if delete flavor before delete instance. This is caused by ironic driver in nova. We have below code in _cleanup_deploy function in nova/virt/ironic/driver.py if flavor is None: # TODO(mrda): It would be better to use instance.get_flavor() here # but right now that doesn't include extra_specs which are required flavor = objects.Flavor.get_by_id(context, instance['instance_type_id']) So if the flavor is deleted before we destroy bare metal node, we get FlavorNotFoud exception without handling. I prefer to add to log and ignore the exception to solve this one. At same time, I found the flavor is used to clean deploy ramdisk/kernel in driver_info, which was plan to remove in Kilo, are we ready for that? Get error if delete flavor before delete instance. This is caused by ironic driver in nova. We have below code in _cleanup_deploy function in nova/virt/ironic/driver.py if flavor is None:             # TODO(mrda): It would be better to use instance.get_flavor() here             # but right now that doesn't include extra_specs which are required             flavor = objects.Flavor.get_by_id(context,                                               instance['instance_type_id']) So if the flavor is deleted before we destroy bare metal node, we get FlavorNotFoud exception without handling. At same time, I found the flavor is used to clean deploy ramdisk/kernel in driver_info, which was plan to remove in Kilo, are we ready for that?
2014-12-08 13:21:04 Dmitry Tantsur nova: status New Confirmed
2014-12-08 13:21:17 Dmitry Tantsur ironic: status New Invalid
2014-12-11 17:20:44 OpenStack Infra nova: status Confirmed In Progress
2014-12-11 17:20:44 OpenStack Infra nova: assignee Tan Lin (tan-lin-good) Jim Rollenhagen (jim-rollenhagen)
2014-12-16 14:52:38 OpenStack Infra nova: assignee Jim Rollenhagen (jim-rollenhagen) Paul Murray (pmurray)
2014-12-18 16:28:11 Tan Lin bug task deleted ironic
2014-12-19 14:47:27 OpenStack Infra nova: status In Progress Fix Committed
2014-12-19 16:35:37 Paul Murray tags juno-backport-potential
2014-12-24 11:41:04 OpenStack Infra tags juno-backport-potential in-stable-juno juno-backport-potential
2015-01-29 13:56:37 Chuck Short nominated for series nova/juno
2015-01-29 13:56:37 Chuck Short bug task added nova/juno
2015-01-29 13:56:47 Chuck Short nova/juno: milestone 2014.2.2
2015-01-29 14:04:57 Chuck Short nova/juno: status New Fix Committed
2015-02-05 14:49:51 Chuck Short nova/juno: status Fix Committed Fix Released
2015-02-05 20:23:55 Thierry Carrez nova: status Fix Committed Fix Released
2015-02-05 20:23:55 Thierry Carrez nova: milestone kilo-2
2015-04-30 09:20:08 Thierry Carrez nova: milestone kilo-2 2015.1.0