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

Dan Kenigsberg danken at redhat.com
Tue Sep 5 11:55:58 UTC 2017


Our biggest deployment is CentOS7. This is also the only platform
where ovirt-system-tests are being run.

You have to make sure your patch works there, and passes
http://jenkins.ovirt.org/job/ovirt-system-tests_manual/ before we can
take in a patch.

On Tue, Sep 5, 2017 at 2:50 PM, Gobinda Das <godas at redhat.com> wrote:
> 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 at godas cockpit-ovirt]$ getsebool -a | grep virt_use_glusterd
> [godas at godas cockpit-ovirt]$
>
> Vagrant Box Fedora26:
> ==================
> [vagrant at localhost ~]$ rpm -qa | grep selinux-policy
> selinux-policy-3.13.1-259.fc26.noarch
>
> [vagrant at 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 at redhat.com> wrote:
>>
>> 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?
>
>
>
>
> --
> Thanks,
> Gobinda
> +91-9019047912


More information about the Devel mailing list