https://pulumi.com logo
d

damp-pillow-67781

10/11/2019, 5:26 PM
Hi, I've run into the issue that pulumi up is hanging forever until I ctrl+c and stop it. It's on my newly provisioned centos7 machine. Any idea on why that's happenning? It runs fine on my mac.
Copy code
➜  eks-cluster git:(develop) ✗ pulumi up --logtostderr -v=7 --debug 2> out.txt
Previewing update (tableau/online-sandbox-yding):

     Type                 Name                              Plan       Info
 +   pulumi:pulumi:Stack  eks-cluster-online-sandbox-yding  create...  debug: RegisterResource RPC finished: resource:eks-cluster-online-sandbox-yd
g

gentle-diamond-70147

10/11/2019, 5:30 PM
Hi, what version of node are you running?
If you're on Node 12, can you try downgrading to Node 10 (the current LTS version) and see if you get the same issue?
d

damp-pillow-67781

10/11/2019, 5:30 PM
v12.11.1
Sure, will try
d

damp-book-35965

10/11/2019, 5:42 PM
I do think that the docs on the pulumi install page should recommend downloading the LTS version
It just says 8+ for now..
g

gentle-diamond-70147

10/11/2019, 5:43 PM
@damp-book-35965, agreed. I'll open an issue to update.
👍 2
d

damp-pillow-67781

10/11/2019, 5:47 PM
yeah downgrading to node 10 fixes it, thanks!
g

gentle-diamond-70147

10/11/2019, 5:47 PM
@damp-pillow-67781 thanks for confirming!
l

lemon-spoon-91807

10/11/2019, 6:05 PM
Thanks for the report. I'm working on a fix for this now
it's pri0 for us
should hopefully have build you can try out by monday
w

white-balloon-205

10/11/2019, 8:24 PM
Just to cross-reference - we are tracking this in https://github.com/pulumi/pulumi/issues/3309.
w

worried-city-86458

10/12/2019, 9:33 PM
v12 will be active LTS in just over a week
l

lemon-spoon-91807

10/12/2019, 9:39 PM
hi @worried-city-86458 We're working hard on a fix here.
I've got a PR for this here https://github.com/pulumi/pulumi/pull/3325 which should solve the issue entirely for most users.
w

worried-city-86458

10/12/2019, 9:40 PM
I’m sure you are. Much appreciated too!
l

lemon-spoon-91807

10/12/2019, 9:40 PM
This is top pri for us, and we hope to have the fix out asap.
We just want to make totally sure it's really the right approach and best thing for short/medium/long-term health for us and the community 🙂
w

worried-city-86458

10/12/2019, 9:43 PM
I’d be happy with async everywhere if / when top-level async (TLA) becomes available
l

lemon-spoon-91807

10/12/2019, 9:43 PM
Understood
Note: i have a PR to make things nicer in Pulumi prior to that happening
This would allow for near top-level
await
with minimal syntactic cruft you need to add.
w

worried-city-86458

10/12/2019, 9:44 PM
Just hoping the door will stay open for TLA as deasync seemed to be about hiding those details
l

lemon-spoon-91807

10/12/2019, 9:45 PM
i love that TLA is itself a TLA (three letter acronym) 😄
w

worried-city-86458

10/12/2019, 9:47 PM
If C# support ever happens then I’d be really happy and expect use of async everywhere
l

lemon-spoon-91807

10/12/2019, 9:47 PM
It looks like V8, Nodejs and TypeScript are all working toward TLA. V8: https://v8.dev/features/top-level-await
i talked to the TS PM. They wanted it in the latest release, but it slipped slightly. Should be in the next one.
If C# support ever happens then I’d be really happy and expect use of async everywhere
Yup, that's on my plate. And that's my expectation for what would be happening.
w

worried-city-86458

10/12/2019, 9:49 PM
Cool. Fingers crossed for both TS and C# in future.
Just needs a library so these envs support launching outside Pulumi CLI so step debugging works.
l

lemon-spoon-91807

10/12/2019, 9:51 PM
Good point!
w

worried-city-86458

10/12/2019, 9:53 PM
Support for that would be very useful as you can learn a system much faster by debugging into it
l

lemon-spoon-91807

10/12/2019, 9:53 PM
note: i'm a personal fan of programs that you pass a debug flag to, and htey basically break at some point and allow you to attach a debuger then
then you don't have to worry "is this running differently depending on lib form versus cli form"
but thanks for all the feedback!
w

worried-city-86458

10/12/2019, 10:02 PM
No worries. Thanks for listening.
Re debug flag, that’s what Cake build (C# Make) does.