Bug 1000146

Summary: RHN - Delete Server causes Erroneous calculations For Server count
Product: [Retired] Red Hat Network Reporter: vikas kumar <vkumar>
Component: RHN/MaintenanceAssignee: Jared Blashka <jblashka>
Status: CLOSED CURRENTRELEASE QA Contact: David Spalding <dspaldin>
Severity: medium Docs Contact:
Priority: urgent    
Version: MR53 (AMS)CC: bsaylor, dspaldin, nraghava, nyancey
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: CHG02678
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-03 18:51:13 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:

Description vikas kumar 2013-08-22 19:44:07 UTC
Description of problem:


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


How reproducible:
When we call delete server, it checks to see if system is physical or virtual. For some virtual systems, query somehow finds it as both (physical & virtual) and hence reduces the server count twice. 


Steps to Reproduce:
1. Login as qa to RHN
2. find a virutal system in list (physical/virutal system has different icons)
3. check the channels it subscribed to. 
4. check the channel family those channels are in. 
5. find that channel family in software entitlements page and look at the counts for current_members and current_fve_members count.
6. delete the system.
7. check the counts again, it should be just reduced by 1.

 

Actual results:
Right now it reduces once for current_members and once for fve_members. 


Expected results:
It should reduce server count just once for either  current_members or once for fve_members. 


Additional info:

Comment 1 David Spalding 2013-08-23 21:21:02 UTC
Tested good in QA:

https://tcms.engineering.redhat.com/run/79965/

Comment 2 David Spalding 2013-09-03 18:51:13 UTC
Released to production 8/31/2013.