Created attachment 1246915 [details] remove key pair Description of problem: Version-Release number of selected component (if applicable): 5.7.1.0.20170124142149_8a5f4d5 How reproducible: Steps to Reproduce: 1. Cloud ec2 keys are imported into CFME and is shown under Compute - cloud - key pair 2. Attempt to delete , shows message . 3. Remove key pair should be disabled for keys that cannot be deleted through CFME Actual results: Expected results: Additional info:
Removing RFE, if a button is enabled when its not supported, that is a bug.
Created attachment 1247932 [details] detail screen "remove key pair" is present in detail screen too.
Greg, It looks like we need support_feature mixin changes to return whether delete is available for selected KeyPair record or not. ~Harpreet
What's a scenario when a key pair shouldn't be deleted?
Key pairs are imported from cloud providers . User created key pair can be deleted but imported ones cannot be deleted from Cloudforms . So the button "remove key pair from inventory" should be disabled.
PR for this https://github.com/ManageIQ/manageiq-ui-classic/pull/4061. Is this the kind of action you were expecting Shveta?
Yes Julian ,Looks good .
Hi Shveta, Why is it that imported key pairs, i.e. ones created in AWS cannot be deleted in CF? Does CF not then delete the key pair from AWS too?
Hi Julian , As of now the Key created in AWS cannot be deleted from CF. Not sure if development plans to support that in the future . Thanks, Shveta
Fixed in 5.10.3.0.20190402144650_62f3960