Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Migrating an OSMS Instance to OSMH Fails with Error “NotAuthorizedOrNotFound” 

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>  

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!