kubernetes-sigs / kubespray

Deploy a Production Ready Kubernetes Cluster
Apache License 2.0
16.2k stars 6.49k forks source link

install cri-o on fcos failed because of Read-only file system #11715

Open spaced opened 5 days ago

spaced commented 5 days ago

What happened?

running cluster.yml result in

TASK [container-engine/cri-o : Cri-o | create directory for libexec] *******************************************************************************************************************************************
fatal: [node1]: FAILED! => {"changed": false, "msg": "There was an issue creating /usr/libexec/crio as requested: [Errno 30] Read-only file system: b'/usr/libexec/crio'", "path": "/usr/libexec/crio"}

What did you expect to happen?

run kubernetes cluster on fcos with cri-o

How can we reproduce it (as minimally and precisely as possible)?

on fcos os, run cluster.yml with

container_manager: crio

OS

Linux 6.11.3-200.fc40.x86_64 x86_64 NAME="Fedora Linux" VERSION="40.20241019.3.0 (CoreOS)" ID=fedora VERSION_ID=40 VERSION_CODENAME="" PLATFORM_ID="platform:f40" PRETTY_NAME="Fedora CoreOS 40.20241019.3.0" ANSI_COLOR="0;38;2;60;110;180" LOGO=fedora-logo-icon CPE_NAME="cpe:/o:fedoraproject:fedora:40" HOME_URL="https://getfedora.org/coreos/" DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora-coreos/" SUPPORT_URL="https://github.com/coreos/fedora-coreos-tracker/" BUG_REPORT_URL="https://github.com/coreos/fedora-coreos-tracker/" REDHAT_BUGZILLA_PRODUCT="Fedora" REDHAT_BUGZILLA_PRODUCT_VERSION=40 REDHAT_SUPPORT_PRODUCT="Fedora" REDHAT_SUPPORT_PRODUCT_VERSION=40 SUPPORT_END=2025-05-13 VARIANT="CoreOS" VARIANT_ID=coreos OSTREE_VERSION='40.20241019.3.0'

Version of Ansible

ansible [core 2.17.5] python version = 3.11.10 (main, Sep 09 2024, 17:03:08) [GCC] (/usr/bin/python3.11) jinja version = 3.1.4 libyaml = True

Version of Python

Python 3.11.10

Version of Kubespray (commit)

c4b53ff01

Network plugin used

calico

Full inventory with variables

..

Command used to invoke ansible

cluster.yml

Output of ansible run

TASK [container-engine/cri-o : Cri-o | create directory for libexec] *******************************************************************************************************************************************
fatal: [node1]: FAILED! => {"changed": false, "msg": "There was an issue creating /usr/libexec/crio as requested: [Errno 30] Read-only file system: b'/usr/libexec/crio'", "path": "/usr/libexec/crio"}

Anything else we need to know

No response