Bug 852533

Summary: [ORIGIN] gear count via REST URL is incorrect when a scaleable app is present.
Product: OKD Reporter: Peter Ruan <pruan>
Component: PodAssignee: Krishna Raman <kraman>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.xCC: mfisher
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-06 18:50:03 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:

Description Peter Ruan 2012-08-28 20:11:18 UTC
Description of problem:
In Origin, the consumed gear count is incorrect.

Scenario #1: 1 app, http:://<the_vm_url>/broker/user.json  returns 0
Scenario #2: 1 scaleable app: return 3 gears consumed.

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


How reproducible:
always

Steps to Reproduce:
1. see above
2.
3.
  
Actual results:
1 app = 0 gear
1 scaleable app = 3 gears

Expected results:
1 app = 1 gear
1 scaleable app = 2 gears

Additional info:

Comment 1 Peter Ruan 2012-10-30 21:23:27 UTC
verified with the latest checkout of the origin codes.

The gears count is correct now.