-
buckaroo joined the channel
-
buckaroo has quit
-
mfg joined the channel
-
catsby joined the channel
-
sarkis joined the channel
-
ryanuber joined the channel
-
thegedge
failshell: it works for us. Is the instance on a private subnet? If so you'll need to set up a NAT.
-
Also make sure your egress rules aren't blocking relevant ports (HTTP, HTTPS, and anything else your chef setup may need)
-
failshell
thegedge: the subnet has an associated gateway. also have an egress allowing all outbound ports
-
thegedge
Do you explicitly specify the chef version? There used to be a bug where it would fail if you left the version attribute empty.
-
Not sure if that fix got into 0.6.0
-
failshell
the version's specified
-
thegedge
Then I'm out of ideas :)
-
failshell
anyway, ive put my instances public for now and will control access with ingress rules for now
-
rbowlby joined the channel
-
thegedge has quit
-
bgyss joined the channel
-
jdotp joined the channel
-
RobertBirnie joined the channel
-
BRMatt joined the channel
-
bbhoss has quit
-
Leftwee is now known as Lefty
-
moderation joined the channel
-
jacobwg joined the channel
-
bbhoss joined the channel
-
andyshinn joined the channel
-
billputer joined the channel
-
gyre007 joined the channel
-
azerus joined the channel
-
azerus joined the channel
-
manytrees joined the channel
-
serverascode joined the channel
-
meatballhat joined the channel
-
jasonkeene has quit
-
revw joined the channel
-
benhouse joined the channel
-
kingryan joined the channel
-
kingryan
has anyone else seen an issue where terraform hangs while setting up provisioners?
-
when I run plan or refresh in the last day, it never finishes
-
alanwill joined the channel
-
hazmat joined the channel
-
jasonkeene joined the channel
-
Lefty
kingryan: same
-
I'm rebooting my workstation to see if that's the issue
-
have you set GOMAXPROCS, and if so, what to?
-
aznashwan has quit
-
kingryan
i have not set it
-
i rebooted my machine yesterday and that didn’t help
-
phinze joined the channel
-
stlalpha joined the channel
-
when terraform hangs on me, there are several processes running and it seems that they’re all blocked on some file desciptor, but not sure which
-
perhaps a deadlock of some kind?
-
em-dash joined the channel
-
anyone have any times on how to debug this?
-
it appears they’re running select forever on nothing: select(0x0, 0x0, 0x0, 0x0, 0x208C55F38) = 0 0
-
tphummel joined the channel
-
thegedge joined the channel
-
Lefty
I'm having a hard time debugging it
-
phinze: are you around to lend assistance?
-
phinze
Lefty: yo - what's up - terraform hanging?
-
TF_LOG=1 and no output on hang?
-
kingryan
phinze: same for me
-
Lefty
correct, kingryan is having the same issue
-
strace shows a lot of futexes in FUTEX_WAIT
-
kingryan
it appears to stall during setup for provisioners and providers
-
Lefty
and a ton of ETIMEDOUT
-
kingryan
dtruss shows a lot of select polling (I’m on a mac)
-
phinze
can you open an issue and post debug logs?
-
so context -
-
Lefty
I'll do that, kingryan if you can comment your findings
-
kingryan
sure
-
Lefty
will post the issue url in a sec
-
phinze
terraform kicks off a bunch of goroutines to handle the graph walk
-
i'd expect a deadlock to continuously output to logs
-
i recently added a few timers in there that are supposed to help with that
-
there's basically an "as wide as we can go" parallel graph walk happening
-
kingryan
phinze: perhaps I made my graph too wide recently
-
phinze
whose actual parallelism is limited by GOMAXPROCs
-
kingryan
i also just tried setting GOMAXPROCS to a ridiculously high number and that didn’t help
-
phinze
and there's an internal parallelism limit that's currently hardcoded
-
kingryan
ah
-
phinze
though some work has been done in a PR to try and expose it as a tunable
-
buckaroo joined the channel
-
kingryan
not clear how a parallelism limit could cause no progress
-
Lefty
-
I've tried with GOMAXPROCS unset, and GOMAXPROCS=16
-
should I try setting it higher?
-
ajw0100 joined the channel
-
andrewwa_ joined the channel
-
buzzedword joined the channel
-
andrewwatson has quit
-
interestingly kingryan started seeing this problem at approximately the same time yesterday
-
and our setups could not be any less related, heh
-
nathanleclaire joined the channel
-
Viperz28 joined the channel
-
jasonkeene has quit
-
rbowlby joined the channel
-
katherine joined the channel
-
rbowlby joined the channel
-
catsby joined the channel
-
kingryan
Lefty: yeah , makes me feel like one of the services is not responding
-
Lefty
whee, bintray is slow today
-
downloading 0.5.3 to test with
-
jasonkeene joined the channel
-
Luke joined the channel
-
phinze: only problem with 0.5.3 is that I run into 0.5.3 bugs with providers, so my catalog doesn't compile
-
I'm trying to rip out the 0.6 specific stuff now
-
ibains007 joined the channel
-
ipmango_ joined the channel
-
sarkis joined the channel
-
rbowlby joined the channel
-
ipmango joined the channel
-
andrewwatson joined the channel
-
andrewwatson has quit
-
andrewwatson joined the channel
-
catsby joined the channel
-
ipmango joined the channel
-
Luke joined the channel
-
rbowlby joined the channel
-
Luke joined the channel
-
sarkis
-
would be so nice to have a destroy hook :(
-
Trynity has left the channel
-
::crickets::
-
thegedge
*tumbleweeds*
-
sarkis
haha
-
failshell
thegedge: you were right earlier, we have no NAT in place in our VPCs right now
-
kingryan
phinze: sorry to be annoying, but you have any idea about the issue above? i’m currently totally blocked on using terraform
-
katherine has quit
-
mfg joined the channel
-
phinze
kingryan: sorry for the sadness. working to get some eyeballs on it - we're spread sort of thin today
-
kingryan
ok. thanks for all the help
-
thegedge
failshell: you mentioned having a gateway though, I'm asuming an internet gateway?
-
failshell
thegedge: yeah. thought that would provide NAT'ing :) seems it doesn't. i find that silly. but meh hehe
-
thegedge
It should, but you need to set up your route table to go through it
-
0.0.0.0/0 —> igw-id
-
failshell
that's what i have
-
thegedge
Does the instance have a public IP?
-
failshell
that one didnt
-
thegedge
If not, that'll be an issue too
-
Yeah, it needs a public ip for that to work :)
-
Otherwise, NAT
-
To talk to the internet, you need something with a public IP
-
We're working on HA NATs for our own stuff. I wish EC2 provided that.
-
failshell
i thought the internet gateway did that. even for private instances.
-
yeah. and VPN from VPC to VPC. or cross-region VPC peering
-
thegedge
Yep!
-
failshell
i have to deploy VPNs next
-
ryanuber joined the channel
-
rbowlby_ joined the channel