You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Pierre-Luc Dion (JIRA)" <ji...@apache.org> on 2015/03/07 14:05:38 UTC

[jira] [Resolved] (CLOUDSTACK-7482) Ajax calls in mgmt UI causing log pollution

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-7482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pierre-Luc Dion resolved CLOUDSTACK-7482.
-----------------------------------------
    Resolution: Fixed

> 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, 4.5.0
>
>
> 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)