<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">Jose A. Rivera &lt;<a href="mailto:jarrpa@redhat.com">jarrpa@redhat.com</a>&gt; schrieb am Mo., 28. Aug. 2017 um 14:01 Uhr:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hey Christopher,<br>
<br>
On Mon, Aug 28, 2017 at 12:37 AM, Christopher Schmidt<br>
&lt;<a href="mailto:fakod666@gmail.com" target="_blank">fakod666@gmail.com</a>&gt; wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; sorry for the confusion.<br>
&gt; I opened this thread, to find an overall working configuration.<br>
&gt;<br>
&gt; My setup is as follows:<br>
&gt; - Container Linux (CoreOS)<br>
&gt; - No local installation (except Kubelet, everything (!) else runs in<br>
&gt; Containers)<br>
&gt; - I am using this deploy scripts for GlusterFS<br>
&gt; <a href="https://github.com/gluster/gluster-kubernetes/tree/master/deploy/kube-templates" rel="noreferrer" target="_blank">https://github.com/gluster/gluster-kubernetes/tree/master/deploy/kube-templates</a><br>
&gt; - I&#39;ve created my own containers with<br>
&gt; <a href="https://github.com/gluster/gluster-containers/tree/master/CentOS" rel="noreferrer" target="_blank">https://github.com/gluster/gluster-containers/tree/master/CentOS</a> (so its<br>
&gt; Gluster 1.10.5)<br>
&gt; - I am using the original container from docker hub heketi/heketi:5 (with a<br>
&gt; secret as DB backup, not the gk-deploy script)<br>
&gt; - Kubernetes v1.6.8_coreos.0 with 3 masters and 6 minions, gluster pods on<br>
&gt; all minions (3 x 50GB partitions for Gluster on each node, rbac enabled)<br>
&gt; - for network policies I use Canal (deployed as pods as well)<br>
&gt;<br>
&gt; Issues:<br>
&gt; - I&#39;ve learned that Kubernetes 1.7.x and GlusterFS is broken, since 1.7<br>
&gt; requires GlusterFS &gt; 1.10, right?<br>
<br>
I imagine you mean GlusterFS 3.10. :) And no, the issue is because the<br>
current GlusterFS container uses systemd, which conflicts with the new<br>
shared PIC namespace feature in recent versions of Kube and Docker:<br>
<a href="https://github.com/kubernetes/kubernetes/issues/48937#issuecomment-319957314" rel="noreferrer" target="_blank">https://github.com/kubernetes/kubernetes/issues/48937#issuecomment-319957314</a></blockquote><div><br></div><div>oh sure 3.10.. So this fixes also the unsupported mount option I&#39;ve had?</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
&gt; - I was testing K8s 1.5.x with Heketi/GlusterFS and it was fine for me (but<br>
&gt; really only small manual tests a couple of months ago)<br>
&gt; - With my configuration (see above) no version of Gluster or Heketi works<br>
&gt; with K8s 1.6.x with dynamic provisioning.<br>
&gt;<br>
&gt; However, this is not the usual GlusterFS setup you are testing. So I am sure<br>
&gt; I do something wrong. What is noticeable is that creating a volume takes a<br>
&gt; couple of minutes (depending on the volume type) and Heketi has some issues<br>
&gt; with that.<br>
&gt; So what can I do? Where to start testing/changing my configuration?<br>
<br>
Nothing looks immediately wrong to me. Have you tried the same<br>
container images that we use in gluster-kubernetes? The only other<br>
difference I note is that you&#39;re using Canal whereas out test setups<br>
use weave-net.<br></blockquote><div><br></div><div>&quot;No&quot;, I&#39;ve build my own image. But all I did is to &quot;docker build -t innoq/gluster-centos:gluster3u10_centos7-3.10.5 .&quot;</div><div>from here: <a href="https://github.com/gluster/gluster-containers/tree/master/CentOS">https://github.com/gluster/gluster-containers/tree/master/CentOS</a></div><div><br></div><div>anyway, you mean I should try image: gluster/gluster-centos:latest?</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
--Jose<br>
<br>
&gt; regards Christopher<br>
&gt;<br>
&gt;<br>
&gt; Humble Chirammal &lt;<a href="mailto:hchiramm@redhat.com" target="_blank">hchiramm@redhat.com</a>&gt; schrieb am Di., 22. Aug. 2017 um<br>
&gt; 09:51 Uhr:<br>
&gt;&gt;<br>
&gt;&gt; On Tue, Aug 22, 2017 at 1:14 PM, Michael Adam &lt;<a href="mailto:obnox@samba.org" target="_blank">obnox@samba.org</a>&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On 2017-08-22 at 07:00 +0000, Christopher Schmidt wrote:<br>
&gt;&gt;&gt; &gt; Hi guys,<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; I know it&#39;s difficult to support various installations and combinations<br>
&gt;&gt;&gt; &gt; of<br>
&gt;&gt;&gt; &gt; tools.<br>
&gt;&gt;&gt; &gt; But I&#39;ll give some Kubernetes training and talks in September/October.<br>
&gt;&gt;&gt; &gt; So what should I recommend? So far I didn&#39;t find a working GlusterFS<br>
&gt;&gt;&gt; &gt; Heketi, neither with Kubernetes 1.6.x nor 1.7.x<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Hi Christopher,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; This statement seems surprising to me.<br>
&gt;&gt;&gt; The vagrant environment and the complex tests<br>
&gt;&gt;&gt; in the gluster-kubernetes repo<br>
&gt;&gt;&gt; (<a href="http://github.com/gluster/gluster-kubernetes" rel="noreferrer" target="_blank">github.com/gluster/gluster-kubernetes</a>)<br>
&gt;&gt;&gt; prove that heketi and gluster work in kube 1.6.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Can you give some more details on what&#39;s going wrong?<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; There is another thread opened by Christopher<br>
&gt;&gt; <a href="http://lists.gluster.org/pipermail/heketi-devel/2017-August/000166.html" rel="noreferrer" target="_blank">http://lists.gluster.org/pipermail/heketi-devel/2017-August/000166.html</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; Cheers,<br>
&gt;&gt; Humble<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; heketi-devel mailing list<br>
&gt; <a href="mailto:heketi-devel@gluster.org" target="_blank">heketi-devel@gluster.org</a><br>
&gt; <a href="http://lists.gluster.org/mailman/listinfo/heketi-devel" rel="noreferrer" target="_blank">http://lists.gluster.org/mailman/listinfo/heketi-devel</a><br>
&gt;<br>
</blockquote></div></div>