← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1558690] Re: project set works for invalid properties

 

** Changed in: python-openstackclient
       Status: In Progress => Fix Released

-- 
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:
  Fix Released

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