Bug 1827982
Summary: | Azure-file mount fail on RHEL worker due to missing cifs-utils package | |||
---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Wei Duan <wduan> | |
Component: | Installer | Assignee: | Russell Teague <rteague> | |
Installer sub component: | openshift-ansible | QA Contact: | Wei Duan <wduan> | |
Status: | CLOSED ERRATA | Docs Contact: | ||
Severity: | high | |||
Priority: | medium | CC: | aos-bugs, chaoyang, xtian | |
Version: | 4.4 | |||
Target Milestone: | --- | |||
Target Release: | 4.5.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: |
Cause: On the Azure platform, the cifs-utils package is required to create volume mounts for pods.
Consequence: Pod volume mounts fail if the package is not installed.
Fix: Add cifs-utils to the list of packages installed for RHEL7 hosts when installing OpenShift.
Result: Pod volume mounts are created successfully when deploying on the Azure platform.
|
Story Points: | --- | |
Clone Of: | ||||
: | 1845819 1845821 1845841 (view as bug list) | Environment: | ||
Last Closed: | 2020-07-13 17:31:30 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1845819 |
Description
Wei Duan
2020-04-26 06:32:54 UTC
After installed cifs-utils, can mount azure file manually. sh-4.2# mount -t cifs -o gid=1500,mfsymlinks,uid=1500,username=f8810d9cbb651421da713f2,password=1FsNHo+17jC/TMrpYBNOQ++elqZgUIwpJF8Wouw7Tb48CAch2UG1SAXb8I/CaGlsTAt4rNodPIK0xkZwxQVXA==,file_mode=0777,dir_mode=0777,vers=3.0 //f8810d9cbb651421da713f2.file.cre.windows.net/wduan425-rcbmd-dynamic-pvc-3d3b140b-79fa-4f39-b322-4a278e1f8786 /mnt sh-4.2# mount | grep mnt /dev/sdb1 on /mnt type ext4 (rw,relatime,seclabel,data=ordered) //f8810d9cbb651421da713f2.file.core.windows.net/wduan425-rcbmd-dynamic-pvc-3d3b140b-79fa-4f39-b322-4a278e1f8786 on /mnt type cifs (rw,relatime,vers=3.0,cache=strict,username=f8810d9cbb651421da713f2,domain=X,uid=1500,forceuid,gid=1500,forcegid,addr=52.165.136.44,file_mode=0777,dir_mode=0777,soft,persistenthandles,nounix,serverino,mapposix,mfsymlinks,rsize=1048576,wsize=1048576,echo_interval=60,actimeo=1) Azure file could not mount is because we did not install package cifs-utils on RHEL worker. So we can see the error message 'mount: wrong fs type, bad option, bad superblock on //f8810d9cbb651421da713f2.file.core.windows.net/wduan425-rcbmd-dynamic-pvc-3d3b140b-79fa-4f39-b322-4a278e1f8786,' After we install package cifs-utils this issue is fixed. So please install cifs-utils during installation. Workaround: install cifs-utils on RHEL7 workers. Verified pass [wduan@MINT config]$ oc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.5.0-0.nightly-2020-05-08-015855 True False 93m Cluster version is 4.5.0-0.nightly-2020-05-08-015855 sh-4.2# more /etc/redhat-release Red Hat Enterprise Linux Server release 7.8 (Maipo) sh-4.2# rpm -qa | grep -i cifs-utils cifs-utils-6.2-10.el7.x86_64 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, 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/RHBA-2020:2409 |