Bug 1493705 - Glusterfs: unable install if docker storage driver is overlay2
Summary: Glusterfs: unable install if docker storage driver is overlay2
Keywords:
Status: CLOSED DUPLICATE of bug 1490905
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 3.7.0
Assignee: Jose A. Rivera
QA Contact: Wenkai Shi
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-20 18:06 UTC by Hongkai Liu
Modified: 2017-09-25 15:15 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-09-25 15:15:33 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Hongkai Liu 2017-09-20 18:06:34 UTC
Description of problem:
Glusterfs: unable install if docker storage driver is overlay2


Version-Release number of selected component (if applicable):
oc v3.7.0-0.126.4 (overlay2 as storage driver for docker)
kubernetes v1.7.0+80709908fd

openshift_storage_glusterfs_image=registry.access.redhat.com/rhgs3/rhgs-server-rhel7
openshift_storage_glusterfs_version=latest
openshift_storage_glusterfs_heketi_image=registry.access.redhat.com/rhgs3/rhgs-volmanager-rhel7
openshift_storage_glusterfs_heketi_version=latest

How reproducible:

Steps to Reproduce:
1. ansible-playbook -i inv.file openshift-ansible/playbooks/byo/config.yml


Actual results:

TASK [openshift_storage_glusterfs : Create heketi DB volume] ******************************************************************
fatal: [ec2-54-186-161-92.us-west-2.compute.amazonaws.com]: FAILED! => {
    "changed": true, 
    "cmd": [
        "oc", 
        "rsh", 
        "--namespace=glusterfs", 
        "deploy-heketi-storage-1-jqk63", 
        "heketi-cli", 
        "-s", 
        "http://localhost:8080", 
        "--user", 
        "admin", 
        "--secret", 
        "jkmhYsF09Fv+/HcyE4OFkCA/DYSezwFbFJ57HiB0wmY=", 
        "setup-openshift-heketi-storage", 
        "--listfile", 
        "/tmp/heketi-storage.json"
    ], 
    "delta": "0:00:09.311645", 
    "end": "2017-09-20 15:50:27.515474", 
    "failed": true, 
    "rc": 255, 
    "start": "2017-09-20 15:50:18.203829"
}

STDERR:

Error: Unable to execute command on glusterfs-storage-ndd17:   /usr/sbin/modprobe failed: 1
  thin: Required device-mapper target(s) not detected in your kernel.
  Run `lvcreate --help' for more information.
command terminated with exit code 255

Expected results:
CNS is deployed successfully.


Additional info:
This issue has been reported in the upstream as well:
https://github.com/openshift/openshift-ansible/issues/5108
https://github.com/gluster/gluster-kubernetes/issues/19

The workaround there (run modprobe dm_thin_pool on each node) works for me too.

Comment 1 Qian Cai 2017-09-20 18:19:39 UTC
Looks like an installer issue that should not check for dm_thin_pool module in overlayfs cases. That module is only needed for devicemapper storage driver.

Comment 2 Jose A. Rivera 2017-09-21 13:44:41 UTC
This is a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1490905

The kernel module is required for thin-provisioning LVM volumes.

Comment 3 Scott Dodson 2017-09-25 15:15:33 UTC

*** This bug has been marked as a duplicate of bug 1490905 ***


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