[Bug 1368545] Re: Value Type of http_connect_timeout is Wrong

Corey Bryant corey.bryant at canonical.com
Fri Aug 7 15:44:42 UTC 2015


Fixes required for Ubuntu:

icehouse (trusty) - python-keystoneclient
juno (utopic) - python-keystoneclient and python-keystonemiddleware (cloud archive only - utopic EOL)
kilo (vivid) - python-keystoneclient
liberty (wily) - python-keystoneclient

** Description changed:

+ [Impact]
+ 
  we can't configure http_connect_timeout more than 1.
  http_connect_timeout is defined as Boolean value in python-
  keystoneclient and keystonemiddleware since python can treat a value
  more than 1 as True. But oslo config defines Boolean values as 'true',
  1, 'yes' and 'on'.
  
  To be able to configure the value, keystoneclient and keystonemiddleware
  should change the type of the config to Int.
+ 
+ [Test Case]
+ ...need to be added...
+ 
+ [Regression Potential]
+ The change is minimal. That said, however, since the timeout value has only been set to limited values in the past, the fix enables a wider range of timeout values.  This needs to be considered as part of the SRU testing.

** Also affects: python-keystoneclient (Ubuntu Trusty)
   Importance: Undecided
       Status: New

** Also affects: python-keystoneclient (Ubuntu Vivid)
   Importance: Undecided
       Status: New

** Also affects: python-keystonemiddleware (Ubuntu)
   Importance: Undecided
       Status: New

** No longer affects: python-keystonemiddleware (Ubuntu Trusty)

** No longer affects: python-keystonemiddleware (Ubuntu Vivid)

** No longer affects: python-keystonemiddleware (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to python-keystoneclient in Ubuntu.
https://bugs.launchpad.net/bugs/1368545

Title:
  Value Type of http_connect_timeout is Wrong

Status in keystonemiddleware:
  Fix Released
Status in python-keystoneclient:
  Won't Fix
Status in python-keystoneclient package in Ubuntu:
  New
Status in python-keystoneclient source package in Trusty:
  New
Status in python-keystoneclient source package in Vivid:
  New

Bug description:
  [Impact]

  we can't configure http_connect_timeout more than 1.
  http_connect_timeout is defined as Boolean value in python-
  keystoneclient and keystonemiddleware since python can treat a value
  more than 1 as True. But oslo config defines Boolean values as 'true',
  1, 'yes' and 'on'.

  To be able to configure the value, keystoneclient and
  keystonemiddleware should change the type of the config to Int.

  [Test Case]
  ...need to be added...

  [Regression Potential]
  The change is minimal. That said, however, since the timeout value has only been set to limited values in the past, the fix enables a wider range of timeout values.  This needs to be considered as part of the SRU testing.

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystonemiddleware/+bug/1368545/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list