confusing result when programming error

Bug #1475413 reported by Brant Knudson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-openstackclient
Invalid
Undecided
Brant Knudson

Bug Description

There's a programming error in find_resources where it's calling get() with an invalid parameter. Rather than report that error, it ignores the error and tries to do the find(), which fails with a different error (doesn't exist). It turns out the entity does exist, the error was just ignored.

The error should have been like:

$ openstack role list --os-url=http://192.168.122.239:5000/v3 --os-identity-api-version=3 --group cb87734d76fd4e78b0430f4c8a9bc15e --project 02c141d2aa8f434a90358b29ac42b226 -c ID -f value
ERROR: openstack get() got an unexpected keyword argument 'domain_id'

Brant Knudson (blk-u)
Changed in python-openstackclient:
assignee: nobody → Brant Knudson (blk-u)
Changed in python-openstackclient:
status: New → In Progress
Revision history for this message
Steve Martinelli (stevemar) wrote :
Changed in python-openstackclient:
status: In Progress → Invalid
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on python-openstackclient (master)

Change abandoned by Brant Knudson (<email address hidden>) on branch: master
Review: https://review.openstack.org/202760
Reason: I don't have time to work on this.

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.