Monday, 18 May 2020

AVDF Sowing failed upgrade after installing pre-upgrade package

We installed AVDF 12.2.0.12 pre-upgrade package and rebooted the machine. After the server  reboot it was showing failed upgrade on console and ssh session.

Error:


SYSTEM_STATE=RECOVERY 
INSTALL_STATE=NOT_APPLICABLE
BOOT_STATE=RUNTIME
MIGRATION_SET=POSTRDBMS
MIGRATION_SET_HASH=1000F81C5C6727EF98748CA8CEF2BDA1FFF2B5E855EA86D4AFEFF19AC7EFC206
MIGRATION_SET_STATE=SUCCEEDED
MIGRATION=87
MIGRATION_STATE=SUCCEEDED
MIGRATION_DETAILS=6C61737420286173206E6F626F647929
UPGRADE_STATE=PRE_UPGRADING 


Solution:

The issue is with the pre-upgrade package in place the RPM is going to trigger a recovery state message.
Remove the pre-upgrade package and update /etc/sysconfig/avdf

SYSTEM_STATE="RUNTIME"
UPGRADE_STATE="NOT_APPLICABLE"

If the warning messages is seen again that its in recovery state

/usr/bin/install -m 0644 -o root -g root /dev/null /etc/motd -- will clear the MOTD and avoid false warnings


No comments:

Post a Comment