Bug 1372813

Summary: [RPM] fusor-local-nfs-setup failed
Product: Red Hat Quickstart Cloud Installer Reporter: Thom Carlin <tcarlin>
Component: Installation - RHEVAssignee: dgao
Status: CLOSED ERRATA QA Contact: Tasos Papaioannou <tpapaioa>
Severity: medium Docs Contact: Dan Macpherson <dmacpher>
Priority: unspecified    
Version: 1.0CC: bthurber, dgao, jmontleo, tpapaioa, tsanders
Target Milestone: ---Keywords: Triaged
Target Release: 1.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-28 01:39:08 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:

Description Thom Carlin 2016-09-02 18:53:27 UTC
Description of problem:

fusor-local-nfs-setup failed

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


How reproducible:


Steps to Reproduce:
1. Install/configure qci using RPM installation method in Installation manual
2. fusor-local-nfs-setup

Actual results:

fusor-local-nfs-setup 
iptables: Saving firewall rules to /etc/sysconfig/iptables:[  OK  ]
chown: invalid user: ‘nfsnobody:nfsnobody’
sed: can't read /etc/sysconfig/nfs: No such file or directory
Failed to restart nfs-config.service: Unit nfs-config.service failed to load: No such file or directory.
Failed to restart nfs-mountd.service: Unit nfs-mountd.service failed to load: No such file or directory.
Failed to restart nfs-server.service: Unit nfs-server.service failed to load: No such file or directory.
Failed to execute operation: Access denied
NFS shares for RHV deployments have been created at:
 /var/lib/exports/vms
 /var/lib/exports/exports
 /var/lib/exports/registryvol
 /var/lib/exports/self_hosted

Expected results:

Successful setup

Additional info:

Workaround:

yum install nfs-utils

fusor-local-nfs-setup should provide a better error message

Comment 2 Tasos Papaioannou 2016-10-03 16:08:25 UTC
Fusor-local-nfs-setup still fails if nfs-utils is not installed:

# fusor-local-nfs-setup 
iptables: Saving firewall rules to /etc/sysconfig/iptables:[  OK  ]
chown: invalid user: ‘nfsnobody:nfsnobody’
sed: can't read /etc/sysconfig/nfs: No such file or directory
Failed to restart nfs-config.service: Unit not found.
Failed to restart nfs-mountd.service: Unit not found.
Failed to restart nfs-server.service: Unit not found.
Failed to execute operation: Access denied
NFS shares for RHEV deployments have been created at:
 /var/lib/exports/vms
 /var/lib/exports/exports
 /var/lib/exports/registryvol
 /var/lib/exports/self_hosted
#

Tested on QCI-1.1-RHEL-7-20160930.t.0.

# rpm -qf /usr/bin/fusor-local-nfs-setup
fusor-initial-setup-1.1.0-1.el7.noarch

The commit in https://gitlab.sat.lab.tlv.redhat.com/rhci/bootiso/merge_requests/17 apparently did not get included in the ISO.

Comment 5 Tasos Papaioannou 2016-10-12 14:32:13 UTC
Verified on QCI-1.1-RHEL-7-20161011.t.2.

Comment 8 errata-xmlrpc 2017-02-28 01:39:08 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, 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/RHEA-2017:0335