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

OSMS: CLI command to add packages to Custom Software Source Failed "502 Bad Gateway"

Applies To:

Oracle Cloud Infrastructure - Version N/A and later 

Linux x86-64 

 

 Symptoms 

When running OCI CLI command to add packages to to a custom software source, the command fails with error "reply: 'HTTP/1.1 502 Bad Gateway\r\n'"

 

OCI CLI command below:

$ oci --debug --connection-timeout 900 --read-timeout 1800 os-management software-source add-packages --package-names file://$filen_name --software-source-id $OCID 
reply: 'HTTP/1.1 502 Bad Gateway\r\n'
oci.exceptions.TransientServiceError: {'target_service': 'os_management', 'status': 502, 'code': 'InternalError', 'opc-request-id': '8CDEE5344E934DBA9640F934650832FE/36942F67CAEA4F3FD2372577B879C5F1/AB823CF0C10624D3D70C97B5AA7B1EDE', 'message': 'Bad Gateway', 'operation_name': 'add_packages_to_software_source', 

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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