← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1162973] Re: XCP resource pool - unable to migrate instances

 

It seems this is invalid, and should be fixed by 1161619

** Changed in: nova
       Status: Triaged => 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/1162973

Title:
  XCP resource pool - unable to migrate instances

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  Hi, I have 2 XCP nodes (1.6) in the resource pool and try to migrate
  instances (2013.1 version):

  
  2013-04-01 19:26:45.132 ERROR nova.openstack.common.rpc.amqp [req-b6bfe432-fdb1-4799-9ea1-331bdc95b9a6 admin admin] Exception during message handling
  2013-04-01 19:26:45.132 TRACE nova.openstack.common.rpc.amqp Traceback (most recent call last):
  2013-04-01 19:26:45.132 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/openstack/common/rpc/amqp.py", line 430, in _process_data
  2013-04-01 19:26:45.132 TRACE nova.openstack.common.rpc.amqp     rval = self.proxy.dispatch(ctxt, version, method, **args)
  2013-04-01 19:26:45.132 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/openstack/common/rpc/dispatcher.py", line 133, in dispatch
  2013-04-01 19:26:45.132 TRACE nova.openstack.common.rpc.amqp     return getattr(proxyobj, method)(ctxt, **kwargs)
  2013-04-01 19:26:45.132 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/scheduler/manager.py", line 116, in live_migration
  2013-04-01 19:26:45.132 TRACE nova.openstack.common.rpc.amqp     context, ex, {})
  2013-04-01 19:26:45.132 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
  2013-04-01 19:26:45.132 TRACE nova.openstack.common.rpc.amqp     self.gen.next()
  2013-04-01 19:26:45.132 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/scheduler/manager.py", line 96, in live_migration
  2013-04-01 19:26:45.132 TRACE nova.openstack.common.rpc.amqp     block_migration, disk_over_commit)
  2013-04-01 19:26:45.132 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/scheduler/driver.py", line 214, in schedule_live_migration
  2013-04-01 19:26:45.132 TRACE nova.openstack.common.rpc.amqp     disk_over_commit)
  2013-04-01 19:26:45.132 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/compute/rpcapi.py", line 240, in check_can_live_migrate_destination
  2013-04-01 19:26:45.132 TRACE nova.openstack.common.rpc.amqp     ctxt, destination, None))
  2013-04-01 19:26:45.132 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/openstack/common/rpc/proxy.py", line 80, in call
  2013-04-01 19:26:45.132 TRACE nova.openstack.common.rpc.amqp     return rpc.call(context, self._get_topic(topic), msg, timeout)
  2013-04-01 19:26:45.132 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/openstack/common/rpc/__init__.py", line 140, in call
  2013-04-01 19:26:45.132 TRACE nova.openstack.common.rpc.amqp     return _get_impl().call(CONF, context, topic, msg, timeout)
  2013-04-01 19:26:45.132 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/openstack/common/rpc/impl_kombu.py", line 798, in call
  2013-04-01 19:26:45.132 TRACE nova.openstack.common.rpc.amqp     rpc_amqp.get_connection_pool(conf, Connection))
  2013-04-01 19:26:45.132 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/openstack/common/rpc/amqp.py", line 613, in call
  2013-04-01 19:26:45.132 TRACE nova.openstack.common.rpc.amqp     rv = list(rv)
  2013-04-01 19:26:45.132 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/openstack/common/rpc/amqp.py", line 562, in __iter__
  2013-04-01 19:26:45.132 TRACE nova.openstack.common.rpc.amqp     raise result
  2013-04-01 19:26:45.132 TRACE nova.openstack.common.rpc.amqp AttributeError: 'dict' object has no attribute 'metadetails'
  2013-04-01 19:26:45.132 TRACE nova.openstack.common.rpc.amqp Traceback (most recent call last):
  2013-04-01 19:26:45.132 TRACE nova.openstack.common.rpc.amqp
  2013-04-01 19:26:45.132 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/openstack/common/rpc/amqp.py", line 430, in _process_data
  2013-04-01 19:26:45.132 TRACE nova.openstack.common.rpc.amqp     rval = self.proxy.dispatch(ctxt, version, method, **args)
  2013-04-01 19:26:45.132 TRACE nova.openstack.common.rpc.amqp
  2013-04-01 19:26:45.132 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/openstack/common/rpc/dispatcher.py", line 133, in dispatch
  2013-04-01 19:26:45.132 TRACE nova.openstack.common.rpc.amqp     return getattr(proxyobj, method)(ctxt, **kwargs)
  2013-04-01 19:26:45.132 TRACE nova.openstack.common.rpc.amqp
  2013-04-01 19:26:45.132 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/exception.py", line 117, in wrapped
  2013-04-01 19:26:45.132 TRACE nova.openstack.common.rpc.amqp     temp_level, payload)
  2013-04-01 19:26:45.132 TRACE nova.openstack.common.rpc.amqp
  2013-04-01 19:26:45.132 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
  2013-04-01 19:26:45.132 TRACE nova.openstack.common.rpc.amqp     self.gen.next()
  2013-04-01 19:26:45.132 TRACE nova.openstack.common.rpc.amqp
  2013-04-01 19:26:45.132 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/exception.py", line 94, in wrapped
  2013-04-01 19:26:45.132 TRACE nova.openstack.common.rpc.amqp     return f(self, context, *args, **kw)
  2013-04-01 19:26:45.132 TRACE nova.openstack.common.rpc.amqp
  2013-04-01 19:26:45.132 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/compute/manager.py", line 3026, in check_can_live_migrate_destination
  2013-04-01 19:26:45.132 TRACE nova.openstack.common.rpc.amqp     block_migration, disk_over_commit)
  2013-04-01 19:26:45.132 TRACE nova.openstack.common.rpc.amqp
  2013-04-01 19:26:45.132 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/virt/xenapi/driver.py", line 433, in check_can_live_migrate_destination
  2013-04-01 19:26:45.132 TRACE nova.openstack.common.rpc.amqp     disk_over_commit)
  2013-04-01 19:26:45.132 TRACE nova.openstack.common.rpc.amqp
  2013-04-01 19:26:45.132 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/virt/xenapi/vmops.py", line 1679, in check_can_live_migrate_destination
  2013-04-01 19:26:45.132 TRACE nova.openstack.common.rpc.amqp     self._ensure_host_in_aggregate(ctxt, src)
  2013-04-01 19:26:45.132 TRACE nova.openstack.common.rpc.amqp
  2013-04-01 19:26:45.132 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/virt/xenapi/vmops.py", line 1628, in _ensure_host_in_aggregate
  2013-04-01 19:26:45.132 TRACE nova.openstack.common.rpc.amqp     self._get_host_uuid_from_aggregate(context, hostname)
  2013-04-01 19:26:45.132 TRACE nova.openstack.common.rpc.amqp
  2013-04-01 19:26:45.132 TRACE nova.openstack.common.rpc.amqp   File "/opt/stack/nova/nova/virt/xenapi/vmops.py", line 1621, in _get_host_uuid_from_aggregate
  2013-04-01 19:26:45.132 TRACE nova.openstack.common.rpc.amqp     return current_aggregate.metadetails[hostname]
  2013-04-01 19:26:45.132 TRACE nova.openstack.common.rpc.amqp
  2013-04-01 19:26:45.132 TRACE nova.openstack.common.rpc.amqp AttributeError: 'dict' object has no attribute 'metadetails'
  2013-04-01 19:26:45.132 TRACE nova.openstack.common.rpc.amqp
  2013-04-01 19:26:45.132 TRACE nova.openstack.common.rpc.amqp

  If it will help  - as a shared storage I have NFS share

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