← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1310966] [NEW] nova network floating IP has direct DB access

 

Public bug reported:

nova-network with floating IPs is currently broken due to a direct DB
access

2014-04-22 08:04:32.395 ESC[01;31mERROR oslo.messaging.rpc.dispatcher [ESC[01;36mreq-8fa8da3a-2e61-47e9-a6c6-68f598e979ad ESC[00;36mTestServerAdvancedOps-228418898
TestServerAdvancedOps-892915532ESC[01;31m] ESC[01;35mESC[01;31mException during message handling: nova-computeESC[00m
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 133, in _dispatch_and_reply
    incoming.message))
  File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 176, in _dispatch
    return self._do_dispatch(endpoint, method, ctxt, args)
  File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 122, in _do_dispatch
    result = getattr(endpoint, method)(ctxt, **new_args)
  File "/opt/stack/nova/nova/exception.py", line 88, in wrapped
    payload)
  File "/opt/stack/nova/nova/openstack/common/excutils.py", line 82, in __exit__
    six.reraise(self.type_, self.value, self.tb)
  File "/opt/stack/nova/nova/exception.py", line 71, in wrapped
    return f(self, context, *args, **kw)
  File "/opt/stack/nova/nova/compute/manager.py", line 276, in decorated_function
    pass
  File "/opt/stack/nova/nova/openstack/common/excutils.py", line 82, in __exit__
    six.reraise(self.type_, self.value, self.tb)
  File "/opt/stack/nova/nova/compute/manager.py", line 262, in decorated_function
    return function(self, context, *args, **kwargs)
  File "/opt/stack/nova/nova/compute/manager.py", line 329, in decorated_function
    function(self, context, *args, **kwargs)
  File "/opt/stack/nova/nova/compute/manager.py", line 250, in decorated_function
    migration.instance_uuid, exc_info=True)
  File "/opt/stack/nova/nova/openstack/common/excutils.py", line 82, in __exit__
    six.reraise(self.type_, self.value, self.tb)
  File "/opt/stack/nova/nova/compute/manager.py", line 237, in decorated_function
    return function(self, context, *args, **kwargs)
  File "/opt/stack/nova/nova/compute/manager.py", line 305, in decorated_function
    e, sys.exc_info())
  File "/opt/stack/nova/nova/openstack/common/excutils.py", line 82, in __exit__
    six.reraise(self.type_, self.value, self.tb)
  File "/opt/stack/nova/nova/compute/manager.py", line 292, in decorated_function
    return function(self, context, *args, **kwargs)
  File "/opt/stack/nova/nova/compute/manager.py", line 3472, in resize_instance
    migration_p)
  File "/opt/stack/nova/nova/network/api.py", line 45, in wrapped
    return func(self, context, *args, **kwargs)
  File "/opt/stack/nova/nova/network/api.py", line 492, in migrate_instance_start
    self._get_floating_ip_addresses(context, instance)
  File "/opt/stack/nova/nova/network/api.py", line 474, in _get_floating_ip_addresses
    instance['uuid'])
  File "/opt/stack/nova/nova/db/api.py", line 700, in instance_floating_address_get_all
    return IMPL.instance_floating_address_get_all(context, instance_uuid)
  File "/opt/stack/nova/nova/cmd/compute.py", line 52, in __call__
    raise exception.DBNotAllowed('nova-compute')
DBNotAllowed: nova-compute

** Affects: nova
     Importance: High
         Status: New

** Changed in: nova
   Importance: Undecided => High

** Description changed:

