Bug 1398839 - Libgfapi support in Qemu broken on Ubuntu Xenial
Summary: Libgfapi support in Qemu broken on Ubuntu Xenial
Keywords:
Status: CLOSED EOL
Alias: None
Product: GlusterFS
Classification: Community
Component: libgfapi
Version: 3.8
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Niels de Vos
QA Contact: Sudhir D
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-26 14:42 UTC by André Bauer
Modified: 2017-11-07 10:41 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-11-07 10:41:56 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description André Bauer 2016-11-26 14:42:05 UTC
Description of problem:

Qemu can't use libgfapi to access VM images on GlusterFS volume after update  from Ubuntu 14.04 (Trusty) to Ubuntu 16.04 (Xenial).

Version-Release number of selected component (if applicable):

- GlusterFS 3.8.6 (from GlustreFS repo on launchpad)
- Qemu 2.5 with GlusterFS support (from https://launchpad.net/~monotek/+archive/ubuntu/qemu-glusterfs-3.8)

How reproducible:

- Start VM via libvirt


Steps to Reproduce:

- virsh start testvm


Actual results:

error: Failed to start domain checkbox
error: internal error: process exited while connecting to monitor: [2016-11-26 14:40:21.688834] E [MSGID: 104007] [glfs-mgmt.c:633:glfs_mgmt_getspec_cbk] 0-glfs-mgmt: failed to fetch volume file (key:vmimages) [Invalid argument]
[2016-11-26 14:40:21.688995] E [MSGID: 104024] [glfs-mgmt.c:735:mgmt_rpc_notify] 0-glfs-mgmt: failed to connect with remote-host: storage.local.net (Permission denied) [Permission denied]
2016-11-26T14:40:22.682497Z qemu-system-x86_64: -drive file=gluster://storage.local.net/vmimages/checkbox.qcow2,format=qcow2,if=none,id=drive-virtio-disk0,cache=writeback: Gluster connection failed for server=storage.local.net port=0 volume=vmimages image=checkbox.qcow2 transport=tcp: Permission denied

Expected results:

vm started...

Additional info:

Mounting the volume with fuse works without problems.

Comment 1 Stephen 2017-09-25 09:40:45 UTC
Any updates? As far as I know this was still the case with 3.10 and other releases. Nothing helpful appears in the logs, but Ubuntu 16.04 LTS doesn't work with libgfapi whereas 14.04 does.

Comment 2 André Bauer 2017-09-25 11:15:19 UTC
Maybe it's good idea to ask @ https://bugs.launchpad.net/ubuntu/+source/glusterfs/+bug/1274247


If the Mir is done there should be no need to use the packages from my ppa and it works out of the box.

Comment 3 Niels de Vos 2017-11-07 10:41:56 UTC
This bug is getting closed because the 3.8 version is marked End-Of-Life. There will be no further updates to this version. Please open a new bug against a version that still receives bugfixes if you are still facing this issue in a more current release.


Note You need to log in before you can comment on or make changes to this bug.