Layer7 API Management

 View Only

 Portal 3.5 to Portal 5.x Migration Error

Kee Wee Wong's profile image
Kee Wee Wong posted Mar 21, 2024 05:19 AM

Hi everyone,

We finally got the go-ahead to upgrade Portal 3.5

After clearing quite a few roadblocks with the upgrade/migration we are quite close to the finishing line.

In the migration tool on Portal 3.5, we are getting quite a lot of errors during the "Enabling Gateway Published REST API" phase and "Creating Account Plan" phase

...

Enabling Gateway Published REST API 'Get Blog Posts' Detail'
ERROR: Error PUT API Get Blog Posts' Detail: Not Found

...
Starting migration for AccountPlans
Creating Account Plan 'Starter Account Plan'
ERROR: Error POST AccountPlans Starter Account Plan: The request could not be completed due to data input errors.
- The API UUIDs have been deprecated and should not be present in payload for the account plan.
Updating Account Plan 'Starter Account Plan'
ERROR: Error PUT AccountPlans Starter Account Plan: 91d347b3-9025-4c47-94f6-031a7172ee23 not found.

...

ERROR: The following script error occured on https://10.22.10.99/template_resources/js/papi-migrator/papi-acct-plan.js?releaseId=1569960367 326:96
ERROR: Uncaught TypeError: Cannot read properties of null (reading 'Uuid')

This is the part I am at a total loss on what to look at.

Does anybody here encountered these errors before?

Reatesh Sanghi's profile image
Broadcom Employee Reatesh Sanghi

Hello Kee Wee Wong,

This would require in depth troubleshooting and it would be better if you can login a support ticket with all the details about your environment as well the errors. 

Thanks,
Reatesh.

Kee Wee Wong's profile image
Kee Wee Wong

Hi Reatesh

As I am doing upgrading from a unsupported version, I don't think support is able to assist me on this.

From what I can tell in the logs, it looks like the portal migration tool is attempting to call the new Portal's PAPI to migrate the API and Plans over.
Eg, 

ERROR: Error PUT API Get Blog Posts' Detail: Not Found
ERROR: Error POST AccountPlans Starter Account Plan: The request could not be completed due to data input errors.

For the Enabling Gateway Published REST API, I am able to see the APIs synced over from the Gateway, so I am not sure why the migration tool is complaining about "Not Found"

For the Creating Account Plan, that I am not really sure why it seems to be attempting to send a deprecated parameter?

As I am not very sure where to look on Portal 3.5 or 5.0.2, I would appreciate if someone can guide me on where to look in details.

Thanks !