parameter 'enabled in policy binding update has to be a boolean

Bug #1639687 reported by miaohb
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-senlinclient
Fix Committed
Medium
miaohb

Bug Description

stack@tecs:/root$ openstack cluster policy binding update --policy myscale --enabled false mycluster
HttpException: u'false' is not of type 'boolean', 'null'

miaohb (miao-hongbao)
Changed in python-senlinclient:
status: New → In Progress
assignee: nobody → miaohb (miao-hongbao)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-senlinclient (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-senlinclient (master)

Reviewed: https://review.openstack.org/394254
Committed: https://git.openstack.org/cgit/openstack/python-senlinclient/commit/?id=f8000686484c2928a82fbfe561e3d4efb92137c3
Submitter: Jenkins
Branch: master

commit f8000686484c2928a82fbfe561e3d4efb92137c3
Author: miaohb <email address hidden>
Date: Mon Nov 7 12:43:05 2016 +0800

    policy binding update cannot work

    The value of args.enabled must change from string to bool
    Revise the related unit test

    Change-Id: Id297a26799ddad00221ef71f2e6c2f70b8e21ede
    Closed-Bug: 1639687

Qiming Teng (tengqim)
summary: - policy binding update cannot work
+ parameter 'enabled in policy binding update has to be a boolean
Changed in python-senlinclient:
status: In Progress → Fix Committed
importance: Undecided → Medium
milestone: none → ocata-2
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.