Hide Forgot
Description of problem: Version-Release number of selected component (if applicable): 5.6.2 How reproducible: 100% Steps to Reproduce: 1. Provision instance using aws ui 2. add provider to cfme 3. retire instance Actual results: Instance stuck in Retiring state. Power state is on under cfme and aws ui Expected results: Instance shoud get retired state. Power state is off. Should be stopped under provider Additional info: Use instance Root device type: ebs and instance store
Kyrylo, Can I get access to your appliance ? Thanks Billy
Kyrylo, Can you please keep this environment till next week so that we can look at it further? We found a problem with vm.hardware.root_device_type on your appliance. For Amazon, there are 2 valid types: ebs instance-store. For some reason the VMDB is not showing values for 4 Vm's in your database but the provider has the proper values. Thanks Billy
So the problem has something to do with the instance not being started from a template that is known to manageiq. Can you have a look if this problem still persists when creating an instance from within manageiq?
When I provision in AWS, the root_device_type is not set and this is what is causing the problem. A refresh doesn't fix the problem. Currently, we will not stop a running instance like this and then we will run amazon_check_pre_retirement 101 times and then fail. Billy
We are waiting on updates to the Amazon provider gem https://github.com/ManageIQ/manageiq-providers-amazon/pull/51 Is waiting to be merged.
Kyrylo, I tested this with the latest build and it works now. I can now see the instance type in the UI and it retires ... Thanks Billy
Verified in CFME 5.8.0.4, EC2 instance types (root device and virtualization) are displayed in the Properties table. Instances are correctly retired according to their type and tagging.