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
crio fails to start on CentOS 7 fresh installation #3631
Comments
@haircommander do you know what's to be done for: |
not sure about the |
@geragio can you try to change the line to |
note: this would come up with crio if crio-wipe wasn't called |
I changed mountopt as suggested and now crio.service starts without any error: ● crio.service - Container Runtime Interface for OCI (CRI-O) apr 22 20:44:10 localhost.localdomain systemd[1]: Starting Container Runtime Interface for OCI (CRI-O)... |
@dougsland the kernel on centos 7 seems to be too old for the metacopy=on option, can you remove it? |
If it can help, the kernel version I used for the test is: 3.10.0-1062.18.1.el7.x86_64 |
@geragio what's the output of |
I can't see metacopy=on in the default install of containers-common. Have you added metacopy=on by hand? @geragio |
The output is: containers-common-0.2.0-2.1.el7.x86_64 |
No, I didn't add anything by hand. I did the installation on a VM installed from scratch |
containers-common may be coming from somewhere that isn't OBS |
@geragio reproduced the report. My setup was not getting the package from OBS. Going to prepare a build with a patch for centos7. |
@geragio could you please test the new build available? If all good, please consider closing this report. Thanks! |
Hi @dougsland, it seems it's working correctly now. Now I'm running cri-o 2:1.17.2-5.1.el7 and the metacopy=on parameter disappeared from the storage.conf file Thank you so much for your precious support, I'm closing this issue |
metacopy is not recognized by old kernel versions. Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
metacopy is not recognized by old kernel versions. Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
metacopy is not recognized by old kernel versions. Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Description
Hi,
I think there is some problem with the installation of cri-o on CentOS 7(fresh installation)
I'm following the instructions reported on README.md but the service crio doesn't start
The problem seems to be on crio-wipe.service(which is a crio.service dependency), it can't find the file /var/run/crio/version when it starts
#3560
@lsm5
Steps to reproduce the issue:
Describe the results you received:
A dependency job for crio.service failed. See 'journalctl -xe' for details.
Describe the results you expected:
crio.service started
Additional information you deem important (e.g. issue happens only occasionally):
journalctl -xe output:
Unit crio-wipe.service has begun starting up.
apr 22 19:17:30 localhost.localdomain crio[1409]: version file /var/run/crio/version not found: open /var/run/crio/version: no such file or directory. Triggering wipetime="2020-0
apr 22 19:17:30 localhost.localdomain crio[1409]: time="2020-04-22 19:17:30.105869303+02:00" level=fatal msg="failed to mount overlay for metacopy check: invalid argument"
apr 22 19:17:30 localhost.localdomain kernel: overlayfs: unrecognized mount option "metacopy=on" or missing value
apr 22 19:17:30 localhost.localdomain systemd[1]: crio-wipe.service: main process exited, code=exited, status=1/FAILURE
apr 22 19:17:30 localhost.localdomain systemd[1]: Failed to start CRI-O Auto Update Script.
Subject: Unit crio-wipe.service has failed
Defined-By: systemd
Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Unit crio-wipe.service has failed.
The result is failed.
apr 22 19:17:30 localhost.localdomain systemd[1]: Dependency failed for Container Runtime Interface for OCI (CRI-O).
Subject: Unit crio.service has failed
Defined-By: systemd
Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Unit crio.service has failed.
The result is dependency.
apr 22 19:17:30 localhost.localdomain systemd[1]: Job crio.service/start failed with result 'dependency'.
apr 22 19:17:30 localhost.localdomain systemd[1]: Unit crio-wipe.service entered failed state.
apr 22 19:17:30 localhost.localdomain systemd[1]: crio-wipe.service failed.
apr 22 19:17:30 localhost.localdomain polkitd[719]: Unregistered Authentication Agent for unix-process:1403:86605 (system bus name :1.23, object path /org/freedesktop/PolicyKit1/
Output of
crio --version
:Additional environment details (AWS, VirtualBox, physical, etc.):
CentOS 7.7 1908 Minimal Installation
The text was updated successfully, but these errors were encountered: