[ovirt-devel] vdsm-tool configure fails with "KeyError: 'virt_use_glusterd'"

Dan Kenigsberg danken at redhat.com
Mon Sep 4 15:09:34 UTC 2017


On Mon, Sep 4, 2017 at 3:41 PM, Petr Horacek <phoracek at 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 at 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 at 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?


More information about the Devel mailing list