VMR模板导入失败,无法启动VRM

新人帖[复制链接]
发表于 : 2015-7-10 15:33:27 最新回复:2017-10-23 22:05:22
3493 7
houzhiqing
houzhiqing  新锐

2015-07-10 15:11.237> [DEBUG] queryHost result :
stdout: [Start]: queryHost
**HOST_VRM** 172.16.1.1 CNA normal 2491
[End]: queryHost

2015-07-10 15:11.434> [DEBUG] *** ***  Create vm on [172.16.1.1]'s result :
stdout: http://127.0.0.1:7070/service/sites/5239094F/dvswitchs/1/portgroups
start to postForLocation:http://127.0.0.1:7070//service/sites/5239094F/vms/action/parsedescriptor
start to postForLocation:http://127.0.0.1:7070//service/sites/5239094F/vms/action/import
start to postForLocation:http://127.0.0.1:7070/service/sites/5239094F/serverlease/264/action/complete
url errorcom.huawei.cloudos.vrm.restutil.WebServiceException: Web Service error
SUCCESSED: ImportVm

stderr: com.huawei.cloudos.vrm.restutil.WebServiceException: Web Service error
at com.huawei.cloudos.vrm.tool.WebServiceClient.invoke(WebServiceClient.java:455)
at com.huawei.cloudos.vrm.tool.WebServiceClient.postForLocation(WebServiceClient.java:541)
at com.huawei.cloudos.vrm.tool.vm.ImortLocalVm.completeServerLease(ImortLocalVm.java:344)
at com.huawei.cloudos.vrm.tool.vm.ImortLocalVm.importVm(ImortLocalVm.java:164)
at com.huawei.cloudos.vrm.tool.TestMain.importTemplate(TestMain.java:629)
at com.huawei.cloudos.vrm.tool.TestMain.configAndInstallVrm(TestMain.java:205)
at com.huawei.cloudos.vrm.tool.TestMain.main(TestMain.java:62)
Caused by: java.io.EOFException: No content to map to Object due to end of input
at org.codehaus.jackson.map.ObjectMapper._initForReading(ObjectMapper.java:2766)
at org.codehaus.jackson.map.ObjectMapper._readMapAndClose(ObjectMapper.java:2709)
at org.codehaus.jackson.map.ObjectMapper.readValue(ObjectMapper.java:1900)
at com.huawei.cloudos.vrm.tool.WebServiceClient.invoke(WebServiceClient.java:449)
... 6 more
2015-07-10 15:11.436> [INFO] Begin to save xml file : [E:\CloudComponents\config\172.16.1.1_workflow.xml]
2015-07-10 15:11.438> [INFO] on [172.16.1.1], excute cmd: [mkdir -p /etc/galax/eucalyptus]
2015-07-10 15:11.796> [INFO] cmd result: []
2015-07-10 15:11.896> [DEBUG] Calculate sha256 value of E:\CloudComponents\config\172.16.1.1_workflow.xml
2015-07-10 15:11.896> [DEBUG] sha256 value of E:\CloudComponents\config\172.16.1.1_workflow.xml is 50f7f86d3c428d196b6822d304310d7da215efdd1f0b245cae47a8f6b059cf99
2015-07-10 15:11.896> [INFO] scp from [E:\CloudComponents\config\172.16.1.1_workflow.xml] to 172.16.1.1@[/etc/galax/eucalyptus/172.16.1.1_workflow.xml]

2015-07-10 15:11.152> [DEBUG] get session of [172.16.1.1] success, user is root.
2015-07-10 15:11.463> [DEBUG] Build sftp connection success.
2015-07-10 15:11.676> [DEBUG] Sftp upload async result is not completed,wait 200 ms.
2015-07-10 15:11.676> [DEBUG] upload file sourceFile 100%
2015-07-10 15:11.676> [INFO] on [172.16.1.1], excute cmd: [sha256sum -b /etc/galax/eucalyptus/172.16.1.1_workflow.xml]

