Skip to main content
NetApp Knowledge Base

How to terminate stale tasks in Cloud Manager

Views:
318
Visibility:
Public
Votes:
0
Category:
netapp_console
Specialty:
netapp_console
Last Updated:

Applies to

  • ONTAP Cloud Manager (Service Connector)
  • Amazon Web Services (AWS)
  • Microsoft Azure (AZ)

Description

Certain tasks, for example, aggregate create might get stuck running (task circle spinning endlessly in Cloud Manager) because of an underlying issue and it has to be terminated manually.

Procedure

  1. Log in to the Service Connector:
  1. Check the status of the occm service:
[ec2-user@ip-xxx-xx-x-x~]$ service occm status
Redirecting to /bin/systemctl status occm.service
● occm.service - OCCM
   Loaded: loaded (/usr/lib/systemd/system/occm.service; enabled; vendor preset: disabled)
   Active: active (running) since Tue 2020-11-17 09:23:35 UTC; 19min ago
  Process: 12539 ExecStop=/usr/lib/systemd/scripts/occm stop (code=exited, status=0/SUCCESS)
  Process: 12553 ExecStart=/usr/lib/systemd/scripts/occm start (code=exited, status=0/SUCCESS)
  Process: 12551 ExecStartPre=/bin/rm -f /tmp/occm-pid (code=exited, status=0/SUCCESS)

 
  1. Restart the service:

[ec2-user@ip-xxx-xx-x-x ~]$ sudo service occm restart
Redirecting to /bin/systemctl restart occm.service

Broadcast message from root@ip-xxx-xx-x-x.ec2.internal (Tue Nov 17 09:45:15 2020):

'OCCM is shutting down'

  1. Wait until you see occm coming up again:

[ec2-user@ip-xxx-xx-x-x ~]$
Broadcast message from root@ip-xxx-xx-x-x.ec2.internal (Tue Nov 17 09:45:33 2020):

'OCCM is up and running'​​​​​​

  1. Verify its status:

[ec2-user@ip-xxx-xx-x-x ~]$ service occm status
Redirecting to /bin/systemctl status occm.service
● occm.service - OCCM
   Loaded: loaded (/usr/lib/systemd/system/occm.service; enabled; vendor preset: disabled)
   Active: active (running) since Tue 2020-11-17 09:45:15 UTC; 1min 20s ago
  Process: 22681 ExecStop=/usr/lib/systemd/scripts/occm stop (code=exited, status=0/SUCCESS)
  Process: 22795 ExecStart=/usr/lib/systemd/scripts/occm start (code=exited, status=0/SUCCESS)
  Process: 22793 ExecStartPre=/bin/rm -f /tmp/occm-pid (code=exited, status=0/SUCCESS)

 
  1. Go back to the SaaS-based portal or Service Connector UI and reload the page

 

Additional Information

  • Make sure that the underlying cause that resulted in the stuck task was already resolved before restarting the Service Connector.
  • If the root cause is unknown, contact NetApp Technical Support and reference this article for further assistance.

 

Internal Notes

 

 

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.