Nova flavor extra_spec is case sensitive
Bug #1484753 reported by
Tan Lin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
flavor extra_spec is case sensitive, we should make it insensitive which is more robust and improve user experience, like `Trusted` should be accepted as well as `trusted`
Changed in nova: | |
assignee: | nobody → Tan Lin (tan-lin-good) |
tags: | added: flavors |
tags: | added: scheduler |
Changed in nova: | |
importance: | Low → Wishlist |
Changed in nova: | |
assignee: | Tan Lin (tan-lin-good) → nobody |
status: | In Progress → Confirmed |
Changed in nova: | |
assignee: | nobody → Gregory Hooks (gregoryhooksjr) |
Changed in nova: | |
assignee: | Gregory Hooks (gregoryhooksjr) → nobody |
Changed in nova: | |
assignee: | Dave Johnston (dave-johnston) → nobody |
To post a comment you must log in.
Confirmed: The "trusted_filter" for example uses a case sensitive comparison [1]:
def is_trusted(self, host, trust): get_host_ attestation( host)
level = self.caches.
return trust == level
[1] https:/ /github. com/openstack/ nova/blob/ master/ nova/scheduler/ filters/ trusted_ filter. py#L249