Failed to consume message from queue: 'NoneType' object has no attribute 'get'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo.messaging |
Fix Released
|
Critical
|
Unassigned |
Bug Description
Heat-api can not communicate with heat-engine due to error: Failed to consume message from queue: 'NoneType' object has no attribute 'get'. I use Heat 2024.2 (008c18f88c9c2f
If I put this [1] into the condition `if self.rabbit_
[1] https:/
[2] https:/
Stacktrace is as follows:
2024-10-09 18:49:58.528 1 ERROR oslo.messaging.
2024-10-09 18:49:58.530 1 DEBUG amqp [-] Closed channel #1 collect /var/lib/
2024-10-09 18:49:58.530 1 ERROR oslo.messaging.
2024-10-09 18:49:58.531 1 ERROR root [-] Unexpected exception occurred 1 time(s)... retrying.: oslo_messaging.
2024-10-09 18:49:58.531 1 ERROR root Traceback (most recent call last):
2024-10-09 18:49:58.531 1 ERROR root File "/var/lib/
2024-10-09 18:49:58.531 1 ERROR root ret, channel = autoretry_method()
2024-10-09 18:49:58.531 1 ERROR root File "/var/lib/
2024-10-09 18:49:58.531 1 ERROR root return fun(*args, **kwargs)
2024-10-09 18:49:58.531 1 ERROR root File "/var/lib/
2024-10-09 18:49:58.531 1 ERROR root return fun(*args, channel=
2024-10-09 18:49:58.531 1 ERROR root File "/var/lib/
2024-10-09 18:49:58.531 1 ERROR root method()
2024-10-09 18:49:58.531 1 ERROR root File "/var/lib/
2024-10-09 18:49:58.531 1 ERROR root self.connection
2024-10-09 18:49:58.531 1 ERROR root File "/var/lib/
2024-10-09 18:49:58.531 1 ERROR root return self.transport.
2024-10-09 18:49:58.531 1 ERROR root File "/var/lib/
2024-10-09 18:49:58.531 1 ERROR root return connection.
2024-10-09 18:49:58.531 1 ERROR root File "/var/lib/
2024-10-09 18:49:58.531 1 ERROR root while not self.blocking_
2024-10-09 18:49:58.531 1 ERROR root File "/var/lib/
2024-10-09 18:49:58.531 1 ERROR root return self.on_
2024-10-09 18:49:58.531 1 ERROR root File "/var/lib/
2024-10-09 18:49:58.531 1 ERROR root callback(channel, msg.frame_method, msg.frame_args, msg)
2024-10-09 18:49:58.531 1 ERROR root File "/var/lib/
2024-10-09 18:49:58.531 1 ERROR root return self.channels[
2024-10-09 18:49:58.531 1 ERROR root File "/var/lib/
2024-10-09 18:49:58.531 1 ERROR root listener(*args)
2024-10-09 18:49:58.531 1 ERROR root File "/var/lib/
2024-10-09 18:49:58.531 1 ERROR root fun(msg)
2024-10-09 18:49:58.531 1 ERROR root File "/var/lib/
2024-10-09 18:49:58.531 1 ERROR root offset = message.
2024-10-09 18:49:58.531 1 ERROR root AttributeError: 'NoneType' object has no attribute 'get'
2024-10-09 18:49:58.531 1 ERROR root
2024-10-09 18:49:58.531 1 ERROR root During handling of the above exception, another exception occurred:
2024-10-09 18:49:58.531 1 ERROR root
2024-10-09 18:49:58.531 1 ERROR root Traceback (most recent call last):
2024-10-09 18:49:58.531 1 ERROR root File "/var/lib/
2024-10-09 18:49:58.531 1 ERROR root return infunc(*args, **kwargs)
2024-10-09 18:49:58.531 1 ERROR root File "/var/lib/
2024-10-09 18:49:58.531 1 ERROR root incoming = self._poll_
2024-10-09 18:49:58.531 1 ERROR root File "/var/lib/
2024-10-09 18:49:58.531 1 ERROR root message = func(in_self, timeout=
2024-10-09 18:49:58.531 1 ERROR root File "/var/lib/
2024-10-09 18:49:58.531 1 ERROR root self.conn.
2024-10-09 18:49:58.531 1 ERROR root File "/var/lib/
2024-10-09 18:49:58.531 1 ERROR root self.ensure(
2024-10-09 18:49:58.531 1 ERROR root File "/var/lib/
2024-10-09 18:49:58.531 1 ERROR root raise exceptions.
Changed in oslo.messaging: | |
importance: | Undecided → Critical |
Changed in oslo.messaging: | |
status: | New → In Progress |
The same issue appears for nova-conductor and nova-scheduler