support project property unset in identity v3

Bug #1560354 reported by Rui Chen
30
This bug affects 6 people
Affects Status Importance Assigned to Milestone
python-keystoneclient
Won't Fix
Wishlist
Unassigned
python-openstackclient
New
Undecided
Rui Chen

Bug Description

We can set and update the properties of project, but can't unset the existed properties of project object in identity v3(identity v2 support unset). OSC should support it in order to remove the property that we don't need.

Rui Chen (kiwik-chenrui)
Changed in python-openstackclient:
assignee: nobody → Rui Chen (kiwik-chenrui)
Revision history for this message
wangxiyuan (wangxiyuan) wrote :

keystone client droped the null values in v3: https://github.com/openstack/python-keystoneclient/blob/master/keystoneclient/base.py#L399

So using keystone client, we can't set the project's property to null in v3 now. But it works when sending "null" value to keystone server side with the REST request.

I think we should fix the keystone client issue first.

Changed in python-keystoneclient:
assignee: nobody → wangxiyuan (wangxiyuan)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-keystoneclient (master)

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

Changed in python-keystoneclient:
status: New → In Progress
Dolph Mathews (dolph)
Changed in python-keystoneclient:
importance: Undecided → Wishlist
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on python-keystoneclient (master)

Change abandoned by wangxiyuan (<email address hidden>) on branch: master
Review: https://review.openstack.org/296246

wangxiyuan (wangxiyuan)
Changed in python-keystoneclient:
assignee: wangxiyuan (wangxiyuan) → nobody
Arthur Miranda (artmr)
Changed in python-keystoneclient:
assignee: nobody → Arthur Miranda (artmr)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-keystoneclient (master)

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

Changed in python-keystoneclient:
assignee: Arthur Miranda (artmr) → Roman Bogorodskiy (novel)
Revision history for this message
Lance Bragstad (lbragstad) wrote :

Unassigning due to inactivity. If someone has the bandwidth to pick up the proposed patch and push it forward, please feel free to do so.

Changed in python-keystoneclient:
assignee: Roman Bogorodskiy (novel) → nobody
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on python-keystoneclient (master)

Change abandoned by Morgan Fainberg (<email address hidden>) on branch: master
Review: https://review.openstack.org/375239
Reason: administratively abandoning this patch. It can be restored if someone is going to pick it up.

Revision history for this message
Morgan Fainberg (mdrnstm) wrote :

Generally speaking there should be no use of extras in Keystone. This fix should be incorporated into SDK as it is not likely KSC will be maintained (new fuctionality/non-security fixes) much beyond SDK getting a 1.0 release

Changed in python-keystoneclient:
status: In Progress → Triaged
Changed in python-keystoneclient:
status: Triaged → Won't Fix
Revision history for this message
Dejan SANADER (d-sanader) wrote :

Hello,

The API and the CLI still allow adding properties to project, but neither allow removing them.

If it's a deprecated feature, why just not disallowing additional properties in the project schema ?

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.