XenAPI: dd into config drive must use direct IO
Bug #1259163 reported by
Bob Ball
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Bob Ball |
Bug Description
There is a theoretical race condition between dd and VBD.unplug in the nova compute VM where we are using non-direct IO meaning the device might not be synced before we attempt to unplug.
This _may_ be related to the frequency of the following message seen in the guest.
[17765.790561] vbd vbd-51744: 16 Device in use; refusing to close
Changed in nova: | |
importance: | Undecided → Medium |
assignee: | nobody → Bob Ball (bob-ball) |
tags: | added: xenserver |
Changed in nova: | |
milestone: | none → icehouse-2 |
description: | updated |
Changed in nova: | |
status: | New → In Progress |
Changed in nova: | |
importance: | Medium → Low |
description: | updated |
Changed in nova: | |
milestone: | icehouse-2 → icehouse-3 |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | icehouse-3 → 2014.1 |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/60808 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=5b0c8f0b967 c4e610f19c946aa e9d99b090967ba
Committed: https:/
Submitter: Jenkins
Branch: master
commit 5b0c8f0b967c4e6 10f19c946aae9d9 9b090967ba
Author: Bob Ball <email address hidden>
Date: Mon Dec 9 13:27:17 2013 +0000
XenAPI: Use direct IO for writing config drive
If you don't use direct IO when writing to the device, the unplug
immediately following this may not succeed as the device may still
be in use.
Also add a sync to ensure the device is not being used at the point
of unplug.
Closes-bug: 1259163
Change-Id: I68f09835648b36 772a7839af97181 23a4c60734f