"/opt/avi/python/bin/portal/nonportal/management/commands/import_configuration.py", line 125, in handle importer.configuration_import(configuration) File "/opt/avi/python/lib/avi/config_migration/export_import.py", line 2483, in configuration_import raise Exception(self.upgrade_task_journal.display_error) Exception: Errors countered for ['Gslb']. Field 'replication_policy' was deprecated in 31.2.1 and is no longer supported For further details please refer to the journals. /opt/avi/log/task_journal/upgrade_import_config.jsonVMware AVI Load Balancer Version: 31.2.1
The failure is triggered when a GSLB follower site undergoes a sequential upgrade (two or more version jumps) while the GSLB leader site is still running an older major version.
replication_policy field was deprecated and moved from the GSLB level to the site level.gslb_remote_worker on the Leader (running 22.1.7) continues to stream GSLB updates that include the legacy replication_policy field:
replication_policy: <replication_mode: REPLICATION_MODE_CONTINUOUS>
The follower gslbportal receives this update and saves the deprecated field back into its database. When the follower is then being upgraded to 31.2.2, the configuration migration utility encounters this unexpected field, causing the task to fail.
Workaround:
Permanent fix: