gluster / gluster-kubernetes

GlusterFS Native Storage Service for Kubernetes
Apache License 2.0
875 stars 389 forks source link

Correcting the modules path in order to support other distros #557

Closed renich closed 5 years ago

renich commented 5 years ago

This patch fixes #539. Not all supported distros have /lib as a symlink of /usr/lib. For example, Ubuntu 18.04 doesn't. This causes an issue with tcmu-runner; which requires target_core_user and other modules to be able to build.

In order to fix this, we just need to mount /lib/modules instead so all of the supported distributions are capable of the build.


This change is Reviewable

centos-ci commented 5 years ago

Can one of the admins verify this patch?

pupapaik commented 5 years ago

I hit same issue on AKS.

susares commented 5 years ago

I am experiencing the same issue on Ubuntu 18.0.4. The PR fixes it allowing to deploy glusterfs

nick-lehmann commented 5 years ago

I experienced the same issue with an on-premise Kubernetes cluster. Changing the paths of the volumes in the shown way fixed the issue for me too.

mattthehearn commented 5 years ago

I ran into this as well, on Ubuntu 16.04.05 running Kubernetes 1.13.1-00, and changing the modules path fixed it.

nixpanic commented 5 years ago

Fixes: #572

mrmarcsmith commented 5 years ago

@jarrpa @nixpanic are we able to merge this?