<html><body><div style="font-family: lucida console,sans-serif; font-size: 10pt; color: #000000"><div><span data-mce-style="font-family: tahoma,'new york',times,serif;" style="font-family: tahoma,"new york",times,serif;">Hi container guys,</span><br><br><span data-mce-style="font-family: tahoma,'new york',times,serif;" style="font-family: tahoma,"new york",times,serif;">I found a bug in the container development kit (cdk-2.0.0-beta5).</span><br><br><span data-mce-style="font-family: tahoma,'new york',times,serif;" style="font-family: tahoma,"new york",times,serif;">When I change the PUBLIC_ADDRESS in the Vagrantfile (cdk/components/rhel/rhel-ose/Vagrantfile),</span></div><div><span data-mce-style="font-family: tahoma,'new york',times,serif;" style="font-family: tahoma,"new york",times,serif;">it is not considered in the master-config.yaml in OpenShift. I had to fix the IP address manually to</span></div><div><span data-mce-style="font-family: tahoma,'new york',times,serif;" style="font-family: tahoma,"new york",times,serif;">get the Box to work.</span><br></div><div><br data-mce-bogus="1"></div><div><br><span data-mce-style="font-family: tahoma,'new york',times,serif;" style="font-family: tahoma,"new york",times,serif;">Reproducer:</span></div><div><br data-mce-bogus="1"></div><div><strong><span style="font-family: tahoma,"new york",times,serif;">1) Customize cdk/components/rhel/rhel-ose/Vagrantfile</span></strong><br><span data-mce-style="font-family: tahoma,'new york',times,serif;" style="font-family: tahoma,"new york",times,serif;">#PUBLIC_ADDRESS="10.1.2.2"</span><br><span data-mce-style="font-family: tahoma,'new york',times,serif;" style="font-family: tahoma,"new york",times,serif;">PUBLIC_ADDRESS="192.168.100.10"</span></div><div><br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div><strong><span style="font-family: tahoma,"new york",times,serif;">2) start VM</span></strong></div><div><span data-mce-style="font-family: tahoma,'new york',times,serif;" style="font-family: tahoma,"new york",times,serif;">vagrant up<br data-mce-bogus="1"></span></div><div><span data-mce-style="font-family: tahoma,'new york',times,serif;" style="font-family: tahoma,"new york",times,serif;"><br data-mce-bogus="1"></span></div><div><span data-mce-style="font-family: tahoma,'new york',times,serif;" style="font-family: tahoma,"new york",times,serif;">==> default: You can now access OpenShift console on: https://192.168.100.10:8443/console<br>==> default:<br></span></div><div><span data-mce-style="font-family: tahoma,'new york',times,serif;" style="font-family: tahoma,"new york",times,serif;"><br data-mce-bogus="1"></span></div><div><span data-mce-style="font-family: tahoma,'new york',times,serif;" style="font-family: tahoma,"new york",times,serif;"><br data-mce-bogus="1"></span></div><div><span style="font-family: tahoma,"new york",times,serif;"><strong>3) Error accesing console</strong><br></span></div><div><span style="font-family: tahoma,"new york",times,serif;">When accesing https://192.168.100.10:8443/console via browser and accepting the SSL<br data-mce-bogus="1"></span></div><div><span data-mce-style="font-family: tahoma,'new york',times,serif;" style="font-family: tahoma,"new york",times,serif;">certificate, after some seconds by browser tries to open the following URL:<br data-mce-bogus="1"></span></div><div><span data-mce-style="font-family: tahoma,'new york',times,serif;" style="font-family: tahoma,"new york",times,serif;">https://10.1.2.2:8443/oauth/authorize?client_id=openshift-web-console....</span></div><div><span data-mce-style="font-family: tahoma,'new york',times,serif;" style="font-family: tahoma,"new york",times,serif;"><br data-mce-bogus="1"></span></div><div><br data-mce-bogus="1"></div><div><strong><span style="font-family: tahoma,"new york",times,serif;">4) check /var/lib/origin/openshift.local.config/master/master-config.yaml</span></strong><br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>$ vagrant ssh<br>[vagrant@localhost ~]$ sudo -s<br>[root@localhost vagrant]# cd /var/lib/origin/openshift.local.config/master/<br>[root@localhost master]#<br></div><div><span data-mce-style="font-family: 'lucida console',sans-serif;" style="font-family: "lucida console",sans-serif;"></span><span data-mce-style="font-family: 'lucida console',sans-serif;" style="font-family: "lucida console",sans-serif;">[root@localhost master]# diff master-config.yaml master-config.yaml.orig<br>11c11<br><   masterPublicURL: https://10.1.2.2:8443<br>---<br>>   masterPublicURL: https://10.0.2.15:8443<br>13c13<br><   publicURL: https://10.1.2.2:8443/console/<br>---<br>>   publicURL: https://10.0.2.15:8443/console/<br>90c90<br>< masterPublicURL: https://10.1.2.2:8443<br>---<br>> masterPublicURL: https://10.0.2.15:8443<br>97c97<br><   assetPublicURL: https://10.1.2.2:8443/console/<br>---<br>>   assetPublicURL: https://10.0.2.15:8443/console/<br>109c109<br><   masterPublicURL: https://10.1.2.2:8443<br>---<br>>   masterPublicURL: https://10.0.2.15:8443<br>133c133<br><   subdomain: cdk.vm<br>---<br>>   subdomain: router.default.svc.cluster.local<br></span></div><div><br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div><span data-mce-style="font-family: tahoma,'new york',times,serif;" style="font-family: tahoma,"new york",times,serif;">I had to change the following to 192.168.100.10:</span></div><div>11c11<br><   masterPublicURL: https://10.1.2.2:8443<br>13c13<br><   publicURL: https://10.1.2.2:8443/console/<br>90c90<br>< masterPublicURL: https://10.1.2.2:8443<br>97c97<br><   assetPublicURL: https://10.1.2.2:8443/console/<br>109c109<br><   masterPublicURL: https://10.1.2.2:8443<br></div><div><br data-mce-bogus="1"></div><div><span data-mce-style="font-family: tahoma,'new york',times,serif;" style="font-family: tahoma,"new york",times,serif;">With this workaround it works. Maybe you can fix this for the future release?</span><br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div><br><br><span data-mce-style="font-family: tahoma,'new york',times,serif;" style="font-family: tahoma,"new york",times,serif;">Regards,</span><br><span data-mce-style="font-family: tahoma,'new york',times,serif;" style="font-family: tahoma,"new york",times,serif;">Zisis</span><br></div><div data-marker="__SIG_PRE__"><span data-mce-style="font-family: tahoma,'new york',times,serif;" style="font-family: tahoma,"new york",times,serif;">-- </span><br><span data-mce-style="font-family: tahoma,'new york',times,serif;" style="font-family: tahoma,"new york",times,serif;">Zisis Lianas                    | ConSol* GmbH</span><br><span data-mce-style="font-family: tahoma,'new york',times,serif;" style="font-family: tahoma,"new york",times,serif;">Tel: +49.89.45841-422           | Franziskanerstr. 38, D-81669 Muenchen</span><br><span data-mce-style="font-family: tahoma,'new york',times,serif;" style="font-family: tahoma,"new york",times,serif;">zisis.lianas@consol.de          | http://www.consol.de/</span><br></div></div></body></html>