Skip to content

Timeout parameter is not used by IaaS REST client requests #3061

@3dquattro

Description

@3dquattro

Description

Timeout parameter is not used by IaaS REST client requests

Steps to reproduce

I happened to catch it in various situations - on detaching volume from instance, on list_images - request is just getting stuck - reproduction is quite random.
Rechecked source code of IaaS REST client - timeout is passed as a parameter, but not used in any request operation so it should be still relevant.

Actual behavior

Timeout parameter is not passed to session.request(...) => request is stuck in case of some problems with API or networks

Expected behavior

Timeout parameter is passed and some requests-kind exception is thrown

Environment

  • OS: Ubuntu 23.04
  • Python version (see python --version): 3.11.4
  • Version of the Python STACKIT SDK: 0.1.7
# please run the following command to get the versions of the STACKIT Python SDK versions and add the output here in this code block

$ pip list | grep "stackit"

stackit                   0.1.7
stackit-core              0.2.0
stackit-iaas              0.5.5

Additional information

This code is generated, so I haven't made PR for it

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions