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 1470747 - fixing harmful typos in databases/mysql/general-changes/check
Summary: fixing harmful typos in databases/mysql/general-changes/check
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: preupgrade-assistant-el6toel7
Version: 6.9
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Jakub Mazanek
QA Contact: Alois Mahdal
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-07-13 14:45 UTC by Jakub Mazanek
Modified: 2017-08-02 00:10 UTC (History)
3 users (show)

Fixed In Version: preupgrade-assistant-el6toel7-0.6.71-2.el6
Doc Type: No Doc Update
Doc Text:
undefined
Clone Of:
Environment:
Last Closed: 2017-08-02 00:10:57 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:2400 0 normal SHIPPED_LIVE preupgrade-assistant-el6toel7 bug fix and enhancement update 2017-08-01 22:04:03 UTC

Description Jakub Mazanek 2017-07-13 14:45:25 UTC
Description of problem:
Backticks in place of single quotes caused module to hang, waiting for output of non-existing commands

Version-Release number of selected component (if applicable):
preupgrade-assistant-el6toel7-0.6.69-1.el6_8.noarch

How reproducible:
Always

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Fixed. Now the module works as expected

Comment 3 Alois Mahdal 2017-07-17 11:18:09 UTC
Notes for QA
============

This should reproduce the issue (according to info from @bnater, who originally reproduced it on in-place upgrade workshop).

    {
        echo 'DROP DATABASE php_mysql_test;'
        echo 'CREATE DATABASE php_mysql_test;'
        echo 'USE php_mysql_test;'
        echo 'CREATE TABLE foobar (name VARCHAR(10), value INTEGER);'
        echo 'INSERT INTO foobar VALUES("fish", 42);'
    } | mysql --verbose -u root
   preupg --force

...and preupg will get stuck at mysql module mysql/general_changes.

Also, make sure to review the patch:

    http://git.app.eng.bos.redhat.com/git/preupgrade-assistant-contents.git/commit/?h=rhel6_7-post&id=e91c3b4b452b8c194d350f81cd5d33c02573ef60

Comment 4 Alois Mahdal 2017-07-17 11:45:35 UTC
(Correcting Alois Mahdal's comment #3)
> Notes for QA
> ============
> 
> This should reproduce the issue (according to info from @bnater, who
> originally reproduced it on in-place upgrade workshop).


Of course, first:

    yum -y install mysql mysql-server
    service mysql start

...then:

>     {
>         echo 'DROP DATABASE php_mysql_test;'
>         echo 'CREATE DATABASE php_mysql_test;'
>         echo 'USE php_mysql_test;'
>         echo 'CREATE TABLE foobar (name VARCHAR(10), value INTEGER);'
>         echo 'INSERT INTO foobar VALUES("fish", 42);'
>     } | mysql --verbose -u root
>    preupg --force

Comment 5 Alois Mahdal 2017-07-17 19:24:21 UTC
Turns out that /CoreOS/preupgrade-assistant-el6toel7/upg/mysql-sanity reproduces this as well, so I used that instead of the above STR.

 *  TJ#1959725 preupgrade-assistant-el6toel7-0.6.70-2.el6 - is still
    stuck at the mysql module.

 *  TJ#1959724 preupgrade-assistant-el6toel7-0.6.71-2.el6 - has already
    finished and passed.

 *  I have reviewed the texts and terms are now quoted using apostrophes.

 *  I have also reviewed the patch -- looks OK.

Comment 7 errata-xmlrpc 2017-08-02 00:10:57 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://access.redhat.com/errata/RHBA-2017:2400


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