[libvirt] [PATCH 03/42] rpc: Use g_autofree on virNetClientNewLibSSH2()

2019-12-19 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- src/rpc/virnetclient.c | 18 ++ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/src/rpc/virnetclient.c b/src/rpc/virnetclient.c index 47a17d30f7..75e653fec8 100644 --- a/src/rpc/virnetclient.c +++ b/src/rpc/virnetclient.c

[libvirt] [PATCH 0/2] Remove VIR_FILE_*_SEPARATOR_*

2019-12-18 Thread Fabiano Fidêncio
Let's use the defines provided by GLib, instead of keeping our own. Fabiano Fidêncio (2): util: Use G_DIR_SEPARATOR instead of VIR_FILE_DIR_SEPARATOR util: Remove VIR_FILE_*_SEPARATOR* src/util/virfile.c | 2 +- src/util/virfile.h | 19 --- 2 files changed, 1 inse

[libvirt] [PATCH 2/2] util: Remove VIR_FILE_*_SEPARATOR*

2019-12-18 Thread Fabiano Fidêncio
None of those are used and we should prefer using the ones provided by GLib, as G_DIR_SEPARATOR, G_DIR_SEPARATOR_S, G_SEARCHPATH_SEPARATOR, and G_SEARCHPATH_SEPARATOR_S. Signed-off-by: Fabiano Fidêncio --- src/util/virfile.h | 19 --- 1 file changed, 19 deletions(-) diff --git

[libvirt] [PATCH 1/2] util: Use G_DIR_SEPARATOR instead of VIR_FILE_DIR_SEPARATOR

2019-12-18 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- src/util/virfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/virfile.c b/src/util/virfile.c index b72d18b3d2..0f0d607c59 100644 --- a/src/util/virfile.c +++ b/src/util/virfile.c @@ -3278,7 +3278,7

[libvirt] [PATCH 3/3] util: Remove VIR_FILE_IS_DIR_SEPARATOR

2019-12-18 Thread Fabiano Fidêncio
The define is not used since virFileIsAbsPath() has been dropped. Signed-off-by: Fabiano Fidêncio --- src/util/virfile.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/util/virfile.h b/src/util/virfile.h index 550d06ce94..3fd1795813 100644 --- a/src/util/virfile.h +++ b/src/util

[libvirt] [PATCH 0/3] Remove unused virFile*() functions

2019-12-18 Thread Fabiano Fidêncio
- virFileSkipRoot() is no longer used since faf2d811f3e9a4; - virFileIsAbsPath() is no longer used since faf2d811f3e9a4; - VIR_FILE_IS_DIR_SEPARATOR is no longer used since virFileIsAbsPath has been dropped; Fabiano Fidêncio (3): util: Remove virFileSkipRoot() util: Remove virFileIsAbsPath

[libvirt] [PATCH 2/3] util: Remove virFileIsAbsPath()

2019-12-18 Thread Fabiano Fidêncio
The function is no longer used since commit faf2d811f3e9a4. Signed-off-by: Fabiano Fidêncio --- src/libvirt_private.syms | 1 - src/util/virfile.c | 19 --- src/util/virfile.h | 1 - 3 files changed, 21 deletions(-) diff --git a/src/libvirt_private.syms b/src

[libvirt] [PATCH 1/3] util: Remove virFileSkipRoot()

2019-12-18 Thread Fabiano Fidêncio
The function is no longer used since commit faf2d811f3e9a4. Signed-off-by: Fabiano Fidêncio --- src/libvirt_private.syms | 1 - src/util/virfile.c | 54 src/util/virfile.h | 1 - 3 files changed, 56 deletions(-) diff --git a/src

Re: [libvirt] [PATCH] docs: Only distribute sanlock manpage if WITH_SANLOCK

2019-12-18 Thread Fabiano Fidêncio
> -- > 2.23.0 > > -- > libvir-list mailing list > libvir-list@redhat.com > https://www.redhat.com/mailman/listinfo/libvir-list > Reviewed-by: Fabiano Fidêncio -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

[libvirt] [PATCH] util: Simplify Windows version of virGetUserDirectoryByUID()

2019-12-18 Thread Fabiano Fidêncio
Let's just use the plain g_get_home_dir(), from GLib, instead of maintaining a code adapted from the GLib's one. Signed-off-by: Fabiano Fidêncio --- src/util/virutil.c | 92 +- 1 file changed, 1 insertion(+), 91 deletions(-) diff --git

[libvirt] [PATCH v4 2/4] util: Rewrite virGetUserConfigDirectory() using g_get_user_config_dir()

2019-12-18 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- src/util/virutil.c | 39 ++- 1 file changed, 10 insertions(+), 29 deletions(-) diff --git a/src/util/virutil.c b/src/util/virutil.c index 7008c3119c..9d98b0051a 100644 --- a/src/util/virutil.c +++ b/src/util/virutil.c

[libvirt] [PATCH v4 3/4] util: Rewrite virGetUserCacheDirectory() using g_get_user_cache_dir()

2019-12-18 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- src/util/virutil.c | 57 -- 1 file changed, 10 insertions(+), 47 deletions(-) diff --git a/src/util/virutil.c b/src/util/virutil.c index 9d98b0051a..db9378fa57 100644 --- a/src/util/virutil.c +++ b/src/util

[libvirt] [PATCH v4 4/4] util: Rewrite virGetUserRuntimeDirectory() using g_get_user_runtime_dir()

