二级存储是使用的iscsi还是NFS呢? 二级存储手动挂载有没有问题?看日志,分析是二级存储挂载不上
2014-04-15 10:18 GMT+08:00 许叁征 <x...@chinanetcenter.com>: > HI ALL > > 最近一节点因为innode文件满了,造成虚拟机挺止,修复好节点却发现虚拟机无法启动, > > 环境:CS4.0.1 +XENSERVER。 > > 添加了XEN主存储还是不能启动虚拟机。 > > 2014-04-15 10:12:48,114 DEBUG > [storage.allocator.LocalStoragePoolAllocator] (secstorage-1:null) Unable to > find storage pool to fit the vm > > 2014-04-15 10:12:48,114 DEBUG [cloud.deploy.FirstFitPlanner] > (secstorage-1:null) No suitable pools found for volume: > Vol[67635|vm=67556|ROOT] under cluster: 20 > > 2014-04-15 10:12:48,114 DEBUG [cloud.deploy.FirstFitPlanner] > (secstorage-1:null) No suitable pools found > > 2014-04-15 10:12:48,114 DEBUG [cloud.deploy.FirstFitPlanner] > (secstorage-1:null) No suitable storagePools found under this Cluster: 20 > > 2014-04-15 10:12:48,115 DEBUG [cloud.deploy.FirstFitPlanner] > (secstorage-1:null) Checking resources in Cluster: 1 under Pod: 1 > > 2014-04-15 10:12:48,115 DEBUG [cloud.deploy.FirstFitPlanner] > (secstorage-1:null) Calling HostAllocators to find suitable hosts > > 2014-04-15 10:12:48,115 DEBUG [allocator.impl.FirstFitAllocator] > (secstorage-1:FirstFitRoutingAllocator) Looking for hosts in dc: 1 pod:1 > cluster:1 > > 2014-04-15 10:12:48,117 DEBUG [allocator.impl.FirstFitAllocator] > (secstorage-1:FirstFitRoutingAllocator) FirstFitAllocator has 1 hosts to > check for allocation: [Host[-68-Routing]] > > 2014-04-15 10:12:48,119 DEBUG [allocator.impl.FirstFitAllocator] > (secstorage-1:FirstFitRoutingAllocator) Found 1 hosts for allocation after > prioritization: [Host[-68-Routing]] > > 2014-04-15 10:12:48,119 DEBUG [allocator.impl.FirstFitAllocator] > (secstorage-1:FirstFitRoutingAllocator) Looking for speed=500Mhz, Ram=256 > > 2014-04-15 10:12:48,120 DEBUG [cloud.capacity.CapacityManagerImpl] > (secstorage-1:FirstFitRoutingAllocator) Checking if host: 68 has enough > capacity for requested CPU: 500 and requested RAM: 268435456 , > cpuOverprovisioningFactor: 6.0 > > 2014-04-15 10:12:48,122 DEBUG [cloud.capacity.CapacityManagerImpl] > (secstorage-1:FirstFitRoutingAllocator) Hosts's actual total CPU: 34128 and > CPU after applying overprovisioning: 204768 > > 2014-04-15 10:12:48,122 DEBUG [cloud.capacity.CapacityManagerImpl] > (secstorage-1:FirstFitRoutingAllocator) Free CPU: 204768 , Requested CPU: > 500 > > 2014-04-15 10:12:48,122 DEBUG [cloud.capacity.CapacityManagerImpl] > (secstorage-1:FirstFitRoutingAllocator) Free RAM: 24472994112 , Requested > RAM: 268435456 > > 2014-04-15 10:12:48,122 DEBUG [cloud.capacity.CapacityManagerImpl] > (secstorage-1:FirstFitRoutingAllocator) Host has enough CPU and RAM > available > > 2014-04-15 10:12:48,122 DEBUG [cloud.capacity.CapacityManagerImpl] > (secstorage-1:FirstFitRoutingAllocator) STATS: Can alloc CPU from host: 68, > used: 0, reserved: 0, actual total: 34128, total with overprovisioning: > 204768; requested cpu:500,alloc_from_last_host?:false > ,considerReservedCapacity?: true > > 2014-04-15 10:12:48,122 DEBUG [cloud.capacity.CapacityManagerImpl] > (secstorage-1:FirstFitRoutingAllocator) STATS: Can alloc MEM from host: 68, > used: 0, reserved: 0, total: 24472994112; requested mem: > 268435456,alloc_from_last_host?:false ,considerReservedCapacity?: true > > 2014-04-15 10:12:48,122 DEBUG [allocator.impl.FirstFitAllocator] > (secstorage-1:FirstFitRoutingAllocator) Found a suitable host, adding to > list: 68 > > 2014-04-15 10:12:48,122 DEBUG [allocator.impl.FirstFitAllocator] > (secstorage-1:FirstFitRoutingAllocator) Host Allocator returning 1 suitable > hosts > > 2014-04-15 10:12:48,123 DEBUG [cloud.deploy.FirstFitPlanner] > (secstorage-1:null) Checking suitable pools for volume (Id, Type): > (67635,ROOT) > > 2014-04-15 10:12:48,124 DEBUG [cloud.deploy.FirstFitPlanner] > (secstorage-1:null) We need to allocate new storagepool for this volume > > 2014-04-15 10:12:48,124 DEBUG [cloud.deploy.FirstFitPlanner] > (secstorage-1:null) Calling StoragePoolAllocators to find suitable pools > > 2014-04-15 10:12:48,124 DEBUG > [storage.allocator.LocalStoragePoolAllocator] (secstorage-1:null) > LocalStoragePoolAllocator trying to find storage pool to fit the vm > > 2014-04-15 10:12:48,124 DEBUG > [storage.allocator.FirstFitStoragePoolAllocator] (secstorage-1:null) > Looking for pools in dc: 1 pod:1 cluster:1 > > 2014-04-15 10:12:48,126 DEBUG > [storage.allocator.FirstFitStoragePoolAllocator] (secstorage-1:null) > FirstFitStoragePoolAllocator has 4 pools to check for allocation > > 2014-04-15 10:12:48,126 DEBUG > [storage.allocator.AbstractStoragePoolAllocator] (secstorage-1:null) > Checking if storage pool is suitable, name: xen131 ,poolId: 227 > > 2014-04-15 10:12:48,126 DEBUG > [storage.allocator.AbstractStoragePoolAllocator] (secstorage-1:null) Is > localStorageAllocationNeeded? true > > 2014-04-15 10:12:48,126 DEBUG > [storage.allocator.AbstractStoragePoolAllocator] (secstorage-1:null) Is > storage pool shared? true > > 2014-04-15 10:12:48,126 DEBUG > [storage.allocator.AbstractStoragePoolAllocator] (secstorage-1:null) > StoragePool is not of correct type, skipping this pool > > 2014-04-15 10:12:48,126 DEBUG > [storage.allocator.AbstractStoragePoolAllocator] (secstorage-1:null) > Checking if storage pool is suitable, name: primary2 ,poolId: 236 > > 2014-04-15 10:12:48,126 DEBUG > [storage.allocator.AbstractStoragePoolAllocator] (secstorage-1:null) Is > localStorageAllocationNeeded? true > > 2014-04-15 10:12:48,126 DEBUG > [storage.allocator.AbstractStoragePoolAllocator] (secstorage-1:null) Is > storage pool shared? true > > 2014-04-15 10:12:48,126 DEBUG > [storage.allocator.AbstractStoragePoolAllocator] (secstorage-1:null) > StoragePool is not of correct type, skipping this pool > > 2014-04-15 10:12:48,126 DEBUG > [storage.allocator.AbstractStoragePoolAllocator] (secstorage-1:null) > Checking if storage pool is suitable, name: primary ,poolId: 200 > > 2014-04-15 10:12:48,126 DEBUG > [storage.allocator.AbstractStoragePoolAllocator] (secstorage-1:null) Is > localStorageAllocationNeeded? true > > 2014-04-15 10:12:48,126 DEBUG > [storage.allocator.AbstractStoragePoolAllocator] (secstorage-1:null) Is > storage pool shared? true > > 2014-04-15 10:12:48,126 DEBUG > [storage.allocator.AbstractStoragePoolAllocator] (secstorage-1:null) > StoragePool is not of correct type, skipping this pool > > 2014-04-15 10:12:48,126 DEBUG > [storage.allocator.AbstractStoragePoolAllocator] (secstorage-1:null) > Checking if storage pool is suitable, name: xen129 ,poolId: 235 > > 2014-04-15 10:12:48,126 DEBUG > [storage.allocator.AbstractStoragePoolAllocator] (secstorage-1:null) Is > localStorageAllocationNeeded? true > > 2014-04-15 10:12:48,126 DEBUG > [storage.allocator.AbstractStoragePoolAllocator] (secstorage-1:null) Is > storage pool shared? true > > 2014-04-15 10:12:48,126 DEBUG > [storage.allocator.AbstractStoragePoolAllocator] (secstorage-1:null) > StoragePool is not of correct type, skipping this pool > > 2014-04-15 10:12:48,126 DEBUG > [storage.allocator.FirstFitStoragePoolAllocator] (secstorage-1:null) > FirstFitStoragePoolAllocator returning 0 suitable storage pools > > 2014-04-15 10:12:48,126 DEBUG > [storage.allocator.LocalStoragePoolAllocator] (secstorage-1:null) > LocalStoragePoolAllocator returning 0 suitable storage pools > > 2014-04-15 10:12:48,126 DEBUG > [storage.allocator.LocalStoragePoolAllocator] (secstorage-1:null) Unable to > find storage pool to fit the vm > > 2014-04-15 10:12:48,126 DEBUG [cloud.deploy.FirstFitPlanner] > (secstorage-1:null) No suitable pools found for volume: > Vol[67635|vm=67556|ROOT] under cluster: 1 > > 2014-04-15 10:12:48,126 DEBUG [cloud.deploy.FirstFitPlanner] > (secstorage-1:null) No suitable pools found > > 2014-04-15 10:12:48,126 DEBUG [cloud.deploy.FirstFitPlanner] > (secstorage-1:null) No suitable storagePools found under this Cluster: 1 > > 2014-04-15 10:12:48,126 DEBUG [cloud.deploy.FirstFitPlanner] > (secstorage-1:null) Could not find suitable Deployment Destination for this > VM under any clusters, returning. > > 2014-04-15 10:12:48,126 DEBUG [cloud.deploy.FirstFitPlanner] > (secstorage-1:null) No Pods found for destination, returning. > > 2014-04-15 10:12:48,274 DEBUG [cloud.capacity.CapacityManagerImpl] > (secstorage-1:null) VM state transitted from :Starting to Stopped with > event: OperationFailedvm's original host id: null new host id: null host id > before state transition: null > > 2014-04-15 10:12:48,276 WARN > [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) > Exception while trying to start secondary storage vm > > com.cloud.exception.InsufficientServerCapacityException: Unable to create > a deployment for VM[SecondaryStorageVm|s-67556-VM]Scope=interface > com.cloud.dc.DataCenter; id=1 > > at > com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:734) > > at > com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:472) > > at > com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:465) > > at > com.cloud.storage.secondary.SecondaryStorageManagerImpl.startSecStorageVm(SecondaryStorageManagerImpl.java:257) > > at > com.cloud.storage.secondary.SecondaryStorageManagerImpl.allocCapacity(SecondaryStorageManagerImpl.java:684) > > at > com.cloud.storage.secondary.SecondaryStorageManagerImpl.expandPool(SecondaryStorageManagerImpl.java:1310) > > at > com.cloud.secstorage.PremiumSecondaryStorageManagerImpl.scanPool(PremiumSecondaryStorageManagerImpl.java:119) > > at > com.cloud.secstorage.PremiumSecondaryStorageManagerImpl.scanPool(PremiumSecondaryStorageManagerImpl.java:50) > > at > com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:106) > > at > com.cloud.vm.SystemVmLoadScanner.access$100(SystemVmLoadScanner.java:34) > > at > com.cloud.vm.SystemVmLoadScanner$1.reallyRun(SystemVmLoadScanner.java:83) > > at com.cloud.vm.SystemVmLoadScanner$1.run(SystemVmLoadScanner.java:73) > > 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) > > 2014-04-15 10:12:48,277 INFO > [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Unable > to start secondary storage vm for standby capacity, secStorageVm vm Id : > 67556, will recycle it and start a new one > > 2014-04-15 10:12:48,277 INFO > [cloud.secstorage.PremiumSecondaryStorageManagerImpl] (secstorage-1:null) > Primary secondary storage is not even started, wait until next turn > > 2014-04-15 10:12:49,247 DEBUG > [network.router.VirtualNetworkApplianceManagerImpl] > (RouterStatusMonitor-1:null) Found 0 routers. > > 2014-04-15 10:12:58,920 DEBUG [cloud.server.StatsCollector] > (StatsCollector-3:null) StorageCollector is running... > > 2014-04-15 10:12:58,923 DEBUG [cloud.server.StatsCollector] > (StatsCollector-3:null) There is no secondary storage VM for secondary > storage host nfs://172.16.0.130/home/share/secondary > > 2014-04-15 10:12:58,925 DEBUG [cloud.server.StatsCollector] > (StatsCollector-3:null) There is no secondary storage VM for secondary > storage host nfs://172.16.0.130/home/secondary > > 2014-04-15 10:12:58,933 DEBUG [agent.manager.DirectAgentAttache] > (DirectAgent-55:null) Seq 68-1544683570: Executing request > > 2014-04-15 10:12:59,859 DEBUG [agent.manager.DirectAgentAttache] > (DirectAgent-55:null) Seq 68-1544683570: Response Received: > > 2014-04-15 10:12:59,859 DEBUG [agent.transport.Request] > (StatsCollector-3:null) Seq 68-1544683570: Received: { Ans: , MgmtId: > 690716573693, via: 68, Ver: v1, Flags: 10, { GetStorageStatsAnswer } } > > 2014-04-15 10:12:59,864 DEBUG [agent.manager.DirectAgentAttache] > (DirectAgent-133:null) Seq 68-1544683571: Executing request > > ^C > > > > > > > > 许叁征 > > 网宿科技股份有限公司 厦门分公司 运营技术支持部 > > [image: line1] > > Tel: <021-64871177>13860125907 > > E-mail:x...@chinanetcenter.com > http://www.chinanetcenter.com > > [image: cid:__1@Foxmail.net] > > 分公司:北京-上海-广州-深圳 > > 免费咨询热线:800-820-0001 > > 网宿科技 --卓越的互联网业务平台提供商 > > > ------------------------------ > > > -- 白清杰 (Born Bai) 北京开源愿景信息技术有限公司 Mail: linux...@gmail.com