[ops-database] myswl version 5.3 does not have parsed_version method

Bug #1373523 reported by Mark Vanderwiel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack + Chef
Fix Released
Critical
Mark Vanderwiel

Bug Description

mysql-server recipe has this, which is calling .parsed_version

# Set the version attribute based on what was actually
# installed.
server_resource = mysql_service node['mysql']['service_name']
server_version = server_resource.parsed_version
node.set['mysql']['version'] = server_version

The metadata has this:

depends 'mysql', '~> 5.3'

That .parsed_version method is in version 5.4.

Should also bump the repo version, which has 5.3.6 in it's Berksfile.

Tags: ops-database
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cookbook-openstack-ops-database (master)

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

Changed in openstack-chef:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-chef-repo (master)

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

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

Reviewed: https://review.openstack.org/123793
Committed: https://git.openstack.org/cgit/stackforge/openstack-chef-repo/commit/?id=a83f6bf1c94dbecb9337704598849875aedb138f
Submitter: Jenkins
Branch: master

commit a83f6bf1c94dbecb9337704598849875aedb138f
Author: Mark Vanderwiel <email address hidden>
Date: Wed Sep 24 12:17:27 2014 -0500

    Bump mysql and mysql-chef cookbooks to required levels for Juno

    * Changes in ops-database for mysql
    * Bugs in mysql-gem

    Change-Id: I1ab3ec02993fd9ae3f8859815b63dc539a6b1e12
    Partial-Bug: #1373523

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cookbook-openstack-ops-database (master)

Reviewed: https://review.openstack.org/123791
Committed: https://git.openstack.org/cgit/stackforge/cookbook-openstack-ops-database/commit/?id=3f7bcb9421a88f9121e21dc7f425c3c239416b2c
Submitter: Jenkins
Branch: master

commit 3f7bcb9421a88f9121e21dc7f425c3c239416b2c
Author: Mark Vanderwiel <email address hidden>
Date: Wed Sep 24 12:12:23 2014 -0500

    Fix mysql cookbook version for previous password patch

    The previous patch is using a new method only available in
    mysql cookbook version 5.4. Bump metadata to that.

    Change-Id: I988fbab91b7ac2251276ffe837e5b918d2f7371a
    Partial-Bug: #1373523

Changed in openstack-chef:
status: In Progress → 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.