Dell Unity: Disk Pool Expansion Continues After Being Canceled Using UEMCLI-User Correctable

Summary: When we cancel a pool expansion job using UEMCLI, the storage reports that the action was completed successfully although the operation continues in the background. This behavior is corrected in OE 5.1. ...

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

When a pool expansion job is canceled using the CLI (Unity OE 5.0 or earlier), the storage reports that the action was completed successfully although the operation continues.

Reading the status of the pool expansion job:
service@Unity380F spa:~/user# uemcli -d localhost -u admin -p <password> /sys/task/job -id B-550 show -detail
Storage system address: localhost
Storage system port: 443
HTTPS connection

1:    ID                  = B-550
      Type                =
      Title               = Expand storage pool
      State               = Running
      Result description  =
      User                =
      Step                = Expand storage pool
      Start time          = 2023-11-16 21:11:43
      Elapsed time        = 1h 10m 46s
      Estimated time left =
      Percent complete    = 69%
      Associated object   = pool_1(/stor/config/pool) 
Canceling the pool expansion:
service@Unity380F spa:~/user# uemcli -d localhost -u admin -p <password> /sys/task/job -id B-550 cancel
Storage system address: localhost
Storage system port: 443
HTTPS connection

Operation completed successfully.
Reading the status of the pool expansion job again:
service@Unity380F spa:~/user# uemcli -d localhost -u admin -p <password> /sys/task/job -id B-550 show -detail
Storage system address: localhost
Storage system port: 443
HTTPS connection

1:    ID                  = B-550
      Type                =
      Title               = Expand storage pool
      State               = Running
      Result description  =
      User                =
      Step                = Expand storage pool
      Start time          = 2023-11-16 21:11:43
      Elapsed time        = 1h 15m 40s
      Estimated time left =
      Percent complete    = 71%
      Associated object   = pool_1(/stor/config/pool) 

Cause

Once a pool expansion job is initiated, it cannot be canceled by using the WebUI or by using the UEMCLI. In this particular instance, the CLI request is reporting a success of initiating the cancel process for the batch job. This information is reported without accounting for the cancelability of all the individual steps running inside the batch job. The correct answer to the canceled request should be to report that the batch job cannot be canceled because steps inside are not cancelable.

Resolution

This UEMCLI (REST) behavior is corrected in Unity OE 5.1 and later. The request to cancel a batch job with a noncancelable step fails, reporting the correct reason for the failure.

Example:
service@Unity380F spa:~/user# uemcli -d localhost -u admin -p <password> /sys/task/job -id B-28 show -detail
Storage system address: localhost
Storage system port: 443
HTTPS connection

1:    ID                  = B-28
      Type                =
      Title               = Expand storage pool
      State               = Running
      Result description  =
      User                =
      Step                = Expand storage pool
      Start time          = 2023-11-17 22:01:03
      Elapsed time        = 10m 30s
      Estimated time left =
      Percent complete    = 7%
      Associated object   = pool_1(/stor/config/pool)

service@Unity380F spa:~/user# uemcli -d localhost -u admin -p <password> /sys/task/job -id B-28 cancel

Operation failed. Error code: 0x7d13168
The job [B-28] cannot be completely canceled because not all active steps can be canceled. (Error Code:0x7d13168)

Affected Products

Dell EMC Unity 300F, Dell EMC Unity 350F, Dell EMC Unity 400, Dell EMC Unity 400F, Dell EMC Unity 450F, Dell EMC Unity 500, Dell EMC Unity 500F, Dell EMC Unity 550F, Dell EMC Unity 600, Dell EMC Unity 600F

Products

Dell Unity 450F DC, Dell Unity 300, Dell Unity 300 DC, Dell Unity 350F DC, Dell EMC Unity XT 380, Dell EMC Unity XT 380F, Dell Unity 400 DC, Dell EMC Unity XT 480, Dell EMC Unity XT 480F, Dell EMC Unity 650F, Dell EMC Unity XT 680 , Dell EMC Unity XT 680F, Dell EMC Unity XT 880, Dell EMC Unity XT 880F, Dell EMC Unity Family |Dell EMC Unity All Flash, Dell EMC Unity Family, Dell EMC Unity Hybrid, Dell Unity Operating Environment (OE), Dell EMC UnityVSA Professional Edition/Unity Cloud Edition ...
Article Properties
Article Number: 000220002
Article Type: Solution
Last Modified: 06 Mar 2024
Version:  2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.