cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jessica Wang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CLOUDSTACK-5044) Configuration Framework Issue
Date Wed, 08 Oct 2014 19:54:34 GMT

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

Jessica Wang updated CLOUDSTACK-5044:
-------------------------------------
    Attachment: 2014-10-08-jessica2.PNG

http://10.215.3.26:8080/client/api?command=listConfigurations&clusterid=f275f6c2-cfc9-450e-83bb-1fde50937e7c&response=json&sessionkey=PusSSHPxwr9ltBzzEfNrskMJ428%3D&listAll=true&page=1&pagesize=20&_=1412794815729

{
    "listconfigurationsresponse": {
        "count": 8,
        "configuration": [
            {
                "category": "Alert",
                "name": "cluster.cpu.allocated.capacity.disablethreshold",
                "value": "0.85",
                "scope": "cluster",
                "description": "Percentage (as a value between 0 and 1) of cpu utilization
above which allocators will disable using the cluster for low cpu available. Keep the corresponding
notification threshold lower than this to be notified beforehand."
            },
            {
                "category": "Alert",
                "name": "cluster.cpu.allocated.capacity.notificationthreshold",
                "value": "0.75",
                "scope": "cluster",
                "description": "Percentage (as a value between 0 and 1) of cpu utilization
above which alerts will be sent about low cpu available."
            },
            {
                "category": "Alert",
                "name": "cluster.memory.allocated.capacity.disablethreshold",
                "value": "0.85",
                "scope": "cluster",
                "description": "Percentage (as a value between 0 and 1) of memory utilization
above which allocators will disable using the cluster for low memory available. Keep the corresponding
notification threshold lower than this to be notified beforehand."
            },
            {
                "category": "Alert",
                "name": "cluster.memory.allocated.capacity.notificationthreshold",
                "value": "0.75",
                "scope": "cluster",
                "description": "Percentage (as a value between 0 and 1) of memory utilization
above which alerts will be sent about low memory available."
            },
            {
                "category": "Alert",
                "name": "cluster.storage.allocated.capacity.notificationthreshold",
                "value": "0.75",
                "scope": "cluster",
                "description": "Percentage (as a value between 0 and 1) of allocated storage
utilization above which alerts will be sent about low storage available."
            },
            {
                "category": "Alert",
                "name": "cluster.storage.capacity.notificationthreshold",
                "value": "0.75",
                "scope": "cluster",
                "description": "Percentage (as a value between 0 and 1) of storage utilization
above which alerts will be sent about low storage available."
            },
            {
                "category": "Advanced",
                "name": "cpu.overprovisioning.factor",
                "value": "1.0",
                "scope": "cluster",
                "description": "Used for CPU overprovisioning calculation; available CPU will
be (actualCpuCapacity * cpu.overprovisioning.factor)"
            },
            {
                "category": "Advanced",
                "name": "mem.overprovisioning.factor",
                "value": "1.0",
                "scope": "cluster",
                "description": "Used for memory overprovisioning calculation"
            }
        ]
    }
}

> Configuration Framework Issue
> -----------------------------
>
>                 Key: CLOUDSTACK-5044
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5044
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Management Server
>    Affects Versions: 4.3.0
>         Environment: Mac OS X 10.8.3
>            Reporter: Mike Tutkowski
>            Assignee: Jessica Wang
>             Fix For: 4.4.0
>
>         Attachments: 2014-10-08-jessica.PNG, 2014-10-08-jessica2.PNG
>
>
> When you click on the Settings tab of a cluster, an error is displayed in its table:
> http://i.imgur.com/k7oPoEp.jpg
> From the MS console:
> ERROR [c.c.a.ApiServer] (1243517273@qtp-1404190447-6:ctx-a7d38106 ctx-82029652) unhandled
exception executing api command: listConfigurations
> java.lang.NullPointerException
> 	at com.cloud.server.ConfigurationServerImpl.getConfigListByScope(ConfigurationServerImpl.java:778)
> 	at com.cloud.server.ManagementServerImpl.searchForConfigurations(ManagementServerImpl.java:1674)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:606)
> 	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
> 	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
> 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
> 	at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
> 	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
> 	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
> 	at com.sun.proxy.$Proxy233.searchForConfigurations(Unknown Source)
> 	at org.apache.cloudstack.api.command.admin.config.ListCfgsByCmd.execute(ListCfgsByCmd.java:115)
> 	at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:161)
> 	at com.cloud.api.ApiServer.queueCommand(ApiServer.java:527)
> 	at com.cloud.api.ApiServer.handleRequest(ApiServer.java:370)
> 	at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:322)
> 	at com.cloud.api.ApiServlet.access$000(ApiServlet.java:52)
> 	at com.cloud.api.ApiServlet$1.run(ApiServlet.java:114)
> 	at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
> 	at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
> 	at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
> 	at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:111)
> 	at com.cloud.api.ApiServlet.doGet(ApiServlet.java:73)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> 	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
> 	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401)
> 	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
> 	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
> 	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
> 	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
> 	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
> 	at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
> 	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
> 	at org.mortbay.jetty.Server.handle(Server.java:326)
> 	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
> 	at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
> 	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
> 	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
> 	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
> 	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
> 	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)



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

Mime
View raw message