← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1278741] [NEW] resource tracker fails after migration if instance is already tracked on new node

 

Public bug reported:

 {u'message': u'\'list\' object has no attribute \'iteritems\'                                                                                                                                
 Traceback (most recent call last):                                                                                                                                                           
                                                                                                                                                                                              
   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py", line 461, in _process_data                                                                                      
     **args)                                                                                                                                                                                  
                                                                                                                                                                                              
   File "/usr/lib/python2.7/dist-packages/nova/openstack/com', u'code': 500, u'details': u'  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 255, in decorated_function 
     return function(self, context, *args, **kwargs)                                                                                                                                          
   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2949, in prep_resize                                                                                                 
     filter_properties)                                                                                                                                                                       
   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2943, in prep_resize                                                                                                 
     node)                                                                                                                                                                                    
   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2911, in _prep_resize                                                                                                
     limits=limits) as claim:                                                                                                                                                                 
   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/lockutils.py", line 246, in inner                                                                                             
     return f(*args, **kwargs)                                                                                                                                                                
   File "/usr/lib/python2.7/dist-packages/nova/compute/resource_tracker.py", line 173, in resize_claim                                                                                        
     self._update(elevated, self.compute_node)                                                                                                                                                
   File "/usr/lib/python2.7/dist-packages/nova/compute/resource_tracker.py", line 428, in _update                                                                                             
     context, self.compute_node, values, prune_stats)                                                                                                                                         
   File "/usr/lib/python2.7/dist-packages/nova/conductor/api.py", line 263, in compute_node_update                                                                                            
     prune_stats)                                                                                                                                                                             
   File "/usr/lib/python2.7/dist-packages/nova/conductor/rpcapi.py", line 386, in compute_node_update                                                                                         
     prune_stats=prune_stats)                                                                                                                                                                 
   File "/usr/lib/python2.7/dist-packages/nova/rpcclient.py", line 85, in call                                                                                                                
     return self._invoke(self.proxy.call, ctxt, method, **kwargs)                                                                                                                             
   File "/usr/lib/python2.7/dist-packages/nova/rpcclient.py", line 63, in _invoke                                                                                                             
     return cast_or_call(ctxt, msg, **self.kwargs)                                                                                                                                            
   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/proxy.py", line 126, in call                                                                                              
     result = rpc.call(context, real_topic, msg, timeout)                                                                                                                                     
   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/__init__.py", line 139, in call                                                                                           
     return _get_impl().call(CONF, context, topic, msg, timeout)                                                                                                                              
   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/impl_kombu.py", line 816, in call                                                                                         
     rpc_amqp.get_connection_pool(conf, Connection))                                                                                                                                          
   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py", line 574, in call                                                                                               
     rv = list(rv)                                                                                                                                                                            
   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py", line 539, in __iter__                                                                                           
     raise result                                                                                                                                                                             
 ', u'created': u'2014-02-06T14:24:01Z'}

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

Title:
  resource tracker fails after migration if instance is already tracked
  on new node

Status in OpenStack Compute (Nova):
  New

Bug description:
   {u'message': u'\'list\' object has no attribute \'iteritems\'                                                                                                                                
   Traceback (most recent call last):                                                                                                                                                           
                                                                                                                                                                                                
     File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py", line 461, in _process_data                                                                                      
       **args)                                                                                                                                                                                  
                                                                                                                                                                                                
     File "/usr/lib/python2.7/dist-packages/nova/openstack/com', u'code': 500, u'details': u'  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 255, in decorated_function 
       return function(self, context, *args, **kwargs)                                                                                                                                          
     File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2949, in prep_resize                                                                                                 
       filter_properties)                                                                                                                                                                       
     File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2943, in prep_resize                                                                                                 
       node)                                                                                                                                                                                    
     File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2911, in _prep_resize                                                                                                
       limits=limits) as claim:                                                                                                                                                                 
     File "/usr/lib/python2.7/dist-packages/nova/openstack/common/lockutils.py", line 246, in inner                                                                                             
       return f(*args, **kwargs)                                                                                                                                                                
     File "/usr/lib/python2.7/dist-packages/nova/compute/resource_tracker.py", line 173, in resize_claim                                                                                        
       self._update(elevated, self.compute_node)                                                                                                                                                
     File "/usr/lib/python2.7/dist-packages/nova/compute/resource_tracker.py", line 428, in _update                                                                                             
       context, self.compute_node, values, prune_stats)                                                                                                                                         
     File "/usr/lib/python2.7/dist-packages/nova/conductor/api.py", line 263, in compute_node_update                                                                                            
       prune_stats)                                                                                                                                                                             
     File "/usr/lib/python2.7/dist-packages/nova/conductor/rpcapi.py", line 386, in compute_node_update                                                                                         
       prune_stats=prune_stats)                                                                                                                                                                 
     File "/usr/lib/python2.7/dist-packages/nova/rpcclient.py", line 85, in call                                                                                                                
       return self._invoke(self.proxy.call, ctxt, method, **kwargs)                                                                                                                             
     File "/usr/lib/python2.7/dist-packages/nova/rpcclient.py", line 63, in _invoke                                                                                                             
       return cast_or_call(ctxt, msg, **self.kwargs)                                                                                                                                            
     File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/proxy.py", line 126, in call                                                                                              
       result = rpc.call(context, real_topic, msg, timeout)                                                                                                                                     
     File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/__init__.py", line 139, in call                                                                                           
       return _get_impl().call(CONF, context, topic, msg, timeout)                                                                                                                              
     File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/impl_kombu.py", line 816, in call                                                                                         
       rpc_amqp.get_connection_pool(conf, Connection))                                                                                                                                          
     File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py", line 574, in call                                                                                               
       rv = list(rv)                                                                                                                                                                            
     File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py", line 539, in __iter__                                                                                           
       raise result                                                                                                                                                                             
   ', u'created': u'2014-02-06T14:24:01Z'}

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


Follow ups

References