Ask Your Question

Revision history [back]

'TroveContext' object has no attribute 'notification'

2020-04-26 20:46:26.638 1391 ERROR oslo_messaging.rpc.server [-] Exception during message handling: AttributeError: 'TroveContext' object has no attribute 'notification'
2020-04-26 20:46:26.638 1391 ERROR oslo_messaging.rpc.server Traceback (most recent call last):
2020-04-26 20:46:26.638 1391 ERROR oslo_messaging.rpc.server   File "/opt/guest-agent-venv/lib/python3.5/site-packages/oslo_messaging/rpc/server.py", line 165, in _process_incoming
2020-04-26 20:46:26.638 1391 ERROR oslo_messaging.rpc.server     res = self.dispatcher.dispatch(message)
2020-04-26 20:46:26.638 1391 ERROR oslo_messaging.rpc.server   File "/opt/guest-agent-venv/lib/python3.5/site-packages/oslo_messaging/rpc/dispatcher.py", line 281, in dispatch
2020-04-26 20:46:26.638 1391 ERROR oslo_messaging.rpc.server     return self._do_dispatch(endpoint, method, ctxt, args)
2020-04-26 20:46:26.638 1391 ERROR oslo_messaging.rpc.server   File "/opt/guest-agent-venv/lib/python3.5/site-packages/oslo_messaging/rpc/dispatcher.py", line 194, in _do_dispatch
2020-04-26 20:46:26.638 1391 ERROR oslo_messaging.rpc.server     result = func(ctxt, **new_args)
2020-04-26 20:46:26.638 1391 ERROR oslo_messaging.rpc.server   File "/opt/guest-agent-venv/lib/python3.5/site-packages/osprofiler/profiler.py", line 160, in wrapper
2020-04-26 20:46:26.638 1391 ERROR oslo_messaging.rpc.server     result = f(*args, **kwargs)
2020-04-26 20:46:26.638 1391 ERROR oslo_messaging.rpc.server   File "/opt/guest-agent-venv/lib/python3.5/site-packages/trove/guestagent/datastore/manager.py", line 267, in prepare
2020-04-26 20:46:26.638 1391 ERROR oslo_messaging.rpc.server     with EndNotification(context, instance_id=CONF.guest_id):
2020-04-26 20:46:26.638 1391 ERROR oslo_messaging.rpc.server   File "/opt/guest-agent-venv/lib/python3.5/site-packages/trove/common/notification.py", line 48, in __init__
2020-04-26 20:46:26.638 1391 ERROR oslo_messaging.rpc.server     self.context.notification.payload.update(kwargs)
2020-04-26 20:46:26.638 1391 ERROR oslo_messaging.rpc.server AttributeError: 'TroveContext' object has no attribute 'notification'

controller and guest agent versions (train):

trove 12.0.0

python-cinderclient 5.0.1

python-glanceclient 2.17.0

python-heatclient 1.18.0

python-keystoneclient 3.21.0

cliff 2.16.0

debtcollector 1.22.0

futurist 1.9.0

keystoneauth1 3.17.2

keystonemiddleware 7.0.1

openstacksdk 0.36.3

os-client-config 1.33.0

oslo.cache 1.37.0

oslo.concurrency 3.30.0

oslo.config 6.11.2

oslo.context 2.23.0

oslo.db 5.0.2

oslo.i18n 3.24.0

oslo.messaging 10.2.0

oslo.middleware 3.38.1

oslo.policy 2.3.3

oslo.serialization 2.29.2

oslo.service 1.40.2

oslo.upgradecheck 0.3.2

oslo.utils 3.41.5

osprofiler 2.8.2

pycadf 2.10.0

stevedore 1.31.0


dump "ctxt" var https://github.com/openstack/oslo.messaging/blob/10.2.0/oslo_messaging/rpc/dispatcher.py#L240

{'client_timeout': None, 'context': 'QHuT46HvW5a4jj2KaZnPpVmN1vpe2GjVPDYxCP13qEmwQXfAF+Ls0B+N1wrYtmINdOBdOsKIld1ln58qzYj7Mu+taxcTQbytLEdBYytDCAeNSw9lr8cIRAjvP7++Swk+MZGuN9FotX1mDc6rs0R9j/Zsvhbau9kR4bRgNYdiIIIm6OIr/jRkqedJXIoTuvHoJqWrz66F50zlNXShrtnturlW3mOFqY2ZaCKs0XTOzhquKNdDhT70C1L4hhd243omHl8ugE6zHvgB/ARHNB/tyVh20QAFfkR/4Q8sM/yje7UOm2xrTiurUqtvZilsOzXJ3WVIkgZmeZ7FU846NdHxhlof6rWMXT0Cx5OlhZKc6zZO+4/d9P0NU5U9Pla/8uXN1UfK7XDR++NJfE99nWvj2ociHp3HiQpcdp1dAzBVeJ4ogfNuJV/UJOx1noaIEAdNTo9CDS/oxbkc1aiPjAog8p5MrJvSdv8M95YYt3VhRlMP1UunqRI2xOBrs+5kj6O+wS3ipC88t33ZjtQ1ABvocQCK+Aehbf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DjGDlDA2DvM7kNVARJUygt/1qmXsQ9JBFoC13acBo6l1LabT6IfsZM5/Y/HYsk7p/p3Or4W3wvb9RArN56PjAab/YfIKP83599u3SHp5CG0izyRqR9nYLA+1jry9vDg89JjlmRO11CWTfDISorKhiv/dQrlNygc2GfstcJbUG48dkrEnlN9KR5n04EE9Jjd5sdWFfOmBrPXyAYfqMSEt0a0YrRERTGC+/+M67WtcwoKha4mPEbbHq5j9f/L5zT8imigQNNTBIS61497qPMlZjP+48OIFLXGEOdU4y4L2+Ubgnecr1jAehkmujxUy1gWj3fvwWme+t5gwz3a498d0h'}

please help with solving this problem!