Skip to content
This repository has been archived by the owner on Jul 7, 2020. It is now read-only.

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

Merged
merged 1 commit into from Apr 1, 2019

Conversation

renich
Copy link

@renich renich commented Jan 16, 2019

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

This patch fixes gluster#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.
@centos-ci
Copy link
Collaborator

Can one of the admins verify this patch?

@pupapaik
Copy link

I hit same issue on AKS.

@susares
Copy link

susares commented Feb 1, 2019

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

@nick-lehmann
Copy link

nick-lehmann commented Feb 9, 2019

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
Copy link

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 nixpanic requested a review from jarrpa March 26, 2019 08:21
@nixpanic
Copy link
Member

Fixes: #572

@mrmarcsmith
Copy link

@jarrpa @nixpanic are we able to merge this?

@nixpanic nixpanic merged commit ca06b77 into gluster:master Apr 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Gk-deploy failing on Ubuntu
8 participants