截图是手动点击“HA异常”处理之后的。
因爱数发起备份创建快照,删除老快照部分删除完成后, 然后在删除当前的快照时失败,导致虚拟机状态显示 “HA异常”。通过手工点击处理,恢复正常。现在不知道是什么原因引起的虚拟机 “HA异常”。
下面是CVM cas.log 的信息
2021-02-24 02:37:35 [ERROR] [Thread-20798] [com.virtual.common.ErrorStreamHandlerThread::a] 2021-02-24 02:37:39 [ERROR] [http-nio-8080-exec-126] [com.virtual.plat.server.vm.ssh.SecureShellManagerImpl::execCmd] Execute command 'qemu-img snapshot -l null ; echo $?', Error Msg:qemu-img: Could not open 'null': Could not open 'null': No such file or directory 2021-02-24 02:37:40 [ERROR] [http-nio-8080-exec-126] [com.virtual.plat.server.vm.ssh.SecureShellManagerImpl::execCmd] Execute command 'qemu-img snapshot -l null ; echo $?', Error Msg:qemu-img: Could not open 'null': Could not open 'null': No such file or directory 2021-02-24 02:37:40 [ERROR] [http-nio-8080-exec-90] [com.virtual.plat.server.vm.ssh.SecureShellManagerImpl::execCmd] Execute command 'qemu-img snapshot -l null ; echo $?', Error Msg:qemu-img: Could not open 'null': Could not open 'null': No such file or directory 2021-02-24 02:37:40 [ERROR] [http-nio-8080-exec-90] [com.virtual.plat.server.vm.ssh.SecureShellManagerImpl::execCmd] Execute command 'qemu-img snapshot -l null ; echo $?', Error Msg:qemu-img: Could not open 'null': Could not open 'null': No such file or directory 2021-02-24 02:37:42 [ERROR] [Thread-20802] [com.virtual.common.ErrorStreamHandlerThread::a] 2021-02-24 02:37:42 [ERROR] [Thread-20803] [com.virtual.common.ErrorStreamHandlerThread::a]
上一段信息是 2021-02-24 02:37:35 的
下面信息是2021-02-24 02:53:27 不知道是否和上面信息有关
2021-02-24 02:45:13 [ERROR] [Thread-20917] [com.virtual.common.ErrorStreamHandlerThread::a] 2021-02-24 02:45:13 [ERROR] [Thread-20918] [com.virtual.common.ErrorStreamHandlerThread::a] 2021-02-24 02:53:27 [ERROR] [Domain Request Processor Manager 6] [com.virtual.plat.server.vm.ssh.ScpFromUtil::copyThrowException] null com.jcraft.jsch.JSchException: Session.connect: java.net.SocketException: Connection reset at com.jcraft.jsch.Session.connect(Session.java:558) ~[jsch-0.1.53.jar:?] at com.virtual.plat.server.vm.ssh.ScpFromUtil.copyThrowException(vmc:65) [ScpFromUtil.class:?] at com.virtual.plat.server.ha.HaUtil.syncVmSnapFile(vmc:100) [HaUtil.class:?] at com.virtual.plat.server.virtualhost.DomainHandler.deleteSnapShot(vmc:6608) [DomainHandler.class:?] at com.virtual.plat.server.virtualhost.DomainHandler.deleteSnapShot(vmc:6500) [DomainHandler.class:?] at com.virtual.plat.server.DomainRequestProcessor.run(vmc:436) [DomainRequestProcessor.class:?] at java.lang.Thread.run(Thread.java:745) [?:1.7.0_121] 2021-02-24 02:53:27 [ERROR] [Domain Request Processor Manager 6] [com.virtual.plat.server.vm.ssh.ScpFromUtil::copyThrowException] [Ljava.lang.StackTraceElement;@46e70d3c 2021-02-24 02:53:27 [ERROR] [Domain Request Processor Manager 6] [com.virtual.plat.server.virtualhost.DomainHandler::deleteSnapShot] null com.virtual.common.AppException: [20004 - HA拷贝文件错误] at com.virtual.plat.server.vm.ssh.ScpFromUtil.copyThrowException(vmc:137) ~[ScpFromUtil.class:?] at com.virtual.plat.server.ha.HaUtil.syncVmSnapFile(vmc:100) ~[HaUtil.class:?] at com.virtual.plat.server.virtualhost.DomainHandler.deleteSnapShot(vmc:6608) [DomainHandler.class:?] at com.virtual.plat.server.virtualhost.DomainHandler.deleteSnapShot(vmc:6500) [DomainHandler.class:?] at com.virtual.plat.server.DomainRequestProcessor.run(vmc:436) [DomainRequestProcessor.class:?] at java.lang.Thread.run(Thread.java:745) [?:1.7.0_121] 2021-02-24 02:53:29 [ERROR] [Domain Request Processor Manager 6] [com.virtual.plat.server.virtualhost.DomainHandler::deleteSnapShot] null com.virtual.common.AppException: [10002 - 虚拟机HA状态异常。] at com.virtual.plat.server.virtualhost.DomainUtils.checkDomainHAStatus(vmc:4747) ~[DomainUtils.class:?] at com.virtual.plat.server.virtualhost.DomainHandler.deleteSnapShot(vmc:6591) [DomainHandler.class:?] at com.virtual.plat.server.virtualhost.DomainHandler.deleteSnapShot(vmc:6500) [DomainHandler.class:?] at com.virtual.plat.server.DomainRequestProcessor.run(vmc:436) [DomainRequestProcessor.class:?] at java.lang.Thread.run(Thread.java:745) [?:1.7.0_121] 2021-02-24 02:53:29 [ERROR] [Domain Request Processor Manager 6] [com.virtual.plat.server.virtualhost.DomainHandler::deleteSnapShot] null com.virtual.common.AppException: [10002 - 虚拟机HA状态异常。] at com.virtual.plat.server.virtualhost.DomainUtils.checkDomainHAStatus(vmc:4747) ~[DomainUtils.class:?] at com.virtual.plat.server.virtualhost.DomainHandler.deleteSnapShot(vmc:6591) ~[DomainHandler.class:?] at com.virtual.plat.server.virtualhost.DomainHandler.deleteSnapShot(vmc:6500) [DomainHandler.class:?] at com.virtual.plat.server.DomainRequestProcessor.run(vmc:436) [DomainRequestProcessor.class:?] at java.lang.Thread.run(Thread.java:745) [?:1.7.0_121] 2021-02-24 02:53:29 [ERROR] [Domain Request Processor Manager 6] [com.virtual.plat.server.DomainRequestProcessor::run] null com.virtual.common.AppException: [10002 - 虚拟机HA状态异常。] at com.virtual.plat.server.virtualhost.DomainUtils.checkDomainHAStatus(vmc:4747) ~[DomainUtils.class:?] at com.virtual.plat.server.virtualhost.DomainHandler.deleteSnapShot(vmc:6591) ~[DomainHandler.class:?] at com.virtual.plat.server.virtualhost.DomainHandler.deleteSnapShot(vmc:6500) ~[DomainHandler.class:?] at com.virtual.plat.server.DomainRequestProcessor.run(vmc:436) [DomainRequestProcessor.class:?] at java.lang.Thread.run(Thread.java:745) [?:1.7.0_121] 2021-02-24 02:53:33 [ERROR] [Thread-20925] [com.virtual.common.ErrorStreamHandlerThread::a] 2021-02-24 02:53:33 [ERROR] [Thread-20926] [com.virtual.common.ErrorStreamHandlerThread::a]
(0)
补充
手动处理后正常
2021-02-24 02:53:27 [ERROR] [Domain Request Processor Manager 6] [com.virtual.plat.server.vm.ssh.ScpFromUtil::copyThrowException] null
com.jcraft.jsch.JSchException: Session.connect: java.net.SocketException: Connection reset
at com.jcraft.jsch.Session.connect(Session.java:558) ~[jsch-0.1.53.jar:?]
(0)
重新启用HA
(0)
是启用了HA , 但是不知道什么原因引起的, 已经出现两次了, 需要查什么原因引起的
是启用了HA , 但是不知道什么原因引起的, 已经出现两次了, 需要查什么原因引起的
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明