Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1488613 - Running rhui-installer can fail due to slow or long-running mountpoint operations
Running rhui-installer can fail due to slow or long-running mountpoint operat...
Status: CLOSED ERRATA
Product: Red Hat Update Infrastructure for Cloud Providers
Classification: Red Hat
Component: Tools (Show other bugs)
3.0.0
Unspecified Unspecified
unspecified Severity high
: 3.0.3
: ---
Assigned To: RHUI Bug List
Vratislav Hutsky
: Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-09-05 16:28 EDT by Craig Donnelly
Modified: 2018-05-16 08:49 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-05-16 08:48:53 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:1569 None None None 2018-05-16 08:49 EDT

  None (edit)
Description Craig Donnelly 2017-09-05 16:28:45 EDT
Description of problem:
Currently when attempting to update certs on RHUA your rhui-installer run can fail leaving your RHUI in a bad state.

The reason for failure appears to be due the requirement for certain actions against the shared mount point.

The module at: /usr/share/rhui-installer/modules/rhua/manifests/mounts.pp contains a section:

18   exec { 'set-share-permissions':
19     command => "chown -R apache:apache ${rhua::remote_fs_mountpoint}",
20     path => '/usr/bin/:/bin/',
21     require => [Exec['create-share-dir'], Package['httpd']],
22   }

This chown operation was extremely long running over NFS mount, even though all of the permissions were already set correctly.
This caused an indefinite failure for our installer runs due to a buildup of `chown` operations and slow activity on their part.

To work around the issue, I changed line 19 of the module:

19     command => "echo test", #chown -R apache:apache ${rhua::remote_fs_mountpoint}",

Then killed all of the chown operations in progress:

# pkill chown

I could then successfully run the installer.

Version-Release number of selected component (if applicable):
rhui-installer-3.0.0-1.el7ui.noarch
rhui-installer-base-3.0.0-1.el7ui.noarch

How reproducible:
? (100% in our test env)

Steps to Reproduce:
1. Have a NFS mounted/slow storage environment?
2. Run default rhui-installer

Actual results:
If chown operation does not complete/hangs, installer will fail.

Expected results:
The chown operation against 

Additional info:
Comment 11 errata-xmlrpc 2018-05-16 08:48:53 EDT
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-2018:1569

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