Migrating an OSMS Instance to OSMH Fails with Error “NotAuthorizedOrNotFound”
in Linux
Applies to:
Linux OS - Version Oracle Linux 7.0 and later
Linux x86-64
Symptoms:
After disabling the osms plugin and enabling the osmh plugin in Oracle Cloud Agent, the following error is shown:
Error returned by Service. Http Status Code: 404. Error Code: NotAuthorizedOrNotFound.
Trying to migrate the instance via the migration assistant fails as well:
# osms-to-osmh migrate managed-instance --managed-instance-id <ocid>
Migrating instance: <ocid>
Fetching compatible profiles for instance
Available profiles:
S.No. Name Profile Type
----- ------------------------------------------ --------------
1 <osmh profile> SOFTWARESOURCE
Select a profile: 1
Migrate <instance name> to OS Management Hub with <osmh profile>? [y/n] y
Attaching profile <osmh profile> to <instance name>
Tagged:
0