← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1177246] Re: nova list --ip command returns "ERROR: The server has either erred or is incapable of performing the requested operation".

 

** Changed in: nova
       Status: In Progress => 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/1177246

Title:
  nova list --ip command returns "ERROR: The server has either erred or
  is incapable of performing the requested operation".

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  When i try to filter instances by IP  using the command nova list --ip
  , very often I am getting the error "ERROR: The server has either
  erred or is incapable of performing the requested operation".

  The log file shows below error:

  2013-05-03 05:14:12.958 ERROR nova.openstack.common.rpc.amqp [req-95962172-06b1-474c-b9fb-8a6b5abc545a 08a2606ac80d45e19a2cd319fb147b2a d9cf934ffbcc48c4ac0b1b08838ccd57] Exception during message handling
  2013-05-03 05:14:12.958 12308 TRACE nova.openstack.common.rpc.amqp Traceback (most recent call last):
  2013-05-03 05:14:12.958 12308 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/site-packages/nova/openstack/common/rpc/amqp.py", line 430, in _process_data
  2013-05-03 05:14:12.958 12308 TRACE nova.openstack.common.rpc.amqp     rval = self.proxy.dispatch(ctxt, version, method, **args)
  2013-05-03 05:14:12.958 12308 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/site-packages/nova/openstack/common/rpc/dispatcher.py", line 133, in dispatch
  2013-05-03 05:14:12.958 12308 TRACE nova.openstack.common.rpc.amqp     return getattr(proxyobj, method)(ctxt, **kwargs)
  2013-05-03 05:14:12.958 12308 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/site-packages/nova/network/manager.py", line 465, in get_instance_uuids_by_ip_filter
  2013-05-03 05:14:12.958 12308 TRACE nova.openstack.common.rpc.amqp     for floating_ip in fixed_ip.get('floating_ips', []):
  2013-05-03 05:14:12.958 12308 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/site-packages/nova/openstack/common/db/sqlalchemy/models.py", line 63, in get
  2013-05-03 05:14:12.958 12308 TRACE nova.openstack.common.rpc.amqp     return getattr(self, key, default)
  2013-05-03 05:14:12.958 12308 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib64/python2.7/site-packages/sqlalchemy/orm/attributes.py", line 168, in __get__
  2013-05-03 05:14:12.958 12308 TRACE nova.openstack.common.rpc.amqp     return self.impl.get(instance_state(instance),dict_)
  2013-05-03 05:14:12.958 12308 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib64/python2.7/site-packages/sqlalchemy/orm/attributes.py", line 453, in get
  2013-05-03 05:14:12.958 12308 TRACE nova.openstack.common.rpc.amqp     value = self.callable_(state, passive)
  2013-05-03 05:14:12.958 12308 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib64/python2.7/site-packages/sqlalchemy/orm/strategies.py", line 481, in _load_for_state
  2013-05-03 05:14:12.958 12308 TRACE nova.openstack.common.rpc.amqp     (mapperutil.state_str(state), self.key)
  2013-05-03 05:14:12.958 12308 TRACE nova.openstack.common.rpc.amqp DetachedInstanceError: Parent instance <FixedIp at 0x43a1a90> is not bound to a Session; lazy load operation of attribute 'floating_ips' cannot proceed
  2013-05-03 05:14:12.958 12308 TRACE nova.openstack.common.rpc.amqp
  2013-05-03 05:14:12.984 ERROR nova.openstack.common.rpc.common [req-95962172-06b1-474c-b9fb-8a6b5abc545a 08a2606ac80d45e19a2cd319fb147b2a d9cf934ffbcc48c4ac0b1b08838ccd57] Returning exception Parent instance <FixedIp at 0x43a1a90> is not bound to a Session; lazy load operation of attribute 'floating_ips' cannot proceed to caller

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