-
Notifications
You must be signed in to change notification settings - Fork 84
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
Promise leaks in v3 release #1466
Comments
From: #1425 (comment) |
@ffMathy this is relatively difficult for us to chase down from this description only, do you have any hints on how to reproduce? Apparently also there is this environment variable that may collect more information to help us fix the issue:
|
Yes, sorry. I will provide new input with that given environment variable as soon as possible. |
Here are the leaks:
There are tons more. Hundreds. But that's too large for GitHub. And it just repeats. |
Thanks @ffMathy! Could you add your pulumi program, or a minimal repro if you have one, so we can further debug this? It seems like the affected component is I wonder if this is related to this issue here: pulumi/pulumi#13307 (comment) |
I can't create a repro right now unfortunately. The code base is huge and we are quite busy for Q4 work that needs to be finished. The code I am using is this:
Do you need more? Perhaps the VPC, cluster and security group too? |
Thanks! If you could also add the VPC, cluster and security group it would be great! |
More details for everything related to the Node group, security group and cluster.
Furthermore, this is the VPC:
|
I just tried to reproduce this with the provided example and wasn't able to. Need to dig into this some more. |
Hey! I've been having a similar issue with v3 of this module, requiring me to downgrade back to 2.x to be able to deploy updates 😅. What would you need as a minimum repro sample to hopefully debug this issue? Thankfully my setup is super small, so it should be easy to debug (?), should I make a repo / gist for this? I'll attach the list of leaks for this, hopefully it helps.. |
A small repro can make a huge difference for us in being able to narrow down on the fix quickly. |
After battling deploys of EKS clusters on my local account, I've reached a reproduction sample thats super short! import { version } from "./package.json";
import * as aws from "@pulumi/aws";
import * as eks from "@pulumi/eks";
import * as k8s from "@pulumi/kubernetes";
import { envString } from "./src/lib/shared";
console.log(`Hello, world! ${version}`);
const sharedConfigs: eks.ClusterOptions = {
nodeAssociatePublicIpAddress: true,
name: `eks-Cluster-test_cluster_${envString}`,
// Update version as time goes on to avoid extra costs
version: "1.31",
};
const cluster = new eks.Cluster("test-cluster", {
instanceType: aws.ec2.InstanceType.C6a_Large,
minSize: 1,
maxSize: 2,
desiredCapacity: 1,
...sharedConfigs,
});
const k8sProvider = cluster.provider;
// create DISCORD_BOTS namespace
// Comment this out and see the issue vanishes
// new k8s.core.v1.Namespace(
// 'discord-bots-ns',
// { metadata: { name: 'discord-bots' } },
// { provider: k8sProvider, parent: cluster },
// ); Whenever I uncomment the code that creates the namespace in k8s, the leaking promises error is immediately shown, but when it's commented out, pulumi just works like dandy! FWIW it could be my fault, maybe I've missed some change from v2.x to 3.x, but I can't exactly see any... Unless |
What happened?
User comment:
Example
Need a repro.
Output of
pulumi about
N/A
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: