cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-7482) Ajax calls in mgmt UI causing log pollution
Date Mon, 01 Dec 2014 02:20:12 GMT

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

ASF subversion and git services commented on CLOUDSTACK-7482:
-------------------------------------------------------------

Commit 463a1020bae646bcf0b99915ebaca4eaf9d94f5b in cloudstack's branch refs/heads/master from
[~pdion]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=463a102 ]

CLOUDSTACK-7482: removed listAll from UI for API call not supporting it, still some left


> Ajax calls in mgmt UI causing log pollution
> -------------------------------------------
>
>                 Key: CLOUDSTACK-7482
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7482
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: UI
>    Affects Versions: 4.4.0
>            Reporter: Kedron Touvell
>            Assignee: Pierre-Luc Dion
>            Priority: Minor
>             Fix For: Future
>
>
> Many of the ajax calls in the mgmt UI are specifying a listAll parameter, despite the
fact that the underlying API call does not support listAll.  This is causing a decent amount
of log pollution:
> {quote}
> 2014-09-03 10:54:21,475 WARN  [c.c.a.d.ParamGenericValidationWorker] (catalina-exec-8:ctx-aefb6d5e
ctx-08b63c18) Received unknown parameters for command listImageStores. Unknown parameters
: listall type
> {quote}
> These parameters are set in {{ui/scripts/system.js}}, for example:
> {noformat}
> systemVmCount: function (data) {
>                         $.ajax({
>                             url: createURL('listSystemVms'),
>                             data: {
>                                 listAll: true,
> {noformat}
> Here's the list of API calls that I see generating warnings:
> * listClusters
> * listHosts
> * listImageStores
> * listNetworkOfferings
> * listPods
> * listRegions
> * listServiceOfferings
> * listStoragePools
> * listSystemVms
> * listZones
> One more to add...listDomains is being called with a parentdomainid parameter, leading
to the following warning:
> {quote}
> 2014-09-04 11:59:01,217 WARN  [c.c.a.d.ParamGenericValidationWorker] (catalina-exec-5:ctx-c85dc843
ctx-647a43c1 ctx-bcd4e41b) Received unknown parameters for command listDomains. Unknown parameters
: parentdomainid
> {quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message