Upgrade to 31.1.1 Aborted Due to Error:"Unable to Complete Task MigrateConfig"
search cancel

Upgrade to 31.1.1 Aborted Due to Error:"Unable to Complete Task MigrateConfig"

book

Article ID: 388906

calendar_today

Updated On:

Products

VMware Avi Load Balancer

Issue/Introduction

 

  • When you run the show run upgrade status command on the shell, you will notice that the upgrade has been aborted.

 

  • The upgrade will fail with the 'UPGRADE_FSM_ABORTED' error due to an issue with the running task MigrateConfig. This can be identified by running the command:
controller:>show upgrade status detail

 

  • In the upgrade coordinator log, located on the previous partition at /host/prev/var/lib/avi/log/upgrade-coordinator.log, you will find that the failure was caused by the migration of a virtual service certificate containing a blank field name.

 

  • On the controller, you can find the certificate created with a blank space as shown below.

Cause

Currently, the controller allows the creation of certificates with names containing spaces, which causes issues during upgrades as the configuration migration fails.

Resolution

Temporary Workaround:

To overcome this issue, ensure that no certificate is created with a name containing only blank spaces. If a certificate is created with a name consisting solely of spaces, please reassign a valid name and re-initiate the upgrade if it fails due to certificate configuration import failure.

 

Permanent Fix:

To prevent this, change in the regex to throw an error will be introduced in the version 31.1.2 when attempting to save a certificate with a blank space in the name.