Tolerate spaces in extra capability values
Bug #1732787 reported by
Nick Timkovich
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Blazar |
Fix Released
|
High
|
Nick Timkovich |
Bug Description
If resource properties are specified like `["==",
Changed in blazar: | |
status: | New → Confirmed |
importance: | Undecided → High |
milestone: | none → 0.4.0 |
assignee: | nobody → Nick Timkovich (nicktimko) |
Changed in blazar: | |
milestone: | 0.4.0 → queens-3 |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/520797 /git.openstack. org/cgit/ openstack/ blazar/ commit/ ?id=7d1b3b7002c e1c791003681e36 f572c67291dc72
Committed: https:/
Submitter: Zuul
Branch: master
commit 7d1b3b7002ce1c7 91003681e36f572 c67291dc72
Author: Nick Timkovich <email address hidden>
Date: Thu Nov 16 15:20:29 2017 -0600
Tolerate spaces in extra capability values
The intent behind limiting the split of the query string at all appears
to be supporting values with spaces, but it's off-by-one, limiting the
number of splits to 3 (4 parts max) rather than 3 parts max.
This commit also generates new random values for variables id and host_extra_ capabilities( )
computehost_id during each call to _get_fake_
rather than just once, which is necessary to avoid a failing test due to
duplicate id values.
Closes-Bug: #1732787 763a63325810753 148cb8d8ecd
Change-Id: I8dc56aa983ca27