Glusterfs installation fails while executing "Mount registry volume"

Solution Verified - Updated -

Issue

  • Glusterfs installation fails while executing Mount registry volume
2018-12-19 20:09:50,435 p=27531 u=root |  TASK [openshift_hosted : Mount registry volume] ***********************************************************************************
******************************************
2018-12-19 20:09:50,436 p=27531 u=root |  task path: /usr/share/ansible/openshift-ansible/roles/openshift_hosted/tasks/storage/glusterfs.yml:34
2018-12-19 20:09:50,436 p=27531 u=root |  Wednesday 19 December 2018  20:09:50 +0400 (0:00:00.539)       0:25:45.318 **** 
2018-12-19 20:09:50,617 p=27531 u=root |  Using module file /usr/lib/python2.7/site-packages/ansible/modules/system/mount.py
2018-12-19 20:09:50,837 p=27531 u=root |  fatal: [master1.example.com]: FAILED! => {
    "changed": false, 
    "invocation": {
        "module_args": {
            "backup": false, 
            "boot": true, 
            "dump": null, 
            "fstab": null, 
            "fstype": "glusterfs", 
            "name": "/tmp/openshift-glusterfs-registry-nn90GP", 
            "opts": null, 
            "passno": null, 
            "path": "/tmp/openshift-glusterfs-registry-nn90GP", 
            "src": "192.168.0.1:/glusterfs-registry-volume", 
            "state": "mounted"
        }
    }, 
    "msg": "Error mounting /tmp/openshift-glusterfs-registry-nn90GP: ERROR: failed to create logfile \"/var/log/glusterfs/tmp-openshift-glusterfs-registry-nn90GP.log\" (No s
uch file or directory)\nERROR: failed to open logfile /var/log/glusterfs/tmp-openshift-glusterfs-registry-nn90GP.log\nMount failed. Please check the log file for more detail
s.\n"
}

Environment

  • OpenShift Container Platform 3.11

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content