App Autoscaler Smoke Test Errand fails to retrieve any metrics from logcache
search cancel

App Autoscaler Smoke Test Errand fails to retrieve any metrics from logcache

book

Article ID: 297844

calendar_today

Updated On:

Products

VMware Tanzu Application Service for VMs

Issue/Introduction

Symptoms:
The App Autoscaler Smoke Test Errand fails displaying the following message:
Autoscaler did not receive any metrics for disk_quota during the scaling window. Scaling down will be deferred until these metrics are available.
and later in the text, the following message is displayed
'Test app did not scale up.'

Environment


Cause

This is a known issue where the LOGCACHE_HOST variable of the Autoscale application is set to http instead of https.

Resolution

The fix for this issue has not yet been incorporated into PAS 2.2. 


Workaround
Manually set this variable to https://<logcache-host>

Run the following steps:

  1. Run cf set-env autoscale LOGCACHE_HOST https://log-cache.<system-domain>
  2. Run cf env autoscale and check if the variable values set above have changed
  3. Run cf restage autoscale
  4. Once the app restarts, wait around 30 minutes for some metrics to flow then manually re-run the errand.