When you mount an OSS persistent volume (PV), a mount path is created on the ECS node. Other processes on the ECS node that scan this mount path send requests to OSS. Some operating systems include the mlocate package by default and periodically scan the OSS PV mount paths on ECS nodes. During scanning, the OSS PV mount path remains occupied, which prevents you from uninstalling the OSS PV and slows down application access to the OSS PV. This topic describes solutions to these issues.
Scope of impact
Your cluster is affected if it meets both of the following conditions:
-
Node operating system: The node uses a known operating system version that includes mlocate by default, such as Alibaba Cloud Linux 2 or Anolis 7.
-
csi-plugin component: The component version is v1.26.7 or earlier, or v1.28.1.
The csi-plugin component versions v1.26.8 and v1.28.2 and later fix this issue. At startup, these versions modify the mlocate periodic scanning configuration to skip all OSS PV mount paths.
v1.26.8 of the csi-plugin component is in phased release. To use it, submit a ticket.
View Related Versions
-
Check the operating system version of your node pool.
Log on to the ACK console. In the left navigation pane, click Clusters.
On the Clusters page, click the name of your cluster. In the left navigation pane, click .
-
On the Node Pools page, check the operating system listed in the Operating System column for your node pool.
-
If you use a custom OS image, confirm whether the operating system is Alibaba Cloud Linux 2 or Anolis 7.
NoteAlibaba Cloud Linux 2 is the same as Aliyun Linux 2.
-
If you use an OS image provided by ACK, confirm whether the operating system is Aliyun Linux.
If either operating system is used, the mlocate package is present in your cluster.
-
-
Check the csi-plugin version of your cluster.
On the Clusters page, click the name of your cluster. In the left navigation pane, click Add-ons.
-
On the Add-ons page, click the Volumes tab. Find the csi-plugin component to view its version.
Solution
If your cluster is affected, upgrade the csi-plugin component.
On the Add-ons page, click the Volumes tab. Find the csi-plugin component and click Upgrade in the lower-right corner of the csi-plugin card to upgrade the component to v1.26.8, v1.28.2, or a later version.