Problem
When installing aiWARE - running ai hub install aidata generates this LB host was not found error.
INFO[0000] Installing aidata into channel prod...
INFO[0000] Checking LB hosts with edge controller...
ERRO[0000] Installation failed: LB host was not found. Please try again later
Error: LB host was not found. Please try again later
Error in running Application: LB host was not found. Please try again later
Cause
The ~/.config/aiware-cli.yaml does not have the correct default configuration. This might be because the file preexisted before running install.sh script.
Solution
Check the yaml file for the default configuration containing at least a url and a token for the AIWARE_INIT_TOKEN environment value as set up for installation. For example:
default:
url: http://localhost:9000/edge/v1
token: b7e8abe6-7b0a-4f3f-bd9c-f46cd04b3831Copy to clipboardErrorCopied
-
In the terminal, type the following command:
cat $HOME/.config/aiware-cli.yamlCopy to clipboardErrorCopied
-
Ensure that the following formatting is correct:
- Indentation
- Exactly 1 space before the word 'default' and 2 spaces before the words 'url' and 'token'