push-apps-manager errand fails
search cancel

push-apps-manager errand fails

book

Article ID: 422563

calendar_today

Updated On:

Products

VMware Tanzu Application Service

Issue/Introduction

The errand push-apps-manager fails with an error similar to:

Errand 'push-apps-manager' completed with error (exit code 1)
Exit code 1

Instance   clock_global/xxx-yyy-zzz  
Exit Code  1  
Stdout     Setting API endpoint to https://fqdn  
           OK  
             
           API endpoint:   https://fqdn
           API version:    3.197.0  
             
           Not logged in. Use 'cf login' or 'cf login --sso' to log in.  
           API endpoint: https://fqdn
             
           Authenticating...  
           OK  
             
           Use 'cf target' to view or set your target org and space.  
           Setting quota runaway to org system as push_apps_manager...  
           FAILED  
             
Stderr     Invalid Auth Token  
           Error: failed to run job-process: exit status 1 (exit status 1)  
             

1 errand(s)

Environment

Tanzu application service 6.x 

Tanzu application service 10.x

Resolution

Use the following workaround to reset the push-apps-manager user:

1. Target TAS UAA.. (https://techdocs.broadcom.com/us/en/vmware-tanzu/platform/elastic-application-runtime/6-0/eart/uaa-user-management.html#create-an-admin-user-0)

2. Run "uaac user get push_apps_manager" to confirm the user exists.

3. Delete the user with "uaac user delete push_apps_manager".

4. Verify the user is gone by running "uaac user get push_apps_manager" again.

5. SSH into a UAA VM through BOSH and restart UAA with "monit restart uaa". The platform will recreate the user after a few minutes.

6. Run uaac user get push_apps_manager to confirm the user has been restored.

7. Run the push apps manager errand again.