This is not a bug in Oslo AFAICT.  It sounds like an Oslo rpc reference
wasn't cleaned up in Nova when it converted to oslo.messaging.  I'm not
even sure where this bad import is happening (it would be good to link
to the file where you see this), but it's likely that something needs to
be imported from oslo.messaging.

** Also affects: nova
   Importance: Undecided
       Status: New

** Changed in: oslo
       Status: New => 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):
  New
Status in Oslo - a Library of Common OpenStack Code:
  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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to