Upgrading Orchestrator (vRO) 8.18.1 to 9.1 fails with error: 'Upgrade failed and left the system in non-working state."
Checking the upgrade logs:
/var/log/prelude/upgrade-report-latest:
Result: Upgrade Failure
Description: Upgrade failed and left the system in non-working state. Check the error report below to correct the problem. Once addressed, you can continue the upgrade by running 'vracli upgrade exec --resume'
...
Errors
-------------------------------------------------------------------------------------
[ERROR][#####][######] Upgrade failed on this node. Monitoring on this node will be deactivated.
/var/log/prelude/upgrade-#####.log:
##### VAMI checking upgrade progress
##### VAMI upgrade completed with error.
##### VAMI upgrade failed.
/opt/vmware/var/log/vami/vami-sfcb.log:
##### [info] [process id: #####] ran command: ps -p #### #### #### #### #### #### #### ####
##### [info] [process id: ####] ps returned process: PID TTY STAT TIME COMMAND
##### [info] [process id: ####] Number of sfcbd processes: 0
##### [warning] [process id: ####] Unable to start Scheduler Service.
/var/log/bootstrap/postupdate.log:
INFO:set_permissions_and_ownership:Creating group: metrics with id: 103
Traceback (most recent call last):
File "/opt/scripts/set_permissions_and_ownership.py", line 474, in <module>
ctx.apply()
File "/opt/scripts/set_permissions_and_ownership.py", line 78, in apply
self._create_group(group)
File "/opt/scripts/set_permissions_and_ownership.py", line 99, in _create_group
raise RuntimeError(f'Group {group.name} found with ID {ent.gr_gid}, wanted {group.id}')
RuntimeError: Group conntrackd found with ID 996, wanted 104
##### Script /etc/bootstrap/postupdate.d/03-20-create-service-users.sh failed, error status 1
VCF Operations Orchestrator 9.1
This issue can occur due to a UID/GID conflict of user group: conntrackd.
To resolve this and allow the upgrade to 9.1.0 to proceed, perform the following steps:
userdel conntrackdgroupdel conntrackdvracli upgrade exec --resume