Bug 2183152

Summary: Filesystem: fail if AWS efs-utils not installed when fstype=efs (RHEL8)
Product: Red Hat Enterprise Linux 8 Reporter: Oyvind Albrigtsen <oalbrigt>
Component: resource-agentsAssignee: Oyvind Albrigtsen <oalbrigt>
Status: VERIFIED --- QA Contact: Brandon Perkins <bperkins>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.8CC: agk, bperkins, cluster-maint, fdinitto
Target Milestone: rcKeywords: Triaged
Target Release: 8.9   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: resource-agents-4.9.0-42.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2183133 Environment:
Last Closed: 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: 2049319, 2183133    
Bug Blocks:    

Description Oyvind Albrigtsen 2023-03-30 13:00:50 UTC
+++ This bug was initially created as a clone of Bug #2183133 +++

Description of problem:
Check for mount.efs when using fstype=efs.

Version-Release number of selected component (if applicable):


How reproducible:
100%

Steps to Reproduce:
1. Create Filesystem resource with fstype=efs.
2.
3.

Actual results:
Fails with misleading error:
Mar 23 21:04:23 INFO: Checking support for efs as "nfs4"
mount: /mnt/efs: unknown filesystem type 'efs'.

Expected results:
Fails with error about missing command.

Additional info:
https://github.com/ClusterLabs/resource-agents/pull/1859