2015-07-10 15:11.019> [INFO] cmd result: [50f7f86d3c428d196b6822d304310d7da215efdd1f0b245cae47a8f6b059cf99 */etc/galax/eucalyptus/172.16.1.1_workflow.xml
]
2015-07-10 15:11.128> [INFO] on [172.16.1.1], excute cmd: [uvp_configer_bakup -u GE -m /etc/galax/eucalyptus/172.16.1.1_workflow.xml]
2015-07-10 15:11.440> [INFO] cmd result: []
2015-07-10 15:11.440> [DEBUG] cmd stderr: []
2015-07-10 15:11.549> [INFO] Save workflow xml successed!
2015-07-10 15:11.549> [INFO] *** *** Create vm on [172.16.1.1] successed!
2015-07-10 15:11.549> [INFO] Create vrm vm successed
2015-07-10 15:11.549> [DEBUG] begin to starting vm...
2015-07-10 15:11.549> [INFO] PostMessage : TM_OP_WAIT_VM_STARTED
2015-07-10 15:11.549> [INFO] PostMessage : TM_OP_REPORT_VRM_PEOGRESS

2015-07-10 15:11.549> [INFO] RevcMessage : TM_OP_WAIT_VM_STARTED
2015-07-10 15:11.549> [INFO] RevcMessage : TM_OP_REPORT_VRM_PEOGRESS
2015-07-10 15:11.565> [INFO] ExecMessage : TM_OP_WAIT_VM_STARTED
2015-07-10 15:11.565> [INFO] Begin to wait for vrm start...!

2015-07-10 15:11.565> [INFO] Begin to waiting for vrm start ...
2015-07-10 15:11.565> [INFO] ExecMessage : TM_OP_REPORT_VRM_PEOGRESS
2015-07-10 15:11.565> [INFO] Current progress is 1
2015-07-10 15:11.083> [DEBUG] Ping ip [172.16.1.10], status is [DestinationHostUnreachable].
2015-07-10 15:11.083> [DEBUG] Checking vrm [172.16.1.10]'s status is [False]
。。。。。。。。。。。。。。。。。。。。。。
。。。。。。。。。。。。。。。。。。。。。。。
。。。。。。。。。。。。。。。。。。
。。。。。。。。。。。。。。。。。。。。。。
。。。。。。。。。。。。。。。。。。。。。。。
。。。。。。。。。。。。。。。。。。。。
。。。。。。。。。。。。。。。。。。。。。。
。。。。。。。。。。。。。。。。。。。。。。
。。。。。。。。。。。。。。。。。。。。。。
。。。。。。。。。。。。。。。。。。。。。。
。。。。。。。。。。。。。。。。。。。。。。
。。。。。。。。。。。。。。。。。。。。。。
2015-07-10 15:11.557> [INFO] Current progress is 17
2015-07-10 15:11.084> [DEBUG] Ping ip [172.16.1.10], status is [DestinationHostUnreachable].
2015-07-10 15:11.084> [DEBUG] Checking vrm [172.16.1.10]'s status is [False]
2015-07-10 15:11.087> [DEBUG] Ping ip [172.16.1.10], status is [DestinationHostUnreachable].
2015-07-10 15:11.087> [DEBUG] Checking vrm [172.16.1.10]'s status is [False]

2015-07-10 15:11.085> [DEBUG] Ping ip [172.16.1.10], status is [DestinationHostUnreachable].
2015-07-10 15:11.085> [DEBUG] Checking vrm [172.16.1.10]'s status is [False]
2015-07-10 15:11.083> [DEBUG] Ping ip [172.16.1.10], status is [DestinationHostUnreachable].
2015-07-10 15:11.083> [DEBUG] Checking vrm [172.16.1.10]'s status is [False]

2015-07-10 15:11.924> [INFO] Current progress is 18
2015-07-10 15:11.083> [DEBUG] Ping ip [172.16.1.10], status is [DestinationHostUnreachable].
2015-07-10 15:11.083> [DEBUG] Checking vrm [172.16.1.10]'s status is [False]

2015-07-10 15:11.083> [DEBUG] Ping ip [172.16.1.10], status is [DestinationHostUnreachable].
2015-07-10 15:11.083> [DEBUG] Checking vrm [172.16.1.10]'s status is [False]

2015-07-10 15:11.083> [DEBUG] Ping ip [172.16.1.10], status is [DestinationHostUnreachable].
2015-07-10 15:11.083> [DEBUG] Checking vrm [172.16.1.10]'s status is [False]

2015-07-10 15:11.083> [DEBUG] Ping ip [172.16.1.10], status is [DestinationHostUnreachable].
2015-07-10 15:11.083> [DEBUG] Checking vrm [172.16.1.10]'s status is [False]

2015-07-10 15:11.372> [INFO] Current progress is 19
2015-07-10 15:11.084> [DEBUG] Ping ip [172.16.1.10], status is [DestinationHostUnreachable].
2015-07-10 15:11.084> [DEBUG] Checking vrm [172.16.1.10]'s status is [False]
2015-07-10 15:11.097> [ERROR] Vrm start timeout!
2015-07-10 15:11.097> [ERROR] Vrm start failed!
2015-07-10 15:11.099> [INFO] Begin to check whether the vrm vm status is stopped ...
2015-07-10 15:11.100> [INFO] Begin to query vm status ...
2015-07-10 15:11.100> [INFO] query vm status cmd : java.exe -jar "E:\WorkPlace\software\FC\FusionCompute V100R005C00SPC300_Tools\Installer\VrmAutoConfigTool.jar" queryVmState 127.0.0.1

2015-07-10 15:11.189> [DEBUG] query vm status result :
stdout: [Start]: queryVmState
**VM_VRM** VRM01 stopped
[End]: queryVmState
2015-07-10 15:11.189> [DEBUG] Checking vrm [172.16.1.10]'s status is stopped.

  • x
  • 常规:

点评 回复

跳转到指定楼层
redo
redo   发表于 2015-7-10 16:25:03 已赞(0) 赞(0)

从贴出来的日志上看,VRM模板已经导入成功,且创建VRM虚拟机也成功了,问题出在启动VRM虚拟机失败,虚拟机启动失败的原因较多,需要分析主机上的日志才行。

请提供下FusionCompute的版本和主机上的日志协助进一步分析


  • x
  • 常规:

点评 回复

云上云下
云上云下  专家 发表于 2015-7-10 16:51:47 已赞(0) 赞(0)

VRM部署在什么物理主机上?
  • x
  • 常规:

点评 回复

houzhiqing
houzhiqing  新锐 发表于 2015-7-10 17:17:47 已赞(0) 赞(0)

回复 3 楼

部署在虚拟机,会不会因为内存不足?

  • x
  • 常规:

点评 回复

houzhiqing
houzhiqing  新锐 发表于 2015-7-10 17:19:05 已赞(0) 赞(0)

回复 2 楼

FusionCompute_V100R005C00SPC300_CNA


怎么在主机上看日志?

  • x
  • 常规:

点评 回复

云上云下
云上云下  专家 发表于 2015-7-14 09:29:56 已赞(0) 赞(0)

引用 4 楼

部署在虚拟机,会不会因为内存不足?

houzhiqing 发表于 2015-07-10 17:17
VRM虚拟机的内存最少需要3G内存,VRM所在的物理服务器至少需要16G内存。
  • x
  • 常规:

点评 回复

云上云下
云上云下  专家 发表于 2015-7-14 09:30:37 已赞(0) 赞(0)

引用 5 楼

FusionCompute_V100R005C00SPC300_CNA


怎么在主机上看日志?

houzhiqing 发表于 2015-07-10 17:19
相关日志可以通过FusionCare获取,可以安装相应工具获取。
  • x
  • 常规:

点评 回复

Zyx
Zyx   发表于 2017-10-23 22:05:22 已赞(0) 赞(0)

楼主,这个问题解决了吗?我的也是这个报错
  • x
  • 常规:

点评 回复

发表回复
您需要登录后才可以回帖 登录 | 注册

警告 内容安全提示:尊敬的用户您好,为了保障您、社区及第三方的合法权益,请勿发布可能给各方带来法律风险的内容,包括但不限于政治敏感内容,涉黄赌毒内容,泄露、侵犯他人商业秘密的内容,侵犯他人商标、版本、专利等知识产权的内容,侵犯个人隐私的内容等。也请勿向他人共享您的账号及密码,通过您的账号执行的所有操作,将视同您本人的行为,由您本人承担操作后果。详情请参看“隐私声明
如果附件按钮无法使用,请将Adobe Flash Player 更新到最新版本!
登录参与交流分享

登录参与交流分享

登录