Red Hat Bugzilla – Bug 1298611
Retirement of vm doesn't work on amazon provider
Last modified: 2016-08-02 21:33:42 EDT
Created attachment 1114836 [details]
amazon retire vm
Description of problem:
When you retire vm the power state should be off/stooped, the status change to retired, however on amazon provider it wouldn't work, just writing that vm is retiring.
Please take a look at screenshot.
Also, I'll attach emv and automation log files.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Set up Amazon cloud provider
2. Open any virtual machine
3. Press Lifecycle -> Retire this VM
5. Wait and check the vm status and power state status.
The status of vm isn't retired I waited one hour but "Retirement state" is "Retiring"
The power state of vm should be off, the status of vm - retired and also cfme shouldn't allow vm to start/power on
IP is 10.16.5.140
The vm name is i-a2532f7b
Created attachment 1114840 [details]
Created attachment 1114842 [details]
I can't access your appliance. Can I get access ?
Sorry, the appliance expired.
Here is a new one: https://10.16.5.110
You are missing the generic check_pre_retirement method which Azure needs to retire a Vm when it is powered on. The Vm is now showing a Retirement State of 'Error'
Once this is fixed, I will update this ticket and you.
This issue has been resolved: https://github.com/ManageIQ/manageiq/pull/5779
Verified in 22.214.171.124-beta1.20160322143549_f7ea680
Note that current default behavior of retirement is deleting vm.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.