← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1284312] [NEW] vmware driver races to create instance images

 

Public bug reported:

Change Ia0ebd674345734e7cfa31ccd400fdba93646c554 traded one race
condition for another. By ignoring all mkdir() calls that would
otherwise fail because an instance directory already exists, two nodes
racing to create a single image will corrupt or lose data, or fail in a
strange way. This call should fail in that case, but doesn't after the
recent patch was merged:

https://github.com/openstack/nova/blob/master/nova/virt/vmwareapi/vmops.py#L350

** Affects: nova
     Importance: High
     Assignee: Shawn Hartsock (hartsock)
         Status: New

** Affects: openstack-vmwareapi-team
     Importance: Critical
         Status: New


** Tags: vmware

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

Title:
  vmware driver races to create instance images

Status in OpenStack Compute (Nova):
  New
Status in The OpenStack VMwareAPI subTeam:
  New

Bug description:
  Change Ia0ebd674345734e7cfa31ccd400fdba93646c554 traded one race
  condition for another. By ignoring all mkdir() calls that would
  otherwise fail because an instance directory already exists, two nodes
  racing to create a single image will corrupt or lose data, or fail in
  a strange way. This call should fail in that case, but doesn't after
  the recent patch was merged:

  https://github.com/openstack/nova/blob/master/nova/virt/vmwareapi/vmops.py#L350

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


Follow ups

References