Bug 1992148 - [Azure CSI] cannot deploy Azure Disk on ASH because /etc/kubernetes is read-only fs
Summary: [Azure CSI] cannot deploy Azure Disk on ASH because /etc/kubernetes is read-o...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Storage
Version: 4.9
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.9.0
Assignee: Mike Fedosin
QA Contact: Wei Duan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-08-10 16:10 UTC by Mike Fedosin
Modified: 2021-10-18 17:45 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-10-18 17:45:44 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift azure-disk-csi-driver-operator pull 29 0 None None None 2021-08-10 16:36:25 UTC
Red Hat Product Errata RHSA-2021:3759 0 None None None 2021-10-18 17:45:58 UTC

Description Mike Fedosin 2021-08-10 16:10:26 UTC
Description of problem:
When deploying Azure CSI driver on ASH, we see this error:

Warning  Failed  5m43s (x26720 over 4d2h)  kubelet  (combined from similar events): Error: container create failed: time="2021-08-10T15:41:20Z" level=error msg="container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: rootfs_linux.go:76: mounting \"/var/lib/kubelet/pods/9b6be4b7-86c2-45e1-a6ce-032faf62a332/volume-subpaths/azure-cfg/csi-driver/3\" to rootfs at \"/etc/kubernetes/azurestackcloud.json\" caused: open /var/lib/containers/storage/overlay/ed6766de84eff62c52dc3446d5e4b77e2ca9ff2232c6357bff773ff3cd0e0a22/merged/etc/kubernetes/azurestackcloud.json: read-only file system"

Seems like this happens because we try to mount azurestackcloud.json file to /etc/kubernetes which is read-only: https://github.com/openshift/azure-disk-csi-driver-operator/blob/master/assets/controller.yaml#L74

Comment 2 Wei Duan 2021-08-24 02:06:31 UTC
Verified pass on 4.9.0-0.nightly-2021-08-22-070405

Azure CSI driver installed successfully on ASH.

Comment 5 errata-xmlrpc 2021-10-18 17:45:44 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: OpenShift Container Platform 4.9.0 bug fix and security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:3759


Note You need to log in before you can comment on or make changes to this bug.