timeout in rados connect does not take effect

Bug #1925143 reported by norman shen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Confirmed
Medium
Unassigned

Bug Description

Description
===========

from https://github.com/ceph/ceph/blob/0be78da368f2dc1c891e3caafac38f7aa96d3c49/src/pybind/rados/rados.pyx#L660, it looks like function connect in object rados will ignore timeout input and therefore makes current configuration does not take effect.

Steps to reproduce
==================

just configure rbd to use a non-existing ip address and rados.connect will hang there.

Expected result
===============

timeout should take effect

Actual result
=============

when there is a problem on network, it will hang more than timeout configured

Lee Yarwood (lyarwood)
Changed in nova:
status: New → Confirmed
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.