Welcome to the Linux Foundation Forum!

Lab 3.2 #7: Create and use a Discovery Token CA Cert Hash

error execution phase preflight: [preflight] Some fatal errors occurred:
[ERROR FileContent--proc-sys-net-ipv4-ip_forward]: /proc/sys/net/ipv4/ip_forward contents are not set to 1
[preflight] If you know what you are doing, you can make a check non-fatal with --ignore-preflight-errors=...
To see the stack trace of this error execute with --v=5 or higher

Attached herewith screenshots

Comments

  • cziaul
    cziaul Posts: 39

    @serewicz Yes, I allowed traffic and also completed all the steps yesterday. I am interested to learn and go with crio, hope you will help me to learn. Attached here details. Please let me know, if you want to see anything else.

  • cziaul
    cziaul Posts: 39

    Just one info on above doc, I inadvertently added 10.2.0.3 in worker hosts file. should be 10.2.0.2, which I corrected and still having same problem

  • cziaul
    cziaul Posts: 39

    Here is updated doc

  • chrispokorni
    chrispokorni Posts: 2,606

    Hi @cziaul,

    In your latest kubeadm join attempt, you missed sudo from your command. Any kubeadm command needs to be run by root, or run with sudo from the student account. This is also reflected in the ERROR message of your screenshot.

    Regards,
    -Chris

  • cziaul
    cziaul Posts: 39

    @chrispokorni if you see my latest doc above, i already corrected that.

  • chrispokorni
    chrispokorni Posts: 2,606

    Also, running kubeadm join several times in a row will cause more ERRORS.

    After an unsuccessful join, it is recommended to run kubeadm reset on the worker node, then attempt the kubeadm join again.

    Keep in mind however that a reset will not fully "clean-up" the environment configured by the prior join, so there is a chance that it may still not allow for a successful join.

  • cziaul
    cziaul Posts: 39
    edited July 2020

    I figured out where was the problem. I missed one of the crio command. Thanks.

  • cziaul
    cziaul Posts: 39

    @serewicz Last one ;-) please take a look attached screen shot. Any idea why 10.88.0.7:80 and 10.88.0.8:80 showing error but 10.88.0.5:80 is showing html? Just wondering what I am missing. Thanks.

Categories

Upcoming Training