cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pierre-Luc Dion (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-7482) Ajax calls in mgmt UI causing log pollution
Date Mon, 01 Dec 2014 00:05:12 GMT

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

Pierre-Luc Dion commented on CLOUDSTACK-7482:
---------------------------------------------

here is what I'm seeing into 4.5.0-snapshot:

{code}
Received unknown parameters for command listZones. Unknown parameters : listall
Received unknown parameters for command listPods. Unknown parameters : listall
Received unknown parameters for command listClusters. Unknown parameters : listall
Received unknown parameters for command listHosts. Unknown parameters : listall
Received unknown parameters for command listStoragePools. Unknown parameters : listall
Received unknown parameters for command listImageStores. Unknown parameters : listall type
Received unknown parameters for command listSystemVms. Unknown parameters : listall
 Received unknown parameters for command listAccounts. Unknown parameters : details
 Received unknown parameters for command listProjects. Unknown parameters : details
 Received unknown parameters for command listServiceOfferings. Unknown parameters : listall
 Received unknown parameters for command listNetworkOfferings. Unknown parameters : listall
 Received unknown parameters for command listVPCOfferings. Unknown parameters : listall
 Received unknown parameters for command listDiskOfferings. Unknown parameters : listall
 Received unknown parameters for command listServiceOfferings. Unknown parameters : listall
 Received unknown parameters for command listLdapConfigurations. Unknown parameters : listall
 Received unknown parameters for command listBaremetalRct. Unknown parameters : listall
 Received unknown parameters for command listHypervisorCapabilities. Unknown parameters :
listall
 Received unknown parameters for command listRegions. Unknown parameters : listall
 Received unknown parameters for command listNetworks. Unknown parameters : details
{code}

> 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
>             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