Updating environment variables for Managed services

If needed, you can update environment variables in Infrastructure Automation Managed services.

Note: Proceed to update the environment variables only if you were advised by the IBM Support to resolve an issue in your environment.

To update the environment variables in Managed services, use the following steps:

  1. Log in to OpenShift Container Platform cluster.

  2. Go to Overview > Configurations.

  3. Click Update Environment Variables.

  4. Update the required variables as shown in the following IAConfig.

    - enabled: true
    name: ibm-management-cam-install
    spec:
      manageservice:
        global:
            FILE_LIMIT: 4mb
            IAAS_DEFAULT_POLLING_TIMEOUT: 15h
            IAAS_POLLING_INTERVAL: 40s
            IAAS_POLLING_ON_ERROR_INTERVAL: 50s
            RETRY_SUBMIT_TIMEOUT: '3600000'
            TERRAFORM_JOB_TIMEOUT_MS: '22600000'
    
  5. If you see error code 502 after applying the changes in IAConfig, then restart the cam-tenant-api pod by using the following command:

    oc delete pod -n <namespace> --selector=name=cam-tenant-api
    

    Where <namespace> is the project (namespace) where Managed services is installed.