"Not Found Reason: No error message" error after App Autoscaler CLI commands fails in Tanzu Application Service for VMs
search cancel

"Not Found Reason: No error message" error after App Autoscaler CLI commands fails in Tanzu Application Service for VMs

book

Article ID: 298257

calendar_today

Updated On:

Products

VMware Tanzu Application Service for VMs

Issue/Introduction

When you run an App Autoscaler CLI command, it fails with the error "Not Found Reason: No error message".

For example, you see an error similar to the following:
$cf autoscaling-apps
An error occurred while trying to get the apps. The autoscaler responded with: Not Found Reason: No error message
FAILED

$cf apps
Getting apps in org test / space dev as admin...
OK

name   requested state   instances   memory   disk   urls
app1   started           1/1         512M     1G     app1-persistent-oribi-bf.apps.example.com

$cf enable-autoscaling app1
An error occurred while trying to get the app. The autoscaler responded with: Not Found Reason: No error message
FAILED


This error occurs because there is no Autoscaler service instance existing in current targeting space.

Note: An Autoscaler service instance is required before you can use the App Autoscaler. For more information, refer to Create and Bind the Autoscaling Service.


Environment

Product Version: 2.10

Resolution

An Autoscaler service instance needs to exist to use the App Autoscaler. To resolve this issue, create one Autoscaler service instance in current targeting space.

For example:
$cf cs app-autoscaler standard as1
Creating service instance as1 in org test / space dev as admin...
OK

$cf s
Getting services in org test / space dev as admin...

name   service          plan       bound apps   last operation     broker           upgrade available
as1    app-autoscaler   standard                create succeeded   app-autoscaler

$cf autoscaling-apps
Presenting autoscaler apps in org test / space dev as admin
OK
Name   Guid   Enabled   Min Instances   Max Instances

You can also enable Autoscaling for an app on Apps Manager.

If there is no Autoscaler service instance in the app's space, an Autoscaler service instance named autoscale-test will be created automatically.
$cf s
Getting services in org test / space test as admin...

name             service          plan       bound apps   last operation     broker           upgrade available
autoscale-test   app-autoscaler   standard   testapp      create succeeded   app-autoscaler

For more information on App Autoscaler CLI known issues, refer to App Autoscaler CLI Known Issues.