Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-20705

Doc feedback on Migrating databases to MariaDB instances

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • rhos-18.0.z
    • None
    • documentation
    • None
    • Moderate

      We got the following feedback on the Migrating databases to MariaDB instances chapter in the 18.0 adoption guide:

      • Section 3.5, step 2:
        The shell script uses a for loop, which they complete with an "end" statement, but it should be "done"
      • Section 3.5, step 3:
        The shell script has this:

       $ test -z "$PULL_OPENSTACK_CONFIGURATION_MYSQLCHECK_NOK"  || [ "x$PULL_OPENSTACK_CONFIGURATION_MYSQLCHECK_NOK" = "x " ] && echo "OK" || echo "CHECK FAILED"

      However, the shell variable is an array, so the test -z check doesn't work, failing with:
       "PULL_OPENSTACK_CONFIGURATION_MYSQLCHECK_NOK: unbound variable"
       It seems like this should be moved into the for loop and checked with the array variable.

              kgilliga@redhat.com Katie Gilligan
              kgilliga@redhat.com Katie Gilligan
              rhos-dfg-upgrades
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: