Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when bootstrapping criod fails to start on the bootstrap node #22

Open
RobVerduijn opened this issue Aug 30, 2024 · 0 comments
Open

when bootstrapping criod fails to start on the bootstrap node #22

RobVerduijn opened this issue Aug 30, 2024 · 0 comments

Comments

@RobVerduijn
Copy link

RobVerduijn commented Aug 30, 2024

when bootstrapping okd-scos 4.15.0-0.okd-scos-2024-01-18-223523 the criod service fails to start on the bootstrap machine.

according to the logs this is because /opt/cni already exists and is not a dir

  • booting the bootstrap node with rhcos 4.16.3
  • the bootstrap downloads and installs centos stream coreos 416.94.202406251923-0
  • reboots
    then the criod is not started with the error:
/opt/cni already exists and is not a dir

/opt/cni is a symlink to a nonexisting location

ls -als /opt/
total 4
0 drwxr-xr-x.  2 root root   17 Aug 30 16:17 .
4 drwxr-xr-x. 24 root root 4096 Aug 30 16:20 ..
0 lrwxrwxrwx.  1 root root   21 Aug 30 16:17 cni -> ../../usr/lib/opt/cni

remove-ing the symlink solves the issue, criod starts and the bootstrapping of the cluster finishes propperly.

@RobVerduijn RobVerduijn changed the title when when bootstrapping criod fails to start on the bootstrap node Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant