Bug 2174316

Summary: rhui-installer ignores --rhua-mount-options option in rhui4.
Product: Red Hat Update Infrastructure for Cloud Providers Reporter: hasuzuki
Component: RHUAAssignee: Gregg Tanzillo <gtanzill>
Status: CLOSED ERRATA QA Contact: Radek Bíba <rbiba>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.2.0CC: mminar
Target Milestone: 4.4.0Keywords: Triaged
Target Release: 4.x   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-03 14:56:19 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:

Description hasuzuki 2023-03-01 06:32:11 UTC
Description of problem:
rhui-installer ignore --rhua-mount-options option in rhui4.

Version-Release number of selected component (if applicable):
rhui-installer-4.3.0.4-1.el8ui.noarch


How reproducible:
100%

Steps to Reproduce:
1. Run rhui-installer with --rhua-mount-options option
2. Check mount option in /var/lib/rhui/remote_share and /etc/fstab.
  # mount | grep remote_share



Actual results:

rhui-installer specified rhua-mount-options don't include following results.


Expected results:

The rhui-installer sets the specified mount option to remote_share and /etc/fstab.

Additional info:

Example:

[root@rhui4-rhua ~]# rpm -q rhui-installer
rhui-installer-4.3.0.4-1.el8ui.noarch
[root@rhui4-rhua ~]#

[root@rhui4-rhua ~]# rhui-installer --remote-fs-server rhui4-rhua.example.com:/export  --rhua-mount-options rw,_netdev,nfsvers=3,soft,x-systemd.requires=nslcd.service --rhua-hostname rhui4-rhua.example.com --cds-lb-hostname rhui4-cds.example.com --proxy-hostname squid1.example.com --proxy-port 3128 --proxy-protocol https

[root@rhui4-rhua ~]# grep remote_share /etc/fstab 
rhui4-rhua.example.com:/export /var/lib/rhui/remote_share nfs rw 0 0
[root@rhui4-rhua ~]# 

[root@rhui4-rhua ~]# mount | grep remote_share
rhui4-rhua.example.com:/export on /var/lib/rhui/remote_share type nfs4 (rw,relatime,vers=4.2,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=192.168.100.61,local_lock=none,addr=192.168.100.61)

Comment 6 errata-xmlrpc 2023-05-03 14:56:19 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: RHUI 4.4.0 release - Security Fixes, Bug Fixes, and Enhancements 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-2023:2101