← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1488635] Re: xen: resize assumes an ephemeral was migrated if the new flavor has one

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => liberty-3

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

Title:
  xen: resize assumes an ephemeral was migrated if the new flavor has
  one

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  When resizing from a flavor with no ephemeral disk to a flavor which
  includes one an error is raise due to a migrated ephemeral disk not
  being found.  The migration code needs to consider the original flavor
  when looking for migrated ephemeral disks.

  
  2015-08-20 14:38:07.744 23025 ERROR nova.utils [instance: 38a0406d-1ba0f514764d]     import_root=import_root)
  2015-08-20 14:38:07.744 23025 ERROR nova.utils [instance: 38a0406d-1ba0f514764d]   File "/opt/rackstack/rackstack.348.13/nova/lib/python2.7/site-packages/nova/virt/xenapi/vm_utils.py", line 2532, in import_all_migrated_disks
  2015-08-20 14:38:07.744 23025 ERROR nova.utils [instance: 38a0406d-1ba0f514764d]     eph_vdis = _import_migrate_ephemeral_disks(session, instance)
  2015-08-20 14:38:07.744 23025 ERROR nova.utils [instance: 38a0406d-1ba0f514764d]   File "/opt/rackstack/rackstack.348.13/nova/lib/python2.7/site-packages/nova/virt/xenapi/vm_utils.py", line 2554, in _import_migrate_ephemeral_disks
  2015-08-20 14:38:07.744 23025 ERROR nova.utils [instance: 38a0406d-1ba0f514764d]     vdi_label)     
  2015-08-20 14:38:07.744 23025 ERROR nova.utils [instance: 38a0406d-1ba0f514764d]   File "/opt/rackstack/rackstack.348.13/nova/lib/python2.7/site-packages/nova/virt/xenapi/vm_utils.py", line 2566, in _import_migrated_vhds
  2015-08-20 14:38:07.744 23025 ERROR nova.utils [instance: 38a0406d-1ba0f514764d]     sr_path=get_sr_path(session), uuid_stack=_make_uuid_stack())
  2015-08-20 14:38:07.744 23025 ERROR nova.utils [instance: 38a0406d-1ba0f514764d]   File "/opt/rackstack/rackstack.348.13/nova/lib/python2.7/site-packages/nova/virt/xenapi/client/session.py", line 227, in call_plugin_serialized
  2015-08-20 14:38:07.744 23025 ERROR nova.utils [instance: 38a0406d-1ba0f514764d]     rv = self.call_plugin(plugin, fn, params)
  2015-08-20 14:38:07.744 23025 ERROR nova.utils [instance: 38a0406d-1ba0f514764d]   File "/opt/rackstack/rackstack.348.13/nova/lib/python2.7/site-packages/nova/virt/xenapi/client/session.py", line 223, in call_plugin 
  2015-08-20 14:38:07.744 23025 ERROR nova.utils [instance: 38a0406d-1ba0f514764d]     self.host_ref, plugin, fn, args)
  2015-08-20 14:38:07.744 23025 ERROR nova.utils [instance: 38a0406d-1ba0f514764d]   File "/opt/rackstack/rackstack.348.13/nova/lib/python2.7/site-packages/nova/virt/xenapi/client/session.py", line 297, in _unwrap_plugin_exceptions
  2015-08-20 14:38:07.744 23025 ERROR nova.utils [instance: 38a0406d-1ba0f514764d]     return func(*args, **kwargs)
  2015-08-20 14:38:07.744 23025 ERROR nova.utils [instance: 38a0406d-1ba0f514764d]   File "/opt/rackstack/rackstack.348.13/nova/lib/python2.7/site-packages/XenAPI.py", line 229, in __call__
  2015-08-20 14:38:07.744 23025 ERROR nova.utils [instance: 38a0406d-1ba0f514764d]     return self.__send(self.__name, args)
  2015-08-20 14:38:07.744 23025 ERROR nova.utils [instance: 38a0406d-1ba0f514764d]   File "/opt/rackstack/rackstack.348.13/nova/lib/python2.7/site-packages/XenAPI.py", line 133, in xenapi_request
  2015-08-20 14:38:07.744 23025 ERROR nova.utils [instance: 38a0406d-1ba0f514764d]     result = _parse_result(getattr(self, methodname)(*full_params))
  2015-08-20 14:38:07.744 23025 ERROR nova.utils [instance: 38a0406d-1ba0f514764d]   File "/opt/rackstack/rackstack.348.13/nova/lib/python2.7/site-packages/XenAPI.py", line 203, in _parse_result
  2015-08-20 14:38:07.744 23025 ERROR nova.utils [instance: 38a0406d-1ba0f514764d]     raise Failure(result['ErrorDescription'])
  2015-08-20 14:38:07.744 23025 ERROR nova.utils [instance: 38a0406d-1ba0f514764d] Failure: ['XENAPI_PLUGIN_FAILURE', 'move_vhds_into_sr', 'OSError', "[Errno 2] No such file or directory: '/images/instance38a0406d-1ba0f514764d_ephemeral_1'"]

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


References