[ https://issues.apache.org/jira/browse/CLOUDSTACK-1865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sailaja Mada closed CLOUDSTACK-1865. ------------------------------------ Reported issue is not observed in the upgrades. Hence closing the bug. > NPE while trying to retrieve storage statistics after upgrade from 4.0 to 4.1 > ------------------------------------------------------------------------------ > > Key: CLOUDSTACK-1865 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1865 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Management Server > Affects Versions: 4.1.0 > Reporter: Sailaja Mada > Assignee: Kelven Yang > Attachments: apilog.log, management-server.log > > > Setup: > MS : Rhel 6.3 with KVM 6.3 host , Advanced Networking > Steps: > 1. Stop Management Server and Agent > 2. Upgrade the packages from 4.0 to 4,1 > 3. Start the Management Server. > Observed NPE while bringing up the Management server after DB upgrade > :[attached log] > 2013-04-01 12:24:06,881 DEBUG [cloud.server.StatsCollector] > (StatsCollector-2:null) VmStatsCollector is running... > 2013-04-01 12:24:06,943 DEBUG [cloud.server.StatsCollector] > (StatsCollector-1:null) There is no secondary storage VM for secondary > storage host nfs://10.102.192.100/cpg_vol/sailaja/asf41kvmss > 2013-04-01 12:24:07,007 ERROR [cloud.server.StatsCollector] > (StatsCollector-1:null) Error trying to retrieve storage stats > java.lang.NullPointerException > at > com.cloud.storage.StorageManagerImpl.getUpHostsInPool(StorageManagerImpl.java:2310) > at > com.cloud.server.StatsCollector$StorageCollector.run(StatsCollector.java:309) > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) > at > java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351) > at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178) > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:165) > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267) > 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) > 2013-04-01 12:24:08,864 DEBUG [cloud.server.ConfigurationServerImpl] > (Timer-1:null) Execution is successful. > 2013-04-01 12:24:08,864 DEBUG [cloud.server.ConfigurationServerImpl] > (Timer-1:null) Files /var/cloudstack/management/.ssh/id_rsa and > /usr/share/cloudstack-common/scripts/vm/systemvm/id_rsa.cloud differ > 2013-04-01 12:24:08,875 INFO [utils.component.ComponentContext] > (Timer-1:null) Configuring > com.cloud.utils.crypt.EncryptionSecretKeyChecker_EnhancerByCloudStack_af09bb38 -- 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