Bug 1380321 - [RFE] Display a warning message at the time of flavor deletion
Summary: [RFE] Display a warning message at the time of flavor deletion
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova
Version: 9.0 (Mitaka)
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Eoghan Glynn
QA Contact: Prasanth Anbalagan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-29 09:49 UTC by Chaitanya Shastri
Modified: 2019-09-09 17:10 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-07-12 12:42:39 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Chaitanya Shastri 2016-09-29 09:49:26 UTC
Description of problem:
We cannot offline migrate an instance (nova migrate) that has its flavor deleted. It throws the error 'FlavorNotFound' which is an expected behavior.

How about adding a warning message that takes a confirmation from the user that does he really wants to delete the flavor and display its consequences? 

Version-Release number of selected component (if applicable):
RHOS 7,8,9

How reproducible:
Always

Steps to Reproduce:
1.Spawn an instance A with a flavor X.

2.Delete the flavor X.

3.Try to migrate the instance A(nova migrate): It will fail with 'FlavorNotFound' error.

4.Even if we create a flavor with same name, same ID, the instance would not be able to migrate with same error.
 
Actual results:
Nova Flavor gets deleted without any confirmation from user

Expected results:
While deleting a flavor, it should ask the user if he really wants to delete the flavor.

Comment 1 Stephen Gordon 2017-07-12 12:41:26 UTC
This type of workflow (as used in resize) has typically been pretty problematic. I don't think this level of protection belongs in the Nova client or API.

Comment 2 RHEL Program Management 2017-07-12 12:42:39 UTC
Product Management has reviewed and declined this request.
You may appeal this decision by reopening this request.


Note You need to log in before you can comment on or make changes to this bug.