You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@aurora.apache.org by "Bhuvan Arumugam (JIRA)" <ji...@apache.org> on 2014/03/20 23:09:43 UTC

[jira] [Commented] (AURORA-246) update aurora client to use the new getQuota API

    [ https://issues.apache.org/jira/browse/AURORA-246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13942388#comment-13942388 ] 

Bhuvan Arumugam commented on AURORA-246:
----------------------------------------

Until it's fixed, aurora get_quota client interface is broken.

[bhuvan@scheduler jobs]$ aurora get_quota --cluster=vagrant bhuvan
 INFO] Getting quota for: bhuvan
 INFO] Total allocated quota for bhuvan:
        CPU     0.0
        RAM     0.000000 GB
        Disk    0.000000 GB
Traceback (most recent call last):
  File "/usr/local/bin/aurora/.deps/twitter.common.app-0.1.0-py2.6.egg/twitter/common/app/application.py", line 738, in _wrap_method
    return_code = method()
  File "/usr/local/bin/aurora/.deps/twitter.common.app-0.1.0-py2.6.egg/twitter/common/app/application.py", line 760, in <lambda>
    main = lambda: main_method(*args, **kwargs)
  File "/usr/local/bin/aurora/apache/aurora/client/base.py", line 74, in wrapped_function
    return fn(*args)
  File "/usr/local/bin/aurora/apache/aurora/client/commands/core.py", line 615, in get_quota
    if resp.result.getQuotaResult.consumed:
AttributeError: 'GetQuotaResult' object has no attribute 'consumed'


> update aurora client to use the new getQuota API
> ------------------------------------------------
>
>                 Key: AURORA-246
>                 URL: https://issues.apache.org/jira/browse/AURORA-246
>             Project: Aurora
>          Issue Type: Task
>          Components: Client
>            Reporter: Suman Karumuri
>
> AURORA-65 has added non-production consumption information to getQuota API. The client should be updated to consume the new API. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)