2019-12-18 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- src/util/virutil.c | 39 ++- 1 file changed, 10 insertions(+), 29 deletions(-) diff --git a/src/util/virutil.c b/src/util/virutil.c index db9378fa57..a28feb3daa 100644 --- a/src/util/virutil.c +++ b/src/util/virutil.c

[libvirt] [PATCH v4 0/4] Rewrite virGetUser*Directory() functions using g_get_*_dir()

2019-12-18 Thread Fabiano Fidêncio
on Windows; Changes since v1: https://www.redhat.com/archives/libvir-list/2019-December/msg01055.html - Don't check for the return of g_get_*_dir(), as it cannot be NULL; Fabiano Fidêncio (4): util: Rewrite virGetUserDirectory() using g_get_home_dir() util: Rewrite virGetUserCon

[libvirt] [PATCH v4 1/4] util: Rewrite virGetUserDirectory() using g_get_home_dir()

2019-12-18 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- src/util/virutil.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/virutil.c b/src/util/virutil.c index ed1f696e37..7008c3119c 100644 --- a/src/util/virutil.c +++ b/src/util/virutil.c @@ -582,7 +582,7 @@ virGetHostnameQuiet(void

Re: [libvirt] [PATCH v2 1/4] util: Rewrite virGetUserDirectory() using g_get_home_dir()

2019-12-18 Thread Fabiano Fidêncio
On Wed, Dec 18, 2019 at 5:08 PM Daniel P. Berrangé wrote: > > On Wed, Dec 18, 2019 at 10:53:41AM -0500, Cole Robinson wrote: > > On 12/18/19 5:34 AM, Fabiano Fidêncio wrote: > > > On Wed, Dec 18, 2019 at 11:19 AM Marc Hartmayer > > > wrote: > > >> >

Re: [libvirt] [PATCH v2 1/4] util: Rewrite virGetUserDirectory() using g_get_home_dir()

2019-12-18 Thread Fabiano Fidêncio
On Wed, Dec 18, 2019 at 11:19 AM Marc Hartmayer wrote: > > On Tue, Dec 17, 2019 at 05:41 PM +0100, Fabiano Fidêncio > wrote: > > Signed-off-by: Fabiano Fidêncio > > --- > > src/util/virutil.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > >

[libvirt] [PATCH v3 4/4] util: Rewrite virGetUserRuntimeDirectory() using g_get_user_runtime_dir()

2019-12-17 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- src/util/virutil.c | 39 ++- 1 file changed, 10 insertions(+), 29 deletions(-) diff --git a/src/util/virutil.c b/src/util/virutil.c index 2e8b4e95b7..52b12126d7 100644 --- a/src/util/virutil.c +++ b/src/util/virutil.c

[libvirt] [PATCH v3 0/4] Rewrite virGetUser*Directory() functions using g_get_*_dir()

2019-12-17 Thread Fabiano Fidêncio
_dir(), as it cannot be NULL; Fabiano Fidêncio (4): util: Rewrite virGetUserDirectory() using g_get_home_dir() util: Rewrite virGetUserConfigDirectory() using g_get_user_config_dir() util: Rewrite virGetUserCacheDirectory() using g_get_user_cache_dir() util: Rewrite virGetUserRunt

[libvirt] [PATCH v3 3/4] util: Rewrite virGetUserCacheDirectory() using g_get_user_cache_dir()

2019-12-17 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- src/util/virutil.c | 57 -- 1 file changed, 10 insertions(+), 47 deletions(-) diff --git a/src/util/virutil.c b/src/util/virutil.c index 1bcdde9ad6..2e8b4e95b7 100644 --- a/src/util/virutil.c +++ b/src/util

[libvirt] [PATCH v3 1/4] util: Rewrite virGetUserDirectory() using g_get_home_dir()

2019-12-17 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- src/util/virutil.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/virutil.c b/src/util/virutil.c index ed1f696e37..7008c3119c 100644 --- a/src/util/virutil.c +++ b/src/util/virutil.c @@ -582,7 +582,7 @@ virGetHostnameQuiet(void

[libvirt] [PATCH v3 2/4] util: Rewrite virGetUserConfigDirectory() using g_get_user_config_dir()

2019-12-17 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- src/util/virutil.c | 39 ++- 1 file changed, 10 insertions(+), 29 deletions(-) diff --git a/src/util/virutil.c b/src/util/virutil.c index 7008c3119c..1bcdde9ad6 100644 --- a/src/util/virutil.c +++ b/src/util/virutil.c

[libvirt] [PATCH v2 3/4] util: Rewrite virGetUserCacheDirectory() using g_get_user_cache_dir()

2019-12-17 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- src/util/virutil.c | 53 ++ 1 file changed, 6 insertions(+), 47 deletions(-) diff --git a/src/util/virutil.c b/src/util/virutil.c index 63680974b8..9485316e05 100644 --- a/src/util/virutil.c +++ b/src/util/virutil.c

[libvirt] [PATCH v2 1/4] util: Rewrite virGetUserDirectory() using g_get_home_dir()

2019-12-17 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- src/util/virutil.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/virutil.c b/src/util/virutil.c index ed1f696e37..8c255abd7f 100644 --- a/src/util/virutil.c +++ b/src/util/virutil.c @@ -582,7 +582,7 @@ virGetHostnameQuiet(void

[libvirt] [PATCH v2 4/4] util: Rewrite virGetUserRuntimeDirectory() using g_get_user_runtime_dir()

2019-12-17 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- src/util/virutil.c | 35 ++- 1 file changed, 6 insertions(+), 29 deletions(-) diff --git a/src/util/virutil.c b/src/util/virutil.c index 9485316e05..10bf96f193 100644 --- a/src/util/virutil.c +++ b/src/util/virutil.c @@ -598,6

[libvirt] [PATCH v2 2/4] util: Rewrite virGetUserConfigDirectory() using g_get_user_config_dir()

2019-12-17 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- src/util/virutil.c | 35 ++- 1 file changed, 6 insertions(+), 29 deletions(-) diff --git a/src/util/virutil.c b/src/util/virutil.c index 8c255abd7f..63680974b8 100644 --- a/src/util/virutil.c +++ b/src/util/virutil.c @@ -586,6

[libvirt] [PATCH v2 0/4] Rewrite virGetUser*Directory() functions using g_get_*_dir()

2019-12-17 Thread Fabiano Fidêncio
r the return of g_get_*_dir(), as it cannot be NULL; Fabiano Fidêncio (4): util: Rewrite virGetUserDirectory() using g_get_home_dir() util: Rewrite virGetUserConfigDirectory() using g_get_user_config_dir() util: Rewrite virGetUserCacheDirectory() using g_get_user_cache_dir() util: Re

[libvirt] [PATCH 4/4] util: Rewrite virGetUserRuntimeDirectory() using g_get_user_runtime_dir()

2019-12-17 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- src/util/virutil.c | 40 +++- 1 file changed, 11 insertions(+), 29 deletions(-) diff --git a/src/util/virutil.c b/src/util/virutil.c index 993a959555..62cb3390f8 100644 --- a/src/util/virutil.c +++ b/src/util/virutil.c

[libvirt] [PATCH 0/4] Rewrite virGetUser*Directory() functions using g_get_*_dir()

2019-12-17 Thread Fabiano Fidêncio
By rewriting virGetUser*Directory() functions using g_get_*_dir() functions allows us to drop all the different implementations we keep, as GLib already takes care of those for us. Fabiano Fidêncio (4): util: Rewrite virGetUserDirectory() using g_get_home_dir() util: Rewrite

[libvirt] [PATCH 2/4] util: Rewrite virGetUserConfigDirectory() using g_get_user_config_dir()

2019-12-17 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- src/util/virutil.c | 40 +++- 1 file changed, 11 insertions(+), 29 deletions(-) diff --git a/src/util/virutil.c b/src/util/virutil.c index 70a05e3c9b..6fae3e8288 100644 --- a/src/util/virutil.c +++ b/src/util/virutil.c

[libvirt] [PATCH 3/4] util: Rewrite virGetUserCacheDirectory() using g_get_user_cache_dir()

2019-12-17 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- src/util/virutil.c | 58 +- 1 file changed, 11 insertions(+), 47 deletions(-) diff --git a/src/util/virutil.c b/src/util/virutil.c index 6fae3e8288..993a959555 100644 --- a/src/util/virutil.c +++ b/src/util

[libvirt] [PATCH 1/4] util: Rewrite virGetUserDirectory() using g_get_home_dir()

2019-12-17 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- src/util/virutil.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/util/virutil.c b/src/util/virutil.c index ed1f696e37..70a05e3c9b 100644 --- a/src/util/virutil.c +++ b/src/util/virutil.c @@ -582,7 +582,13 @@ virGetHostnameQuiet

[libvirt] [jenkins-ci PATCH 2/2] guests: Only install OpenVZ on CentOS 7

2019-12-16 Thread Fabiano Fidêncio
OpenVZ has been added as part of commit 0a7993d3ed30ae. However, it's wrongly set to be installed on any supported CentOS. Signed-off-by: Fabiano Fidêncio --- guests/playbooks/update/tasks/base.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/guests/playbooks/update/tasks/base.y

[libvirt] [jenkins-ci PATCH 0/2] CentOS fixes

2019-12-16 Thread Fabiano Fidêncio
This series consists in two simple patches: - Mention CentOS8 as a valid OS version; - Only install OpenVZ on CentOS 7; Fabiano Fidêncio (2): guests: Mention CentOS8 as a valid OS version guests: Only install OpenVZ on CentOS 7 guests/playbooks/update/tasks/base.yml | 1 + guests/vars

[libvirt] [jenkins-ci PATCH 1/2] guests: Mention CentOS8 as a valid OS version

2019-12-16 Thread Fabiano Fidêncio
CentOS8 has been added as part of 03fd3a8ef16a3c4. However, it was not mentioned as a valid OS version. Signed-off-by: Fabiano Fidêncio --- guests/vars/mappings.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/guests/vars/mappings.yml b/guests/vars/mappings.yml index

Re: [libvirt] [jenkins-ci PATCH 0/5] lcitool: Make Dockerfile generation work on openSUSE

2019-12-12 Thread Fabiano Fidêncio
| 5 + > guests/vars/projects/libvirt.yml | 1 + > 5 files changed, 20 insertions(+), 9 deletions(-) > create mode 100644 guests/host_vars/libvirt-opensuse-151/docker.yml > > -- > 2.23.0 > There's one suggestion in the last patch. Please, t

Re: [libvirt] [jenkins-ci PATCH 1/5] guests: Add mapping for augeas-lenses

2019-12-12 Thread Fabiano Fidêncio
On Thu, Dec 12, 2019 at 3:31 PM Andrea Bolognani wrote: > > Some distributions package augeas and the default lenses separately, > so we need a mapping for the latter. > > Signed-off-by: Andrea Bolognani > --- > guests/vars/mappings.yml | 5 + > 1 file changed, 5 insertions(+) > > diff --git

Re: [libvirt] [jenkins-ci PATCH 5/5] lcitool: Make Dockerfile generation work on openSUSE

2019-12-12 Thread Fabiano Fidêncio
> + IMHO, it'd be easier to follow / cleaner if we do: if os_name != "OpenSUSE:" commands.extend([ "{package_manager} autoremove -y", ]) And then, later on ... commands.extend([ "{package_manager} clean all -y", ]) [snip] Best Regards, -

Re: [libvirt] [jenkins-ci PATCH 2/2] lcitool: Refactor Dockerfile generation

2019-12-12 Thread Fabiano Fidêncio
On Thu, Dec 12, 2019 at 3:05 PM Andrea Bolognani wrote: > > On Thu, 2019-12-12 at 14:49 +0100, Fabiano Fidêncio wrote: > > > +commands.extend([ > > > +"{package_manager} update -y", > > > +

Re: [libvirt] [jenkins-ci PATCH 0/2] lcitool: Refactor Dockerfile generation

2019-12-12 Thread Fabiano Fidêncio
33 insertions(+), 33 deletions(-) > > -- > 2.23.0 > > -- > libvir-list mailing list > libvir-list@redhat.com > https://www.redhat.com/mailman/listinfo/libvir-list > Reviewed-by: Fabiano Fidêncio -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] [jenkins-ci PATCH 2/2] lcitool: Refactor Dockerfile generation

2019-12-12 Thread Fabiano Fidêncio
t do you think? Mind, I'm not pushing for the mapping, just pointing it out. :-). I'm fine with an `if os_name != "OpenSUSE": ...` [snip] Best Regards, -- Fabiano Fidêncio -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] [jenkins-ci PATCH] guests: Use more natural tags for CentOS base images

2019-12-12 Thread Fabiano Fidêncio
On Thu, Dec 12, 2019 at 12:43 PM Andrea Bolognani wrote: > > Both the 'X' and 'centosX' tags are available on the registry, and > they point to the same image; the former looks more natural though, > so let's use that one. > > Signed-off-by: Andre

Re: [libvirt] [jenkins-ci PATCH] guests: Fix locale handling

2019-12-12 Thread Fabiano Fidêncio
a, that was *my* bad. Sorry. > > Signed-off-by: Andrea Bolognani Reviewed-by: Fabiano Fidêncio -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

[libvirt] [jenkins-ci PATCH 2/2] guests: Add glibc-langpack-en to the base project

2019-12-12 Thread Fabiano Fidêncio
glibc-langpack-en is present on all supported Fedoras and CentOS 8. It's needed in order to set a locale to en_US, which is done as part of osinfo-db tests (at least). Signed-off-by: Fabiano Fidêncio --- guests/vars/projects/base.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/g

[libvirt] [jenkins-ci PATCH 1/2] mappings: Add glibc-langpack-en

2019-12-12 Thread Fabiano Fidêncio
Unfortunately, due to really stripped CentOS 8 containers, we have to explicitly add glibc-langpack-en package in order to fulfil the osinfo-db tests needs. Signed-off-by: Fabiano Fidêncio --- guests/vars/mappings.yml | 5 + 1 file changed, 5 insertions(+) diff --git a/guests/vars

[libvirt] [jenkins-ci PATCH 0/2] Add glibc-langpack-en to the mappings & to the base project

2019-12-12 Thread Fabiano Fidêncio
INTERNALERROR> File "/builds/fidencio/osinfo-db/tests/conftest.py", line 27, in pytest_configure 1233 INTERNALERROR> locale.setlocale(locale.LC_CTYPE, 'en_US.UTF-8') 1234 INTERNALERROR> File "/usr/lib64/python3.6/locale.py", line 598, in setlocale 1235 INTE

Re: [libvirt] [jenkins-ci PATCH] jenkins: Don't build on CentOS 8 just yet

2019-12-12 Thread Fabiano Fidêncio
this point I'd rather disable CentOS 7 builds than not enable CentOS 8. Anyways, Reviewed-by: Fabiano Fidêncio Best Regards, -- Fabiano Fidêncio -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] [jenkins-ci PATCH] Run the virt-manager test suite on FreeBSD

2019-12-12 Thread Fabiano Fidêncio
- libvirt-fedora-30 > - libvirt-fedora-31 > - libvirt-fedora-rawhide > +- libvirt-freebsd-11 > +- libvirt-freebsd-12 >- python-distutils-rpm-job: >parent_jobs: 'virt-manager-check' >machines:

Re: [libvirt] [jenkins-ci PATCH v2 6/8] guests: Enable PowerTools repo on CentOS 8 guests

2019-12-11 Thread Fabiano Fidêncio
On Wed, Dec 11, 2019 at 1:33 PM Andrea Bolognani wrote: > > On Wed, 2019-12-11 at 13:26 +0100, Fabiano Fidêncio wrote: > > And this is the fixup for this one: > > ``` > > diff --git a/guests/lcitool b/guests/lcitool > > index 059b789..c28c414 100755 > > -

Re: [libvirt] [jenkins-ci PATCH v2 6/8] guests: Enable PowerTools repo on CentOS 8 guests

2019-12-11 Thread Fabiano Fidêncio
On Wed, Dec 11, 2019 at 10:32 AM Andrea Bolognani wrote: > > On Tue, 2019-12-10 at 16:38 +0100, Fabiano Fidêncio wrote: > > +++ b/guests/playbooks/update/tasks/base.yml > > +- name: Enable PowerTools repository > > + command: '{{ package_manager }} config-manager --s

Re: [libvirt] [jenkins-ci PATCH v2 5/8] guests: Install EPEL repo on all CentOS guests

2019-12-11 Thread Fabiano Fidêncio
On Wed, Dec 11, 2019 at 10:44 AM Fabiano Fidêncio wrote: > > On Wed, Dec 11, 2019 at 10:31 AM Andrea Bolognani wrote: > > > > On Tue, 2019-12-10 at 16:38 +0100, Fabiano Fidêncio wrote: > > > +++ b/guests/playbooks/update/tasks/base.yml > > > @@ -15

Re: [libvirt] [jenkins-ci PATCH v2 5/8] guests: Install EPEL repo on all CentOS guests

2019-12-11 Thread Fabiano Fidêncio
On Wed, Dec 11, 2019 at 10:31 AM Andrea Bolognani wrote: > > On Tue, 2019-12-10 at 16:38 +0100, Fabiano Fidêncio wrote: > > +++ b/guests/playbooks/update/tasks/base.yml > > @@ -15,7 +15,6 @@ > > state: latest > >when: > > - os_name == 'Cent

Re: [libvirt] [PATCH 0/2] spec: Update Fedora minimum version & librbd / librados development package names

2019-12-11 Thread Fabiano Fidêncio
On Sat, Dec 7, 2019 at 4:43 PM Fabiano Fidêncio wrote: > > Fedora 29 has reached its EOL on November 26th 2019; > librbd1-devel has been replaced by librbd-devel; > librados2-devel has been replaced by librados; > > Fabiano Fidêncio (2): > spec: Update Fedora minimum suppo

[libvirt] [jenkins-ci PATCH v2 1/8] lcitool: Generate the unattended script file

2019-12-10 Thread Fabiano Fidêncio
"expected" filename, preferably using the same name of the template, as some of the distros require that. Signed-off-by: Fabiano Fidêncio Reviewed-by: Andrea Bolognani --- guests/lcitool | 17 - 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/guests/lcit

[libvirt] [jenkins-ci PATCH v2 8/8] guests: Build projects on CentOS 8

2019-12-10 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- guests/playbooks/build/jobs/defaults.yml| 2 ++ guests/playbooks/build/projects/libosinfo.yml | 1 + guests/playbooks/build/projects/libvirt-dbus.yml| 2 ++ guests/playbooks/build/projects/libvirt.yml | 1 + guests/playbooks/build

[libvirt] [jenkins-ci PATCH v2 4/8] mappings: Adjustments for CentOS 8

2019-12-10 Thread Fabiano Fidêncio
and gtk-vnc2-devel, virt-viewer dependencies, are not present anymore: - https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html-single/considerations_in_adopting_rhel_8/index#removed-packages_changes-to-packages Signed-off-by: Fabiano Fidêncio --- guests/vars

[libvirt] [jenkins-ci PATCH v2 0/8] Add CentOS 8 to libvirt-jenkins-ci

2019-12-10 Thread Fabiano Fidêncio
ssing dependencies are: - libvirt-cim - libvirt-sandbox - libvirt-tck Fabiano Fidêncio (8): lcitool: Generate the unattended script file lcitool: Use install_url in the unattended install files guests: Add CentOS 8 mappings: Adjustments for CentOS 8 guests: Install EPEL repo on all CentOS g

[libvirt] [jenkins-ci PATCH v2 3/8] guests: Add CentOS 8

2019-12-10 Thread Fabiano Fidêncio
itory; - PowerTools is needed because the development packages are distributed via this repo; - There's *no* project supported; Signed-off-by: Fabiano Fidêncio --- guests/host_vars/libvirt-centos-8/docker.yml | 2 ++ guests/host_vars/libvirt-centos-8/install.yml | 2 ++ guests/host_va

[libvirt] [jenkins-ci PATCH v2 2/8] lcitool: Use install_url in the unattended install files

2019-12-10 Thread Fabiano Fidêncio
/red_hat_enterprise_linux/8/html/performing_an_advanced_rhel_installation/kickstart-commands-and-options-reference_installing-rhel-as-an-experienced-user Signed-off-by: Fabiano Fidêncio Reviewed-by: Andrea Bolognani --- guests/configs/kickstart.cfg | 6 ++ guests/lcitool | 9

[libvirt] [jenkins-ci PATCH v2 6/8] guests: Enable PowerTools repo on CentOS 8 guests

2019-12-10 Thread Fabiano Fidêncio
This is needed as all the development packages will come from the PowerTools repository, which is not enabled by default. Signed-off-by: Fabiano Fidêncio Reviewed-by: Andrea Bolognani --- guests/playbooks/update/tasks/base.yml | 8 1 file changed, 8 insertions(+) diff --git a/guests

[libvirt] [jenkins-ci PATCH v2 5/8] guests: Install EPEL repo on all CentOS guests

2019-12-10 Thread Fabiano Fidêncio
EPEL repository should be enabled on all supported CentOS guests as it brings in packages which are part of the "base packages" for libvirt-jenkins-ci. Signed-off-by: Fabiano Fidêncio Reviewed-by: Andrea Bolognani --- guests/playbooks/update/tasks/base.yml | 1 - 1 file changed,

[libvirt] [jenkins-ci PATCH v2 7/8] guests: Add projects to CentOS 8

2019-12-10 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- guests/host_vars/libvirt-centos-8/main.yml | 15 +++ 1 file changed, 15 insertions(+) diff --git a/guests/host_vars/libvirt-centos-8/main.yml b/guests/host_vars/libvirt-centos-8/main.yml index a147183..aae2313 100644 --- a/guests/host_vars

Re: [libvirt] [jenkins-ci PATCH 0/2] Build Go projects on CentOS 7 once again

2019-12-10 Thread Fabiano Fidêncio
0 deletions(-) > > -- > 2.23.0 > > -- > libvir-list mailing list > libvir-list@redhat.com > https://www.redhat.com/mailman/listinfo/libvir-list > > Reviewed-by: Fabiano Fidêncio -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

[libvirt] [jenkins-ci PATCH 19/22] guests, jenkins: Build osinfo-db-tools on CentOS 8 guests

2019-12-09 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- guests/host_vars/libvirt-centos-8/main.yml | 1 + guests/playbooks/build/projects/osinfo-db-tools.yml | 1 + jenkins/projects/osinfo-db-tools.yaml | 1 + 3 files changed, 3 insertions(+) diff --git a/guests/host_vars/libvirt-centos-8

[libvirt] [jenkins-ci PATCH 20/22] guests, jenkins: Build osinfo-db on CentOS 8 guests

2019-12-09 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- guests/host_vars/libvirt-centos-8/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/guests/host_vars/libvirt-centos-8/main.yml b/guests/host_vars/libvirt-centos-8/main.yml index 61ef995..e764964 100644 --- a/guests/host_vars/libvirt-centos-8

[libvirt] [jenkins-ci PATCH 13/22] guests, jenkins: Build libvirt-go on CentOS 8 guests

2019-12-09 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- guests/host_vars/libvirt-centos-8/main.yml | 1 + guests/playbooks/build/projects/libvirt-go.yml | 1 + jenkins/projects/libvirt-go.yaml | 1 + 3 files changed, 3 insertions(+) diff --git a/guests/host_vars/libvirt-centos-8/main.yml b

[libvirt] [jenkins-ci PATCH 21/22] guests, jenkins: Build libosinfo on CentOS 8 guests

2019-12-09 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- guests/host_vars/libvirt-centos-8/main.yml| 1 + guests/playbooks/build/projects/libosinfo.yml | 1 + jenkins/projects/libosinfo.yaml | 1 + 3 files changed, 3 insertions(+) diff --git a/guests/host_vars/libvirt-centos-8/main.yml b/guests

[libvirt] [jenkins-ci PATCH 17/22] guests, jenkins: Build libvirt-python on CentOS 8 guests

2019-12-09 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- guests/host_vars/libvirt-centos-8/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/guests/host_vars/libvirt-centos-8/main.yml b/guests/host_vars/libvirt-centos-8/main.yml index 793ad3e..63ac54b 100644 --- a/guests/host_vars/libvirt-centos-8

[libvirt] [jenkins-ci PATCH 16/22] guests, jenkins: Build libvirt-perl on CentOS 8 guests

2019-12-09 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- guests/host_vars/libvirt-centos-8/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/guests/host_vars/libvirt-centos-8/main.yml b/guests/host_vars/libvirt-centos-8/main.yml index 93e66e3..793ad3e 100644 --- a/guests/host_vars/libvirt-centos-8

[libvirt] [jenkins-ci PATCH 14/22] guests, jenkins: Build libvirt-go-xml on CentOS 8 guests

2019-12-09 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- guests/host_vars/libvirt-centos-8/main.yml | 1 + guests/playbooks/build/projects/libvirt-go-xml.yml | 1 + jenkins/projects/libvirt-go-xml.yaml | 1 + 3 files changed, 3 insertions(+) diff --git a/guests/host_vars/libvirt-centos-8

[libvirt] [jenkins-ci PATCH 08/22] guests, libvirt-dbus: Add python3-entrypoints dependency

2019-12-09 Thread Fabiano Fidêncio
Seems that for all OSes where run libvirt-dbus tests python3-entrypoints is pulled together when installing flake8. However, this is not the case for CentOS 8 and that's the reason for explicitly adding the dependency here. Signed-off-by: Fabiano Fidêncio --- guests/vars/mapping

[libvirt] [jenkins-ci PATCH 11/22] guests, libvirt-dbus: Add python3-pyflakes dependency

2019-12-09 Thread Fabiano Fidêncio
Seems that for all OSes where run libvirt-dbus tests python3-pyflakes is pulled together when installing flake8. However, this is not the case for CentOS 8 and that's the reason for explicitly adding the dependency here. Signed-off-by: Fabiano Fidêncio --- guests/vars/mapping

[libvirt] [jenkins-ci PATCH 03/22] guests,jenkins: Add CentOS 8

2019-12-09 Thread Fabiano Fidêncio
itory; - PowerTools is needed because the development packages are distributed via this repo; - There's *no* project supported; Signed-off-by: Fabiano Fidêncio --- guests/host_vars/libvirt-centos-8/docker.yml | 2 ++ guests/host_vars/libvirt-centos-8/install.yml | 2 ++ guests/host_va

[libvirt] [jenkins-ci PATCH 02/22] guests, lcitool: Use install_url in the unattended install files

2019-12-09 Thread Fabiano Fidêncio
/red_hat_enterprise_linux/8/html/performing_an_advanced_rhel_installation/kickstart-commands-and-options-reference_installing-rhel-as-an-experienced-user Signed-off-by: Fabiano Fidêncio --- guests/configs/kickstart.cfg | 4 guests/lcitool | 10 ++ 2 files changed, 14

[libvirt] [jenkins-ci PATCH 12/22] guests, jenkins: Build libvirt-dbus on CentOS 8 guests

2019-12-09 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- guests/host_vars/libvirt-centos-8/main.yml | 1 + guests/playbooks/build/projects/libvirt-dbus.yml | 2 ++ jenkins/projects/libvirt-dbus.yaml | 2 ++ 3 files changed, 5 insertions(+) diff --git a/guests/host_vars/libvirt-centos-8/main.yml

[libvirt] [jenkins-ci PATCH 22/22] guests, jenkins: Build virt-manager on CentOS 8 guests

2019-12-09 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- guests/host_vars/libvirt-centos-8/main.yml | 1 + guests/playbooks/build/projects/virt-manager.yml | 3 +++ jenkins/projects/virt-manager.yaml | 3 +++ 3 files changed, 7 insertions(+) diff --git a/guests/host_vars/libvirt-centos-8

[libvirt] [jenkins-ci PATCH 15/22] guests, jenkins: Build libvirt-ocaml on CentOS 8 guests

2019-12-09 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- guests/host_vars/libvirt-centos-8/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/guests/host_vars/libvirt-centos-8/main.yml b/guests/host_vars/libvirt-centos-8/main.yml index 7a55c4b..93e66e3 100644 --- a/guests/host_vars/libvirt-centos-8

[libvirt] [jenkins-ci PATCH 18/22] guests, jenkins: Build virt-viewer on CentOS 8 guests

2019-12-09 Thread Fabiano Fidêncio
/considerations_in_adopting_rhel_8/index#removed-packages_changes-to-packages Signed-off-by: Fabiano Fidêncio --- guests/host_vars/libvirt-centos-8/main.yml | 1 + guests/vars/mappings.yml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/guests/host_vars/libvirt-centos-8/main.yml

[libvirt] [jenkins-ci PATCH 09/22] guests, libvirt-dbus: Add python3-mccabe dependency

2019-12-09 Thread Fabiano Fidêncio
Seems that for all OSes where we run libvirt-dbus tests python3-mccabe is pulled together when installing flake8. However, this is not the case for CentOS 8 and that's the reason for explicitly adding the dependency here. Signed-off-by: Fabiano Fidêncio --- guests/vars/mapping

[libvirt] [jenkins-ci PATCH 06/22] guests, jenkins: Build libvirt on CentOS 8 guests

2019-12-09 Thread Fabiano Fidêncio
#literal_libssh2_literal_is_not_available_in_rhel_8 - librbd1-devel has been replaced by librdb-devel: - https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html-single/considerations_in_adopting_rhel_8/index#package-replacements_changes-to-packages Signed-off-by: Fabiano

[libvirt] [jenkins-ci PATCH 10/22] guests, libvirt-dbus: Add python3-pycodestile dependency

2019-12-09 Thread Fabiano Fidêncio
Seems that for all OSes where run libvirt-dbus tests python3-pycodestile is pulled together when installing flake8. However, this is not the case for CentOS 8 and that's the reason for explicitly adding the dependency here. Signed-off-by: Fabiano Fidêncio --- guests/vars/mapping

[libvirt] [jenkins-ci PATCH 07/22] guests, jenkins: Build libvirt-glib on CentOS guests

2019-12-09 Thread Fabiano Fidêncio
Signed-off-by: Fabiano Fidêncio --- guests/host_vars/libvirt-centos-8/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/guests/host_vars/libvirt-centos-8/main.yml b/guests/host_vars/libvirt-centos-8/main.yml index b924f1f..06a7844 100644 --- a/guests/host_vars/libvirt-centos-8

[libvirt] [jenkins-ci PATCH 01/22] lcitool: Generate the unattended script file

2019-12-09 Thread Fabiano Fidêncio
"expected" filename, preferrably using the same name of the template, as some of the distros require that. Signed-off-by: Fabiano Fidêncio --- guests/lcitool | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/guests/lcitool b/guests/lcitool index 8436ce7..

[libvirt] [jenkins-ci PATCH 00/22] Add CentOS 8 to libvirt-jenkins-ci

2019-12-09 Thread Fabiano Fidêncio
ssing dependencies are: - libvirt-cim - libvirt-sandbox - libvirt-tck This series is written atop of: https://www.redhat.com/archives/libvir-list/2019-December/msg00461.html Fabiano Fidêncio (22): lcitool: Generate the unattended script file guests,lcitool: Use install_url in the unattended in

[libvirt] [jenkins-ci PATCH 04/22] guests: Install EPEL repo on all CentOS guests

2019-12-09 Thread Fabiano Fidêncio
EPEL repository should be enabled on all supported CentOS guests as it brings in packages which are part of the "base packages" for libvirt-jenkins-ci. Signed-off-by: Fabiano Fidêncio --- guests/playbooks/update/tasks/base.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/guests

[libvirt] [jenkins-ci PATCH 05/22] guests: Enable PowerTools repo on CentOS 8 guests

2019-12-09 Thread Fabiano Fidêncio
This is needed as all the development packages will come from the PowerTools repository, which is not enabled by default. Signed-off-by: Fabiano Fidêncio --- guests/playbooks/update/tasks/base.yml | 8 1 file changed, 8 insertions(+) diff --git a/guests/playbooks/update/tasks/base.yml

Re: [libvirt] [jenkins-ci PATCH] guests: Rename Ubuntu targets

2019-12-09 Thread Fabiano Fidêncio
nvention to existing Ubuntu > targets in order to maintain consistency. > > Signed-off-by: Andrea Bolognani Reviewed-by: Fabiano Fidêncio -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] [PATCH 1/2] spec: Update Fedora minimum supported version

2019-12-09 Thread Fabiano Fidêncio
On Sat, Dec 7, 2019 at 4:43 PM Fabiano Fidêncio wrote: > > Fedora 29 has reached its end of life on November 26th 2019. > > For more info, please, refer to the following e-mail: > https://lists.fedoraproject.org/archives/list/devel-annou...@lists.fedoraproject.org/thread/ &g

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

2019-12-07 Thread Fabiano Fidêncio
'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. B

[libvirt] [PATCH 1/2] spec: Update Fedora minimum supported version

2019-12-07 Thread Fabiano Fidêncio
Fedora 29 has reached its end of life on November 26th 2019. For more info, please, refer to the following e-mail: https://lists.fedoraproject.org/archives/list/devel-annou...@lists.fedoraproject.org/thread/ Signed-off-by: Fabiano Fidêncio --- libvirt.spec.in | 2 +- 1 file changed, 1

[libvirt] [PATCH 2/2] spec: Adjust librbd / librados dependency names

2019-12-07 Thread Fabiano Fidêncio
/red_hat_enterprise_linux/8/html-single/considerations_in_adopting_rhel_8/index Signed-off-by: Fabiano Fidêncio --- libvirt.spec.in | 5 + 1 file changed, 5 insertions(+) diff --git a/libvirt.spec.in b/libvirt.spec.in index 2b2761674c..42ef43aa11 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -335,9 +335,14

[libvirt] [PATCH 0/2] spec: Update Fedora minimum version & librbd / librados development package names

2019-12-07 Thread Fabiano Fidêncio
Fedora 29 has reached its EOL on November 26th 2019; librbd1-devel has been replaced by librbd-devel; librados2-devel has been replaced by librados; Fabiano Fidêncio (2): spec: Update Fedora minimum supported version spec: Adjust librbd / librados dependency names libvirt.spec.in | 7

[libvirt] [jenkins-ci PATCH] lcitool: Add 'install=' to the extra_arg

2019-12-04 Thread Fabiano Fidêncio
stros will just ignore the argument passed. Signed-off-by: Fabiano Fidêncio --- I've verified this solution works on a CentOS 7 host. I've verified this solution doesn't cause regressions on a Fedora 31 host. --- guests/lcitool | 9 +++-- 1 file changed, 7 insertions(+), 2 del

Re: [libvirt] [jenkins-ci PATCH] Drop support for python 2

2019-12-04 Thread Fabiano Fidêncio
ckage_format: 'rpm' > package_manager: 'yum' > os_name: 'CentOS' > os_version: '7' > - > -ansible_python_interpreter: /usr/bin/python2 We cannot do that, unfortunately. I've tried, in the past, but "yum" ansible module req

[libvirt] [glib PATCH] glib,docs: Remove "object-tree" chapter

2019-12-03 Thread Fabiano Fidêncio
very same approach. Signed-off-by: Fabiano Fidêncio --- docs/libvirt-glib/Libvirt-glib-docs.xml | 4 1 file changed, 4 deletions(-) diff --git a/docs/libvirt-glib/Libvirt-glib-docs.xml b/docs/libvirt-glib/Libvirt-glib-docs.xml index f2f3572..505f138 100644 --- a/docs/libvirt-glib/Libvirt

Re: [libvirt] [PATCH RFC V2] guests: Add support for openSUSE

2019-12-03 Thread Fabiano Fidêncio
> > > > 'lci update ... libvirt' fails in task "Configure hostname": > > > > > > > > fatal: [libvirt-opensuse-tumbleweed]: FAILED! => {"changed": false, > > > > "msg": "hostname module cannot be used on platform Linux > > > > (Opensuse-tumbleweed)"} > > > > > > It seems to be an Ansible bug: > >

Re: [libvirt] [PATCH RFC V2] guests: Add support for openSUSE

2019-12-03 Thread Fabiano Fidêncio
Andrea, > It sounds like we can just provide install= unconditionally, same as > we currently do with ks=? We'd have to verify doing so doesn't cause > any unintended side-effects for existing guest types. I'd rather have it done in a more explicit way, just for the sake of someone else trying to

Re: [libvirt] [PATCH RFC V2] guests: Add support for openSUSE

2019-12-03 Thread Fabiano Fidêncio
the "install=" to the kernel command line, we're fine. I'll cook some patches in the afternoon and post them. An important question ... can't we have / use a CentOS 8 machine? Would be lovely to not have to work those issues around on lcitool. Best Regards, -- Fabiano Fi

Re: [libvirt] [PATCH RFC V2] guests: Add support for openSUSE

2019-12-02 Thread Fabiano Fidêncio
On Mon, Dec 2, 2019 at 8:33 PM Andrea Bolognani wrote: > > On Mon, 2019-12-02 at 16:41 +0100, Fabiano Fidêncio wrote: > > Jim, > > > > Firstly, sorry it took so long for me to give it a try in your patch. > > > > Now, comments inline ... > > > > O

Re: [libvirt] [jenkins-ci PATCH 0/2] lcitool: Prepare for openSUSE

2019-12-02 Thread Fabiano Fidêncio
Create group and user separately > > guests/playbooks/update/tasks/paths.yml | 2 +- > guests/playbooks/update/tasks/users.yml | 6 ++ > 2 files changed, 7 insertions(+), 1 deletion(-) Reviewed-by: Fabiano Fidêncio And also feels like Signed-off-by: Fabiano Fidêncio :-) Best Regards,

<    1   2   3   4   5   6   7   >