Wrong negociation version
Bug #1475308 reported by
Lucas Alvares Gomes
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-ironicclient |
Fix Released
|
High
|
Lucas Alvares Gomes |
Bug Description
When the python client catch a 406 (Not Acceptable) error talking to an older version of the Ironic server the client will try to negotiate and fall back to the minimum supported version.
Currently the code that does this negotiation is broken if the version requested is >= 1.10 [1]
<snippet>
negotiated_ver = min(self.
if negotiated_ver < min_ver:
</snippet>
A simple test in python can verify that:
In [4]: min('1.10', '1.6')
Out[4]: '1.10'
In [5]: min('1.9', '1.6')
Out[5]: '1.6'
[1] https:/
Changed in python-ironicclient: | |
assignee: | nobody → Lucas Alvares Gomes (lucasagomes) |
importance: | Undecided → High |
Changed in python-ironicclient: | |
milestone: | none → 0.8.0 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/202565
Review: https:/