Skip to content
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

"terraform apply" hangs right after creating the Slurm login service [soperator] #164

Open
afonsoinfante opened this issue Jan 19, 2025 · 0 comments

Comments

@afonsoinfante
Copy link

afonsoinfante commented Jan 19, 2025

Getting the following

module.login_script.terraform_data.wait_for_slurm_login_service[0]: Still creating... [5m 0s elapsed]
module.login_script.terraform_data.wait_for_slurm_login_service[0] (local-exec): error: timed out waiting for the condition on services/soperator-login-svc
Error: local-exec provisioner error
  with module.login_script.terraform_data.wait_for_slurm_login_service[0], on ../../modules/login/lb.tf line 4, in resource "terraform_data" "wait_for_slurm_login_service":
  4:   provisioner "local-exec" {
Error running command 'kubectl wait --for=jsonpath='{.status.loadBalancer.ingress}' --timeout=5m --context nebius-ainfante-slurm -n soperator service/soperator-login-svc': exit status 1. 
error: timed out waiting for the condition on services/soperator-login-svc

Removing the dependency in lb.tf did get past this, to only fail at input = one(one(one(one(data.kubernetes_service.slurm_login).status).load_balancer).ingress).ip.

I then tried to simply hardcode the LB IP, which worked, but that's an ugly workaround.

Note that this particular project on Nebius AI does not allow Public IPs, so to reproduce this issue please make sure you reflect that.

@afonsoinfante afonsoinfante changed the title "terraform apply" hangs right after creating the Slurm login service "terraform apply" hangs right after creating the Slurm login service [soperator] Jan 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant