<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jun 20, 2019 at 1:13 PM Niels de Vos &lt;<a href="mailto:ndevos@redhat.com">ndevos@redhat.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Thu, Jun 20, 2019 at 11:36:46AM +0530, Amar Tumballi Suryanarayan wrote:<br>
&gt; Considering python3 is anyways the future, I vote for taking the patch we<br>
&gt; did in master for fixing regression tests with python3 into the release-6<br>
&gt; and release-5 branch and getting over this deadlock.<br>
&gt; <br>
&gt; Patch in discussion here is<br>
&gt; <a href="https://review.gluster.org/#/c/glusterfs/+/22829/" rel="noreferrer" target="_blank">https://review.gluster.org/#/c/glusterfs/+/22829/</a> and if anyone notices, it<br>
&gt; changes only the files inside &#39;tests/&#39; directory, which is not packaged in<br>
&gt; a release anyways.<br>
&gt; <br>
&gt; Hari, can we get the backport of this patch to both the release branches?<br>
<br>
When going this route, you still need to make sure that the<br>
python3-devel package is available on the CentOS-7 builders. And I<br>
don&#39;t know if installing that package is already sufficient, maybe the<br>
backport is not even needed in that case.<br>
<br></blockquote><div><br></div><div>I was thinking, having this patch makes it compatible with both python2 and python3, so technically, it allows us to move to Fedora30 if we need to run regression there. (and CentOS7 with only python2).</div><div><br></div><div>The above patch made it compatible, not mandatory to have python3. So, treating it as a bug fix.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Niels<br>
<br>
<br>
&gt; <br>
&gt; Regards,<br>
&gt; Amar<br>
&gt; <br>
&gt; On Thu, Jun 13, 2019 at 7:26 PM Michael Scherer &lt;<a href="mailto:mscherer@redhat.com" target="_blank">mscherer@redhat.com</a>&gt; wrote:<br>
&gt; <br>
&gt; &gt; Le jeudi 13 juin 2019 à 14:28 +0200, Niels de Vos a écrit :<br>
&gt; &gt; &gt; On Thu, Jun 13, 2019 at 11:08:25AM +0200, Niels de Vos wrote:<br>
&gt; &gt; &gt; &gt; On Wed, Jun 12, 2019 at 04:09:55PM -0700, Kaleb Keithley wrote:<br>
&gt; &gt; &gt; &gt; &gt; On Wed, Jun 12, 2019 at 11:36 AM Kaleb Keithley &lt;<br>
&gt; &gt; &gt; &gt; &gt; <a href="mailto:kkeithle@redhat.com" target="_blank">kkeithle@redhat.com</a>&gt; wrote:<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; On Wed, Jun 12, 2019 at 10:43 AM Amar Tumballi Suryanarayan &lt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; <a href="mailto:atumball@redhat.com" target="_blank">atumball@redhat.com</a>&gt; wrote:<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; We recently noticed that in one of the package update on<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; builder (ie,<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; centos7.x machines), python3.6 got installed as a dependency.<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; So, yes, it<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt; is possible to have python3 in centos7 now.<br>
&gt; &gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; EPEL updated from python34 to python36 recently, but C7 doesn&#39;t<br>
&gt; &gt; &gt; &gt; &gt; &gt; have<br>
&gt; &gt; &gt; &gt; &gt; &gt; python3 in the base. I don&#39;t think we&#39;ve ever used EPEL<br>
&gt; &gt; &gt; &gt; &gt; &gt; packages for<br>
&gt; &gt; &gt; &gt; &gt; &gt; building.<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; &gt; And GlusterFS-5 isn&#39;t python3 ready.<br>
&gt; &gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; Correction: GlusterFS-5 is mostly or completely python3<br>
&gt; &gt; &gt; &gt; &gt; ready.  FWIW,<br>
&gt; &gt; &gt; &gt; &gt; python33 is available on both RHEL7 and CentOS7 from the Software<br>
&gt; &gt; &gt; &gt; &gt; Collection Library (SCL), and python34 and now python36 are<br>
&gt; &gt; &gt; &gt; &gt; available from<br>
&gt; &gt; &gt; &gt; &gt; EPEL.<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; But packages built for the CentOS Storage SIG have never used the<br>
&gt; &gt; &gt; &gt; &gt; SCL or<br>
&gt; &gt; &gt; &gt; &gt; EPEL (EPEL not allowed) and the shebangs in the .py files are<br>
&gt; &gt; &gt; &gt; &gt; converted<br>
&gt; &gt; &gt; &gt; &gt; from /usr/bin/python3 to /usr/bin/python2 during the rpmbuild<br>
&gt; &gt; &gt; &gt; &gt; %prep stage.<br>
&gt; &gt; &gt; &gt; &gt; All the python dependencies for the packages remain the python2<br>
&gt; &gt; &gt; &gt; &gt; flavors.<br>
&gt; &gt; &gt; &gt; &gt; AFAIK the centos-regression machines ought to be building the<br>
&gt; &gt; &gt; &gt; &gt; same way.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Indeed, there should not be a requirement on having EPEL enabled on<br>
&gt; &gt; &gt; &gt; the<br>
&gt; &gt; &gt; &gt; CentOS-7 builders. At least not for the building of the glusterfs<br>
&gt; &gt; &gt; &gt; tarball. We still need to do releases of glusterfs-4.1 and<br>
&gt; &gt; &gt; &gt; glusterfs-5,<br>
&gt; &gt; &gt; &gt; until then it is expected to have python2 as the (only?) version<br>
&gt; &gt; &gt; &gt; for the<br>
&gt; &gt; &gt; &gt; system. Is it possible to remove python3 from the CentOS-7 builders<br>
&gt; &gt; &gt; &gt; and<br>
&gt; &gt; &gt; &gt; run the jobs that require python3 on the Fedora builders instead?<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Actually, if the python-devel package for python3 is installed on the<br>
&gt; &gt; &gt; CentOS-7 builders, things may work too. It still feels like some sort<br>
&gt; &gt; &gt; of<br>
&gt; &gt; &gt; Frankenstein deployment, and we don&#39;t expect to this see in<br>
&gt; &gt; &gt; production<br>
&gt; &gt; &gt; environments. But maybe this is a workaround in case something<br>
&gt; &gt; &gt; really,<br>
&gt; &gt; &gt; really, REALLY depends on python3 on the builders.<br>
&gt; &gt;<br>
&gt; &gt; To be honest, people would be surprised what happen in production<br>
&gt; &gt; around (sysadmins tend to discuss around, we all have horrors stories,<br>
&gt; &gt; stuff that were supposed to be cleaned and wasn&#39;t, etc)<br>
&gt; &gt;<br>
&gt; &gt; After all, &quot;frankenstein deployment now&quot; is better than &quot;perfect<br>
&gt; &gt; later&quot;, especially since lots of IT departements are under constant<br>
&gt; &gt; pressure (so that&#39;s more &quot;perfect never&quot;).<br>
&gt; &gt;<br>
&gt; &gt; I can understand that we want clean and simple code (who doesn&#39;t), but<br>
&gt; &gt; real life is much messier than we want to admit, so we need something<br>
&gt; &gt; robust.<br>
&gt; &gt;<br>
&gt; &gt; --<br>
&gt; &gt; Michael Scherer<br>
&gt; &gt; Sysadmin, Community Infrastructure<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt;<br>
&gt; &gt; Community Meeting Calendar:<br>
&gt; &gt;<br>
&gt; &gt; APAC Schedule -<br>
&gt; &gt; Every 2nd and 4th Tuesday at 11:30 AM IST<br>
&gt; &gt; Bridge: <a href="https://bluejeans.com/836554017" rel="noreferrer" target="_blank">https://bluejeans.com/836554017</a><br>
&gt; &gt;<br>
&gt; &gt; NA/EMEA Schedule -<br>
&gt; &gt; Every 1st and 3rd Tuesday at 01:00 PM EDT<br>
&gt; &gt; Bridge: <a href="https://bluejeans.com/486278655" rel="noreferrer" target="_blank">https://bluejeans.com/486278655</a><br>
&gt; &gt;<br>
&gt; &gt; Gluster-devel mailing list<br>
&gt; &gt; <a href="mailto:Gluster-devel@gluster.org" target="_blank">Gluster-devel@gluster.org</a><br>
&gt; &gt; <a href="https://lists.gluster.org/mailman/listinfo/gluster-devel" rel="noreferrer" target="_blank">https://lists.gluster.org/mailman/listinfo/gluster-devel</a><br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; <br>
&gt; -- <br>
&gt; Amar Tumballi (amarts)<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Amar Tumballi (amarts)<br></div></div></div></div></div></div>