mirror of https://github.com/apache/cloudstack.git
Bug 9586 - NPE during host allocation
- This NPE happened when starting the DomR and its Volume's podId was null. - This case should never happen that podId of a Volume is null. - It looks like this is a side-effect of some other bug- most likely another DomR and basic networking issue (9578) - While reviewing this bug, found out that we need not use the RecreateHostAllocator anymore. Using it actually is not good, since this allocator ignores what is passed to it in the plan by the DeploymentPlanner and lists pods once again. - Changed components.xml to use FirstFitRoutingAllocator instead.
This commit is contained in:
parent
81e7b25217
commit
9dfb6dd61f
|
|
@ -26,7 +26,8 @@
|
|||
<interceptor library="com.cloud.configuration.DefaultInterceptorLibrary"/>
|
||||
<management-server class="com.cloud.server.ManagementServerImpl" library="com.cloud.configuration.DefaultComponentLibrary">
|
||||
<adapters key="com.cloud.agent.manager.allocator.HostAllocator">
|
||||
<adapter name="FirstFitRouting" class="com.cloud.agent.manager.allocator.impl.RecreateHostAllocator"/>
|
||||
<adapter name="FirstFitRouting" class="com.cloud.agent.manager.allocator.impl.FirstFitRoutingAllocator"/>
|
||||
<!--adapter name="FirstFitRouting" class="com.cloud.agent.manager.allocator.impl.RecreateHostAllocator"/-->
|
||||
<!--adapter name="FirstFit" class="com.cloud.agent.manager.allocator.impl.FirstFitAllocator"/-->
|
||||
</adapters>
|
||||
<adapters key="com.cloud.storage.allocator.StoragePoolAllocator">
|
||||
|
|
|
|||
Loading…
Reference in New Issue