CRI-O systemd unit not picking up /etc/sysconfig/crio.minikube and thus not setting --insecure-registry #11729
Labels
co/runtime/crio
CRIO related issues
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
kind/bug
Categorizes issue or PR as related to a bug.
priority/important-longterm
Important over the long term, but may not be staffed and/or may need multiple releases to complete.
Steps to reproduce the issue:
Started thus:
Now, do
minikube ssh
and:You will see that the command used is
/usr/bin/crio --log-level=debug
. However, this is incomplete. Looking at/etc/systemd/system/multi-user.target.wants/crio.service
you will see that it refers to/etc/sysconfig/crio.minikube
, which importantly has extra arguments for--insecure-registry
. However, it seems that/etc/sysconfig/crio.minikube
was not used.This breaks the registry add-on out of the box.
As a workaround, do a quick:
And you will see that
--insecure-registry
has now been set properly.My guess is that somehow the "crio.minikube" file was create too late during the setup process.
The text was updated successfully, but these errors were encountered: