-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
create cluster - No Networks found by name "Joyent-SDC-Public" #78
Comments
Are you still having this issue after the go rewrite? |
I can confirm, I just tried in a Private Cloud also. Also, the managers aren't coming up clean if the entire cluster gets rebooted at the same time. Can we deploy mysql autopilotpattern/mysql? edit: https://github.com/autopilotpattern/mysql
|
I found out that by changing the "triton_network_names" default to "my_default_network" in the following two files worked.
I found this quite quickly by using git grep.
I imagine that there is some logic that is not over riding that default. I might dig into later if I get some time. But this should help until @fayazg can fix it. |
Hm.
root@e3b75fc5-3621-cdd8-f9dd-c9acbf4a37e9:~/triton-kubernetes# git grep Joyent-SDC-Public Do I have to change the "toFind" string in networks_test.go and rebuild? |
Deploying a pair of managers in an on premise Triton installation works like charm. triton-kubernetes talks to the api to learn images, packages and networks.
Deploying a cluster (and nodes for it) does not work because the network "Joyent-SDC-Public" is defined somewhere statically and cannot be changed during the "question and answer" phase.
And changing various occurrences of "Joyent-SDC-Public" in various terraform *tf files did not help either.
The error message is:
Error: Error refreshing state: 1 error(s) occurred:
module.cluster_triton_cl2.data.triton_network.networks: 1 error(s) occurred:
module.cluster_triton_cl2.data.triton_network.networks: data.triton_network.networks: No Networks found by name "Joyent-SDC-Public"
It would be nice, if the network variable could be changed for every time, it is required by Terraform to create the respective VMs.
The text was updated successfully, but these errors were encountered: