*** Please note that at the time of writing, Photon Controller is still not GA ***
*** The steps highlighted here may change in the GA version of the product ***
The first thing to note is that you cannot deploy multiple controllers from the same management appliance; you need to remove the old deployment and create a new one. If you don’t you will hit an error similar to this:
[ ~ ]# rm -rf /etc/esxcloud/deployer/deployer/sandbox_18000/
[ ~ ]# rm -rf /etc/esxcloud/cloud-store/cloud-store/sandbox_19000/
[ ~ ]# reboot
The reboot will be very quick. However if you try to deploy a new Photon Controller straight away, you will hit the same issue as I hit, namely a “t.data is null” failure during the initial Add hosts step:
esxcloud [ ~ ]$ docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 3a002da677db esxcloud/installer_ui "/bin/sh -c 'sh /etc/" 2 days ago Exited (137) About a minute ago ui_installer dff68fdb8e92 esxcloud/cloud-store "bash /etc/esxcloud/r" 2 days ago Up About a minute cloud-store_installer 05ccbefd05e3 esxcloud/housekeeper "bash /etc/esxcloud/r" 2 days ago Up About a minute housekeeper_installer 5f8690fa305b esxcloud/deployer "bash /etc/esxcloud/r" 2 days ago Up About a minute deployer_installer e677a66bcf20 esxcloud/management-api "bash /etc/esxcloud/r" 2 days ago Up About a minute management-api_installer 37a2c29482dd esxcloud/zookeeper "bash /etc/esxcloud/r" 2 days ago Up About a minute zookeeper_installer esxcloud [ ~ ]$ docker restart 3a002da677db 3a002da677db esxcloud [ ~ ]$ docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 3a002da677db esxcloud/installer_ui "/bin/sh -c 'sh /etc/" 2 days ago Up 1 seconds ui_installer dff68fdb8e92 esxcloud/cloud-store "bash /etc/esxcloud/r" 2 days ago Up About a minute cloud-store_installer 05ccbefd05e3 esxcloud/housekeeper "bash /etc/esxcloud/r" 2 days ago Up About a minute housekeeper_installer 5f8690fa305b esxcloud/deployer "bash /etc/esxcloud/r" 2 days ago Up About a minute deployer_installer e677a66bcf20 esxcloud/management-api "bash /etc/esxcloud/r" 2 days ago Up About a minute management-api_installer 37a2c29482dd esxcloud/zookeeper "bash /etc/esxcloud/r" 2 days ago Up About a minute zookeeper_installer esxcloud [ ~ ]$
Now you should be able to start a new Photon Controller deployment.