Setting up port forwarding to start stacks with layers locally

Problem

When a stack is started, TemplateURL parameters of its layers are translated appopriately, so that cldev can retrieve their templates, e.g.:

layers/5

could be translated to

http://localhost:8080/xlcloud-xms/templates?layerId=44&secret=9976ff7c-8222-4118-8f14-561e6b5a295f

Heat will try to connect to this address, and obviously fail (unless XMS is deployed on the same machine).

Solution

A solution is to change the xmsAddress property in xms.properties, e.g.:

xmsAddress=http://localhost:8888/xlcloud-xms

and forward ports on cldev, by running (locally):

ssh tomek@cldev -R 8888:localhost:8080


This wiki is licensed under a Creative Commons 2.0 license
XWiki Enterprise 5.4.6 - Documentation - Legal Notice

Site maintained by