On Wed, Oct 3, 2018 at 9:37 AM Yedidyah Bar David <didi@redhat.com> wrote:
(Adding Gal)

On Tue, Oct 2, 2018 at 10:12 PM Yuval Turgeman <yturgema@redhat.com> wrote:
>
> Right, there is no python2 firewalld module on fedora, and since ansible renders the role on a python2 machine, the resulting script will not be able to import firewalld.  I think there are bugs on both issues.
>
> On Tue, Oct 2, 2018, 21:32 Nir Soffer <nsoffer@redhat.com> wrote:
>>
>> On Tue, Oct 2, 2018 at 8:48 PM Nir Soffer <nsoffer@redhat.com> wrote:
>>>
>>> On Tue, Oct 2, 2018 at 8:46 PM Yuval Turgeman <yturgema@redhat.com> wrote:
>>>>
>>>> IIRC you need python-dnf for this (2 or 3 depending on the python version otopi uses)
>>
>>
>> Installing python-dnf fixes this issue.
>> Do we have a bug for this issue?

I do not think so.

I couldn't find a open bug for that. we need to open one
 
>>
>> However install fail later in ovirt-host-deploy-ansible:
>>
>> 2018-10-02 21:18:20,611 p=2294 u=nsoffer |  TASK [ovirt-host-deploy-firewalld : Enable SSH port] ***************************
>> 2018-10-02 21:18:21,063 p=2294 u=nsoffer |  fatal: [voodoo1.tlv.redhat.com]: FAILED! => {
>>     "changed": false
>> }
>>
>> MSG:
>>
>> Python Module not found: firewalld and its python module are required for this module,                         version 0.2.11 or newer required (0.3.9 or newer for offline operations)
>>
>> 2018-10-02 21:18:21,065 p=2294 u=nsoffer |  PLAY RECAP *********************************************************************
>> 2018-10-02 21:18:21,065 p=2294 u=nsoffer |  voodoo1.tlv.redhat.com     : ok=8    changed=2    unreachable=0    failed=1
>>
>> I have:
>>
>> $ rpm -qa | grep firewall
>> firewalld-0.5.5-1.fc28.noarch
>> python3-firewall-0.5.5-1.fc28.noarch
>> firewalld-filesystem-0.5.5-1.fc28.noarch
>>
>> Do we have a bug for this?

Not sure.

Sandro opened a bug for that a while ago:
https://bugzilla.redhat.com/show_bug.cgi?id=1597121 

Gal