Setting the "extra" information for tenant
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-openstackclient |
Fix Released
|
Wishlist
|
Terry Howe |
Bug Description
There is a field in keystone database (tenant table) called 'extra' and I can store key-value information in it when I use the REST API:
$ curl -X POST ... -d '{"tenant"
Looking at the keystone table I see {type": "XYZ"} under the 'extra' column.
+------
| id | name | extra | description | enabled | domain_id |
+------
the "type" information can be retrieved as shown here:
$keystone tenant-get 03257eed9f8c4f7
+------
| Property | Value |
+------
| description | Tenant X |
| enabled | True |
| id | 03257eed9f8c4f7
| name | T1 |
| type | XYZ |
+------
However, the 'extra' information for tenants *cannot* be set through the keystone client.
Changed in python-openstackclient: | |
assignee: | nobody → Terry Howe (thowe-g) |
status: | New → In Progress |
Changed in python-openstackclient: | |
milestone: | none → m4 |
Changed in python-openstackclient: | |
status: | Fix Committed → Fix Released |
They can be generated through the python library, e.g. c.projects. create( name='foobar' , arbitrary_ key='value' ), but the CLI doesn't support this feature today. It'd be an interesting use case for python- openstackclient ... but I'm not sure which other projects support a similar capability?