+ nova-network with floating IPs is currently broken due to a direct DB
+ access
+ 
  2014-04-22 08:04:32.395 ESC[01;31mERROR oslo.messaging.rpc.dispatcher [ESC[01;36mreq-8fa8da3a-2e61-47e9-a6c6-68f598e979ad ESC[00;36mTestServerAdvancedOps-228418898
  TestServerAdvancedOps-892915532ESC[01;31m] ESC[01;35mESC[01;31mException during message handling: nova-computeESC[00m
  Traceback (most recent call last):
-   File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 133, in _dispatch_and_reply
-     incoming.message))
-   File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 176, in _dispatch
-     return self._do_dispatch(endpoint, method, ctxt, args)
-   File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 122, in _do_dispatch
-     result = getattr(endpoint, method)(ctxt, **new_args)
-   File "/opt/stack/nova/nova/exception.py", line 88, in wrapped
-     payload)
-   File "/opt/stack/nova/nova/openstack/common/excutils.py", line 82, in __exit__
-     six.reraise(self.type_, self.value, self.tb)
-   File "/opt/stack/nova/nova/exception.py", line 71, in wrapped
-     return f(self, context, *args, **kw)
-   File "/opt/stack/nova/nova/compute/manager.py", line 276, in decorated_function
-     pass
-   File "/opt/stack/nova/nova/openstack/common/excutils.py", line 82, in __exit__
-     six.reraise(self.type_, self.value, self.tb)
-   File "/opt/stack/nova/nova/compute/manager.py", line 262, in decorated_function
-     return function(self, context, *args, **kwargs)
-   File "/opt/stack/nova/nova/compute/manager.py", line 329, in decorated_function
-     function(self, context, *args, **kwargs)
-   File "/opt/stack/nova/nova/compute/manager.py", line 250, in decorated_function
-     migration.instance_uuid, exc_info=True)
-   File "/opt/stack/nova/nova/openstack/common/excutils.py", line 82, in __exit__
-     six.reraise(self.type_, self.value, self.tb)
-   File "/opt/stack/nova/nova/compute/manager.py", line 237, in decorated_function
-     return function(self, context, *args, **kwargs)
-   File "/opt/stack/nova/nova/compute/manager.py", line 305, in decorated_function
-     e, sys.exc_info())
-   File "/opt/stack/nova/nova/openstack/common/excutils.py", line 82, in __exit__
-     six.reraise(self.type_, self.value, self.tb)
-   File "/opt/stack/nova/nova/compute/manager.py", line 292, in decorated_function
-     return function(self, context, *args, **kwargs)
-   File "/opt/stack/nova/nova/compute/manager.py", line 3472, in resize_instance
-     migration_p)
-   File "/opt/stack/nova/nova/network/api.py", line 45, in wrapped
-     return func(self, context, *args, **kwargs)
-   File "/opt/stack/nova/nova/network/api.py", line 492, in migrate_instance_start
-     self._get_floating_ip_addresses(context, instance)
-   File "/opt/stack/nova/nova/network/api.py", line 474, in _get_floating_ip_addresses
-     instance['uuid'])
-   File "/opt/stack/nova/nova/db/api.py", line 700, in instance_floating_address_get_all
-     return IMPL.instance_floating_address_get_all(context, instance_uuid)
-   File "/opt/stack/nova/nova/cmd/compute.py", line 52, in __call__
-     raise exception.DBNotAllowed('nova-compute')
+   File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 133, in _dispatch_and_reply
+     incoming.message))
+   File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 176, in _dispatch
+     return self._do_dispatch(endpoint, method, ctxt, args)
+   File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 122, in _do_dispatch
+     result = getattr(endpoint, method)(ctxt, **new_args)
+   File "/opt/stack/nova/nova/exception.py", line 88, in wrapped
+     payload)
+   File "/opt/stack/nova/nova/openstack/common/excutils.py", line 82, in __exit__
+     six.reraise(self.type_, self.value, self.tb)
+   File "/opt/stack/nova/nova/exception.py", line 71, in wrapped
+     return f(self, context, *args, **kw)
+   File "/opt/stack/nova/nova/compute/manager.py", line 276, in decorated_function
+     pass
+   File "/opt/stack/nova/nova/openstack/common/excutils.py", line 82, in __exit__
+     six.reraise(self.type_, self.value, self.tb)
+   File "/opt/stack/nova/nova/compute/manager.py", line 262, in decorated_function
+     return function(self, context, *args, **kwargs)
+   File "/opt/stack/nova/nova/compute/manager.py", line 329, in decorated_function
+     function(self, context, *args, **kwargs)
+   File "/opt/stack/nova/nova/compute/manager.py", line 250, in decorated_function
+     migration.instance_uuid, exc_info=True)
+   File "/opt/stack/nova/nova/openstack/common/excutils.py", line 82, in __exit__
+     six.reraise(self.type_, self.value, self.tb)
+   File "/opt/stack/nova/nova/compute/manager.py", line 237, in decorated_function
+     return function(self, context, *args, **kwargs)
+   File "/opt/stack/nova/nova/compute/manager.py", line 305, in decorated_function
+     e, sys.exc_info())
+   File "/opt/stack/nova/nova/openstack/common/excutils.py", line 82, in __exit__
+     six.reraise(self.type_, self.value, self.tb)
+   File "/opt/stack/nova/nova/compute/manager.py", line 292, in decorated_function
+     return function(self, context, *args, **kwargs)
+   File "/opt/stack/nova/nova/compute/manager.py", line 3472, in resize_instance
+     migration_p)
+   File "/opt/stack/nova/nova/network/api.py", line 45, in wrapped
+     return func(self, context, *args, **kwargs)
+   File "/opt/stack/nova/nova/network/api.py", line 492, in migrate_instance_start
+     self._get_floating_ip_addresses(context, instance)
+   File "/opt/stack/nova/nova/network/api.py", line 474, in _get_floating_ip_addresses
+     instance['uuid'])
+   File "/opt/stack/nova/nova/db/api.py", line 700, in instance_floating_address_get_all
+     return IMPL.instance_floating_address_get_all(context, instance_uuid)
+   File "/opt/stack/nova/nova/cmd/compute.py", line 52, in __call__
+     raise exception.DBNotAllowed('nova-compute')
  DBNotAllowed: nova-compute

