GlusterFS volume mount should check for O_DIRECT support

Bug #1177103 reported by Eric Harney on 2013-05-06
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Undecided
Unassigned

Bug Description

From https://ask.openstack.org/question/758 :

GlusterFS mounts on older platforms (i.e. Ubuntu 12.04) don't support O_DIRECT, and fail because driver_cache = "none" is set by LibvirtBaseVolumeDriver.

The instance store LibvirtDriver has a check for this which sets disk_cachemode to "writethrough" if O_DIRECT is not supported. The volume mounting code should do a similar check and set the option accordingly.

Eric Harney (eharney) on 2013-05-06
Changed in nova:
assignee: nobody → Eric Harney (eharney)
Michael Still (mikal) on 2013-05-07
Changed in nova:
status: New → Triaged
importance: Undecided → Low
Jeffrey Zhang (jeffrey4l) wrote :

It seems that when using libgfapi [1], this bug is still exist.

[1] https://blueprints.launchpad.net/nova/+spec/glusterfs-native-support

Changed in nova:
assignee: Eric Harney (eharney) → nobody
Sean Dague (sdague) on 2015-03-30
Changed in nova:
status: Triaged → Confirmed
tags: added: glusterfs

This is an automated cleanup. This bug report has been closed because it
is older than 18 months and there is no open code change to fix this.
After this time it is unlikely that the circumstances which lead to
the observed issue can be reproduced.

If you can reproduce the bug, please:
* reopen the bug report (set to status "New")
* AND add the detailed steps to reproduce the issue (if applicable)
* AND leave a comment "CONFIRMED FOR: <RELEASE_NAME>"
  Only still supported release names are valid (LIBERTY, MITAKA, OCATA, NEWTON).
  Valid example: CONFIRMED FOR: LIBERTY

Changed in nova:
importance: Low → Undecided
status: Confirmed → Expired
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers