vRO 8.18.1 to 9.1.0 upgrade failed with error: 'Upgrade failed and left the system in non-working state." - VCF Operations Orchestrator
search cancel

vRO 8.18.1 to 9.1.0 upgrade failed with error: 'Upgrade failed and left the system in non-working state." - VCF Operations Orchestrator

book

Article ID: 459464

calendar_today

Updated On:

Products

VCF Operations

Issue/Introduction

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

Environment

VCF Operations Orchestrator 9.1

Cause

This issue can occur due to a UID/GID conflict of user group: conntrackd.

Resolution

To resolve this and allow the upgrade to 9.1.0 to proceed, perform the following steps:

 

  1. Establish an SSH connection to the vRO 8.18.1 appliance.
  2. Run the following command to remove the existing user: userdel conntrackd
  3. Run the following command to remove the existing group: groupdel conntrackd
  4. Once these commands have been executed, resume the upgrade process by running the command: vracli upgrade exec --resume