-
Notifications
You must be signed in to change notification settings - Fork 0
502's don't exit as not completed / failed #28
Copy link
Copy link
Open
Labels
bugAn issue with the system 🐛.An issue with the system 🐛.
Description
Shows completed ~
$ kgp
NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES
cluster-checkin-28242330-hgxvj 0/1 Completed 0 4m32s 10.42.139.79 node-3 <none> <none>
ddns-28242320-8bmvj 0/1 Completed 0 14m 10.42.139.89 node-3 <none> <none>But that's misleading ~
$ k logs -f ddns-28242320-8bmvj
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 157 100 157 0 0 288 0 --:--:-- --:--:-- --:--:-- 288
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.16.1</center>
</body>
</html>
Initializing the backend...
Initializing provider plugins...
- Reusing previous version of hashicorp/aws from the dependency lock file
- Using previously-installed hashicorp/aws v5.16.1
Terraform has been successfully initialized!
You may now begin working with Terraform. Try running "terraform plan" to see
any changes that are required for your infrastructure. All Terraform commands
should now work.
If you ever set or change modules or backend configuration for Terraform,
rerun this command to reinitialize your working directory. If you forget, other
commands will detect it and remind you to do so if necessary.
Error: No valid credential sources found
with provider["registry.terraform.io/hashicorp/aws"],
on terraform.tf line 12, in provider "aws":
12: provider "aws" {
Please see https://registry.terraform.io/providers/hashicorp/aws
for more information about providing credentials.
Error: failed to refresh cached credentials, no EC2 IMDS role found,
operation error ec2imds: GetMetadata, request canceled, context deadline
exceeded
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 157 100 157 0 0 309 0 --:--:-- --:--:-- --:--:-- 309
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.16.1</center>
</body>
</html>
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugAn issue with the system 🐛.An issue with the system 🐛.