Autoscaler Smoke Test Fails if HTTP is Blocked or Disabled
search cancel

Autoscaler Smoke Test Fails if HTTP is Blocked or Disabled

book

Article ID: 298014

calendar_today

Updated On:

Products

VMware Tanzu Application Service for VMs

Issue/Introduction

Environments where HTTP (unencrypted) traffic is blocked at the network level or where Gorouter is instructed to not listen for HTTP, requests may break when upgrading to Tanzu Application Service 2.7.

To validate if you are impacted, run the following command from a machine out side of the platform, like from your desktop.
curl -vv http://api.system_domain/v2/info

Or simply attempt to go to http://api.system_domain/v2/info in your browser.

Note: if using a browser please make sure that the browser or an extension does not automatically upgrade the request to HTTPS. Some browsers and browser extension (like HTTPS Everywhere) will do this and it can skew the results.

You are impacted if the request times out or fails. If you get a response similar to the following then you are not impacted:
{
  "name": "",
  "build": "",
  "support": "https://support.system_domain",
  "version": 0,
  "description": "Cloud Foundry by Pivotal",
  "authorization_endpoint": "https://login.system_domain",
  "token_endpoint": "https://uaa.system_domain",
  "min_cli_version": "6.22.0",
  "min_recommended_cli_version": "latest",
  "app_ssh_endpoint": "ssh.system_domain:2222",
  "app_ssh_host_key_fingerprint": "e7:13:4e:32:ee:39:62:df:54:41:d7:f7:8b:b2:a7:6b",
  "app_ssh_oauth_client": "ssh-proxy",
  "doppler_logging_endpoint": "wss://doppler.system_domain:443",
  "api_version": "2.146.0",
  "osbapi_version": "2.15",
  "routing_endpoint": "https://api.system_domain/routing"
}


Environment

Product Version: 2.7

Resolution

The current workaround is to disable the smoke test for Autoscaler. This will allow you to complete your upgrades.

A fix has been integrated into Autoscaler release 226, which is included with Tanzu Application Service (TAS) for VMs versions 2.6.18+, 2.7.12+ and 2.8.6+.