GET /tenants XSD schema validation fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
Example (using sample data) (2012.1 tag)
<?xml version="1.0" encoding="UTF-8"?>
<tenants xmlns="http://
<tenant id="13a5829cc7b
<tenant id="4ab192b13c2
</tenants>
There are 2 errors, according to tenant.xsd:
1) description field is missing
2) id is not of type XSD:id (http://
So, the above should have been something like:
<?xml version="1.0" encoding="UTF-8"?>
<tenants xmlns="http://
<tenant id="A13a5829cc7
</tenant>
<tenant id="B4ab192b13c
</tenant>
</tenants>
Changed in keystone: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in keystone: | |
assignee: | nobody → Carlos Marín (carlos-g-marin) |
Changed in keystone: | |
assignee: | nobody → Jeffrey Zhang (jeffrey4l) |
status: | Triaged → In Progress |
Why do we enforce the id to start out with a letter (other than the fact that it is an XSD thing)? This is inconvenient for those RDBMS backend that uses a sequence for example for id generation. Also, changing the id format makes migration harder.