triton
triton copied to clipboard
post-setup common-external-networks documentation or installer bug
Goal: Install Triton Datacenter
Following this guide: https://docs.joyent.com/private-cloud/install/headnode-installation
Problem: I was able to install Triton up to the "sdcadm post-setup common-external-nics" point. At which point I continually received the following error: napi client error (ServiceUnavailableError): Initial network data not loaded
Work Around: I logged into the napi0 zone and looked at the napi config under:
/opt/smartdc/napi/config.json
I noticed that the external gateway, startIP, and EndIP's were all empty even though I did setup the external network using the initial installer and entered all of the missing data on first run.
"external": { "vlan": 12, "uuid": "", "network": "192.168.12.0", "netmask": "255.255.255.0", "gateway": "", "startIP": "", "endIP": "", "resolvers": ["8.8.8.8","8.8.4.4"] }
I populated the config file manually and restarted the napi service.
vi /opt/smartdc/napi/config.json
"external": { "vlan": 12, "uuid": "", "network": "192.168.12.0", "netmask": "255.255.255.0", "gateway": "192.168.12.252", "startIP": "192.168.12.1", "endIP": "192.168.12.251", "resolvers": ["8.8.8.8","8.8.4.4"] }
svcadm restart smartdc/application/napi)
And voila: [root@headnode (tpd) ~]# sdcadm post-setup common-external-nics Added external nic to adminui Added external nic to imgapi
I was then able to login to the operator console successfully.
forgot to mention that this is on the latest usb release: 20170817T070613Z
Anyone know what else might cause this? I have the same error but my configuration file is populated.
Check the contents of /usbkey/config
to verify that it has what you expect. This is usually a result of putting in invalid parameters (e.g., one or more of the gateway, host IP, start IP, end IP are outside of the subnet prefix).