Updating Watson Machine Learning assets following an upgrade or rollback

These items provide information for working with Watson Machine Learning assets after either updating from an earlier release of Cloud Pak for Data, or rolling back to a previous version.

Choose the category that fits your use case.

Working with assets following an upgrade

Known issues following an upgrade

Note these issues for working with deployed assets following an upgrade.

Delay for score request

Expect a brief delay of 1 to 60 seconds for the first score request after an upgrade, depending on the model framework. For some frameworks, such as SPSS modeler, the first score request for a deployed model after hibernation might result in a 504 error. If this happens, submit the request again; subsequent requests should succeed.

Error creating a deployment following upgrade

A conflict accessing the Watson machine Learning pods can occur following a refresh of Cloud Pak for Data. If you create a new deployment and you get this error:

encounters error<_Rendezvous of RPC that terminated with: status = StatusCode.UNAVAILABLE

Ask your system administrator to restart the Runtime Manager pod. This will trigger an update of the runtime pods which should resolve the issue.

Problem with RShiny pods following upgrade

If Certificate Manager is enabled for Cloud Pak for Data 4.0, RShiny pods might fail to start following an upgrade. To resolve this issue, update the internalpubkey secret on the pods. For example:

   - name: internalpubkey
        secret:
          defaultMode: 420
          secretName: internal-tls
          items:
          - key: ca.crt
            path: certificate.pem

Working with assets following a rollback

Attention: Rollback of Watson Machine Learning is dependent on common core services (CCS) and Watson Studio services. Rollback of those components to 4.0.0 is not supported, so rolling back Watson Machine Learningfrom 4.0.x to 4.0.0 is not recommended and is not fully supported at this time.

If you do roll back to a previous release, note these issues for working with deployed assets following a rollback.

Known issues following a rollback

Rollback of Watson Machine Learning is dependent on common core services (CCS) and Watson Studio services. Rollback of those components to 4.0.0 is not supported, so rolling back Watson Machine Learningfrom 4.0.x to 4.0.0 is not recommended and is not fully supported. If you attempt a rollback, Watson Machine Learning deployments will be in an inconsistent state. Note these issue for working with deployed assets following a rollback to a previous version from an upgrade.

Rollback of WML from 4.0.x to 4.0.0

Consider the following before rolling back:

  1. Watson Machine Learning online deployments will be in inconsistent state if either of the following is true:
    • You submitted a score request on an existing Watson Machine Learning online deployments after the upgrade to 4.0.x.
    • You created new Watson Machine Learning online deployments of any of the supported frameworks in 4.0.x.
  2. If the framework version for a deployment is supported in both 4.0.0 and 4.0.x, and you do not attempt scoring requests in 4.0.x, then scoring will work when you rollback to 4.0.0. If not, scoring will fail with an error.
  3. Existing deployments with model frameworks that are not supported in 4.0.x are cleaned during upgrade to 4.0.x. Those deployments will not be available after a rollback to 4.0.0. Creation of new deployment for such models is not allowed as dependent components in CCS and Watson Studio are not rolled back to 4.0.0. 4.R-Shiny deployments after rollback from 4.0.x to 4.0.0 will not work. You must redeploy R-Shiny applications.

Rollback of Watson Machine Learning to different version other than from where it is upgraded

You can potentially roll back Watson Machine Learning to a different version from the one you upgraded from. For example, if you upgraded from 4.0.x to 4.0.y and roll back from 4.0.y to 4.0.z. However, this is not recommended.

You can roll back Watson Machine Learning to 4.0.z but Watson Machine Learning roll back would not know the state to restore the deployments in 4.0.z if you upgraded from a different version (for example, 4.0.x). If the framework version for a deployment is supported in 4.0.z, then scoring will work. If not, scoring will fail with an unsupported framework version error.

Parent topic: Managing assets