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

Sailaja Mada updated CLOUDSTACK-1603:
-------------------------------------

    Description: 
Setup : Advanced Networking Zone  with KVM 5.3

Steps:

1.  Tried to add a wrong primary storage folder . It failed with NPE. 

2. Tried to view Alerts.

Observation: 
Management server .log Java Exceptions  are displayed with Alerts [Attached the 
snap]

http://10.102.192.213:8096/client/api?command=listAlerts

This XML file does not appear to have any style information associated with it. 
The document tree is shown below.
      <listalertsresponse 
cloud-stack-version="4.2.0-SNAPSHOT"><count>6</count><alert><id>0ee1792c-8595-49c7-bf4f-5e6fd05db5f3</id><type>6</type><description>Add
 host failed due to ModifyStoragePoolCommand 
failedjava.lang.NullPointerException
        at 
com.cloud.hypervisor.kvm.storage.LibvirtStorageAdaptor.createStoragePool(LibvirtStorageAdaptor.java:462)
        at 
com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.createStoragePool(KVMStoragePoolManager.java:103)
        at 
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.execute(LibvirtComputingResource.java:2332)
        at 
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1142)
        at com.cloud.agent.Agent.processRequest(Agent.java:525)
        at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:852)
        at com.cloud.utils.nio.Task.run(Task.java:83)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:679)
</description><sent>2013-03-08T17:20:30+0530</sent></alert><alert><id>aa0bbf44-fde0-45af-8337-fe668aac0f03</id><type>6</type><description>Add
 host failed due to ModifyStoragePoolCommand 
failedjava.lang.NullPointerException
        at 
com.cloud.hypervisor.kvm.storage.LibvirtStorageAdaptor.createStoragePool(LibvirtStorageAdaptor.java:462)
        at 
com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.createStoragePool(KVMStoragePoolManager.java:103)
        at 
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.execute(LibvirtComputingResource.java:2332)
        at 
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1142)
        at com.cloud.agent.Agent.processRequest(Agent.java:525)
        at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:852)
        at com.cloud.utils.nio.Task.run(Task.java:83)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:679)
</description><sent>2013-03-08T16:56:41+0530</sent></alert><alert><id>198b487b-b6be-48c0-95e0-15c80e53c5ef</id><type>12</type><description>No
 usage server process 
running</description><sent>2013-03-07T12:45:42+0530</sent></alert><alert><id>f3b25233-186b-45ea-9763-42e2bd570df9</id><type>13</type><description>Management
 server node 10.102.192.213 is 
up</description><sent>2013-03-07T11:45:45+0530</sent></alert><alert><id>ef2c4b4c-e3b7-4cbf-81b8-cc7a3e480f7c</id><type>13</type><description>Management
 server node 10.102.192.213 is 
up</description><sent>2013-03-07T11:00:49+0530</sent></alert><alert><id>a9c7d48c-eed7-464b-b08c-9aec6a8d422c</id><type>13</type><description>Management
 network CIDR is not configured originally. Set it default to 
10.102.192.0/22</description><sent>2013-03-07T11:00:47+0530</sent></alert></listalertsresponse>


  was:
Setup : Advanced Networking Zone  with KVM 5.3

Steps:

1.  Tried to add a wrong primary storage folder . It failed with NPE. 

2. Tried to view Alerts.

Observation: 
Management server .log Java Exceptions  are displayed with Alerts [Attached the 
snap]


    
> Management server .log Java Exceptions  are displayed with Alerts 
> ------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-1603
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1603
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Management Server
>    Affects Versions: 4.2.0
>            Reporter: Sailaja Mada
>             Fix For: 4.2.0
>
>         Attachments: Alerts.png
>
>
> Setup : Advanced Networking Zone  with KVM 5.3
> Steps:
> 1.  Tried to add a wrong primary storage folder . It failed with NPE. 
> 2. Tried to view Alerts.
> Observation: 
> Management server .log Java Exceptions  are displayed with Alerts [Attached 
> the snap]
> http://10.102.192.213:8096/client/api?command=listAlerts
> This XML file does not appear to have any style information associated with 
> it. The document tree is shown below.
>       <listalertsresponse 
> cloud-stack-version="4.2.0-SNAPSHOT"><count>6</count><alert><id>0ee1792c-8595-49c7-bf4f-5e6fd05db5f3</id><type>6</type><description>Add
>  host failed due to ModifyStoragePoolCommand 
> failedjava.lang.NullPointerException
>       at 
> com.cloud.hypervisor.kvm.storage.LibvirtStorageAdaptor.createStoragePool(LibvirtStorageAdaptor.java:462)
>       at 
> com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.createStoragePool(KVMStoragePoolManager.java:103)
>       at 
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.execute(LibvirtComputingResource.java:2332)
>       at 
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1142)
>       at com.cloud.agent.Agent.processRequest(Agent.java:525)
>       at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:852)
>       at com.cloud.utils.nio.Task.run(Task.java:83)
>       at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>       at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>       at java.lang.Thread.run(Thread.java:679)
> </description><sent>2013-03-08T17:20:30+0530</sent></alert><alert><id>aa0bbf44-fde0-45af-8337-fe668aac0f03</id><type>6</type><description>Add
>  host failed due to ModifyStoragePoolCommand 
> failedjava.lang.NullPointerException
>       at 
> com.cloud.hypervisor.kvm.storage.LibvirtStorageAdaptor.createStoragePool(LibvirtStorageAdaptor.java:462)
>       at 
> com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.createStoragePool(KVMStoragePoolManager.java:103)
>       at 
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.execute(LibvirtComputingResource.java:2332)
>       at 
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1142)
>       at com.cloud.agent.Agent.processRequest(Agent.java:525)
>       at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:852)
>       at com.cloud.utils.nio.Task.run(Task.java:83)
>       at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>       at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>       at java.lang.Thread.run(Thread.java:679)
> </description><sent>2013-03-08T16:56:41+0530</sent></alert><alert><id>198b487b-b6be-48c0-95e0-15c80e53c5ef</id><type>12</type><description>No
>  usage server process 
> running</description><sent>2013-03-07T12:45:42+0530</sent></alert><alert><id>f3b25233-186b-45ea-9763-42e2bd570df9</id><type>13</type><description>Management
>  server node 10.102.192.213 is 
> up</description><sent>2013-03-07T11:45:45+0530</sent></alert><alert><id>ef2c4b4c-e3b7-4cbf-81b8-cc7a3e480f7c</id><type>13</type><description>Management
>  server node 10.102.192.213 is 
> up</description><sent>2013-03-07T11:00:49+0530</sent></alert><alert><id>a9c7d48c-eed7-464b-b08c-9aec6a8d422c</id><type>13</type><description>Management
>  network CIDR is not configured originally. Set it default to 
> 10.102.192.0/22</description><sent>2013-03-07T11:00:47+0530</sent></alert></listalertsresponse>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to