- Pivotal Cloud Foundry (PCF) 1.10, 1.11, and 1.12
- Redis for PCF 1.8.x, 1.9.x, and below 1.9.5
When upgrading the Redis tile it fails to reach the smoke test app endpoint /ping -k
Showing health and status for app 1d433918-a7ab-4aaa-a654-1ced374c351a in org redis-test-ORG-1-2017_09_28-14h35m55.565s / space redis-test-SPACE-1-2017_09_28-14h35m55.565s as admin... OK requested state: started instances: 1/1 usage: 256M x 1 instances urls: 1d433918-a7ab-4aaa-a654-1ced374c351a.int.dadpo.azd.cloud.allianz last uploaded: Thu Sep 28 14:36:01 UTC 2017 stack: cflinuxfs2 buildpack: ruby 1.6.44 state since cpu memory disk details #0 running 2017-09-28 02:37:09 PM 0.0% 0 of 256M 0 of 1G [2017-09-28 14:37:11.64 (UTC)]> curl -s https://1d433918-a7ab-4aaa-a654-1ced374c351a.xxxxxxxxxxx/ping -k 404 Not Found: Requested route ('1d433918-a7ab-4aaa-a654-1ced374c351a.ext.xxxxxxxxxxx’) does not exist.
The Redis smoke test pushes the app with one domain and then tries to query the app using a different domain which leads to the 404 error.
This happens because the cf push uses the default domain but the query command uses the first domain returned from "cf domains" which may not always match the default domain.
In Redis for PCF, there is no option to configure a specific domain to be used by the smoke tests.
We made a change in the code from version 1.9.5 to target the app domain for the smoke tests.
This issue is fixed in Redis for PCF 1.9.5 and later versions.