[Bug 1730618] Re: default timeout is missed in requests session which may hung forever
Vasyl Saienko
vsaienko at mirantis.com
Wed Nov 15 09:16:12 UTC 2017
ironicclient also affected, any api request may hung forever when API is not available
$ date; ironic --ironic-url http://5.2.3.4 node-list
Wed Nov 15 09:14:00 UTC 2017
The "ironic" CLI is deprecated and will be removed in the S* release. Please use the "openstack baremetal" CLI instead.
^C... terminating ironic client
$ date
Wed Nov 15 09:15:50 UTC 2017
$
** Also affects: python-ironicclient (Ubuntu)
Importance: Undecided
Status: New
** No longer affects: python-ironicclient (Ubuntu)
** Also affects: python-ironicclient
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to python-ironicclient in Ubuntu.
https://bugs.launchpad.net/bugs/1730618
Title:
default timeout is missed in requests session which may hung forever
Status in Ironic:
Triaged
Status in ironic-python-agent:
In Progress
Status in python-ironicclient:
New
Bug description:
We should specify default timeout to each request session because if
timeout is not set, request may hung, as it is not limited in time by
default http://docs.python-
requests.org/en/master/user/quickstart/#timeouts
One of examples is https://github.com/openstack/ironic-python-
agent/blob/fd7f10b993ef5262e76d604b38cfad25aed2266d/ironic_python_agent/ironic_api_client.py#L64
To manage notifications about this bug go to:
https://bugs.launchpad.net/ironic/+bug/1730618/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list