Skip to main content

Hi Folks,

 

I wasted a lot of time in my life doing dumb things. Luckily a remain young in spirit and continue to do dumb things even now. Like troubleshooting an ignition process on Flatcar when the issue was staring me in the face. When dealing with failures and errors be it in backup or anything else try the “metaphor” method in order to help you solve the problem. 

For me it was that services were not starting when booting the immutable OS. Permission denied came up in the journalctl output but it made no sense since that part of the filesystem was chmod with the right access. Then I checked the location and the files were there with the correct names but… there size was zero. I checked the ignition file creation and all looked fine. I struggled until it hit me when on my walk and passing by a location that I used to frequent quite often.. the beer store. 

If you are in line up to buy beer and you have brought your empty bottles to cash in on the recycling refund.. you can’t just take one of those bottles and quench your first right away. Those bottles are empty!! You need to get to the cash register first, hand in the old empties and get the new 24 pack of beer that is full. Then you can happily digest your beer.

So in my flatcar ignition script I had the Kubeadm service being deployed and doing its pre boot magical setup BUT.. I put the netword section after the systemd section. DUH!! without any network settings the ignition process could not reach the network and  go out to download the binaries. So like me trying in the past to drink an empty bottle before purchasing the new full one 🙂. Flatcar Linux,  being of positive spirit and “lets just get it done” attitude nevertheless provided a “best effort” and created the empty files which in turn were useless since they were boneless binary files!

So just remember check the simple stuff first like what order your commands are in during your script if the process that you are dealing with works sequentially!!

 

P.S. hope to have a post out soon in the Kubernetes Korner on how you can use an old laptop to leverage KVM and Flatcar Linux to bring up a Kubernetes cluster on an immutable OS.

Ah I spoke too soon.. yes it worked but.. now it is not setting the static IP address.. ah to go back to my pre-IT days when on a Saturday morning I would sleep until 1PM and had no worries!!


Staples of IT logic and common sense.  Let us know how this goes.


This leads me to my next lazy challenge.. ALWAYS READ THE DOCUMENTATION CAREFULLY, and be sure to NOTICE everything in print. This was like the time when I was in Koln Germany and decided to avoid the expensive hotel bar and room fridge rip off minibar by visiting a normal neighborhood grocery store. In the excitement of the sights and sounds of such a great place I got complacent and purchased 15 big bottles of beer failing to read carefully the labels and important notices on the box. Upon arriving back in my room I got right down to business but soon realized I was missing the old pleasant first effect of a downed Lager.. then to my horror I saw on the label “Alkoholfrei”!! I was stuck with 15 of these things. However, where there is a will there is a way so I went back purchased some “STRONG” beer and simply mixed the two.

Same here a : is not an = sign and you won’t get the same effect from it!!

All good now!


This leads me to my next lazy challenge.. ALWAYS READ THE DOCUMENTATION CAREFULLY, and be sure to NOTICE everything in print. This was like the time when I was in Koln Germany and decided to avoid the expensive hotel bar and room fridge rip off minibar by visiting a normal neighborhood grocery store. In the excitement of the sights and sounds of such a great place I got complacent and purchased 15 big bottles of beer failing to read carefully the labels and important notices on the box. Upon arriving back in my room I got right down to business but soon realized I was missing the old pleasant first effect of a downed Lager.. then to my horror I saw on the label “Alkoholfrei”!!

Same here a : is not an = sign and you won’t get the same effect from it!!

All good now!

RTFM as I always say when asked questions. 😂


Comment