Bug 1401901
Summary: | ovirt-imageio-daemon requires vdsm user but it's not requiring vdsm rpm because vdsm is requiring ovirt-imageio-daemon | ||
---|---|---|---|
Product: | [oVirt] ovirt-imageio | Reporter: | Simone Tiraboschi <stirabos> |
Component: | General | Assignee: | Daniel Erez <derez> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Avihai <aefrat> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | --- | CC: | amureini, bugs, derez, mmucha, nsoffer, stirabos, tnisan, ylavi |
Target Milestone: | ovirt-4.1.0-beta | Flags: | rule-engine:
ovirt-4.1+
|
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-02-15 14:59:21 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | Storage | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1438921 |
Description
Simone Tiraboschi
2016-12-06 11:24:40 UTC
ovirt-imageio-daemon is a helper for vdsm. Vdsm control it to allow upload to vdsm images or downloads from vdsm images. ovirt-imageio-daemon uses vdsm pki (/etc/pki/vdsm) so ovirt-imageio-proxy can access via https. We went with the easy solution, running as vdsm, and installation on a clean system was probably never tested. I think the right solution is to run ovirt-imageio-daemon on under its own user, (imageio?) so we don't have any dependency on vdsm. To allow ovirt-imageio-daemon access to vdsm pki files and images, vdsm can add the imageio user to qemu group, in vdsm-tool configure --module=imageio. This is the same way we configure sanlock. Simple workaround: manually run yum reinstall ovirt-imageio-daemon once vdsm is there (In reply to Nir Soffer from comment #1) > We went with the easy solution, running as vdsm, and installation on a clean > system was probably never tested. > > I think the right solution is to run ovirt-imageio-daemon on under its own > user, > (imageio?) so we don't have any dependency on vdsm. > > To allow ovirt-imageio-daemon access to vdsm pki files and images, vdsm can > add the imageio user to qemu group, in vdsm-tool configure --module=imageio. > This is the same way we configure sanlock. Sounds like a plan. Simone - given the workaround, how urgent is this? To me 4.1-beta seems like a reasonable target for this. (In reply to Allon Mureinik from comment #3) > > I think the right solution is to run ovirt-imageio-daemon on under its own > > user, > > (imageio?) so we don't have any dependency on vdsm. > > > > To allow ovirt-imageio-daemon access to vdsm pki files and images, vdsm can > > add the imageio user to qemu group, in vdsm-tool configure --module=imageio. > > This is the same way we configure sanlock. > Sounds like a plan. Simone suggested to add a Requires(pre): vdsm - it this works, we can fix this bug *now*, and work on the more correct approach in later version. Simone, can you check if this patch solves the issue on your setup? Not sure why it was moved to MODIFIED, it's a 4.0.7 bug with a patch only on master, we are missing 2 backports (In reply to Tal Nisan from comment #6) > Not sure why it was moved to MODIFIED, it's a 4.0.7 bug with a patch only on > master, we are missing 2 backports @Tal - ovirt-imageio project currently has only master branch, i.e. no branches to backport into. Can we move it to MODIFIED? (In reply to Daniel Erez from comment #7) > (In reply to Tal Nisan from comment #6) > > Not sure why it was moved to MODIFIED, it's a 4.0.7 bug with a patch only on > > master, we are missing 2 backports > > @Tal - ovirt-imageio project currently has only master branch, i.e. no > branches to backport into. But we have downstream repositories that must include this fix - is this fix included in the downstream repositories? (In reply to Nir Soffer from comment #8) > (In reply to Daniel Erez from comment #7) > > (In reply to Tal Nisan from comment #6) > > > Not sure why it was moved to MODIFIED, it's a 4.0.7 bug with a patch only on > > > master, we are missing 2 backports > > > > @Tal - ovirt-imageio project currently has only master branch, i.e. no > > branches to backport into. > > But we have downstream repositories that must include this fix - is this fix > included in the downstream repositories? The packages are uploaded upon release, there are no branches to backport into. *** Bug 1400003 has been marked as a duplicate of this bug. *** The upstream build ovirt-imageio-daemon-1.0.0-0.201612271935.git8df9ac6.el7.centos.noarch got installed successfully. 4.0.6 has been the last oVirt 4.0 release, please re-target this bug. Verified on VDSM -> 4.19.2-2 . Engine -> ovirt-engine-4.1.0.2-0.2.el7.noarch . |