Bug 852533 - [ORIGIN] gear count via REST URL is incorrect when a scaleable app is present.
Summary: [ORIGIN] gear count via REST URL is incorrect when a scaleable app is present.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Pod
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Krishna Raman
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-28 20:11 UTC by Peter Ruan
Modified: 2015-05-15 02:04 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-11-06 18:50:03 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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.


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