mysql-client-5.6 recommends mysql-wsrep-common-5.6

Bug #1476726 reported by Alexander Tsamutali
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Medium
MOS Packaging Team

Bug Description

Please read https://bugs.launchpad.net/fuel/+bug/1475288 first.

Now I found that mysql-wsrep-common-5.6 is installed by recommendation of mysql-client-5.6. My question is: does mysql-client really use mysql-wsrep-common files in some setups? If not - let's remove this recommendation.

Tags: area-mos
Revision history for this message
Aleksander Mogylchenko (amogylchenko) wrote :

mysql-wsrep package is a custom build of MySQL-server, with patches for Galera (which are not in upstream):
https://review.fuel-infra.org/gitweb?p=packages/trusty/mysql-wsrep-5.6.git;a=blob;f=debian/control;h=ad3d7b68cb8015f62fecf2cbb8bec03859ce25c2;hb=bf5a03beff445b88d3ec6f9c1c1d16741ae60036

It is not correct to mix them on the same machine.

Build team, please recheck (taken from LP #1475288):
http://osci-jenkins.srt.mirantis.net:8080/job/7.0.mos-new.install-deb/893/consoleFull

Changed in fuel:
assignee: MOS Linux (mos-linux) → Fuel build team (fuel-build)
Revision history for this message
Alexander Tsamutali (astsmtl) wrote :

There is no intention to mix those packages in test. Check this script:
https://review.fuel-infra.org/gitweb?p=openstack-build/ceilometer-build.git;a=blob;f=tests/runtests.sh;h=29f8093f36dcd17ddfa3a9ef29b883763e4de728;hb=refs/heads/openstack-ci/fuel-7.0/2015.1.0 It just happens that installation of mysql-client-5.6 also installs mysql-wsrep-common-5.6 and breaks configuration of mysql-server.

Changed in fuel:
assignee: Fuel build team (fuel-build) → MOS Linux (mos-linux)
Revision history for this message
Aleksander Mogylchenko (amogylchenko) wrote :

They are already mixed, and that is exactly the problem:
http://172.18.160.74/osci/mos/7.0/cluster/base/trusty/pool/main/m/mysql-wsrep-5.6/

You might also check the link I provided. It shows that both mysql-client-5.6 also installs mysql-wsrep-common-5.6 are build from the same source package.

Changed in fuel:
assignee: MOS Linux (mos-linux) → Fuel build team (fuel-build)
Roman Vyalov (r0mikiam)
Changed in fuel:
assignee: Fuel build team (fuel-build) → Alexander Tsamutali (astsmtl)
status: New → Triaged
Roman Vyalov (r0mikiam)
Changed in fuel:
milestone: none → 7.0
Revision history for this message
Alexander Tsamutali (astsmtl) wrote :

I can't get your point. We already found that it's incorrect to mix these packages on the same machine. But package management system doesn't protect us from doing so, instead it encourages broken setup with "Recommends".

Changed in fuel:
assignee: Alexander Tsamutali (astsmtl) → MOS Linux (mos-linux)
Revision history for this message
Aleksander Mogylchenko (amogylchenko) wrote :

Both packages (mysql-client-5.6 also installs mysql-wsrep-common-5.6) were build from the same source package. That is why mysql-client recommends installing mysql-wsrep-common (check my previous comments for exact links). It is not the job of package management system to correct broken packages, but the job of build team - either to correct broken package, or fix repositories so that our packages are selected in all cases and the situation with mixed packages (upstream and ours) are avoided.

Changed in fuel:
assignee: MOS Linux (mos-linux) → Fuel build team (fuel-build)
Revision history for this message
Alexander Tsamutali (astsmtl) wrote :

IIUC "Maintainer: MOS Linux team <email address hidden>" means that MOS Linux team _owns_ this package and thus must fix problems related to this package.

Do you request help from Build team in this particular case?

Changed in fuel:
assignee: Fuel build team (fuel-build) → MOS Linux (mos-linux)
Revision history for this message
Alexei Sheplyakov (asheplyakov) wrote :

> Please read https://bugs.launchpad.net/fuel/+bug/1475288 first.

The test [1] is broken and should either

a) install mysql-server-wsrep-5.6 for tests,
b) make sure the upstream mysql packages get installed, i.e. put something like this into /etc/apt/preferences:

Package: mysql-client-5.6
Pin: release o=Ubuntu
Pin-Priority: 1101

[1] https://review.fuel-infra.org/#/c/9407/6/tests/runtests.sh@135

Changed in fuel:
assignee: MOS Linux (mos-linux) → MOS Ceilometer (mos-ceilometer)
Revision history for this message
Alexei Sheplyakov (asheplyakov) wrote :

It's the ceilometer tests which are broken => reassigning to ceilometer team

Changed in fuel:
assignee: MOS Ceilometer (mos-ceilometer) → MOS Deployment Automation Team (mos-da)
Changed in fuel:
assignee: MOS Deployment Automation Team (mos-da) → MOS Packaging Team (mos-packaging)
status: Triaged → Won't Fix
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
milestone: 7.0 → 8.0
status: Won't Fix → Triaged
no longer affects: fuel/8.0.x
Dmitry Pyzhov (dpyzhov)
tags: added: area-mos
Revision history for this message
Alexander Tsamutali (astsmtl) wrote :

I can't see any workarounds in tests and everything works. It means that someone fixed something. :)

Changed in fuel:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.