Rally role calls deprecated rally-manage script

Bug #1853509 reported by Jeff Albert
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Fix Released
Undecided
Jeff Albert

Bug Description

A task in the rally_setup_db.yml playbook tries to run rally-manage, but that script has been deprecated (and removed) since Rally 2.0.0, resulting in a playbook failure:

"FAILED! => {"changed": false, "cmd": "/openstack/venvs/rally-18.1.12/bin/rally-manage db create", "msg": "[Errno 2] No such file or directory", "rc": 2}"

The 'db' family of commands has been folded into the main "rally" script, so this task should be updated to refer to it instead.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible-os_rally (master)

Fix proposed to branch: master
Review: https://review.opendev.org/695565

Changed in openstack-ansible:
assignee: nobody → Jeff Albert (jralbert)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible-os_rally (master)

Reviewed: https://review.opendev.org/695565
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible-os_rally/commit/?id=7fc259310fceac9c3ff8af149ff95484391b5b2b
Submitter: Zuul
Branch: master

commit 7fc259310fceac9c3ff8af149ff95484391b5b2b
Author: Jeff Albert <email address hidden>
Date: Thu Nov 21 12:02:50 2019 -0800

    Removes reference to deprecated rally-manage

    Replaces the call to "rally-manage db create" with the
    post-2.0.0-compatible "rally db create".

    Closes-Bug: #1853509
    Change-Id: I588ba1e26f5e4afc40f43547b15b48e9428e2f48

Changed in openstack-ansible:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible-os_rally (stable/train)

Fix proposed to branch: stable/train
Review: https://review.opendev.org/696282

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible-os_rally (stable/train)

Reviewed: https://review.opendev.org/696282
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible-os_rally/commit/?id=1d9448767c9ffa3a3d317bee0463e614a98457f5
Submitter: Zuul
Branch: stable/train

commit 1d9448767c9ffa3a3d317bee0463e614a98457f5
Author: Jeff Albert <email address hidden>
Date: Thu Nov 21 12:02:50 2019 -0800

    Removes reference to deprecated rally-manage

    Replaces the call to "rally-manage db create" with the
    post-2.0.0-compatible "rally db create".

    Closes-Bug: #1853509
    Change-Id: I588ba1e26f5e4afc40f43547b15b48e9428e2f48
    (cherry picked from commit 7fc259310fceac9c3ff8af149ff95484391b5b2b)

tags: added: in-stable-train
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible-os_rally (stable/stein)

Fix proposed to branch: stable/stein
Review: https://review.opendev.org/698725

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible-os_rally (stable/stein)

Reviewed: https://review.opendev.org/698725
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible-os_rally/commit/?id=1af78bb2b6331cb1a79c01660e4c04b7df50e039
Submitter: Zuul
Branch: stable/stein

commit 1af78bb2b6331cb1a79c01660e4c04b7df50e039
Author: Jeff Albert <email address hidden>
Date: Thu Nov 21 12:02:50 2019 -0800

    Removes reference to deprecated rally-manage

    Replaces the call to "rally-manage db create" with the
    post-2.0.0-compatible "rally db create".

    Closes-Bug: #1853509
    Change-Id: I588ba1e26f5e4afc40f43547b15b48e9428e2f48
    (cherry picked from commit 7fc259310fceac9c3ff8af149ff95484391b5b2b)

tags: added: in-stable-stein
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-os_rally stein-eol

This issue was fixed in the openstack/openstack-ansible-os_rally stein-eol release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-os_rally train-eol

This issue was fixed in the openstack/openstack-ansible-os_rally train-eol release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-os_rally ussuri-eol

This issue was fixed in the openstack/openstack-ansible-os_rally ussuri-eol release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-os_rally yoga-eom

This issue was fixed in the openstack/openstack-ansible-os_rally yoga-eom release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-os_rally victoria-eom

This issue was fixed in the openstack/openstack-ansible-os_rally victoria-eom release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-os_rally wallaby-eom

This issue was fixed in the openstack/openstack-ansible-os_rally wallaby-eom release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-os_rally xena-eom

This issue was fixed in the openstack/openstack-ansible-os_rally xena-eom release.

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.