yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #28877
[Bug 1426412] [NEW] notification broken with oslo.messaging 1.7.0
Public bug reported:
I am trying to run nova trunk with the oslo.messaging 1.7.0 in my lab.
Apparently, the notifications no long are sent.
After some investigation, here are the issues:
This line is trying to load the notifier driver:
https://github.com/openstack/nova/blob/master/nova/rpc.py#L65
Then this line here tries to load the drivers:
https://github.com/openstack/oslo.messaging/blob/1.7.0/oslo_messaging/notify/notifier.py#L132
And self._driver_names is a list containing
'nova.openstack.common.notifier.rpc_notifier'.
My understanding then is stevedore will enumerate through a list of
endpoints within "oslo.messaging.notify.drivers", one of them being
"nova.openstack.common.notifier.rpc_notifier -
oslo.messaging.notify._impl_messaging:MessagingDriver". Then stevedore
will attempt to load the latter class. Unfortunately, only
oslo_messaging.notify._impl_messaging exists, and therefore driving
loading for notifier would fail.
** Affects: nova
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1426412
Title:
notification broken with oslo.messaging 1.7.0
Status in OpenStack Compute (Nova):
New
Bug description:
I am trying to run nova trunk with the oslo.messaging 1.7.0 in my lab.
Apparently, the notifications no long are sent.
After some investigation, here are the issues:
This line is trying to load the notifier driver:
https://github.com/openstack/nova/blob/master/nova/rpc.py#L65
Then this line here tries to load the drivers:
https://github.com/openstack/oslo.messaging/blob/1.7.0/oslo_messaging/notify/notifier.py#L132
And self._driver_names is a list containing
'nova.openstack.common.notifier.rpc_notifier'.
My understanding then is stevedore will enumerate through a list of
endpoints within "oslo.messaging.notify.drivers", one of them being
"nova.openstack.common.notifier.rpc_notifier -
oslo.messaging.notify._impl_messaging:MessagingDriver". Then stevedore
will attempt to load the latter class. Unfortunately, only
oslo_messaging.notify._impl_messaging exists, and therefore driving
loading for notifier would fail.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1426412/+subscriptions
Follow ups
References