参考官方文档的“从独立的Manager迁移到自托管引擎”。
测试用电脑:CPU i5-6500 8G内存
测试用系统: oVirt Node 4.3.10 / CentOS 7.8 (均存在这个问题)
已经测试过使用自托管引擎的备份文件执行同样的操作,并没有出现问题。
使用的“独立的Manager”为engine-setup设置完毕后的初始状态。(添加主机/储存的后的备份文件也有测试,问题依旧。)
执行命令如下:hosted-engine –deploy –restore-from-file=file.backup
报错信息如下:
[ INFO ] TASK [ovirt.hosted_engine_setup : Evaluate temporary bootstrap engine URL]
[ INFO ] ok: [localhost]
[ INFO ] The bootstrap engine is temporary accessible over https://engine7.com:6900/ovirt-engine/
[ INFO ] TASK [ovirt.hosted_engine_setup : Detect VLAN ID]
[ INFO ] changed: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Set Engine public key as authorized key without validating the TLS/SSL certificates]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : include_tasks]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Obtain SSO token using username/password credentials]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.hosted_engine_setup : Ensure that the target datacenter is present]
[ ERROR ] AuthError: Error during SSO authentication access_denied : Cannot authenticate user ‘None@N/A’: No valid profile found in credentials..
[ ERROR ] fatal: [localhost]: FAILED! => {“changed”: false, “msg”: “Error during SSO authentication access_denied : Cannot authenticate user ‘None@N/A’: No valid profile found in credentials..”}
部署设置和完整的error log如下: