Bug 1369359

Summary: Discrepancy in objects count in Containers Overview following Provider overview
Product: Red Hat CloudForms Management Engine Reporter: Pavel Zagalsky <pzagalsk>
Component: UI - OPSAssignee: Ari Zellner <azellner>
Status: CLOSED NOTABUG QA Contact: Pavel Zagalsky <pzagalsk>
Severity: high Docs Contact:
Priority: high    
Version: 5.6.0CC: fsimonce, gshefer, hkataria, jhardy, mpovolny, mtayer, obarenbo, pzagalsk
Target Milestone: GAKeywords: ZStream
Target Release: 5.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: container
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1376146 (view as bug list) Environment:
Last Closed: 2016-11-02 08:55:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1376146    
Attachments:
Description Flags
DeletedProvideBug none

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