Bug 1401003 - When you delete the VM from RHEV provider side, half the time it picks archived and the other half the time it picks orphaned even though the VM's disks were deleted.
Summary: When you delete the VM from RHEV provider side, half the time it picks archiv...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.5.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.7.0
Assignee: Piotr Kliczewski
QA Contact: Ilanit Stein
URL:
Whiteboard: rhev
Depends On: 1334949
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-02 14:37 UTC by Satoe Imaishi
Modified: 2020-02-14 18:14 UTC (History)
11 users (show)

Fixed In Version: 5.7.0.14
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1334949
Environment:
Last Closed: 2017-01-04 13:18:22 UTC
Category: ---
Cloudforms Team: RHEVM
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github https://github.com/ManageIQ manageiq pull 10398 0 None None None 2016-12-02 14:37:47 UTC
Red Hat Product Errata RHBA-2017:0012 0 normal SHIPPED_LIVE CFME 5.7.0 bug fixes and enhancement update 2017-01-04 17:50:36 UTC

Comment 2 CFME Bot 2016-12-06 17:13:34 UTC
New commit detected on ManageIQ/manageiq/euwe:
https://github.com/ManageIQ/manageiq/commit/819c07955c329102d6f19ee1d8a72a55894bf0c6

commit 819c07955c329102d6f19ee1d8a72a55894bf0c6
Author:     Adam Grare <agrare>
AuthorDate: Thu Dec 1 09:08:14 2016 -0500
Commit:     Oleg Barenboim <chessbyte>
CommitDate: Fri Dec 2 11:42:17 2016 -0500

    Merge pull request #12788 from pkliczewski/master
    
    Fetch disk info when a vm removed
    (cherry picked from commit fc26fd8a18d88bcb07525201e78588e2797997f3)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1401003

 .../manageiq/providers/redhat/infra_manager/vm.rb  |  29 ++++++
 .../Event/EmsEvent/RHEVM.class/user_remove_vm.yaml |   2 +-
 .../providers/redhat/infra_manager/vm_spec.rb      |  34 +++++++
 .../redhat/infra_manager/vm_fetch_disks.yml        | 107 +++++++++++++++++++++
 .../redhat/infra_manager/vm_fetch_no_disks.yml     |  73 ++++++++++++++
 5 files changed, 244 insertions(+), 1 deletion(-)
 create mode 100644 spec/vcr_cassettes/manageiq/providers/redhat/infra_manager/vm_fetch_disks.yml
 create mode 100644 spec/vcr_cassettes/manageiq/providers/redhat/infra_manager/vm_fetch_no_disks.yml

Comment 3 Ilanit Stein 2016-12-07 12:50:39 UTC
Verified on CFME-5.7.0.14-1, RHV-4.0.5.

10 VMs, that were removed, including their disks, turned into Archived on CFME.

Comment 5 errata-xmlrpc 2017-01-04 13:18:22 UTC
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.

https://rhn.redhat.com/errata/RHBA-2017-0012.html


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