Bug 1369359 - Discrepancy in objects count in Containers Overview following Provider overview
Summary: Discrepancy in objects count in Containers Overview following Provider overview
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.6.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.7.0
Assignee: Ari Zellner
QA Contact: Pavel Zagalsky
URL:
Whiteboard: container
Depends On:
Blocks: 1376146
TreeView+ depends on / blocked
 
Reported: 2016-08-23 08:13 UTC by Pavel Zagalsky
Modified: 2017-12-01 18:26 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1376146 (view as bug list)
Environment:
Last Closed: 2016-11-02 08:55:23 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
DeletedProvideBug (435.79 KB, application/zip)
2016-08-23 08:13 UTC, Pavel Zagalsky
no flags Details

Description Pavel Zagalsky 2016-08-23 08:13:21 UTC
Created attachment 1193242 [details]
DeletedProvideBug

Description of problem:
After adding 2 Containers Providers and removal of one of them the Containers Overview menu will still show the number of objects that includes the objects that belong to a deleted Containers Provider

Version-Release number of selected component (if applicable):
5.6.1.2.20160810181333_8ba817b

How reproducible:
Always


Steps to Reproduce:
1. Add 2 different Containers Providers in CFME
2. Refresh to discover all the objects
3. Delete 1 of the Providers
4. Refresh to re-discover all the objects
5. Check Compute --> Containers --> Overview
6. Check Compute --> Containers --> Overview --> Pods or any other object there

Actual results:
The menus will show objects from the deleted Provider

Expected results:
The menus should not show objects from the deleted Provider

Additional info:
Attached screenshots from different menus and also from the remaining Provider's summary that shows only the objects that should be shown in the main menu
You can check the bug in my appliance:
https://10.16.5.159

Comment 2 Federico Simoncelli 2016-08-23 09:26:48 UTC
Ari can you take a look?

Remember that when you ask to delete a provider the deletion is not happening immediately but it's happening as an asynchronous task (so it may take a little bit to happen).

Comment 3 Pavel Zagalsky 2016-08-23 10:20:32 UTC
I deleted the provider a few days ago prior to the test

Comment 4 Ari Zellner 2016-08-23 10:52:50 UTC
This is super weird, it feels like the delete crashed in the middle and deleted only some of the entities. Im looking into this.

Comment 5 Ari Zellner 2016-08-30 12:04:29 UTC
Unable to reproduce. Could you check this again? maybe provide more info?

Comment 6 Mooli Tayer 2016-08-30 14:03:58 UTC
This bz as it is currently defined is a zstream only bug as it was not created in a clone process and has no upstream bug.

I'm not sure it belongs on the zstream
especially since currently we have no reproduction for this.

Comment 7 Federico Simoncelli 2016-08-30 14:15:54 UTC
(In reply to Ari Zellner from comment #5)
> Unable to reproduce. Could you check this again? maybe provide more info?

Re-adding needinfo on Pavel.

Comment 8 Pavel Zagalsky 2016-09-14 11:11:33 UTC
Tried to recreate on 5.7 and it doesn't happen any more.
Closing the issue for the time being


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