0%

vCenter升级过程中因密码过期导致的问题处理

今天在升级vCenter 7.0时,升级检查时提示错误,错误日志显示如下:

1
2
3
2021-02-19T06:12:41.374Z - debug: initiateFileTransferFromGuest error: ServerFaultCode: Failed to authenticate with the guest operating system using the supplied credentials.
2021-02-19T06:12:41.374Z - debug: Failed to get fileTransferInfo:ServerFaultCode: Failed to authenticate with the guest operating system using the supplied credentials.
2021-02-19T06:12:41.374Z - debug: Failed to get url of file in guest vm:ServerFaultCode: Failed to authenticate with the guest operating system using the supplied credentials.

经过检查发现是vCenterroot密码过期导致,ssh登录vCenter,进入shell,执行:

1
2
3
4
root@vcsa [ ~ ]# chage -l root
You are required to change your password immediately (root enforced)
chage: PAM: Authentication token is no longer valid; new one required

说明root的密码过期,修改密码即可:

1
2
3
4
root@vcsa [ ~ ]# passwd
New password:
Retype new password:
passwd: password updated successfully

然后重新执行升级程序检查,通过。

坚持原创技术分享,您的支持将鼓励我继续创作!