无法在cloudstack上注册ISO或模板

dj1*_*008 5 user-interface templates iso ready apache-cloudstack

在Apache CloudStack上注册ISO或模板时出现问题.

当我完成并提交注册ISO表单时,不会出现错误消息.但是,如果我检查模板,"就绪"字段中的结果为"否","状态"字段为空!我无法创建实例,因为我无法注册自己的ISO或模板.

我正在使用Ubuntu 12.04 LTS,我的系统虚拟机已经在运行!所以,我只是不知道为什么.你能帮我吗?

小智 6

我们遇到了类似的问题并解决了这个问题: -

1)去了SSVM,停止了云服务.

2)在SSVM上尝试运行运行脚本

3)cd/usr/local/cloud/systemvm /

4)./ run.sh

5)那里显示错误

Exception in thread "main" java.lang.NoClassDefFoundError: com/vmware/vim25/VirtualDevice
at com.cloud.storage.resource.VmwareSecondaryStorageResourceHandler.<init>(VmwareSecondaryStorageResourceHandler.java:61)
at com.cloud.storage.resource.PremiumSecondaryStorageResource.configure(PremiumSecondaryStorageResource.java:102)
at com.cloud.agent.Agent.<init>(Agent.java:163)
at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:559)
at com.cloud.agent.AgentShell.launchAgentFromClassInfo(AgentShell.java:514)
at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:431)
at com.cloud.agent.AgentShell.start(AgentShell.java:589)
at com.cloud.agent.AgentShell.main(AgentShell.java:631)
Caused by: java.lang.ClassNotFoundException: com.vmware.vim25.VirtualDevice
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
... 8 more
Run Code Online (Sandbox Code Playgroud)

6)我们发现文件"vmware-vim25.jar"丢失了,所以我们从管理服务器位置(/ usr/share/java/vmware-)将该Jar文件复制到SSVM的(/ usr/local/cloud/systemvm /) vim25.jar)

7)重启云服务及其工作.

8)我们在以下链接中跟随(Sateesh Chodapuneedi添加评论 - 05/Mar/13 15:00)的评论: - 参考: - https://issues.apache.org/jira/browse/CLOUDSTACK-1252