Note!! Please register for a free account to access the full content and also to participate in Q&A in the community
OSMH: Instance Registration Failed with Error “Http Status Code: 404. Error Code: NotAuthorizedOrNot
APPLIES TO
OS Management Hub (OSMH)
Oracle Cloud Infrastructure
SYMPTOMS
Enabling OSMH Plugin fails with error below:
failed to start osmh-agent with lookup image failed with Error returned by Service. Http Status Code: 404. Error Code: NotAuthorizedOrNotFound.
CAUSE
This error message generally indicates a policy or dynamic group issue.
Solution
To use OSMH, it is required to create an IAM Policy and Dynamic Group.
Review the steps to setup the required IAM Policy and Dynamic Group following document:
Example Dynamic Group For OCI Instances:
ANY {instance.compartment.id='<compartment_ocid>',instance.compartment.id='<subcompartment_ocid>'}
This rule will include all OCI instances in the specified compartments.
Tagged:
0