Bug 798567 - French : Provider quota is set to zero by default
French : Provider quota is set to zero by default
Product: CloudForms Cloud Engine
Classification: Red Hat
Component: aeolus-conductor (Show other bugs)
Unspecified Unspecified
unspecified Severity high
: beta4
: ---
Assigned To: Shveta
wes hayutin
Depends On:
  Show dependency treegraph
Reported: 2012-02-29 04:30 EST by Shveta
Modified: 2012-05-15 18:48 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-05-15 18:48:03 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
zero_provider_quota (218.55 KB, image/png)
2012-02-29 04:30 EST, Shveta
no flags Details
able to create account (234.83 KB, image/png)
2012-03-06 23:20 EST, Shveta
no flags Details

  None (edit)
Description Shveta 2012-02-29 04:30:23 EST
Created attachment 566498 [details]

Description of problem:

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

How reproducible:

Steps to Reproduce:
1. Enabled french , Create provider account 
2. Provider quota is set to 0 by default as against (unlimited) in english version
3. Also the "Unlimited" button is not aligned 
Actual results:

Expected results:

Additional info:

rpm -qa|grep aeolus
Comment 1 Shveta 2012-02-29 04:32:00 EST
Even after clicking the "unlimited" button the account could not be saved.
It gives message :Quota maximum running instances must be a positive whole number less than 2147483647
and sets the quota to zero again.
Comment 2 Angus Thomas 2012-03-02 08:28:15 EST
There's logic here which deals with "unlimited" as the string, but isn't working with "illimité(e)"

The code needs to be fixed up so that the quota is set to unlimited when the Unlimited button is pressed. irrespective of the string that appears in the text entry field.
Comment 3 Scott Seago 2012-03-02 09:53:46 EST
Yeah, the original design here was 'empty quota == unlimited' -- adding the 'unlimited' string there has caused a bit of confusion now. However, the fix is probably as simple as ignoring non-numeric data in the string so 'unlimited' == '' == 'halibut express'
Comment 4 Tzu-Mainn Chen 2012-03-02 10:35:16 EST
Patch created:

Comment 5 Tzu-Mainn Chen 2012-03-06 11:45:08 EST
Patch pushed to master:

commit a35f30d6cc3c26b12e242f85a36086fad6ec2b3a
BZ 798567 use Il8n version of unlimited

commit 12107d15c160c6506f63e630307b5f6380c1abe8
BZ 798567 fix to allow Il8n'd version of 'unlimited' to count as unlimited
Comment 7 Shveta 2012-03-06 23:20:27 EST
Created attachment 568123 [details]
able to create account

Quota is set to unlimited by default, able to create account now

 rpm -qa|grep aeolus
Comment 8 errata-xmlrpc 2012-05-15 18:48:03 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.


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