install hook failing on Xenial with unmet dependency on mysql-client
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
percona-cluster (Juju Charms Collection) |
Fix Released
|
High
|
Ryan Beisner |
Bug Description
This failure is being caused by a previous workaround in the charm for Utopic/Vivid where the mysql-client-5.6 package had to be explicitly installed.
On Xenial, a straight install of the percona-
ubuntu@
mysql-client:
Installed: 5.7.11-0ubuntu6
Candidate: 5.7.11-0ubuntu6
Version table:
*** 5.7.11-0ubuntu6 500
500 http://
100 /var/lib/
5.
500 http://
...
Install hook failing on Xenial with unmet dependency on mysql-client
2016-04-18 17:44:57 INFO install Reading package lists...
2016-04-18 17:44:58 INFO install Building dependency tree...
2016-04-18 17:44:58 INFO install Reading state information...
2016-04-18 17:44:58 INFO install Some packages could not be installed. This may mean that you have
2016-04-18 17:44:58 INFO install requested an impossible situation or if you are using the unstable
2016-04-18 17:44:58 INFO install distribution that some required packages have not yet been created
2016-04-18 17:44:58 INFO install or been moved out of Incoming.
2016-04-18 17:44:58 INFO install The following information may help to resolve the situation:
2016-04-18 17:44:58 INFO install
2016-04-18 17:44:58 INFO install The following packages have unmet dependencies:
2016-04-18 17:44:58 INFO install percona-
2016-04-18 17:44:58 INFO install E: Unable to correct problems, you have held broken packages.
2016-04-18 17:44:58 INFO install Traceback (most recent call last):
2016-04-18 17:44:58 INFO install File "/var/lib/
2016-04-18 17:44:58 INFO install main()
2016-04-18 17:44:58 INFO install File "/var/lib/
2016-04-18 17:44:58 INFO install hooks.execute(
2016-04-18 17:44:58 INFO install File "/var/lib/
2016-04-18 17:44:58 INFO install self._hooks[
2016-04-18 17:44:58 INFO install File "/var/lib/
2016-04-18 17:44:58 INFO install return f(*args, **kwargs)
2016-04-18 17:44:58 INFO install File "/var/lib/
2016-04-18 17:44:58 INFO install apt_install(
2016-04-18 17:44:58 INFO install File "/var/lib/
2016-04-18 17:44:58 INFO install _run_apt_
2016-04-18 17:44:58 INFO install File "/var/lib/
2016-04-18 17:44:58 INFO install result = subprocess.
2016-04-18 17:44:58 INFO install File "/usr/lib/
2016-04-18 17:44:58 INFO install raise CalledProcessEr
2016-04-18 17:44:58 INFO install subprocess.
2016-04-18 17:44:58 ERROR juju.worker.
description: | updated |
Changed in percona-cluster (Juju Charms Collection): | |
assignee: | nobody → Ryan Beisner (1chb1n) |
status: | New → Confirmed |
importance: | Undecided → High |
Changed in percona-cluster (Juju Charms Collection): | |
milestone: | none → 16.04 |
Changed in percona-cluster (Juju Charms Collection): | |
status: | Fix Committed → Fix Released |
The original work-around in the charm was for Vivid and Utopic, which are both EOL.
A straight install of the percona- xtradb- cluster- server- 5.6 package on fresh Wily and Xenial instances yields the mysql-client package, which was not the case in Vivid and Utopic.
It is now safe to yank that work-around from the charm to unblock Xenial.
Additionally, the lp:openstack-charm-testing bundles have included a mysql charm override (diaper) for >= Wily, and that should be removed. Same for Mojo spec tests in lp:~ost-maintainers/openstack-mojo-specs/mojo-openstack-specs.
FYI, from fresh instances, after apt installing just percona- xtradb- cluster- server- 5.6:
#### Wily: wily181605: ~$ dpkg-query --show percona* mysql* 0ubuntu0. 15.10.1 core-5. 5 core-5. 6 5.6.28- 0ubuntu0. 15.10.1 0ubuntu0. 15.10.1 core-5. 1 core-5. 6 server- server- 5.1 server- server- 5.5 xtradb- cluster- common- 5.5 xtradb- cluster- galera- 2.x xtradb- cluster- galera- 25 xtradb- cluster- galera- 3.x xtradb- cluster- garbd-2. x xtradb- cluster- garbd-3. x xtradb- cluster- server- 5.5 xtradb- cluster- server- 5.6 5.6.21- 25.8-0ubuntu2 xtradb- server- 5.0
ubuntu@
mysql-client-5.5
mysql-client-5.6 5.6.28-
mysql-client-
mysql-client-
mysql-common 5.6.28-
mysql-common-5.6
mysql-server
mysql-server-5.0
mysql-server-5.1
mysql-server-5.5
mysql-server-5.6
mysql-server-
mysql-server-
percona-galera-3 3.8-3390-0ubuntu5
percona-
percona-
percona-xtrabackup 2.2.3-2.1build1
percona-
percona-
percona-
percona-
percona-
percona-
percona-
percona-
percona-
#### Xenial: xenial180820: ~$ dpkg-query --show percona* mysql* core-5. 5 core-5. 6 core-5. 7 5.7.11-0ubuntu6 core-5. 1 core-5. 6 server- server- 5.1 server- server- 5.5 xtradb- cluster- common- 5.5 xtradb- cluster- galera- 2.x xtradb- cluster- galera- 25 xtradb- cluster- galera- 3.x xtradb- cluster- garbd-2. x xtradb- cluster- garbd-3. x xtradb- cluster- server- 5.5 xtradb- cluster- server- 5.6 5.6.21- 25.8-0ubuntu3 xtradb- server- 5.0
ubuntu@
mysql-client 5.7.11-0ubuntu6
mysql-client-5.5
mysql-client-5.6
mysql-client-5.7 5.7.11-0ubuntu6
mysql-client-
mysql-client-
mysql-client-
mysql-common 5.7.11-0ubuntu6
mysql-common-5.6
mysql-server
mysql-server-5.0
mysql-server-5.1
mysql-server-5.5
mysql-server-5.6
mysql-server-
mysql-server-
percona-galera-3 3.8-3390-0ubuntu6
percona-
percona-
percona-xtrabackup 2.2.3-2.1build1
percona-
percona-
percona-
percona-
percona-
percona-
percona-
percona-
percona-