openstack coe cluster config --force is asking for argument

Bug #1721267 reported by Ricardo Rocha
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python-magnumclient
Fix Released
Undecided
Ricardo Rocha

Bug Description

--force should be a flag, but it seems to expect a value

# openstack coe cluster config --force testcluster
usage: openstack coe cluster config [-h] [--dir <dir>] [--force <force>]
                                    <cluster>
openstack coe cluster config: error: too few arguments

Giving it a random value 'works', but it shouldn't be needed.

# openstack coe cluster config --force a testcluster
export KUBECONFIG=...

no longer affects: magnum
Changed in python-magnumclient:
assignee: nobody → Ricardo Rocha (rocha-porto)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-magnumclient (master)

Reviewed: https://review.openstack.org/510438
Committed: https://git.openstack.org/cgit/openstack/python-magnumclient/commit/?id=92fa44e1d94ee95e0279338e9f719a9f64e6fce7
Submitter: Jenkins
Branch: master

commit 92fa44e1d94ee95e0279338e9f719a9f64e6fce7
Author: Ricardo Rocha <email address hidden>
Date: Mon Oct 9 08:16:54 2017 +0000

    Make cluster config --force a boolean

    Option --force of openstack coe cluster config is a boolean and should not
    take an argument. Fix message in argument description.

    Change-Id: Ic526589a8f5c11b13e16b080a04e262d8393c387
    Closes-Bug: #1721267

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

Fix proposed to branch: stable/pike
Review: https://review.openstack.org/510453

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

Reviewed: https://review.openstack.org/510453
Committed: https://git.openstack.org/cgit/openstack/python-magnumclient/commit/?id=6bef59aec50e41ec2133fad1bd1fc4c954a08312
Submitter: Jenkins
Branch: stable/pike

commit 6bef59aec50e41ec2133fad1bd1fc4c954a08312
Author: Ricardo Rocha <email address hidden>
Date: Mon Oct 9 08:16:54 2017 +0000

    Make cluster config --force a boolean

    Option --force of openstack coe cluster config is a boolean and should not
    take an argument. Fix message in argument description.

    Change-Id: Ic526589a8f5c11b13e16b080a04e262d8393c387
    Closes-Bug: #1721267
    (cherry picked from commit 92fa44e1d94ee95e0279338e9f719a9f64e6fce7)

tags: added: in-stable-pike
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-magnumclient 2.8.0

This issue was fixed in the openstack/python-magnumclient 2.8.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-magnumclient 2.7.1

This issue was fixed in the openstack/python-magnumclient 2.7.1 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.