Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1518666 - RHCS upgrade 2.4 - 3.0: Fails with "msg": "file (/var/log/ganesha) is absent, cannot continue"
RHCS upgrade 2.4 - 3.0: Fails with "msg": "file (/var/log/ganesha) is absent...
Status: ASSIGNED
Product: Red Hat Ceph Storage
Classification: Red Hat
Component: Ceph-Ansible (Show other bugs)
3.0
Unspecified Unspecified
unspecified Severity low
: rc
: 3.*
Assigned To: leseb
ceph-qe-bugs
Bara Ancincova
:
Depends On:
Blocks: 1494421
  Show dependency treegraph
 
Reported: 2017-11-29 07:43 EST by Parikshith
Modified: 2018-02-22 07:27 EST (History)
8 users (show)

See Also:
Fixed In Version:
Doc Type: Known Issue
Doc Text:
.Ansible fails to upgrade NFS Ganesha nodes Ansible fails to upgrade NFS Ganesha nodes because the `rolling-update.yml` playbook searches for the `/var/log/ganesha/` directory that does not exist. Consequently, the upgrading process terminates with the following error message: ---- "msg": "file (/var/log/ganesha) is absent, cannot continue" ---- To work around this problem, create `/var/log/ganesha/` manually.
Story Points: ---
Clone Of:
Environment:
Last Closed:
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)
upgrade log (478.60 KB, text/plain)
2017-11-29 07:43 EST, Parikshith
no flags Details

  None (edit)
Description Parikshith 2017-11-29 07:43:18 EST
Created attachment 1360291 [details]
upgrade log

Description of problem:
rolling upgrade fails while upgrading nfs client since ceph-ansible searches for /var/log/ganesha, but on the nfs client that particular file will be /var/log/ganesha.log 

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

How reproducible:


Steps to Reproduce:
1. Configure 2.4 cluster with nfs(manually). 
2. Upgrade to 3.0.


Actual results:

TASK [ceph-nfs : change ownership on /var/log/ganesha] ************************************************************************************************************************************************************
fatal: [magna067]: FAILED! => {"changed": false, "failed": true, "msg": "file (/var/log/ganesha) is absent, cannot continue", "path": "/var/log/ganesha", "state": "absent"}

Additional info:
I tried two workarounds:

1. Moved the /var/log/ganesha.log file to /var/log/ganesha on the nfs client. Reran the upgrade and it finished successfully.

2. Edited the path to "/var/log/ganesha.log" in "pre_requisite_non_container.yml" in ceph-nfs tasks. Reran the upgrade and it finished successfully.

This bz has to be release noted.
Comment 6 leseb 2017-12-01 05:11:27 EST
Just to clarify, ceph-ansible is looking for a directory not a file.
Usually /var/log/ganesha is the directory where ganesha puts its logs in.
The right work around is to create the directory: /var/log/ganesha

It is weird though, I suspect you are running an old version of ganesha.

Bara, I changed the description.

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