Identity api version 2.0 in clouds.yaml does not work

Bug #1480239 reported by Terry Howe
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
os-client-config
New
Undecided
Unassigned
python-openstackclient
Invalid
Undecided
Unassigned

Bug Description

Setting identity_api_version: 2.0 in clouds.yaml does not work, it needs to be '2.0'. I think the config file should support the string or the float.

Revision history for this message
Steve Martinelli (stevemar) wrote :

how is this an osc bug? sounds like occ to me

Changed in python-openstackclient:
status: New → Invalid
Revision history for this message
Simon Leinen (simon-leinen) wrote :

Accepting floats here seems dangerous. For example, '4.1' and '4.10' would probably designate different versions. But as (float) numbers they would be indistinguishable. Therefore I think that signalling an error is the most prudent way to handle non-integer numbers in places where version numbers are expected.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers