yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #48330
[Bug 1558690] Re: project set works for invalid properties
This is a "feature" (i use that term loosely) in keystone (the extras
field), changing behavior at this point is not in scope. Fixing things
at the CLI to be more friendly might be doable.
Marked as wont fix because this is not something we can change behavior
on.
** Changed in: keystone
Status: New => Won't Fix
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1558690
Title:
project set works for invalid properties
Status in OpenStack Identity (keystone):
Won't Fix
Status in python-openstackclient:
New
Bug description:
openstack project set accepts invalid properties, and even somehow
sets their values
# openstack project set ABC --property xyz=pqr
# openstack project show ABC
+-------------+----------------------------------+
| Field | Value |
+-------------+----------------------------------+
| description | |
| domain_id | ef8acb82bebd4c4abdc6b2056440b596 |
| enabled | True |
| id | 315700c2a1384b1ca21543504e3513bb |
| is_domain | False |
| name | ABC |
| xyz | pqr |
+-------------+----------------------------------+
As seen above, the new "xyz" field was created with the specified
value. This is not a valid property and should not have been created.
Also, specifying an invalid property without a value did not return an
error:
# openstack project set ABC --property QQQ
# openstack project show ABC
+-------------+----------------------------------+
| Field | Value |
+-------------+----------------------------------+
| description | |
| domain_id | ef8acb82bebd4c4abdc6b2056440b596 |
| enabled | True |
| id | 315700c2a1384b1ca21543504e3513bb |
| is_domain | False |
| name | ABC |
| xyz | pqr |
+-------------+----------------------------------+
openstackclient version = 1.5.0
keystone version = mitaka
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1558690/+subscriptions
References