2015-Middleware-Keynote / demo-ansible

Apache License 2.0
18 stars 24 forks source link

routingConfig is not updated to use provided cloud domain #24

Closed thoraxe closed 9 years ago

thoraxe commented 9 years ago

The installer is currently taking an "app-dns-prefix" but it does not configure the routing domain in master-config.yaml:

routingConfig:
  subdomain: router.default.local

When I run the installer like so: ./run.py --cluster-id roadshowtest --env-size xsmall --region us-east-1 --ami ami-10663b78 --instance-type t2.large --keypair roadshow --r53-zone openshift3roadshow.com --app-dns-prefix cloudapps --no-confirm -vvvv

I would expect that the routing subdomain config would be:

  subdomain: cloudapps.roadshowtest.openshift3roadshow.com
thoraxe commented 9 years ago

This is dependent on this file: https://github.com/openshift/openshift-ansible/blob/master/roles/openshift_master/templates/master.yaml.v1.j2

There's already a closed bug: https://github.com/openshift/openshift-ansible/issues/282

But I believe it was closed erroneously as the installer currently does not take any arguments to set this value.

thoraxe commented 9 years ago

I was using an old version of openshift-ansible. This may not be relevant.

thoraxe commented 9 years ago

works in latest.