编程开源技术交流,分享技术与知识

网站首页 > 开源技术 正文

Proxmox Virtual Environment(PVE) 运维的一些场景错误记录

wxchong 2024-07-03 02:26:01 开源技术 61 ℃ 0 评论

Proxmox Virtual Environment(PVE) 运维的一些场景错误记录

Q1:2023-07-19 09:51:22 # /usr/bin/ssh -e none -o 'BatchMode=yes' -o 'HostKeyAlias=pve-102-228' root@192.168.102.228 /bin/true

2023-07-19 09:51:22 Host key verification failed.

2023-07-19 09:51:22 ERROR: migration aborted (duration 00:00:00): Can't connect to destination address using public key

TASK ERROR: migration aborted

#pve160 迁移到 pve228 失败

在pve228上更新相关证书信息

pvecm add 192.168.102.160 --force


再次执行迁移,成功


Q2:TASK ERROR: command 'apt-get update' failed: exit code 100

原因:

因为系统默认更新源为 Proxmox VE 企业版的订阅,如果我们没有购买订阅,就会提示签名错误,从而使得 APT 更新失败。

因为用到的是免费版开源的,所以没有付费订阅,需要修改文件注释掉付费企业版订阅

修改文件/etc/apt/sources.list.d/pve-enterprise.list


Q3:pve 怎么查看虚拟机完整克隆 链接克隆

TASK ERROR: base volume 'local:1001/base-1001-disk-0.qcow2' is still in use by linked cloned


Q4:TASK ERROR: Failed to run vncproxy.

pvecm updatecerts

detected the following error(s):

* local node address: cannot use IP '18.2.0.67', not found on local node!

检查/etc/hosts 配置里是否存在 18.2.0.67

detected the following error(s):

  • this host already contains virtual guests

TASK ERROR: Check if node may join a cluster failed!


Q5:检查待加入节点:

ls /etc/pve/nodes/pve24/qemu-server

pve24 节点的hostname

root@pve:/etc/pve/nodes/pve/qemu-server# mv 101.conf /root

root@pve:/etc/pve/nodes/pve/qemu-server# pwd

/etc/pve/nodes/pve/qemu-server



加入节点后,恢复虚拟机

root@pve:~# cd /etc/pve/nodes/pve/qemu-server/

root@pve:/etc/pve/nodes/pve/qemu-server# ls

root@pve:/etc/pve/nodes/pve/qemu-server# mv /root/101.conf .

root@pve:/etc/pve/nodes/pve/qemu-server# ls

101.conf

Tags:

本文暂时没有评论,来添加一个吧(●'◡'●)

欢迎 发表评论:

最近发表
标签列表