Fix fuel deployment-task help message

Bug #1594463 reported by Alexander Kurenyshev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
Medium
Oleksandr Berezovskyi
Mitaka
Won't Fix
Medium
Fuel Sustaining

Bug Description

Steps to reproduce:
I need to get info about some tasks on the node with specific id. I don't remember exactly command and use help. Use examples section to make a request:

[root@nailgun ~]# fuel deployment-tasks --task-id 17 -h| grep "\-\-nodes"
            fuel deployment-tasks --task-id 5 --nodes 1,2
            fuel deployment-tasks --task-id 5 --status error --nodes 1,2

Now I know that I should use --nodes argument for my query:
[root@nailgun ~]# fuel deployment-tasks --task-id 17 --nodes 1
<...>
fuel: error: unrecognized arguments: --nodes 1

At the `optional arguments:` section command is correct:
--node NODE, --node-id NODE
                        Node ids.

We should fix the Examples section

[root@nailgun ~]# shotgun2 short-report
cat /etc/fuel_build_id:
 490
cat /etc/fuel_build_number:
 490
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.mos8460.noarch
 python-packetary-9.0.0-1.mos140.noarch
 fuel-bootstrap-cli-9.0.0-1.mos285.noarch
 fuel-migrate-9.0.0-1.mos8460.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.mos8743.noarch
 fuel-notify-9.0.0-1.mos8460.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.mos8460.noarch
 fuel-setup-9.0.0-1.mos6349.noarch
 fuel-provisioning-scripts-9.0.0-1.mos8743.noarch
 fuel-library9.0-9.0.0-1.mos8460.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.mos936.noarch
 fuelmenu-9.0.0-1.mos274.noarch
 fuel-nailgun-9.0.0-1.mos8743.noarch

Tags: need-info
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

expected result

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
Dmitry Pyzhov (dpyzhov)
no longer affects: fuel/newton
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/332064

Changed in fuel:
assignee: Fuel Sustaining (fuel-sustaining-team) → Oleksandr Berezovskyi (berezovskyi-oleksandr)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-fuelclient (master)

Reviewed: https://review.openstack.org/332064
Committed: https://git.openstack.org/cgit/openstack/python-fuelclient/commit/?id=6e9e904c4e9f6d9c43832a13025d6fda973a0689
Submitter: Jenkins
Branch: master

commit 6e9e904c4e9f6d9c43832a13025d6fda973a0689
Author: Oleksandr Berezovskyi <email address hidden>
Date: Tue Jun 21 13:23:27 2016 +0300

    Fix fuel deployment-task help message

    Change-Id: I972a87ec3c0851d40bbdc6e1221bdc8590558725
    Closes-Bug: #1594463

Changed in fuel:
status: In Progress → Fix Committed
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.