VRFs Issue updating Nautobot from version 1.6.2 to 2.0.X. #4785
-
Hello everyone, I'm new to GitHub, and perhaps not entirely familiar with the platform; I apologize for that. I'm using Nautobot version 1.6.2 and want to update to the latest available version. This process has been challenging for me as I'm encountering several obstacles in the update process. All dependencies, such as Python, PostgreSQL, Git, etc., meet the minimum version or higher required to fulfill the update to version 2.0. Following the Nautobot documentation (https://docs.nautobot.com/projects/core/en/stable/user-guide/administration/upgrading/from-v1/upgrading-from-nautobot-v1/#pre-migration-validation), I come across the following error: ``[nautobot@rmalvrsoe001 ~]$ nautobot-server migrate It's worth noting that the error pertains to IPAM. Upon consulting the documentation, I don't find clear information on which paths or files need to be considered or modified. The error django.core.exceptions.ValidationError: ['You cannot migrate Interfaces or VMInterfaces that have IPs with differing VRFs:\n[]\n[<Interface: Interface object (9365be51-33fd-4314-bc94-e4164cb72dcf)>]\n[]\n[]'] indicates that there is an issue with migrating Interfaces or VMInterfaces that have IPs associated with different VRFs (Virtual Routing and Forwarding). Do you know what I need to modify to ensure a successful migration of the SQL database? Thank you very much. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Looks like there's room to improve the docs here, definitely - what this error means is that interface |
Beta Was this translation helpful? Give feedback.
-
The DataBase has been migrated |
Beta Was this translation helpful? Give feedback.
Looks like there's room to improve the docs here, definitely - what this error means is that interface
9365be51-33fd-4314-bc94-e4164cb72dcf
has multiple IPAddresses assigned to it but those IPAddresses belong to different VRFs, which is not a permitted setup in 2.x. You should look at this interface under 1.6 (i.e./dcim/interfaces/9365be51-33fd-4314-bc94-e4164cb72dcf
) and figure out which common VRF these IPs should belong to, and update them accordingly.