Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1446585 - CFME servers not deleting from Web UI
CFME servers not deleting from Web UI
Status: CLOSED ERRATA
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Appliance (Show other bugs)
5.7.0
All All
medium Severity medium
: GA
: 5.9.0
Assigned To: Gregg Tanzillo
Alex Newman
appliance:distributed
: Reopened
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-04-28 07:54 EDT by Ryan Spagnola
Modified: 2018-03-01 08:12 EST (History)
14 users (show)

See Also:
Fixed In Version: 5.9.0.1
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-03-01 08:12:04 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 3214931 None None None 2017-10-13 08:02 EDT
Red Hat Product Errata RHSA-2018:0380 normal SHIPPED_LIVE Moderate: Red Hat CloudForms security, bug fix, and enhancement update 2018-03-01 13:37:12 EST

  None (edit)
Comment 16 Nick Carboni 2017-09-15 16:01:01 EDT
I was not able to reproduce this issue, but I didn't try with any significant number of events for the server I was deleting.

While trying to reproduce this I noticed that the configuration dropdown to delete the server is missing in version 5.8.1.5 so I opened bug 1492216 to track that issue separately.

I'm tempted to close this, but would like to propose changing the dependent destroy to an after destroy callback which queues the deletion of the events.

This should prevent the call to destroy the server from hanging, but I'm not sure what kind of problems the hanging reference to the removed server would cause. Thoughts?
Comment 17 Yuri Rudman 2017-09-19 08:08:07 EDT
I think if server stopped and there were no activity for some time than it is OK to delete server first and replace dependent=>destroy with after_destroy for EventStream.
Gregg, what do you think?
Comment 19 CFME Bot 2017-09-21 14:07:00 EDT
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/79ca041e68148f98c3506614416f3ebd4ee569f8

commit 79ca041e68148f98c3506614416f3ebd4ee569f8
Author:     Yuri Rudman <yrudman@redhat.com>
AuthorDate: Tue Sep 19 13:35:12 2017 -0400
Commit:     Yuri Rudman <yrudman@redhat.com>
CommitDate: Wed Sep 20 15:07:05 2017 -0400

    queue deletion of lihked events instead of dependent=>destroy. It should prevent UI to hang when deleting instance of MiqServer
    https://bugzilla.redhat.com/show_bug.cgi?id=1446585

 app/models/miq_server.rb | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)
Comment 32 errata-xmlrpc 2018-03-01 08:12:04 EST
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://access.redhat.com/errata/RHSA-2018:0380

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