Hide Forgot
Description of problem: We have a EC2 guest in Sat6.0. When we delete it, we get a information message "Successfully deleted", but the guest is still contained in EC2 (and in "Compute Resource" > "Virtual Machines"). Amazon deletes guest with the delay (in my case 10 - 60 min). it means, the message is inaccurate. It would be better something as "The virtual machine will be deleted in few minutes". Question is it, the difference between the deleting of host ("Hosts" > "All hosts" > delete some of EC2 guests) and deleting of a virtual machine ("Infrastructure" > "Compute resource" > some of EC2 resources > "Virtual Machines" > some of EC2 guests). First option deletes the host immediately and VM will be automatically deleted in future. In this case, the message is acceptable, we don't see already host in list. Second option marks VM for deleting and VM will be automatically deleted in future. In this case, the message is confusing, because we see still the VM in list. Version-Release number of selected component (if applicable): Satellite-6.0.3-RHEL-6-20140523.0 How reproducible: 100% Steps to Reproduce: 1. We have got Sat 6.0 with some EC2 guest. 2. Open detail of VM guest "Infrastructure" > "Compute resource" > some of EC2 resources > "Virtual Machines" > some of EC2 guests 3. Click on the "Delete" button. 4. We can see message "Successfully deleted", but VM is still in the list. Actual results: "Successfully deleted" Expected results: "The virtual machine will be deleted in a few minutes" Additional info:
Since this issue was entered in Red Hat Bugzilla, the release flag has been set to ? to ensure that it is properly evaluated for this release.
Created redmine issue http://projects.theforeman.org/issues/5969 from this bug
https://github.com/theforeman/foreman/pull/1490 Is this destroy message true for all types of compute resources, or just EC2?
jhutar tested a KVM quests.
RHEV guests are immediately removed.
Martin, what do you when by your comment? Are you suggesting a downstream patch to change the wording for Sat6 only
(In reply to jmagen from comment #7) > Martin, what do you when by your comment? > Are you suggesting a downstream patch to change the wording for Sat6 only No, it is my mistake, I did not notice the bug is already fixed. My commment 6 says, When I delete RHEV guest using satellite 6, the guest is removed from RHEV online. It is the difference between EC2 and RHEV (or libvirt) guests.
(In reply to jmagen from comment #4) > https://github.com/theforeman/foreman/pull/1490 > > Is this destroy message true for all types of compute resources, or just EC2? (In reply to Martin Korbel from comment #5) > jhutar tested a KVM quests. Sorry for late answer. For libvirt compute resource I see removed guest to disappear (almost?) instantly.
Jan, So are you suggesting to change the message wording from "The virtual machine will be deleted in a few minutes" to "The virtual machine is being deleted in the background"
Moving to POST since upstream bug http://projects.theforeman.org/issues/5969 has been closed ------------- Joseph Magen https://github.com/theforeman/foreman/pull/1490 ------------- Dominic Cleal https://github.com/theforeman/foreman/pull/1490 ------------- Joseph Magen Applied in changeset commit:9d9523c7c7472634e5fb9ed9314b06e1c62c6e96.
Verification on Satellite-6.0.4-RHEL-6-20140829.0 New message is "The virtual machine is being deleted.".
This was delivered with Satellite 6.0 which was released on 10 September 2014.