About ACS4.11.1 using Swift to do Secondary(关于ACS4.11.1使用Swift做Secondary的问题;)
hello everybody! Our environment: CentOS7.4, CloudStack4.11.1.0 + KVM + RBD(Primary) + Swift(Secondary) + NFS Secondary_Staging_Storege; Failure: after adding the resources and starting Zone, SSVM and CPVM cannot be started, and corresponding template virtual machine cannot be created. Replace Secondary with NFS type to start SSVM and CPVM. The system logs are as follows 大家好! 我们的环境:CentOS7.4,CloudStack4.11.1.0 + KVM + RBD(Primary) + Swift(Secondary) + NFS Secondary_Staging_Storege; 故障:添加好资源后启动Zone后,SSVM和CPVM 不能启动,相应的模板虚拟机都不能创 建,把Secondary 换成NFS类型即可启动SSVM和CPVM, 麻烦大家分析一下原因,谢谢! 日志如下: 2018-08-06 00:01:20,857 DEBUG [c.c.s.StatsCollector] (StatsCollector-3:ctx-64b902de) (logid:6522a0ab) StorageCollector is running... 2018-08-06 00:01:20,864 DEBUG [c.c.s.StatsCollector] (StatsCollector-3:ctx-64b902de) (logid:6522a0ab) There is no secondary storage VM for secondary storage host swift 2018-08-06 00:01:20,865 DEBUG [c.c.h.o.r.Ovm3HypervisorGuru] (StatsCollector-3:ctx-64b902de) (logid:6522a0ab) getCommandHostDelegation: class com.cloud.agent.api.GetStorageStatsCommand 2018-08-06 00:01:20,865 DEBUG [c.c.h.XenServerGuru] (StatsCollector-3:ctx-64b902de) (logid:6522a0ab) We are returning the default host to execute commands because the command is not of Copy type. 2018-08-06 00:01:20,960 DEBUG [c.c.a.t.Request] (StatsCollector-3:ctx-64b902de) (logid:6522a0ab) Seq 1-459085687015085768: Received: { Ans: , MgmtId: 52236941027, via: 1(node7511), Ver: v1, Flags: 10, { GetStorageStatsAnswer } } 2018-08-06 00:01:21,724 INFO [o.a.c.f.j.i.AsyncJobManagerImpl] (AsyncJobMgr-Heartbeat-1:ctx-b2ff2f6c) (logid:1a575a6b) Begin cleanup expired async-jobs 2018-08-06 00:01:21,729 INFO [o.a.c.f.j.i.AsyncJobManagerImpl] (AsyncJobMgr-Heartbeat-1:ctx-b2ff2f6c) (logid:1a575a6b) End cleanup expired async-jobs 2018-08-06 00:01:21,885 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-461c6f63) (logid:05f1a3e8) Found 0 routers to update status. 2018-08-06 00:01:21,886 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-461c6f63) (logid:05f1a3e8) Found 0 VPC networks to update Redundant State. 2018-08-06 00:01:21,887 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-461c6f63) (logid:05f1a3e8) Found 0 networks to update RvR status. 2018-08-06 00:01:24,669 DEBUG [c.c.a.m.AgentManagerImpl] (AgentManager-Handler-13:null) (logid:) Ping from 2(node7512) 2018-08-06 00:01:24,669 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl] (AgentManager-Handler-13:null) (logid:) Process host VM state report from ping process. host: 2 2018-08-06 00:01:24,669 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl] (AgentManager-Handler-13:null) (logid:) Process VM state report. host: 2, number of records in report: 0 2018-08-06 00:01:24,670 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl] (AgentManager-Handler-13:null) (logid:) Done with process of VM state report. host: 2 2018-08-06 00:01:24,801 DEBUG [c.c.a.m.AgentManagerImpl] (AgentManager-Handler-3:null) (logid:) Ping from 1(node7511) 2018-08-06 00:01:24,802 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl] (AgentManager-Handler-3:null) (logid:) Process host VM state report from ping process. host: 1 2018-08-06 00:01:24,802 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl] (AgentManager-Handler-3:null) (logid:) Process VM state report. host: 1, number of records in report: 0 2018-08-06 00:01:24,802 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl] (AgentManager-Handler-3:null) (logid:) Done with process of VM state report. host: 1 2018-08-06 00:01:31,724 INFO [o.a.c.f.j.i.AsyncJobManagerImpl] (AsyncJobMgr-Heartbeat-1:ctx-b87bd64d) (logid:99d818c5) Begin cleanup expired async-jobs 2018-08-06 00:01:31,728 INFO [o.a.c.f.j.i.AsyncJobManagerImpl] (AsyncJobMgr-Heartbeat-1:ctx-b87bd64d) (logid:99d818c5) End cleanup expired async-jobs 2018-08-06 00:01:32,821 DEBUG [o.a.c.s.SecondaryStorageManagerImpl] (secstorage-1:ctx-0f18b3c5) (logid:9f98a726) System vm template is not ready at data center 1, wait until it is ready to launch secondary storage vm 2018-08-06 00:01:32,821 DEBUG [o.a.c.s.SecondaryStorageManagerImpl] (secstorage-1:ctx-0f18b3c5) (logid:9f98a726) Zone 1 is not ready to launch secondary storage VM yet 2018-08-06 00:01:33,373 DEBUG [c.c.c.ConsoleProxyManagerImpl] (consoleproxy-1:ctx-5f8bb33f) (logid:b876958e) System vm template is not ready at data center 1, wait until it is ready to launch console proxy vm 2018-08-06 00:01:33,373 DEBUG [c.c.c.ConsoleProxyManagerImpl] (consoleproxy-1:ctx-5f8bb33f) (logid:b876958e) Zone 1 is not ready to launch console proxy yet 2018-08-06 00:01:41,724 INFO [o.a.c.f.j.i.AsyncJobManagerImpl] (AsyncJobMgr-Heartbeat-1:ctx-cde3235e) (logid:503f81d4) Begin cleanup expired async-jobs 2018-08-06 00:01:41,729 INFO [o.a.c.f.j.i.AsyncJobManagerImpl] (AsyncJobMgr-Heartbeat-1:ctx-cde3235e) (logid:503f81d4) End cleanup expired async-jobs 2018-08-06 00:01:51,724 INFO [o.a.c.f.j.i.AsyncJ
回复: About ACS4.11.1 using Swift to do Secondary(关于ACS4.11.1使用Swift做Secondary的问题;)
既然这样,那就用NFS好了, CS的[secondary storage] 使用NFS的时间比较长,稳定。 对整体VM的运行也没有什么影响。 对性能影响主要的还是Primary Storage和带宽/磁盘IO。 ccf...@ccfish.net 发件人: anyun_admin 发送时间: 2018-08-07 09:45 收件人: users-cn@cloudstack.apache.org 主题: About ACS4.11.1 using Swift to do Secondary(关于ACS4.11.1使用Swift做Secondary的问题;) hello everybody! Our environment: CentOS7.4, CloudStack4.11.1.0 + KVM + RBD(Primary) + Swift(Secondary) + NFS Secondary_Staging_Storege; Failure: after adding the resources and starting Zone, SSVM and CPVM cannot be started, and corresponding template virtual machine cannot be created. Replace Secondary with NFS type to start SSVM and CPVM. The system logs are as follows 大家好! 我们的环境:CentOS7.4,CloudStack4.11.1.0 + KVM + RBD(Primary) + Swift(Secondary) + NFS Secondary_Staging_Storege; 故障:添加好资源后启动Zone后,SSVM和CPVM 不能启动,相应的模板虚拟机都不能创 建,把Secondary 换成NFS类型即可启动SSVM和CPVM, 麻烦大家分析一下原因,谢谢! 日志如下: 2018-08-06 00:01:20,857 DEBUG [c.c.s.StatsCollector] (StatsCollector-3:ctx-64b902de) (logid:6522a0ab) StorageCollector is running... 2018-08-06 00:01:20,864 DEBUG [c.c.s.StatsCollector] (StatsCollector-3:ctx-64b902de) (logid:6522a0ab) There is no secondary storage VM for secondary storage host swift 2018-08-06 00:01:20,865 DEBUG [c.c.h.o.r.Ovm3HypervisorGuru] (StatsCollector-3:ctx-64b902de) (logid:6522a0ab) getCommandHostDelegation: class com.cloud.agent.api.GetStorageStatsCommand 2018-08-06 00:01:20,865 DEBUG [c.c.h.XenServerGuru] (StatsCollector-3:ctx-64b902de) (logid:6522a0ab) We are returning the default host to execute commands because the command is not of Copy type. 2018-08-06 00:01:20,960 DEBUG [c.c.a.t.Request] (StatsCollector-3:ctx-64b902de) (logid:6522a0ab) Seq 1-459085687015085768: Received: { Ans: , MgmtId: 52236941027, via: 1(node7511), Ver: v1, Flags: 10, { GetStorageStatsAnswer } } 2018-08-06 00:01:21,724 INFO [o.a.c.f.j.i.AsyncJobManagerImpl] (AsyncJobMgr-Heartbeat-1:ctx-b2ff2f6c) (logid:1a575a6b) Begin cleanup expired async-jobs 2018-08-06 00:01:21,729 INFO [o.a.c.f.j.i.AsyncJobManagerImpl] (AsyncJobMgr-Heartbeat-1:ctx-b2ff2f6c) (logid:1a575a6b) End cleanup expired async-jobs 2018-08-06 00:01:21,885 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-461c6f63) (logid:05f1a3e8) Found 0 routers to update status. 2018-08-06 00:01:21,886 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-461c6f63) (logid:05f1a3e8) Found 0 VPC networks to update Redundant State. 2018-08-06 00:01:21,887 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-461c6f63) (logid:05f1a3e8) Found 0 networks to update RvR status. 2018-08-06 00:01:24,669 DEBUG [c.c.a.m.AgentManagerImpl] (AgentManager-Handler-13:null) (logid:) Ping from 2(node7512) 2018-08-06 00:01:24,669 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl] (AgentManager-Handler-13:null) (logid:) Process host VM state report from ping process. host: 2 2018-08-06 00:01:24,669 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl] (AgentManager-Handler-13:null) (logid:) Process VM state report. host: 2, number of records in report: 0 2018-08-06 00:01:24,670 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl] (AgentManager-Handler-13:null) (logid:) Done with process of VM state report. host: 2 2018-08-06 00:01:24,801 DEBUG [c.c.a.m.AgentManagerImpl] (AgentManager-Handler-3:null) (logid:) Ping from 1(node7511) 2018-08-06 00:01:24,802 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl] (AgentManager-Handler-3:null) (logid:) Process host VM state report from ping process. host: 1 2018-08-06 00:01:24,802 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl] (AgentManager-Handler-3:null) (logid:) Process VM state report. host: 1, number of records in report: 0 2018-08-06 00:01:24,802 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl] (AgentManager-Handler-3:null) (logid:) Done with process of VM state report. host: 1 2018-08-06 00:01:31,724 INFO [o.a.c.f.j.i.AsyncJobManagerImpl] (AsyncJobMgr-Heartbeat-1:ctx-b87bd64d) (logid:99d818c5) Begin cleanup expired async-jobs 2018-08-06 00:01:31,728 INFO [o.a.c.f.j.i.AsyncJobManagerImpl] (AsyncJobMgr-Heartbeat-1:ctx-b87bd64d) (logid:99d818c5) End cleanup expired async-jobs 2018-08-06 00:01:32,821 DEBUG [o.a.c.s.SecondaryStorageManagerImpl] (secstorage-1:ctx-0f18b3c5) (logid:9f98a726) System vm template is not ready at data center 1, wait until it is ready to launch secondary storage vm 2018-08-06 00:01:32,821 DEBUG [o.a.c.s.SecondaryStorageManagerImpl] (secstorage-1:ctx-0f18b3c5) (logid:9f98a726) Zone 1 is not ready to launch secondary storage VM yet 2018-08-06 00:01:33,373 DEBUG [c.c.c.ConsoleProxyManagerImpl] (consoleproxy-1:ctx-5f8bb33f) (logid:b876958e) System vm template is not ready at data center 1, wait until it is ready to launch console proxy vm 2018-08-06 00:01:33,373 DEBUG [c.c.c.ConsoleProxyManagerImpl] (consoleproxy-1:ctx-5f8bb33f) (logid:b876958e) Zone 1 is not ready to launch console proxy yet 2018-08-06 00:01:41,724 INFO [o