HI ALL,
while trying to update vcenter (virtual appliance) it is failing for install one RPM
from the logs error i see is below
WHERE _name = ? } with parameters ('VMware-vpxd-7.0.3.02200-14372979.x86_64.rpm',)
2024-11-25 08:34:34,743 - 127339 - functions:: runScript: 197 - INFO - Executing script [/storage/updatemgr/software-updatei58l09zj/stage/pre-VMware-vpxd-7.0.3.02200-14372979.x86_64.rpm.sh]
2024-11-25 08:34:34,743 - 127339 - functions:: runScript: 198 - INFO - Executing command [['/usr/bin/bash', '--login', '-c', "/usr/bin/bash -x '/storage/updatemgr/software-updatei58l09zj/stage/pre-VMware-vpxd-7.0.3.02200-14372979.x86_64.rpm.sh' '2' 2>&1"]]
2024-11-25 08:34:34,743 - 127339 - functions:: runCommand: 48 - DEBUG - Invoking command [/usr/bin/bash --login -c /usr/bin/bash -x '/storage/updatemgr/software-updatei58l09zj/stage/pre-VMware-vpxd-7.0.3.02200-14372979.x86_64.rpm.sh' '2' 2>&1]
2024-11-25 08:34:35,010 - 127339 - functions:: runCommand: 69 - ERROR - Command failed to execute. Return code 1
2024-11-25 08:34:35,011 - 127339 - functions:: runCommand: 71 - ERROR - Exception: return code [1], stdout [+ /usr/sbin/groupadd -f -g 59010 vcdbusers
+ /usr/bin/getent passwd vpxd
+ '[' 0 -eq 2 ']'
+ /usr/sbin/usermod.bk -a -G vcdbusers vpxd
usermod.bk: cannot open /etc/passwd
usermod.bk: failed to unlock /etc/passwd
], stderr []
2024-11-25 08:34:35,011 - 127339 - dbfunctions:: executeDML: 54 - DEBUG - Executing Query {UPDATE meta SET _prescriptendtime = DATETIME('now'), _statusid = 190 WHERE _name = ? } with parameters ('VMware-vpxd-7.0.3.02200-14372979.x86_64.rpm',)
2024-11-25 08:34:35,013 - 127339 - rpmfunctions:: executeRpmScript: 387 - ERROR - Exception: Execution of RPM script failed.
2024-11-25 08:34:35,014 - 127339 - rpmfunctions:: installPendingRpms: 464 - ERROR - Pre script execution of RPM failed
2024-11-25 08:34:35,014 - 127339 - update_b2b:: executeScriptsAndInstallRpms:2142 - ERROR - Install of one or more RPMs failed. Halting patching
2024-11-25 08:34:35,014 - 127339 - update_b2b:: executeScriptsAndInstallRpms:2143 - ERROR - Pre script failed for VMware-vpxd-7.0.3.02200-14372979.x86_64.rpm.
2024-11-25 08:34:35,014 - 127339 - task_manager:: update: 80 - DEBUG - UpdateTask: status=RESUMABLE, progress=75, message={'id': 'com.vmware.appliance.plain_message', 'default_message': '%s', 'args': ['Installation of one or more RPMs failed']}
2024-11-25 08:34:35,017 - 127339 - update_b2b:: installRpms:2387 - ERROR - Installation of one or more RPMs failed. Patching cannot proceed
i looked at this link as well
vCenter update process fails with a "Installing of one or more RPMs failed" message
but "journal directory from the /var/log/vmware/ directory" look ok in my case