Updated on 2026-11-10 GMT+08:00

Real-Time Service Upgrade Rollback Failed

Symptom

An anomaly or alarm event is generated, and the event information contains keywords such as upgrade rollback failure and insufficient resources.

Figure 1 Service events

Possible Causes

The resources in the resource pool are insufficient. The rollback job keeps waiting for resources to start deployment.

Solution

Release or add resources to the resource pool. The methods are as follows:

  • Method 1: Upgrade the deployment. Reduce the number of deployed instances and change the specifications of the deployment unit.
    1. Log in to the ModelArts console and choose Model Inference > Real-Time Inference.
    2. Click the target service name. On the service details page that is displayed, switch to the deployment tab.
    3. Locate the card of the service you want to upgrade and click Upgrade.
    4. Review the available NPUs, GPUs, CPUs, and memory in the resource pool. Assess the resources needed for the image. Adjust the instance count in resource settings and modify the unit instance specifications and resource instance count in unit settings to guarantee enough resources for starting the image.
      For more parameter descriptions, see User Guide > "Deploying a Model as a Real-Time Service" > "Deploying a Real-Time Service – Deployment Configuration".
      Figure 2 Upgrading a deployment

  • Method 2: Stop or delete some services. Filter services in the service list by resource pool name or ID, evaluate real-time services that are not in use, and stop or delete the services to release resources in the resource pool.

    For details about how to stop a service, see User Guide > "Stopping a Service Deployment".

    For details about how to delete a service, see User Guide > "Deleting a Service".

  • Method 3: Scale out the resource pool where the service is deployed.
    1. Log in to the ModelArts console and choose Model Inference > Real-Time Inference.
    2. Click the real-time service name. On the service details page that is displayed, click the Deploy tab.
    3. Click the real-time service to be scaled out and click the resource pool name. The resource pool details page is displayed.
    4. Choose More > Scale. The dedicated resource pool scaling page is displayed.
    5. Adjust the resource settings and click Submit. In the displayed dialog box, click OK.

      For details about more parameters, see Resizing a Dedicated Resource Pool.