The upgrade fails with a configuration migration error when the Infoblox IPAM/DNS profile is set to an FQDN instead of an IPv4 address.
search cancel

The upgrade fails with a configuration migration error when the Infoblox IPAM/DNS profile is set to an FQDN instead of an IPv4 address.

book

Article ID: 385951

calendar_today

Updated On:

Products

VMware Avi Load Balancer

Issue/Introduction

The upgrade to version 30.2.1 fails when the Infoblox IPAM/DNS profile is configured with an FQDN (Fully Qualified Domain Name) instead of an IPv4 address, resulting in the error: "Unable to complete task migrate_config on node."

 

  • Upgrade event would display the below error.
| upgrade_events[14]    |                                                                                  |
|   task_name           | MigrateConfig                                                                    |
|   sub_events[1]       |                                                                                  |
|     ip                | node1.controller.local                                                           |
|     start_time        | 202x-05-22 17:01:54                                                              |
|     end_time          | 202x-05-22 17:04:23                                                              |
|     message                                                                      |
|                       |   File "/opt/avi/python/lib/avi/upgrade/upgrade_tasks.py", line 475, in run      |
|                       |     raise Exception("Unable to complete task %s on %s." % (self.task, list(self. |
|                       | err_nodes.keys())))                                                              |
|                       | Exception: Unable to complete task migrate_config on ['node1.controller.local']. |
|                       | .::UC                                                                            |
|     duration          | 149 sec  

 

  • In the previous partition /host/prev-partition/var/lib/avi/log/Portal-webapp.log, we will find that the configuration import failed while importing the IpamDnsProviderProfile.

Cause

As part of V6 management support for Infoblox, a check was added in the pb_default.py script. However, this check skipped a condition for handling Infoblox's server address when specified using a Fully Qualified Domain Name (FQDN).

Resolution

Temporary Workaround:

Replace the FQDN in the Infoblox IPAM/DNS profile with the server IP address.

Permanent Fix:

Perform the upgrade to the following versions where the fix has been applied:

30.2.2

30.2.1-2p1