← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1279942] [NEW] vm_vdi_cleaner.py fails to launch with NOTIFIER is not None AssertionError

 

Public bug reported:

I believe this has something to do with oslo messaging, in that it's
attempting to set up a NOTIFIER and TRANSPORT for nova messaging, and
failing.

vm_vdi_cleaner.py -v --command=list-vdis --config-file /etc/nova/nova.conf
Traceback (most recent call last):
  File "/tmp/vm_vdi_cleaner.py", line 328, in <module>
    main()
  File "/tmp/vm_vdi_cleaner.py", line 302, in main
    xenapi = xenapi_driver.XenAPIDriver(virtapi.VirtAPI())
  File "/opt/rackstack/current/nova/lib/python2.6/site-packages/nova/virt/xenapi/driver.py", line 159, in __init__
    self._host = host.Host(self._session, self.virtapi)
  File "/opt/rackstack/current/nova/lib/python2.6/site-packages/nova/virt/xenapi/host.py", line 43, in __init__
    self._conductor_api = conductor.API()
  File "/opt/rackstack/current/nova/lib/python2.6/site-packages/nova/conductor/__init__.py", line 26, in API
    return api(*args, **kwargs)
  File "/opt/rackstack/current/nova/lib/python2.6/site-packages/nova/conductor/api.py", line 58, in __init__
    self._manager = utils.ExceptionHelper(manager.ConductorManager())
  File "/opt/rackstack/current/nova/lib/python2.6/site-packages/nova/conductor/manager.py", line 83, in __init__
    *args, **kwargs)
  File "/opt/rackstack/current/nova/lib/python2.6/site-packages/nova/manager.py", line 75, in __init__
    self.notifier = rpc.get_notifier(self.service_name, self.host)
  File "/opt/rackstack/current/nova/lib/python2.6/site-packages/nova/rpc.py", line 138, in get_notifier
    assert NOTIFIER is not None
AssertionError

This is with master as of bf0c24c070219a38af690ae1412a91703da78a86

** 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/1279942

Title:
  vm_vdi_cleaner.py fails to launch with NOTIFIER is not None
  AssertionError

Status in OpenStack Compute (Nova):
  New

Bug description:
  I believe this has something to do with oslo messaging, in that it's
  attempting to set up a NOTIFIER and TRANSPORT for nova messaging, and
  failing.

  vm_vdi_cleaner.py -v --command=list-vdis --config-file /etc/nova/nova.conf
  Traceback (most recent call last):
    File "/tmp/vm_vdi_cleaner.py", line 328, in <module>
      main()
    File "/tmp/vm_vdi_cleaner.py", line 302, in main
      xenapi = xenapi_driver.XenAPIDriver(virtapi.VirtAPI())
    File "/opt/rackstack/current/nova/lib/python2.6/site-packages/nova/virt/xenapi/driver.py", line 159, in __init__
      self._host = host.Host(self._session, self.virtapi)
    File "/opt/rackstack/current/nova/lib/python2.6/site-packages/nova/virt/xenapi/host.py", line 43, in __init__
      self._conductor_api = conductor.API()
    File "/opt/rackstack/current/nova/lib/python2.6/site-packages/nova/conductor/__init__.py", line 26, in API
      return api(*args, **kwargs)
    File "/opt/rackstack/current/nova/lib/python2.6/site-packages/nova/conductor/api.py", line 58, in __init__
      self._manager = utils.ExceptionHelper(manager.ConductorManager())
    File "/opt/rackstack/current/nova/lib/python2.6/site-packages/nova/conductor/manager.py", line 83, in __init__
      *args, **kwargs)
    File "/opt/rackstack/current/nova/lib/python2.6/site-packages/nova/manager.py", line 75, in __init__
      self.notifier = rpc.get_notifier(self.service_name, self.host)
    File "/opt/rackstack/current/nova/lib/python2.6/site-packages/nova/rpc.py", line 138, in get_notifier
      assert NOTIFIER is not None
  AssertionError

  This is with master as of bf0c24c070219a38af690ae1412a91703da78a86

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1279942/+subscriptions


Follow ups

References