-
Notifications
You must be signed in to change notification settings - Fork 4
Photon controller install fails with timeout #111
Comments
photon-installer.log has these lines at the end. 2017-04-28 08:40:21 DEBUG ControllerClusterInstaller:256 - Info: Checking if photon controller service is running at 10.110.48.60 : Count 287 |
You are short a line:
Make sure you put that in or lightwave won't function. |
Thanks, where do I insert that in the installer yaml. |
Below and at the same indentation level as the Check the example config. |
having the same problem - group was already in there. here is my config compute: |
DNS for your hosts and controllers must be the IP address of the LW VM (192.168.110.91) |
Thank you Michael - it worked with no issues! |
Tried out but looks like what I'm observing is a different issue. I can repro and pass on any logs if needed. |
@govint Create a new issue with new logs. |
Hello Michael. any idea whats going wrong. |
Installed the installer OVA and ran photon-setup platform with a configuration (see below). Setup fails with a timeout in trying to install the Photon controller.
2017-04-28 08:28:01 INFO Installing Lightwave
2017-04-28 08:28:01 INFO Install Lightwave Controller at lightwave-1
2017-04-28 08:28:21 INFO Info: Lightwave does not exist at the specified IP address. Deploying new Lightwave OVA
2017-04-28 08:28:21 INFO Start [Task: Lightwave Installation]
2017-04-28 08:28:21 INFO Info [Task: Lightwave Installation] : Deploying and powering on the Lightwave VM on ESXi host: 10.110.48.56
2017-04-28 08:28:21 INFO Info: Deploying and powering on the Lightwave VM on ESXi host: 10.110.48.56
2017-04-28 08:28:21 INFO Info [Task: Lightwave Installation] : Starting appliance deployment
2017-04-28 08:28:34 INFO Progress [Task: Lightwave Installation]: 20%
2017-04-28 08:28:38 INFO Progress [Task: Lightwave Installation]: 40%
2017-04-28 08:28:46 INFO Progress [Task: Lightwave Installation]: 80%
2017-04-28 08:28:50 INFO Progress [Task: Lightwave Installation]: 0%
2017-04-28 08:28:51 INFO Stop [Task: Lightwave Installation]
2017-04-28 08:29:39 INFO Info: Lightwave already exists. Skipping deployment of lightwave.
2017-04-28 08:29:39 INFO COMPLETE: Install Lightwave Controller
2017-04-28 08:29:39 INFO Installing Photon Controller Cluster
2017-04-28 08:29:39 INFO Info: Installing the Photon Controller Cluster
2017-04-28 08:29:39 INFO Info: Photon Controller peer node at IP address [10.110.48.60]
2017-04-28 08:29:39 INFO Info: 1 Photon Controller was specified in the configuration
2017-04-28 08:29:39 INFO Start [Task: Photon Controller Installation]
2017-04-28 08:29:39 INFO Info [Task: Photon Controller Installation] : Deploying and powering on the Photon Controller VM on ESXi host: 10.110.48.56
2017-04-28 08:29:39 INFO Info: Deploying and powering on the Photon Controller VM on ESXi host: 10.110.48.56
2017-04-28 08:29:39 INFO Info [Task: Photon Controller Installation] : Starting appliance deployment
2017-04-28 08:29:52 INFO Progress [Task: Photon Controller Installation]: 20%
2017-04-28 08:29:56 INFO Progress [Task: Photon Controller Installation]: 40%
2017-04-28 08:30:00 INFO Progress [Task: Photon Controller Installation]: 60%
2017-04-28 08:30:05 INFO Progress [Task: Photon Controller Installation]: 80%
2017-04-28 08:30:10 INFO Progress [Task: Photon Controller Installation]: 0%
2017-04-28 08:30:10 INFO Stop [Task: Photon Controller Installation]
2017-04-28 08:30:10 INFO Info: Getting OIDC Tokens from Lightwave to make API Calls
2017-04-28 08:30:11 INFO Info: Waiting for Photon Controller to be ready
2017-04-28 08:40:50 ERROR Error: The PC node at 10.110.48.60 failed to provide correct status after 300 iterations
2017-04-28 08:40:50 ERROR Error: Failed to install Controller Cluster
com.vmware.photon.platform.setup.installer.InstallException: The PC node at 10.110.48.60 failed to provide correct status after 300 iterations
at com.vmware.photon.platform.setup.installer.ControllerClusterInstaller.checkPhotonStatus(ControllerClusterInstaller.java:262)
at com.vmware.photon.platform.setup.installer.ControllerClusterInstaller.install(ControllerClusterInstaller.java:165)
at com.vmware.photon.platform.setup.installer.PhotonSetupImpl.InstallPhotonControllerCluster(PhotonSetupImpl.java:87)
at com.vmware.photon.platform.setup.PlatformInstaller.InstallPhoton(PlatformInstaller.java:143)
at com.vmware.photon.platform.setup.PlatformInstaller.install(PlatformInstaller.java:73)
at com.vmware.photon.platform.setup.PhotonSetup.main(PhotonSetup.java:47)
com.vmware.photon.platform.setup.installer.InstallException: Error: Failed to install Controller Cluster
The configuration used is this:
compute:
hypervisors:
esxi-1:
hostname: "esxi-1"
ipaddress: "10.110.48.56"
dns: "10.112.64.1"
credential:
username: "root"
password: "...."
lightwave:
domain: "dvs.com"
credential:
username: "administrator"
password: "...."
controllers:
lightwave-1:
site: "blr"
appliance:
hostref: "esxi-1"
datastore: "bigone"
credential:
username: "root"
password: "...."
network-config:
network: "NAT=VM Network"
type: "static"
hostname: "lightwave-1.example.com"
ipaddress: "10.110.48.59"
dns: "10.112.64.1"
ntp: ""
netmask: "255.255.255.192"
gateway: "10.110.48.61"
photon:
imagestore:
img-store-1:
datastore: "bigone"
enableimagestoreforvms: "true"
cloud:
hostref1: "esxi-1"
controllers:
pc-1:
appliance:
hostref: "esxi-1"
datastore: "bigone"
credential:
username: "root"
password: "...."
network-config:
network: "NAT=VM Network"
type: "static"
hostname: "pc-1.example.com"
ipaddress: "10.110.48.60"
netmask: "255.255.255.192"
dns: "10.110.48.59"
ntp: ""
gateway: "10.110.48.61"
loadBalancer:
load-balancer-1:
appliance:
hostref: "esxi-1"
datastore: "bigone"
credential:
username: "root"
password: "...."
network-config:
network: "NAT=VM Network"
type: "static"
hostname: "lb-1.example.com"
ipaddress: "10.110.48.57"
netmask: "255.255.255.192"
dns: "10.110.48.59"
ntp: ""
gateway: "10.110.48.61"
The text was updated successfully, but these errors were encountered: