[MXS-3682] SLES maxscale.2.5.14 does not installl on OpenSuse 15.2 Created: 2021-07-22  Updated: 2021-12-06  Resolved: 2021-11-19

Status: Closed
Project: MariaDB MaxScale
Component/s: Packaging
Affects Version/s: 2.5.14
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Nilnandan Joshi Assignee: Todd Stoffel (Inactive)
Resolution: Won't Fix Votes: 0
Labels: None

Issue Links:
Relates

 Description   

SLES maxscale.2.5.14 does not installl on OpenSuse 15.2

ip-172-31-35-88:~ # zypper install MariaDB-client python3-PyMySQL maxscale
Refreshing service 'Basesystem_Module_x86_64'.
Refreshing service 'Containers_Module_x86_64'.
Refreshing service 'Desktop_Applications_Module_x86_64'.
Refreshing service 'Development_Tools_Module_x86_64'.
Refreshing service 'Legacy_Module_x86_64'.
Refreshing service 'Public_Cloud_Module_x86_64'.
Refreshing service 'Python_2_Module_x86_64'.
Refreshing service 'SUSE_Cloud_Application_Platform_Tools_Module_x86_64'.
Refreshing service 'SUSE_Linux_Enterprise_Server_x86_64'.
Refreshing service 'Server_Applications_Module_x86_64'.
Refreshing service 'Web_and_Scripting_Module_x86_64'.
Loading repository data...
Reading installed packages...
Package 'python3-PyMySQL' not found.
Resolving package dependencies...
Problem: nothing provides libm.so.6(GLIBC_2.29)(64bit) needed by maxscale-2.5.14-1.sles.15.x86_64
 Solution 1: do not install maxscale-2.5.14-1.sles.15.x86_64
 Solution 2: break maxscale-2.5.14-1.sles.15.x86_64 by ignoring some of its dependencies
Choose from above solutions by number or cancel [1/2/c/d/?] (c):

If we select Solution 2 and install then maxscale gives below error.

ip-172-31-35-88:~ # maxscale --version
maxscale: /lib64/libcrypt.so.1: version `XCRYPT_2.0' not found (required by /usr/lib64/maxscale/libmaxscale-common.so.1.0.0)
maxscale: /lib64/libc.so.6: version `GLIBC_2.27' not found (required by /usr/lib64/maxscale/libmaxscale-common.so.1.0.0)



 Comments   
Comment by Jon Brightwell [ 2021-07-22 ]

New to 2.5.14, was working prior. I wonder if it's a fedora change that's leaked into the SLE build.

OpenSUSE/SLE 15.3 = glibc/libm v2.31
OpenSUSE 15.1 & 15.2 = glibc/libm v2.26

maxscale is asking for glibc 2.29.

rpm -q --requires maxscale-2.5.14-1.sles.15.x86_64.rpm
<snip>
libm.so.6()(64bit)
libm.so.6(GLIBC_2.2.5)(64bit)
libm.so.6(GLIBC_2.29)(64bit)
</snip>

Definitely a build bug. Double entry? Maybe it should have been built as >=2.26 if updating and remove the old 2.2.5 line?

For reference, working last version:
rpm -q --requires maxscale-2.5.13-1.sles.15.x86_64.rpm
<snip>
libm.so.6()(64bit)
libm.so.6(GLIBC_2.2.5)(64bit)
</snip>

Comment by Timofey Turenko [ 2021-07-22 ]

found and fixed first problem: 2.5.14 packages are wrong in the production repo, re-uploaded and waiting for sync.

after it, I will continue with opensuse

Comment by Timofey Turenko [ 2021-07-22 ]

managed to install on openSUSE Leap 15.3

I'm not sure we can try with 15.2

Comment by Jon Brightwell [ 2021-07-22 ]

Still seeing the old version
https://downloads.mariadb.com/MaxScale/2.5/sles/15/x86_64/

libm.so.6()(64bit)
libm.so.6(GLIBC_2.2.5)(64bit)
libm.so.6(GLIBC_2.29)(64bit)

  1. sha256sum maxscale-2.5.14-1.sles.15.x86_64.rpm
    64aaeb60876bd8fcdef329aa0bc542a0e0e12ed9b49e7e5a008dc1e75aeb1163 maxscale-2.5.14-1.sles.15.x86_64.rpm

Slow sync?

Comment by Timofey Turenko [ 2021-07-22 ]

it is another problem.

I can install on OpenSUSE 15.3, but I got the same error with OpenSUSE 15.2:

Problem: nothing provides 'libm.so.6(GLIBC_2.29)(64bit)' needed by the to be installed maxscale-2.5.14-1.sles.15.x86_64

Comment by Timofey Turenko [ 2021-07-22 ]

upgrade:

sudo zypper --releasever=15.3 ref
sudo  zypper --releasever=15.3 dup --download-in-advance --allow-vendor-change

fixes the problem.

but in any case, we do not support for opensuse 15.2

Comment by Jon Brightwell [ 2021-07-22 ]

SLE* 15.2 is supported by SUSE until 31 Dec 2021. According to your engineering doc you still support all flavours of SLE 15.

https://mariadb.com/wp-content/uploads/2021/06/mariadb-engineering-policies-v4-06_policy_1110.pdf

To the best of my knowledge SLE 15.1 and 15.2 is GLIBC v2.26

Comment by Nilnandan Joshi [ 2021-07-23 ]

As per that engineering policy, we supports SLES (Enterprise servers) versions but not OpenSUSE.

Comment by Jon Brightwell [ 2021-07-23 ]

I'm not talking about opensuse, I'm talking about SUSE SLE <15.3

Here's the build sources...
https://build.opensuse.org/package/show/SUSE:SLE-15:GA/glibc version = 2.26
https://build.opensuse.org/package/show/SUSE:SLE-15-SP2:GA/glibc version = 2.26

Comment by Timofey Turenko [ 2021-07-23 ]

support for sles 15.1 and 15.2 can be implemented. I'm not sure I can make it with GCloud, but AWS can provide images for 15.2 at least.

Comment by markus makela [ 2021-08-25 ]

tturenko I think we can revert the build VMs to use the oldest supported SLES version as they seem to be forwards compatible with newer SLES releases. This means we'll only have to update the build VM whenever a SLES minor version goes EOL.

Comment by Jon Brightwell [ 2021-08-26 ]

Not wanting to go too far off topic, but you have assessed openbuildservice? It's can handle openSUSE, Debian 9+, Fedora 21+, Ubuntu 14+, Arch, Red Hat Enterprise Linux, centos 6+ and SUSE Linux Enterprise... A nice all in one, without having to worry about cloud images by third parties disappearing. https://openbuildservice.org/

Comment by markus makela [ 2021-11-19 ]

This is currently in line with what the MariaDB Engineering policy states it wont' be fixed until that is changed.

Comment by Jon Brightwell [ 2021-11-19 ]

https://mariadb.com/wp-content/uploads/2021/09/mariadb-engineering-policies-v4-08_policy_1117.pdf?page=7

SLES 12 and 15 are still listed. Are you saying you're not supporting SLES 15.2 and you're just waiting for the engineering policy to be updated?

Comment by markus makela [ 2021-11-19 ]

The engineering policy doesn't seem to mention which specific minor SLES versions are supported and for how long so it seems to be left for interpretation. I'll request that the engineering policy is clarified with regards to this.

Additionally, since older 2.5 releases did use the older SLES releases, it'd at least be consistent to continue with it for this release.

Generated at Thu Feb 08 04:23:12 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.