positional args not being parsed in the order specified in schema
Bug #1392428 reported by
Hemanth Makkapati
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo.config |
Fix Released
|
High
|
Mike Fedosin |
Bug Description
It appears that positional args are being parsed in alphabetical order instead of the order they appear in the schema.
A way to reproduce and a relevant converstaion in #openstack-oslo can be found at https:/
Changed in oslo.config: | |
status: | New → Confirmed |
Changed in oslo.config: | |
assignee: | nobody → Louis Taylor (kragniz) |
Changed in oslo.config: | |
assignee: | Louis Taylor (kragniz) → Mike Fedosin (mfedosin) |
Changed in oslo.config: | |
assignee: | Mike Fedosin (mfedosin) → nobody |
Changed in oslo.config: | |
assignee: | nobody → Mike Fedosin (mfedosin) |
Changed in oslo.config: | |
milestone: | none → next-kilo |
importance: | Undecided → High |
Changed in oslo.config: | |
milestone: | 1.5.0 → next-kilo |
Changed in oslo.config: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I've found that the problem in https:/ /github. com/openstack/ oslo.config/ blob/master/ oslo/config/ cfg.py# L1805
Need to check if incoming opt is positional and then process it first.