-- 
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/1310966

Title:
  nova network floating IP has direct DB access

Status in OpenStack Compute (Nova):
  New

Bug description:
  nova-network with floating IPs is currently broken due to a direct DB
  access

  2014-04-22 08:04:32.395 ESC[01;31mERROR oslo.messaging.rpc.dispatcher [ESC[01;36mreq-8fa8da3a-2e61-47e9-a6c6-68f598e979ad ESC[00;36mTestServerAdvancedOps-228418898
  TestServerAdvancedOps-892915532ESC[01;31m] ESC[01;35mESC[01;31mException during message handling: nova-computeESC[00m
  Traceback (most recent call last):
    File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 133, in _dispatch_and_reply
      incoming.message))
    File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 176, in _dispatch
      return self._do_dispatch(endpoint, method, ctxt, args)
    File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 122, in _do_dispatch
      result = getattr(endpoint, method)(ctxt, **new_args)
    File "/opt/stack/nova/nova/exception.py", line 88, in wrapped
      payload)
    File "/opt/stack/nova/nova/openstack/common/excutils.py", line 82, in __exit__
      six.reraise(self.type_, self.value, self.tb)
    File "/opt/stack/nova/nova/exception.py", line 71, in wrapped
      return f(self, context, *args, **kw)
    File "/opt/stack/nova/nova/compute/manager.py", line 276, in decorated_function
      pass
    File "/opt/stack/nova/nova/openstack/common/excutils.py", line 82, in __exit__
      six.reraise(self.type_, self.value, self.tb)
    File "/opt/stack/nova/nova/compute/manager.py", line 262, in decorated_function
      return function(self, context, *args, **kwargs)
    File "/opt/stack/nova/nova/compute/manager.py", line 329, in decorated_function
      function(self, context, *args, **kwargs)
    File "/opt/stack/nova/nova/compute/manager.py", line 250, in decorated_function
      migration.instance_uuid, exc_info=True)
    File "/opt/stack/nova/nova/openstack/common/excutils.py", line 82, in __exit__
      six.reraise(self.type_, self.value, self.tb)
    File "/opt/stack/nova/nova/compute/manager.py", line 237, in decorated_function
      return function(self, context, *args, **kwargs)
    File "/opt/stack/nova/nova/compute/manager.py", line 305, in decorated_function
      e, sys.exc_info())
    File "/opt/stack/nova/nova/openstack/common/excutils.py", line 82, in __exit__
      six.reraise(self.type_, self.value, self.tb)
    File "/opt/stack/nova/nova/compute/manager.py", line 292, in decorated_function
      return function(self, context, *args, **kwargs)
    File "/opt/stack/nova/nova/compute/manager.py", line 3472, in resize_instance
      migration_p)
    File "/opt/stack/nova/nova/network/api.py", line 45, in wrapped
      return func(self, context, *args, **kwargs)
    File "/opt/stack/nova/nova/network/api.py", line 492, in migrate_instance_start
      self._get_floating_ip_addresses(context, instance)
    File "/opt/stack/nova/nova/network/api.py", line 474, in _get_floating_ip_addresses
      instance['uuid'])
    File "/opt/stack/nova/nova/db/api.py", line 700, in instance_floating_address_get_all
      return IMPL.instance_floating_address_get_all(context, instance_uuid)
    File "/opt/stack/nova/nova/cmd/compute.py", line 52, in __call__
      raise exception.DBNotAllowed('nova-compute')
  DBNotAllowed: nova-compute

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


Follow ups

References