oslo.messaging.simulator: TypeError: object of type 'int' has no len()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo.messaging |
Expired
|
Undecided
|
Unassigned |
Bug Description
I'm trying to use oslo.messaging.
http://
However, when I run the following test I get "TypeError: object of type 'int' has no len()" error, both in the rpc-server and rpc-client side.
I'm using the following commands:
python simulator.py --url rabbit:
python simulator.py --url rabbit:
The problem seems to be in the "call" test as my "cast" test seems to be working. I've pasted the detailed error message that I'm getting when I ran the "RPC call" test as described in the OpenStack doc.
Traceback (most recent call last):
File "simulator.py", line 501, in _rpc_call
res = client.call({}, 'info', message=msg)
File "/usr/local/
retry=
File "/usr/local/
timeout=
File "/usr/local/
retry=retry)
File "/usr/local/
msg=msg, timeout=timeout, retry=retry)
File "/usr/local/
retry=retry)
File "/usr/local/
self.
File "/usr/local/
ret, channel = autoretry_method()
File "/usr/local/
return fun(*args, **kwargs)
File "/usr/local/
return fun(*args, channel=
File "/usr/local/
method()
File "/usr/local/
compression
File "/usr/local/
routing_key, mandatory, immediate, exchange, declare)
File "/usr/local/
mandatory=
File "/usr/local/
ret = self._basic_
File "/usr/local/
self.
File "/usr/local/
self.
File "/usr/local/
properties = content.
File "/usr/local/
getattr(
File "/usr/local/
if len(s) > 255:
TypeError: object of type 'int' has no len()
Cannot reproduce on master nor stable branches ocata, pike, and queens.
Please re-open if this problem still occurs for you.