Deployment tasks parameters not displaying by fuel2 CLI

Bug #1587862 reported by Ilya Kutukov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Ilya Kutukov
Mitaka
Fix Released
High
Vladimir Kuklin
Newton
Fix Committed
High
Ilya Kutukov

Bug Description

Result:
$ fuel2 task history show 56
+-------------------------------------------+---------+---------+----------------------------+----------------------------+
| task_name | node_id | status | time_start | time_end |
+-------------------------------------------+---------+---------+----------------------------+----------------------------+
| hiera | 10 | ready | 2016-05-26T15:17:39.794404 | 2016-05-26T15:17:44.998476 |
| update_hosts | 10 | pending | None | None |
| openstack-network-start | 10 | pending | None | None

....

Expected:
detailed report containing each task parameter

Revision history for this message
Bug Checker Bot (bug-checker) wrote : Autochecker

(This check performed automatically)
Please, make sure that bug description contains the following sections filled in with the appropriate data related to the bug you are describing:

actual result

version

steps to reproduce

For more detailed information on the contents of each of the listed sections see https://wiki.openstack.org/wiki/Fuel/How_to_contribute#Here_is_how_you_file_a_bug

tags: added: need-info
Revision history for this message
Ilya Kutukov (ikutukov) wrote :

ETA 02/06/2016

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/324040

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/324040
Committed: https://git.openstack.org/cgit/openstack/python-fuelclient/commit/?id=b8daca8431c59becb4cdfca68e3269e284677ca4
Submitter: Jenkins
Branch: master

commit b8daca8431c59becb4cdfca68e3269e284677ca4
Author: Ilya Kutukov <email address hidden>
Date: Wed Jun 1 20:48:47 2016 +0300

    The patch adds option --show-parameters to both fuel and fuel2

    Now commands like:
         fuel2 task history show <:deployment_task_id> --tasks-names <:deployment_task_name>
               --nodes <:node_id> --statuses <:task_status> --show-parameters
    is possible

    Flag --show-parameters for both fuel and fuel2 clients that is
    telling CLI to show deployment tasks parameters.

    Change-Id: I999ef997969940ba5150a63d9f4c163e9a974fdf
    Closes-Bug: #1587862

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/326491

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

Reviewed: https://review.openstack.org/326491
Committed: https://git.openstack.org/cgit/openstack/python-fuelclient/commit/?id=5aa87cfbc28a2340425ccdb0a9e947330a4892be
Submitter: Jenkins
Branch: stable/mitaka

commit 5aa87cfbc28a2340425ccdb0a9e947330a4892be
Author: Ilya Kutukov <email address hidden>
Date: Wed Jun 1 20:48:47 2016 +0300

    The patch adds option --show-parameters to both fuel and fuel2

    Now commands like:
         fuel2 task history show <:deployment_task_id> --tasks-names <:deployment_task_name>
               --nodes <:node_id> --statuses <:task_status> --show-parameters
    is possible

    Flag --show-parameters for both fuel and fuel2 clients that is
    telling CLI to show deployment tasks parameters.

    Change-Id: I999ef997969940ba5150a63d9f4c163e9a974fdf
    Closes-Bug: #1587862
    (cherry picked from commit b8daca8431c59becb4cdfca68e3269e284677ca4)

tags: added: on-verification
Revision history for this message
ElenaRossokhina (esolomina) wrote :

Verified on mos 458 iso
cat /etc/fuel_build_id:
 458
cat /etc/fuel_build_number:
 458
cat /etc/fuel_release:
 9.0
cat /etc/fuel_openstack_version:
 mitaka-9.0
rpm -qa | egrep 'fuel|astute|network-checker|nailgun|packetary|shotgun':
 fuel-release-9.0.0-1.mos6349.noarch
 fuel-misc-9.0.0-1.mos8449.noarch
 python-packetary-9.0.0-1.mos140.noarch
 fuel-bootstrap-cli-9.0.0-1.mos285.noarch
 fuel-migrate-9.0.0-1.mos8449.noarch
 rubygem-astute-9.0.0-1.mos750.noarch
 fuel-mirror-9.0.0-1.mos140.noarch
 shotgun-9.0.0-1.mos90.noarch
 fuel-openstack-metadata-9.0.0-1.mos8741.noarch
 fuel-notify-9.0.0-1.mos8449.noarch
 nailgun-mcagents-9.0.0-1.mos750.noarch
 python-fuelclient-9.0.0-1.mos325.noarch
 fuel-9.0.0-1.mos6349.noarch
 fuel-utils-9.0.0-1.mos8449.noarch
 fuel-setup-9.0.0-1.mos6349.noarch
 fuel-provisioning-scripts-9.0.0-1.mos8741.noarch
 fuel-library9.0-9.0.0-1.mos8449.noarch
 network-checker-9.0.0-1.mos74.x86_64
 fuel-agent-9.0.0-1.mos285.noarch
 fuel-ui-9.0.0-1.mos2717.noarch
 fuel-ostf-9.0.0-1.mos935.noarch
 fuelmenu-9.0.0-1.mos273.noarch
 fuel-nailgun-9.0.0-1.mos8741.noarch

Flag --show-parameters works as expected for both fuel and fuel2 clients (output is attached to the report). Issue with filtering by nodes is described here: https://bugs.launchpad.net/fuel/+bug/1590872

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.