[osci] Could not update: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold --force-yes install mysql-client=5.5.37-0ubuntu0.12.04.1' returned 100: Reading package lists...

Bug #1348131 reported by Anastasia Palkina
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
Critical
Sergii Golovatiuk

Bug Description

"build_id": "2014-07-23_02-01-14",
"ostf_sha": "c1b60d4bcee7cd26823079a86e99f3f65414498e",
"build_number": "347",
"auth_required": false,
"api": "1.0",
"nailgun_sha": "f5775d6b7f5a3853b28096e8c502ace566e7041f",
"production": "docker",
"fuelmain_sha": "74b9200955201fe763526ceb51607592274929cd",
"astute_sha": "fd9b8e3b6f59b2727b1b037054f10e0dd7bd37f1",
"feature_groups": ["mirantis"],
"release": "5.1",
"fuellib_sha": "fb0e84c954a33c912584bf35054b60914d2a2360"

1. Create new environment (Ubuntu, simple mode)
2. Choose Ceilometer
3. Add controller+mongo, compute
4. Start deployment. It has failed.
5. There is errors in puppet.log on controller (node-17):

2014-07-24 11:15:52 ERR

 (/Stage[main]/Mysql/Package[mysql-client]/ensure) change from purged to 5.5.37-0ubuntu0.12.04.1 failed: Could not update: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold --force-yes install mysql-client=5.5.37-0ubuntu0.12.04.1' returned 100: Reading package lists...

Revision history for this message
Anastasia Palkina (apalkina) wrote :
Dmitry Ilyin (idv1985)
Changed in fuel:
assignee: Fuel Library Team (fuel-library) → Dmitry Ilyin (idv1985)
summary: - Could not update: Execution of '/usr/bin/apt-get -q -y -o
+ [library] Could not update: Execution of '/usr/bin/apt-get -q -y -o
DPkg::Options::=--force-confold --force-yes install mysql-
client=5.5.37-0ubuntu0.12.04.1' returned 100: Reading package lists...
Changed in fuel:
status: New → In Progress
Revision history for this message
Dmitry Ilyin (idv1985) wrote : Re: [library] Could not update: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold --force-yes install mysql-client=5.5.37-0ubuntu0.12.04.1' returned 100: Reading package lists...

Initially I cannot reproduce this. It doesn't apeear neither on my deployments nor on system tests.
Is your environment being updated or installed?

Changed in fuel:
status: In Progress → Incomplete
Revision history for this message
Dmitry Ilyin (idv1985) wrote :

Looks like we have some dependency problems here:

package mysql-client is failed to install:

aptitude show mysql-client
Package: mysql-client
State: not installed
Version: 5.5.37-0ubuntu0.12.04.1
Priority: optional
Section: database
Maintainer: Ubuntu Developers <email address hidden>
Architecture: all
Uncompressed Size: 117 k
Depends: mysql-client-5.5
Provided by: mysql-client-5.5, mysql-client-5.6
Description: MySQL database client (metapackage depending on the latest version)
 This is an empty package that depends on the current "best" version of mysql-client (currently mysql-client-5.5), as determined by the MySQL maintainers. Install
 this package if in doubt about which MySQL version you want, as this is the one we consider to be in the best shape.
Homepage: http://dev.mysql.com/

We have these packages installed:

ii mysql-client-5.6 5.6.16-ubuntu2 MySQL database client binaries
ii mysql-client-core-5.6 5.6.16-ubuntu2 MySQL database core client binaries
ii mysql-common 5.5.37-0ubuntu0.12.04.1 MySQL database common files, e.g. /etc/mysql/my.cnf
ii mysql-server-wsrep-5.6 5.6.16-ubuntu2 MySQL database server binaries and system database setup
ii mysql-server-wsrep-core-5.6 5.6.16-ubuntu2 MySQL database server binaries
ii mysql-wsrep-common-5.6 5.6.16-ubuntu2 MySQL 5.6 specific common files, e.g. /etc/mysql/conf.d/my-5.6.cnf

mysql-client depends on mysql-client-5.5 but we have mysql-client-5.6 installed and mysql-clinet cannot be installed

The following packages have unmet dependencies:
 mysql-client : Depends: mysql-client-5.5 but it is not going to be installed

mysq-client is provided by mysql-client-5.5, mysql-client-5.6

I gues swe sould remove Depends: mysql-client-5.5 from mysql-client

Changed in fuel:
assignee: Dmitry Ilyin (idv1985) → Roman Vyalov (r0mikiam)
summary: - [library] Could not update: Execution of '/usr/bin/apt-get -q -y -o
+ [osci] Could not update: Execution of '/usr/bin/apt-get -q -y -o
DPkg::Options::=--force-confold --force-yes install mysql-
client=5.5.37-0ubuntu0.12.04.1' returned 100: Reading package lists...
Revision history for this message
Dmitry Ilyin (idv1985) wrote :

Or we should make mysql-client=5.6.16-ubuntu2 that depends on mysql-client-5.6

Changed in fuel:
status: Incomplete → Confirmed
Roman Vyalov (r0mikiam)
Changed in fuel:
assignee: Roman Vyalov (r0mikiam) → Fuel OSCI Team (fuel-osci)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-main (master)

Fix proposed to branch: master
Review: https://review.openstack.org/109605

Changed in fuel:
assignee: Fuel OSCI Team (fuel-osci) → Roman Vyalov (r0mikiam)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (master)

Fix proposed to branch: master
Review: https://review.openstack.org/109612

Changed in fuel:
assignee: Roman Vyalov (r0mikiam) → Sergii Golovatiuk (sgolovatiuk)
Roman Vyalov (r0mikiam)
Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-main (master)

Change abandoned by Roman Vyalov (<email address hidden>) on branch: master
Review: https://review.openstack.org/109605

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/109612
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=448dee95b84f4f6585baf0d98f84e376854233eb
Submitter: Jenkins
Branch: master

commit 448dee95b84f4f6585baf0d98f84e376854233eb
Author: Sergii Golovatiuk <email address hidden>
Date: Fri Jul 25 14:42:56 2014 +0000

    Remove version from mysql-common

    Change-Id: I6286d7f8d4ad348a090f72280291786107e653f2
    Closes-Bug: 1348131

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.