You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Kedron Touvell (JIRA)" <ji...@apache.org> on 2014/09/03 22:24:51 UTC

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

Kedron Touvell created CLOUDSTACK-7482:
------------------------------------------

             Summary: 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
            Priority: Minor


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



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