cloudstack 无法启动主存储和辅助存储 [英] cloudstack fail to start primary and second storage

查看:35
本文介绍了cloudstack 无法启动主存储和辅助存储的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用 2 台主机来建立我的 cloudstack 集群.我的所有主机都是使用 NFSv3 的 Ubuntu 12.04,我使用 host1 作为主存储服务器和辅助存储服务器.管理服务器也在 host1 中.我可以挂载 host1 的主存储和辅助存储在主机 2 上,我可以通过主机 2 的挂载点访问它们.但是,当我尝试添加我的第一个区域时,遇到了如下所示的问题,这些消息可以在我的 management-server.log 中找到:

I use 2 hosts to establish my cloudstack cluster.All my hosts is Ubuntu 12.04 using NFSv3 and I use host1 as both the primary and secondary storage server.The management server is also in host1.I can mount host1's primary and second storage on host2,and I can access them through host2's mount points.But,when I try to add my first zone,I encountered the problem as show below,these messages can be found in my management-server.log:

2013-10-26 04:11:47,086 INFO [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) 无法为备用容量启动二级存储虚拟机,secStorageVm 虚拟机 ID : 28,将回收它并启动一个新的一个2013-10-26 04:11:47,086 INFO [cloud.secstorage.PremiumSecondaryStorageManagerImpl] (secstorage-1:null) 主二级存储甚至没有启动,等到下一轮2013-10-26 04:57:16,615 警告 [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) 尝试启动二级存储虚拟机时出现异常com.cloud.exception.AgentUnavailableException:资源 [Host:1] 无法访问:主机 1:由于 com.cloud.agent.api.Answer 无法启动实例,无法将其转换为 com.cloud.agent.api.storage.PrimaryStorageDownloadAnswer

2013-10-26 04:11:47,086 INFO [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Unable to start secondary storage vm for standby capacity, secStorageVm vm Id : 28, will recycle it and start a new one 2013-10-26 04:11:47,086 INFO [cloud.secstorage.PremiumSecondaryStorageManagerImpl] (secstorage-1:null) Primary secondary storage is not even started, wait until next turn 2013-10-26 04:57:16,615 WARN [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Exception while trying to start secondary storage vm com.cloud.exception.AgentUnavailableException: Resource [Host:1] is unreachable: Host 1: Unable to start instance due to com.cloud.agent.api.Answer cannot be cast to com.cloud.agent.api.storage.PrimaryStorageDownloadAnswer

日志提示cloudstack无法访问主机和启动主备存储.我只是不知道如何测试主机是否无法访问以及如何启动主存储和辅助存储.

The log suggests that cloudstack fail to access host and start primary and secondary storages.I just don't how to test wheather the host is unreachable and how to start the primary and secondary storages.

直接导致两个系统vms停止.我想知道这个问题是如何发生的一些线索以及一些调试方法.任何帮助都会被感谢!

It directly results in the two system vms stopped.I want to know some clues about how this problem occurs and some methods to debug.Any help will be appreicated!

推荐答案

检查您是否已使用系统 VM 模板为二级存储做种.

Check that you have seeded secondary storage with the system VM template.

从 4.2 安装指南准备系统 VM 模板

二级存储系统VM负责为二级存储添加模板.没有它,CloudStack 无法创建新模板,这就是必须手动添加的原因.

The secondary storage system VM is responsible for adding templates to secondary storage. Without it, CloudStack cannot create new templates, which is why it has to be added manually.

这篇关于cloudstack 无法启动主存储和辅助存储的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