install script params for other DB's not working

Bug #1458408 reported by Brian Downs
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Rally
Fix Released
Medium
Brian Downs

Bug Description

When trying to install Rally and have it use MySQL, it's saying that I'm missing parameters though the parameters are provided. I've also tried formatting the parameters in a opt=param manner as well but with no love. I'm sure this is probably a user issue on my part but I wanted to file this in case it's not.

[root@devstack rally-master]# ./install_rally.sh --dbtype mysql --db-host localhost --db-name rally --db-user rally --db-password ********
which: no python3 in (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
==========================================================
install_rally.sh: ERROR: Missing mandatory options
==========================================================

When specifying a database type different than 'sqlite', you also have
to specify the database name, host, and username and password of a
valid user with write access to the database.

Please, re-run the script with valid values for the options:

    --db-host
    --db-name
    --db-user
    --db-password

If the above does not help you resolve the issue, please contact the
Rally team by sending an email to the OpenStack mailing list
<email address hidden>. Include the full output of this
script to help us identifying the problem.

Aborting installation!

Tags: installation
Revision history for this message
Brian Downs (brian-downs) wrote :

I found the bug and will submit a patch in the next day or two.

Changed in rally:
assignee: nobody → Brian Downs (brian-downs)
summary: - install script params for mysql
+ install script params for other DB's
summary: - install script params for other DB's
+ install script params for other DB's not working
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to rally (master)

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

Changed in rally:
status: New → In Progress
Changed in rally:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on rally (master)

Change abandoned by Boris Pavlovic (<email address hidden>) on branch: master
Review: https://review.openstack.org/185430
Reason: squashed to previous patch

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

Reviewed: https://review.openstack.org/185296
Committed: https://git.openstack.org/cgit/openstack/rally/commit/?id=a6f9d3c19017ec5bc0a8828761ec6e8082dcb3d8
Submitter: Jenkins
Branch: master

commit a6f9d3c19017ec5bc0a8828761ec6e8082dcb3d8
Author: Brian Downs <email address hidden>
Date: Sun May 24 19:54:07 2015 -0700

    Remove break from case statement to allow for parsing of CLI args

    Added test to check that --dbtype works

    Closes-bug: 1458408

    Change-Id: I26d3d7446e9652dc8df424854ee6204b95638f36

Changed in rally:
status: In Progress → Fix Committed
Changed in rally:
milestone: none → 0.1.0
Changed in rally:
status: Fix Committed → 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.