RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1331215 - tmp_config undefined in databases/mysql/configuration_changes
Summary: tmp_config undefined in databases/mysql/configuration_changes
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: preupgrade-assistant-el6toel7
Version: 6.8
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: ---
Assignee: Petr Stodulka
QA Contact: Alois Mahdal
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-28 02:46 UTC by Alois Mahdal
Modified: 2016-05-11 08:28 UTC (History)
2 users (show)

Fixed In Version: preupgrade-assistant-el6toel7-0.6.48-1.el6
Doc Type: Bug Fix
Doc Text:
Do not document.
Clone Of:
Environment:
Last Closed: 2016-05-11 08:28:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1020 0 normal SHIPPED_LIVE preupgrade-assistant-el6toel7 bug fix and enhancement update 2016-05-11 12:25:34 UTC

Description Alois Mahdal 2016-04-28 02:46:38 UTC
Description of problem
======================

databases/mysql/configuration_changes prints following messages to stderr:


    INPLACERISK: MEDIUM: /etc/my.cnf: option 'plugin-load=innodb=' is not supported
    INPLACERISK: HIGH: /etc/my.cnf: option 'innodb_file_io_threads' is not supported
    INPLACERISK: HIGH: /etc/my.cnf: option 'language' is deprecated
    /root/preupgrade/RHEL6_7/databases/mysql/configuration_changes/configuration.sh: line 103: : No such file or directory
    INPLACERISK: HIGH: /etc/my.cnf: option 'log-bin-trust-routine-creators' was removed in MariaDB 5.5
    /root/preupgrade/RHEL6_7/databases/mysql/configuration_changes/configuration.sh: line 103: : No such file or directory
    INPLACERISK: HIGH: /etc/my.cnf: option 'table_lock_wait_timeout' was removed in MariaDB 5.5

where 103 refers to 83 in the source:

    echo "obsolete_options_used" >> "$tmp_config"

Indeed, tmp_config has not been defined.


Version-Release number of selected component
============================================

preupgrade-assistant-el6toel7-0.6.46-1.el6


How reproducible
================

Always (with relevant options in my.cnf)


Steps to Reproduce
==================

Schedule /CoreOS/preupgrade-assistant/6to7/contents/mysql-configuration_changes
and pay attention to sub-tests:

    table_lock_wait_timeout
    log_bin_trust_routine_creators
    AllOpts

 -or-

with mysql and mysql-libs installed, add one or both of following lines
to /etc/my.cnf under `[mysqld]` section:

    log-bin-trust-routine-creators=foo
    table_lock_wait_timeout=10

and run preupg.


Actual results
==============

Mentioned errors appear in module's stdout (if BZ#1309491 still applies;
else in stderr).  Module probably does not provide all necessary details.


Expected results
================

No errors; module gives all necessary details.

Comment 5 Alois Mahdal 2016-04-29 02:24:57 UTC
Sorry, the patch did not make it into build:

    [0 root@qeos-158 ~]# rpm -qa preupgrade\*
    preupgrade-assistant-2.1.6-4.el6.noarch
    preupgrade-assistant-ui-2.1.6-4.el6.noarch
    preupgrade-assistant-tools-2.1.6-4.el6.noarch
    preupgrade-assistant-CoreOS-preupgrade-assistant-Library-main-1.2-10.noarch
    preupgrade-assistant-el6toel7-data-0.20160406-1.el6.noarch
    preupgrade-assistant-el6toel7-0.6.47-1.el6.noarch
    [0 root@qeos-158 ~]# grep -w tmp_config /usr/share/preupgrade/RHEL6_7/databases/mysql/configuration_changes/configuration.sh
                echo "obsolete_options_used" >> "$tmp_config"
    [0 root@qeos-158 ~]#

Comment 8 Alois Mahdal 2016-04-29 20:16:29 UTC
Tested on all archs with  preupgrade-assistant-el6toel7-0.6.48-1.el6.

(In reply to Alois Mahdal from comment #0)
[...]
>
> Actual results
> ==============
> 
> Mentioned errors appear in module's stdout (if BZ#1309491 still applies;
> else in stderr).  Module probably does not provide all necessary details.
>
>
>
> Expected results
> ================
> 
> No errors; module gives all necessary details.


The error messages went away, though.

All details are (and were) and provided; my suspicion about missing details was wrong, as clarified with Petr.

Comment 9 errata-xmlrpc 2016-05-11 08:28:45 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-1020.html


Note You need to log in before you can comment on or make changes to this bug.