[python-fuelclient] Add ability to filter list of transaction by statuses, cluster_id and transaction_types for 'fuel2 task list' command

Bug #1613674 reported by Vitalii Kulanov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
Medium
Vitalii Kulanov
Mitaka
Fix Released
Medium
Vitalii Kulanov

Bug Description

Detailed bug description:
Python-fuelclient and 'fuel2 task list' command shows list of all available tasks without any filtering. Now Nailgun supports filtering data by statuses, cluster_id and transaction_types (, https://review.openstack.org/#/c/332019/, https://bugs.launchpad.net/fuel/+bug/1593751). So filtering on client side ('fuel2 task list') must be supported as well.

Changed in fuel:
assignee: nobody → Vitalii Kulanov (vitaliy-t)
Changed in fuel:
milestone: none → 10.0
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-fuelclient (master)

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

Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-fuelclient (master)

Reviewed: https://review.openstack.org/356232
Committed: https://git.openstack.org/cgit/openstack/python-fuelclient/commit/?id=44843c40cc98906e50202431bebb6dc77688a9d9
Submitter: Jenkins
Branch: master

commit 44843c40cc98906e50202431bebb6dc77688a9d9
Author: tivaliy <email address hidden>
Date: Wed Aug 17 08:22:57 2016 +0300

    Add filters to 'fuel2 task list' command

    Now Nailgun supports filtering transactions by statuses,
    cluster_id and transaction_types
    (commit 8257a0dbcb680e4eb9c19afe027b3a0fbdb0e7be).
    This patch adds filtering support for 'fuel2 task list' command.

    usage: fuel2 task list [-h] [-f {csv,html,json,table,value,yaml}]
                           [-c COLUMN] [--max-width <integer>] [--noindent]
                           [--quote {all,minimal,none,nonnumeric}]
                           [-s SORT_COLUMN [SORT_COLUMN ...]] [-e ENV]
                           [-t {pending,error,ready,running}
                               [{pending,error,ready,running} ...]]
                           [-n NAMES [NAMES ...]]

    DocImpact
    Closes-Bug: 1613674

    Change-Id: I8e33944a422a7847e055318b9d73e872244117c7

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-fuelclient (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/369964

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-fuelclient (stable/mitaka)

Reviewed: https://review.openstack.org/369964
Committed: https://git.openstack.org/cgit/openstack/python-fuelclient/commit/?id=1709a590442fc869fbfd034f16fed5ac84943ae5
Submitter: Jenkins
Branch: stable/mitaka

commit 1709a590442fc869fbfd034f16fed5ac84943ae5
Author: tivaliy <email address hidden>
Date: Wed Aug 17 08:22:57 2016 +0300

    Add filters to 'fuel2 task list' command

    Now Nailgun supports filtering transactions by statuses,
    cluster_id and transaction_types
    (commit 8257a0dbcb680e4eb9c19afe027b3a0fbdb0e7be).
    This patch adds filtering support for 'fuel2 task list' command.

    usage: fuel2 task list [-h] [-f {csv,html,json,table,value,yaml}]
                           [-c COLUMN] [--max-width <integer>] [--noindent]
                           [--quote {all,minimal,none,nonnumeric}]
                           [-s SORT_COLUMN [SORT_COLUMN ...]] [-e ENV]
                           [-t {pending,error,ready,running}
                               [{pending,error,ready,running} ...]]
                           [-n NAMES [NAMES ...]]

    DocImpact
    Closes-Bug: 1613674

    Change-Id: I8e33944a422a7847e055318b9d73e872244117c7
    (cherry picked from commit 44843c40cc98906e50202431bebb6dc77688a9d9)

tags: added: on-verification
Revision history for this message
TatyanaGladysheva (tgladysheva) wrote :

Verified on 9.2 snapshot #511.

tags: removed: on-verification
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.