yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #29552
[Bug 1334661] Re: rpc.cleanup method is not reachable due to wrong import of rpc module
** Changed in: oslo-incubator
Status: In Progress => Invalid
** Changed in: nova
Status: Triaged => Invalid
--
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/1334661
Title:
rpc.cleanup method is not reachable due to wrong import of rpc module
Status in OpenStack Compute (Nova):
Invalid
Status in The Oslo library incubator:
Invalid
Bug description:
In nova service rpc.cleanup method is not getting called because 'rpc'
is not imported properly.
rpc = importutils.try_import('nova.openstack.common.rpc')
It should be
rpc = importutils.try_import('nova.rpc')
'rpc' module is not present in nova/openstack/common package.
As it is present in nova package it should be imported from there only.
Also rpc cleanup method should not be called while restarting the
service as ideally cleanup task should be done only while exiting from
the service. In case of SIGHUP signal, service gets restarted and
tries to cleanup the rpc.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1334661/+subscriptions