cluster::mysql Exec[create-init-file] fails on rhel7

Bug #1638904 reported by Pavel Gluschak
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
Undecided
Pavel Gluschak

Bug Description

2016-11-03 11:16:30 +0000 /Stage[main]/Cluster::Mysql/Exec[create-init-file] (err): Could not evaluate: Could not find command 'mysql'
2016-11-03 11:16:30 +0000 Puppet (err): Could not prefetch mysql_grant provider 'mysql': Command mysql is missing
2016-11-03 11:16:30 +0000 Puppet (err): Could not find a suitable provider for mysql_user

That's because mysql client package is not installed at a moment, when create-init-file is executed.

Pavel Gluschak (scsnow)
Changed in fuel:
assignee: nobody → Pavel Gluschak (scsnow)
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/393300

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

Reviewed: https://review.openstack.org/393300
Committed: https://git.openstack.org/cgit/openstack/fuel-library/commit/?id=9e3f6cf0ad480296ba866bd0fb7a7a31f380a0c9
Submitter: Jenkins
Branch: master

commit 9e3f6cf0ad480296ba866bd0fb7a7a31f380a0c9
Author: Pavel Glushchak <email address hidden>
Date: Thu Nov 3 15:42:55 2016 +0300

    fixed cluster::mysql requires mysql client installed

    cluster::mysql calls `mysql` command in create-init-file
    However mysql client package is not installed at a moment,
    when this command is executed. Thus it fails.

    Change-Id: Iaf4dd8f8ffe58e47bef07df04952d889a8c32212
    Closes-Bug: #1638904
    Signed-off-by: Pavel Glushchak <email address hidden>

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/417965

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (stable/newton)

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/417967

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

Reviewed: https://review.openstack.org/417967
Committed: https://git.openstack.org/cgit/openstack/fuel-library/commit/?id=db6e2931660be76f654ba0cff8c63695b1b157ec
Submitter: Jenkins
Branch: stable/newton

commit db6e2931660be76f654ba0cff8c63695b1b157ec
Author: Pavel Glushchak <email address hidden>
Date: Thu Nov 3 15:42:55 2016 +0300

    fixed cluster::mysql requires mysql client installed

    cluster::mysql calls `mysql` command in create-init-file
    However mysql client package is not installed at a moment,
    when this command is executed. Thus it fails.

    Change-Id: Iaf4dd8f8ffe58e47bef07df04952d889a8c32212
    Closes-Bug: #1638904
    Signed-off-by: Pavel Glushchak <email address hidden>

tags: added: in-stable-newton
tags: added: in-stable-mitaka
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (stable/mitaka)

Reviewed: https://review.openstack.org/417965
Committed: https://git.openstack.org/cgit/openstack/fuel-library/commit/?id=bdbabac9fcfa1793fb6c602aa06ebf7c2f0f9e6f
Submitter: Jenkins
Branch: stable/mitaka

commit bdbabac9fcfa1793fb6c602aa06ebf7c2f0f9e6f
Author: Pavel Glushchak <email address hidden>
Date: Thu Nov 3 15:42:55 2016 +0300

    fixed cluster::mysql requires mysql client installed

    cluster::mysql calls `mysql` command in create-init-file
    However mysql client package is not installed at a moment,
    when this command is executed. Thus it fails.

    Change-Id: Iaf4dd8f8ffe58e47bef07df04952d889a8c32212
    Closes-Bug: #1638904
    Signed-off-by: Pavel Glushchak <email address hidden>

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/fuel-library 11.0.0.0rc1

This issue was fixed in the openstack/fuel-library 11.0.0.0rc1 release candidate.

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.