VxRail:添加用户vxpsvc_ptagent_op时出现错误“passwd: critical error”
摘要: 本文讨论了以下问题:由于密码策略要求,集成远程访问控制器 (iDRAC) 平台服务用户帐户vxpsvc_ptagent_op无法添加,从而导致主机上出现严重错误。
本文适用于
本文不适用于
本文并非针对某种特定的产品。
本文并非包含所有产品版本。
症状
- 从 vmkernel.log
022-02-10T01:39:18.862Z warning hostd[2106888] [Originator@6876 sub=UserDirectory opID=03882bde user=root] User lookup failed for 'vxpsvc_ptagent_op' 2022-02-10T01:39:18.934Z info hostd[2106888] [Originator@6876 sub=Solo.Vmomi opID=03882bde user=root] Throw vmodl.fault.SystemError 2022-02-10T01:39:18.934Z info hostd[2106888] [Originator@6876 sub=Solo.Vmomi opID=03882bde user=root] Result: --> (vmodl.fault.SystemError) { --> faultCause = (vmodl.MethodFault) null, --> faultMessage = (vmodl.LocalizableMessage) [ --> (vmodl.LocalizableMessage) { --> key = "com.vmware.vim.host.LocalAccountManager.passwdError", --> arg = <unset>, --> message = <unset> --> } --> ], --> reason = "passwd: Critical error - immediate abort" --> msg = "" --> }
- 在platform_svc.log错误中,它无法添加帐户vxpsvc_ptagent_op,因为它不符合密码策略的要求
2022-02-10T01:38:59Z platform_svc: [MainThread] INFO - -------------- VxRail Platform Service ----------------- 2022-02-10T01:38:59Z platform_svc: [MainThread] INFO - Registering "tasks" 2022-02-10T01:38:59Z platform_svc: [MainThread] INFO - iDracOpt. timestamp: 1644457139 2022-02-10T01:38:59Z platform_svc: [MainThread] INFO - Registering "platform" 2022-02-10T01:38:59Z platform_svc: [Thread-1] INFO - Waiting for iSM ready 2022-02-10T01:38:59Z platform_svc: [MainThread] INFO - Setting up listener 2022-02-10T01:38:59Z platform_svc: [MainThread] INFO - Starting endpoints 2022-02-10T01:38:59Z platform_svc: [MainThread] INFO - Starting network loop 2022-02-10T01:38:59Z platform_svc: [MainThread] INFO - Start network loop 2022-02-10T01:38:59Z platform_svc: [MainThread] INFO - Backend started 2022-02-10T01:39:00Z platform_svc: [Thread-1] INFO - iSM is ready 2022-02-10T01:39:00Z platform_svc: [Thread-1] INFO - Found service acccount in slot 15 2022-02-10T01:39:00Z platform_svc: [Thread-1] INFO - Refresh Password 2022-02-10T01:39:02Z platform_svc: [Thread-1] INFO - Enable the account 2022-02-10T01:39:02Z platform_svc: [Thread-1] INFO - Setting up the public key for the service account 2022-02-10T01:39:15Z platform_svc: [Thread-1] INFO - Service account setup successfully 2022-02-10T01:39:17Z platform_svc: [Thread-1] DEBUG - xpath-enum-context: 1 2022-02-10T01:39:18Z platform_svc: [Thread-1] INFO - The updateable firmware info collected 2022-02-10T01:39:18Z platform_svc: [Thread-1] ERROR - Command "localcli --formatter=python system account add --id vxpsvc_ptagent_op -p [[r)^c>p%rDu0KT]iF)qR[M`Yllajrx/ -c [[r)^c>p%rDu0KT]iF)qR[M`Yllajrx/" failed with: OUT: b''ERR: b'Errors: \n A general system error occurred: passwd: Critical error - immediate abort\n' 2022-02-10T01:39:18Z platform_svc: [Thread-1] ERROR - Failed initializing EP <platforms.dell.PlatformEndpoint object at 0x7ad87b1860> 2022-02-10T01:39:18Z platform_svc: [Thread-1] ERROR - Traceback (most recent call last): 2022-02-10T01:39:18Z platform_svc: [Thread-1] ERROR - File "/opt/vxrail/bin/endpoints/__init__.py", line 135, in do_init 2022-02-10T01:39:18Z platform_svc: [Thread-1] ERROR - ep.init() 2022-02-10T01:39:18Z platform_svc: [Thread-1] ERROR - File "/opt/vxrail/bin/platforms/dell/__init__.py", line 709, in init 2022-02-10T01:39:18Z platform_svc: [Thread-1] ERROR - self.esxi_tmp_account_mgr.init_esxi_tmp_account()
- 另一个观察结果是,受影响的节点在 vCenter Server 中显示无响应/断开连接。
原因
而 /etc/pam.d/passwd 配置已被用户或其他应用程序修改。平台服务账号密码 vxpsvc_ptagent_op 不再满足密码要求,导致用户添加失败。
解决方案
- 要解决此问题,请备份当前
/etc/pam.d/passwd文件,并将其恢复为默认值。验证同一群集下的其他 ESXi 主机。默认文件内容为:%PAM-1.0 # Change only through host advanced option "Security.PasswordQualityControl". password requisite /lib/security/$ISA/pam_passwdqc.so retry=3 min=disabled,disabled,disabled,7,7 # Change only through host advanced option "Security.PasswordHistory". password requisite /lib/security/$ISA/pam_pwhistory.so use_authtok enforce_for_root retry=2 remember=0 password sufficient /lib/security/$ISA/pam_unix.so use_authtok nullok shadow sha512 password required /lib/security/$ISA/pam_deny.so - 重新启动平台服务以确保没有进一步的错误。
/etc/init.d/vxrail-pservice restart
受影响的产品
VxRail, VxRail Appliance Series, VxRail Software文章属性
文章编号: 000196798
文章类型: Solution
上次修改时间: 01 10月 2025
版本: 3
从其他戴尔用户那里查找问题的答案
支持服务
检查您的设备是否在支持服务涵盖的范围内。