yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #12455
[Bug 1168317] Re: Blank Description for projects being handled incorrectly
** Tags removed: grizzly-backport-potential
** No longer affects: keystone/grizzly
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1168317
Title:
Blank Description for projects being handled incorrectly
Status in OpenStack Identity (Keystone):
Fix Released
Bug description:
Invoking keystone api to create tenant via json and xml with empty
description, the result is different, description is empty of json
response, while the xml response is {}
JSON: request
curl -X POST -H "X-Auth-Token: 03ac2380c4a549d1af8bb4542bcdf383" http://10.10.0.1:35357/v2.0/tenants -d '{"tenant":{"name":"test1","description":"","enabled":"true"}}' -H "Content-Type: application/json"
result:
keystone tenant-get 9405381772cf4d56a6e7598fa6f738b5
+-------------+----------------------------------+
| Property | Value |
+-------------+----------------------------------+
| description | |
| enabled | True |
| id | 9405381772cf4d56a6e7598fa6f738b5 |
| name | test |
+-------------+----------------------------------+
XML: request<?xml version="1.0" encoding="UTF-8"?>
<tenant xmlns="http://docs.openstack.org/identity/api/v2.0" enabled="true" name="demo3">
<description></description>
</tenant>
result:keystone tenant-get 94ebd5eea09c43eaa2fa61e00dec0a83
+-------------+----------------------------------+
| Property | Value |
+-------------+----------------------------------+
| description | {} |
| enabled | True |
| id | 94ebd5eea09c43eaa2fa61e00dec0a83 |
| name | demo |
+-------------+----------------------------------+
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1168317/+subscriptions