Hi Petr,
Looks like selinux-policy version issue.
Can you please check in machine where you faced issue : getsebool -a |
grep virt_use_glusterd
and what is the selinux-policy version?
My local machine fedora25:
=====================
selinux-policy-3.13.1-225.20.fc25.noarch
And there is no virt_use_glusterd available in this version.
[godas@godas cockpit-ovirt]$ getsebool -a | grep virt_use_glusterd
[godas@godas cockpit-ovirt]$
Vagrant Box Fedora26:
==================
[vagrant@localhost ~]$ rpm -qa | grep selinux-policy
selinux-policy-3.13.1-259.fc26.noarch
[vagrant@localhost ~]$ getsebool -a | grep virt_use_glusterd
virt_use_glusterd --> off
Thanks,
Gobinda
On Mon, Sep 4, 2017 at 8:39 PM, Dan Kenigsberg <danken(a)redhat.com> wrote:
On Mon, Sep 4, 2017 at 3:41 PM, Petr Horacek
<phoracek(a)redhat.com> wrote:
> Hello,
>
> `vdsm-tool configure --force` fails for me on master, it looks like
> [1] could be the reason. Could you please look into it?
>
> [root@localhost vagrant]# vdsm-tool configure --force
>
> Checking configuration status...
>
> abrt is not configured for vdsm
> WARNING: LVM local configuration: /etc/lvm/lvmlocal.conf is not based
> on vdsm configuration
> lvm requires configuration
> Traceback (most recent call last):
> File "/bin/vdsm-tool", line 219, in main
> return tool_command[cmd]["command"](*args)
> File "/usr/lib/python2.7/site-packages/vdsm/tool/__init__.py", line
> 38, in wrapper
> func(*args, **kwargs)
> File "/usr/lib/python2.7/site-packages/vdsm/tool/configurator.py",
> line 122, in configure
> if _should_configure(c, pargs.force)]
> File "/usr/lib/python2.7/site-packages/vdsm/tool/configurator.py",
> line 312, in _should_configure
> configured = _isconfigured(c)
> File "/usr/lib/python2.7/site-packages/vdsm/tool/configurator.py",
> line 98, in _isconfigured
> return getattr(module, 'isconfigured', lambda: configurators.NO)()
> File "/usr/lib/python2.7/site-packages/vdsm/tool/
configurators/sebool.py",
> line 74, in isconfigured
> if not all(sebool_status[sebool_variable]):
> KeyError: 'virt_use_glusterd'
>
> Thanks,
> Petr
>
> [1]
https://gerrit.ovirt.org/#/c/81388/
Thanks Petr.
But please note that such reports should be shared with devel@ovirt; a
patch suggesting a revert is pending
https://gerrit.ovirt.org/#/c/81409/
I wonder if you need to require an explict version of selinux-policyt?