How to disable a tenant in keystone(essex4)

Asked by koolhead17

I have a keystone running and i created a tenant name demo
Now am trying to disable it with command below.

# keystone tenant-get 28b652ae29d941d78f67b754e2d3ff67

+-------------+----------------------------------+
| Property | Value |
+-------------+----------------------------------+
| description | demo tenant |
| enabled | True |
| id | 28b652ae29d941d78f67b754e2d3ff67 |
| name | demo |
+-------------+----------------------------------+

# keystone tenant-update --name=demo --enabled=False 28b652ae29d941d78f67b754e2d3ff67 OR
#keystone tenant-update --name=demo --enabled=false 28b652ae29d941d78f67b754e2d3ff67

I don`t get any error msg. Am i doing something wrong?

#keystone tenant-get 28b652ae29d941d78f67b754e2d3ff67

+-------------+----------------------------------+
| Property | Value |
+-------------+----------------------------------+
| description | demo tenant |
| enabled | True |
| id | 28b652ae29d941d78f67b754e2d3ff67 |
| name | demo |
+-------------+----------------------------------+

It does notthing.

Am i hitting a Bug?

Revision history for this message
Joseph Heck (heckj) said :
#1

evening - the commands you're using look to be correct - there was a bug where "enable" wasn't being treated correctly. This should be fixed with https://bugs.launchpad.net/keystone/+bug/953678

(fixed yesterday)

Can you help with this problem?

Provide an answer of your own, or ask koolhead17 for more information if necessary.

To post a message you must log in.