text
stringlengths
0
1.8k
My theory is, because of what we can see here - the way that this binary code was memory-mapped, we weren't actually able to understand where it's mapped. So the way that this works is - let's go back to our terminal, I would say, and we can inspect this, actually, the way that binary code is memory-mapped for the proc...
**Gerhard Lazu:** Okay.
**Frederic Branczyk:** So we can, again, look into our procfs - this is where all the magic happens in Linux...
**Gerhard Lazu:** Okay, so do we wanna go like on the host?
**Frederic Branczyk:** We can do the host, or the container. Yeah, it shouldn't matter. Both should work.
**Gerhard Lazu:** Okay, yeah. Let's go on the host. So we won't go on that -- let's see do we still have the CD? There we go. That's the proc. Yes?
**Frederic Branczyk:** Right. And here there's a file called maps...
**Gerhard Lazu:** Yes.
**Frederic Branczyk:** Yeah. So let's have a look at what it says in there. And the way that symbolization effectively works is that we take that memory address that we saw, and we try to find in which range within this file that memory address is from.
**Gerhard Lazu:** So this one right here. Okay. So that's the memory address. So do we need to do 7ff? I mean, I can see something here, 7ff...
**Frederic Branczyk:** Well, if you're able to search within your terminal, maybe we can -- it's a bit of a hack, but we can search for the address that you have copied, and we can just try to remove certain digits until we maybe get a match.
**Gerhard Lazu:** Okay. So let's remove those two
**Frederic Branczyk:** And as we can see, the ranges don't have the 0x prefix here, so we're gonna need to remove that.
**Gerhard Lazu:** Okay.
**Frederic Branczyk:** So this is an interesting one... And this is exactly why this is not working. So the way that this table works is that we have these ranges, and then it tells us on the very right, this is the binary that this executable code came from. Actually, the stack - I wanna say this could be a... I don't...
**Gerhard Lazu:** Yeah.
**Frederic Branczyk:** \[47:54\] So it could be that this is just an artifact of that. But because it's also a virtual machine, maybe there's something happening that we don't understand, and we are actually executing code that is on the stack. It seems unlikely, but it's one of those things where -- I'm not an expert ...
**Gerhard Lazu:** Yeah.
**Frederic Branczyk:** But my intuition says that this shouldn't be possible just from the way that processes work.
**Gerhard Lazu:** Right. Okay. So this is like the Erlang runtime itself, how it executes code on the kernel. That's what we would need to know.
**Frederic Branczyk:** Yes.
**Gerhard Lazu:** So I think that we have a person that we can ask, which is Lukas Larsson. Even though he's very busy, I know, and he's focused deep down on some very gnarly problems in the world of Erlang, we can ask him... And if you're interested to follow what happens - I mean, this is like pull request 396, is wh...
So what I would like to say is thank you very much, Frederic, for running us through Parka.
**Frederic Branczyk:** My pleasure.
**Gerhard Lazu:** I can see so much potential here... I really like where this is going and how simple it makes certain things. It makes me excited as to what's coming next year. But this was great. Thank you, Frederic.
**Break:** \[49:34\]
**Gerhard Lazu:** What we want to do is, first of all, fix this R, damn it. Someone can't type. Infrastructure... As if my life depended on it. Right. So we want in 2022 for the Changelog.com setup to use Crossplane to provision our Linode Kubernetes cluster. That's the goal. And the way we're thinking of achieving it ...
**Dan Mangum:** Yeah, I think -- well, there's a couple different parts here. In order to be able to test out anything that we generate, we're going to need a Crossplane control plane running somewhere. That being said, we need to generate and package up this provider to be able to install it in Crossplane, and go thro...
**Gerhard Lazu:** That is a good idea. I like it. But I have found issues when I went from kime to something else. GKE, LKE, any Rio cluster, because there's different things, like RBAC, for example, or different security policies, or who knows what. So I like starting with production, which is a bit weird, because you...
**Dan Mangum:** \[52:12\] Nice...
**Gerhard Lazu:** So this exists. I will contact you after my free trial... \[laughter\]
**Dan Mangum:** That's good.
**Gerhard Lazu:** So just before Easter, I'll say "Hey, Dan, is there like an Easter Egg in here, or something?" Cool.
**Dan Mangum:** We'll send you an email as a reminder... \[laughs\]
**Gerhard Lazu:** Cool. So we have a control plane, we have a Kubernetes cluster, which is this one... So K... K version, that's the one.
**Dan Mangum:** Also, just to note, you'll want to make sure to clean up that token that was exposed there before you post this anywhere, because that'll give folks the ability to get a kubeconfig to your cluster.
**Gerhard Lazu:** This token, yes. Thank you. Oh, yes. That would be quite the Christmas gift, wouldn't it? \[laughs\]
**Dan Mangum:** Yeah.
**Gerhard Lazu:** "Here you go! You have access to it. You can take everything down." That is a very good catch, thank you. Cool. We have Crossplane, we have access to it... Could we see the versions? So I use K9s, and I think you do, too. I've seen you use it a couple of times. It's a lot quicker. So these are all the...
**Dan Mangum:** Yup, that's good. Although, actually, by end of day today you'll be able to get as recent as 1.5.1. But a nice policy here is also -- and this will actually be rolling out today as well... You know, we have patches for minor versions, and your control plane will automatically receive the latest patch he...
**Gerhard Lazu:** Right, okay. But to get Terrajet to work, will I need a newer version of Crossplane, or is 1.3 sufficient?
**Dan Mangum:** 1.3 should be fine for what we're doing here. Terrajet just basically generates the provider, so as long as that provider is supported, then you're good.
**Gerhard Lazu:** Cool. Okay. We can connect to this, everything is running... Shall we just follow these instructions and see how far we can get?
**Dan Mangum:** Sure. Yeah, it sounds great. And a disclaimer for everyone at home - I am not intimately familiar with Terrajet actually, because we had another team of Crossplane contributors who have worked on this... So I'm gonna be learning as we go along here in terms of the actual generation process. So this shou...
**Gerhard Lazu:** That's amazing. So that is --
**Dan Mangum:** That's correct, Muvaffak; yup.
**Gerhard Lazu:** Okay. And Hassan.
**Dan Mangum:** Yup.
**Gerhard Lazu:** Okay, amazing.
**Dan Mangum:** All those folks are actually some of my co-workers at Upbound, and Muvaffak has been a Crossplane maintainer with me for a number of years now.