[libvirt] [PATCH V3 jenkins-ci 0/2] Add support for openSUSE

Fabiano Fidêncio fidencio at redhat.com
Sat Dec 7 15:51:51 UTC 2019


On Sat, Dec 7, 2019 at 1:13 AM Jim Fehlig <jfehlig at suse.com> wrote:
>
> On 12/6/19 4:44 PM, Jim Fehlig wrote:
> > Jim Fehlig (2):
> >    guests: Add support for openSUSE
> >    guests: Add lci build support for openSUSE
>
> I forgot to mention, 'lcitool update libvirt-opensuse-151 libvirt' still fails
> in the Configure hostname task
>
> TASK [Configure hostname]
> **********************************************************************
> fatal: [libvirt-opensuse-151]: FAILED! => {"changed": false, "msg": "hostname
> module cannot be used on platform Linux (Opensuse-leap)"}

This is related to the ansible version you have in your machine.
I'm using ansible 2.9.1 and I can see, as part of
/usr/lib/python3.7/site-packages/ansible/modules/system/hostname.py:
```
class OpenSUSELeapHostname(Hostname):
    platform = 'Linux'
    distribution = 'Opensuse-leap'
    strategy_class = SystemdStrategy
```

Maybe it's worth a bug report in order to have it backported to the
ansible package you have in your distro.

The same goes with the patch I've submitted adding Opensuse-tumbleweed.

Best Regards,
-- 
Fabiano Fidêncio





More information about the libvir-list mailing list