-
Notifications
You must be signed in to change notification settings - Fork 45
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
sunbeam/maas/terraform/networking: dial tcp 172.20.x.x:17070: i/o timeout #657
Comments
Hi @javacruft, thanks for filing this bug.
provider "juju" {
controller_addresses = "<ip1>,<ip2>"
username = "<redacted>"
password = "<redacted>"
} Or did you rely on environment vars or auto-discovery via the juju cli? |
Hi @SimoneDutto had a quick check All of our plans leave the provider definition unset: https://github.com/canonical/sunbeam-terraform/blob/main/main.tf#L27
which I'm guessing is falling back on auto-discovery? |
i took a look at your repository, it could be that you have some environment variables set in your github actions. The Also, if you can point me to a failing github action with the |
while we are investing the issue, you could set the address from within the provider definition. Can you test it? provider "juju" {
controller_addresses = "<ip>:<port>"
} |
@javacruft any luck with the previous suggestions? |
Description
sunbeam: 2024.1/candidate
MAAS based deployment with multiple network spaces:
internal
infra (public)
and others which are not pertinent to this bug.
The client deploying the cloud has a connection to the infra network only; the Juju controller is deployed to a machine which has configured network interfaces on the internal and infra networks.
Both of these appear in the controller.yaml in the client but only one is addressable from the client (the infra one).
The juju command line tool seems to deal with this fine; however when applying terraform plans using the juju provider application will sometimes fail:
15:04:41,917 sunbeam.core.terraform WARNING
Error: Not Found
with juju_application.traefik-rgw[0],
on main.tf line 396, in resource "juju_application" "traefik-rgw":
396: resource "juju_application" "traefik-rgw" {
dial tcp 172.20.0.5:17070: i/o timeout
Error: Not Found
The 172.20.0.5 address is the controllers configured network interface on the internal network which the client will not be able to contact.
Urgency
Blocker for our release
Terraform Juju Provider version
0.15.1
Terraform version
1.5.7
Juju version
3.6.2
Terraform Configuration(s)
Reproduce / Test
Debug/Panic Output
Notes & References
No response
The text was updated successfully, but these errors were encountered: