![Apache Cloudstack XCP-ng 20.04 卷快照失败](https://linux22.com/image/775937/Apache%20Cloudstack%20XCP-ng%2020.04%20%E5%8D%B7%E5%BF%AB%E7%85%A7%E5%A4%B1%E8%B4%A5.png)
我在用Apache CloudStack v 4.16和XCP 化中心20.04.01。尝试拍摄我的卷的快照时,我的 XCP-in 中心记录了以下错误,并且卷快照创建失败。
为什么我会收到此错误以及如何避免它?
[error||10737525 ||backtrace] Async.host.call_plugin R:07603c920ee8 failed with exception Se
rver_error(XENAPI_PLUGIN_FAILURE, [ mountNfsSecondaryStorage; SROSError; Error reporting error, unknown key Unexpected error while tr
ying to mount 10.1.1.20:/data/cloudstack-secondary/ to /var/cloud_mount/0bf8e8c8-f9b7-3602-962d-456drf4567ff ])
[error||10737525 ||backtrace] Raised Server_error(XENAPI_PLUGIN_FAILURE, [ mountNfsSecondary
Storage; SROSError; Error reporting error, unknown key Unexpected error while trying to mount 10.1.1.20:/data/cloudstack-secondary to
/var/cloud_mount/0bf8e8c8-f9b7-3602-962d-456drf4567ff ])
[error||10737525 ||backtrace] 1/1 xapi Raised at file (Thread 10737525 has no backtrace table. Was with_backtraces called?, line 0
答案1
在全局设置“secstorage.nfs.version”中提供 NFS 版本并重新启动管理服务器可解决问题。
看起来 nfs 版本作为“NULL”传递给 xenserver,并且 xcp-ng 由于参数无效而无法挂载它