Bug 2174316 - rhui-installer ignores --rhua-mount-options option in rhui4.
Summary: rhui-installer ignores --rhua-mount-options option in rhui4.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Update Infrastructure for Cloud Providers
Classification: Red Hat
Component: RHUA
Version: 4.2.0
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: 4.4.0
: 4.x
Assignee: Gregg Tanzillo
QA Contact: Radek Bíba
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-03-01 06:32 UTC by hasuzuki
Modified: 2023-05-03 14:56 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-05-03 14:56:19 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHUI-370 0 None None None 2023-03-08 14:53:30 UTC
Red Hat Knowledge Base (Solution) 7000971 0 None None None 2023-03-03 06:40:19 UTC
Red Hat Product Errata RHSA-2023:2101 0 None None None 2023-05-03 14:56:50 UTC

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


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