|
Return-Path: <evgeni@golov.de>
|
|
Received: from m.launchco.com ([127.0.0.1]) by m.launchco.com with LMTP id CCvSJ3FIzF3MIQAAa1G0NA for <dropbox@plan.io>; Wed, 13 Nov 2019 19:16:17 +0100
|
|
Received: from shokki.die-welt.net (shokki.die-welt.net [188.68.62.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by m.launchco.com (Postfix) with ESMTPS id 87CBB81496 for <inbox+pulp+c71e+pulp@plan.io>; Wed, 13 Nov 2019 19:16:17 +0100
|
|
Received: from localhost (localhost [127.0.0.1]) by shokki.die-welt.net (Postfix) with ESMTP id 3DDA3C0E94 for <inbox+pulp+c71e+pulp@plan.io>; Wed, 13 Nov 2019 18:16:17 +0000
|
|
Received: from shokki.die-welt.net ([127.0.0.1]) by localhost (shokki.die-welt.net [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id GlIfeJBohVHn for <inbox+pulp+c71e+pulp@plan.io>; Wed, 13 Nov 2019 18:16:16 +0000
|
|
Received: from [IPv6:2a02:908:1215:83e1:cd26:386e:cac5:36a] (unknown [IPv6:2a02:908:1215:83e1:cd26:386e:cac5:36a]) (Authenticated sender: sargentd@die-welt.net) by shokki.die-welt.net (Postfix) with ESMTPSA id 4E4E0C0AB9 for <inbox+pulp+c71e+pulp@plan.io>; Wed, 13 Nov 2019 18:16:16 +0000
|
|
Date: Wed, 13 Nov 2019 19:16:17 +0100
|
|
From: Evgeni Golov <evgeni@golov.de>
|
|
To: Pulp <inbox+pulp+c71e+pulp@plan.io>
|
|
Message-ID: <A2AB05D8-BF60-4BD7-9A5D-2CBCC1C9B1EB@golov.de>
|
|
In-Reply-To: <redmine.journal-49101.20191113172302.81dcab7a961db66b@plan.io>
|
|
References: <redmine.issue-5705.20191113105046@plan.io>
|
|
<redmine.journal-49101.20191113172302.81dcab7a961db66b@plan.io>
|
|
Subject: Re: [Pulp - Issue #5705] ansible-pulp fails to install epel-release
|
|
on CentOS7
|
|
Mime-Version: 1.0
|
|
Content-Type: text/plain;
|
|
charset=utf-8
|
|
Content-Transfer-Encoding: quoted-printable
|
|
X-He-Spam-Score: -1.9
|
|
Delivered-To: dropbox@plan.io
|
|
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on m.launchco.com
|
|
X-Spam-Level:
|
|
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE
|
|
autolearn=ham autolearn_force=no version=3.4.2
|
|
X-Spam-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% *
|
|
[score: 0.0000] * 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record
|
|
X-Spam-Score: -1.9
|
|
Envelope-to: inbox+pulp+c71e+pulp@plan.io
|
|
Authentication-Results: m.launchco.com; dmarc=none (p=none dis=none)
|
|
header.from=golov.de
|
|
User-Agent: K-9 Mail for Android
|
|
|
|
My VM has working network, but I don't have/use the sshfs plugin at all.
|
|
|
|
I think your fix for flattening the list is correct. However I don't unde=
|
|
rstand why it has to be a list in the first place. Why don't we just alwa=
|
|
ys use the URL (on both centos and rhel) or use different defaults per OS=
|
|
? That would make the task much more readable and robust.
|
|
|
|
On November 13, 2019 6:23:03 PM GMT+01:00, Pulp <notifications@plan.io> w=
|
|
rote:
|
|
>--- Please write your response above this line ---
|
|
>
|
|
>Issue #5705 has been updated by mdepaulo@redhat.com.
|
|
>
|
|
>
|
|
>Here's a proper fix for both issues (the lack of a task failure code,
|
|
>and the fact that the task fails):
|
|
>https://github.com/pulp/ansible-pulp/pull/189
|
|
>
|
|
>----------------------------------------
|
|
>Issue #5705: ansible-pulp fails to install epel-release on CentOS7
|
|
>https://pulp.plan.io/issues/5705?pn=3D1#change-49101
|
|
>
|
|
>* Author: evgeni
|
|
>* Status: NEW
|
|
>* Priority: Normal
|
|
>* Assignee: =
|
|
|
|
>* Category: =
|
|
|
|
>* Sprint/Milestone: =
|
|
|
|
>* Severity: 2. Medium
|
|
>* Version: =
|
|
|
|
>* Platform Release: =
|
|
|
|
>* Blocks Release: =
|
|
|
|
>* OS: =
|
|
|
|
>* Backwards Incompatible: No
|
|
>* Triaged: No
|
|
>* Groomed: No
|
|
>* Sprint Candidate: No
|
|
>* Tags: =
|
|
|
|
>* QA Contact: =
|
|
|
|
>* Complexity: =
|
|
|
|
>* Smash Test: =
|
|
|
|
>* Verified: No
|
|
>* Verification Required: No
|
|
>* Sprint: =
|
|
|
|
>----------------------------------------
|
|
>ansible-pulp (86a19f7) contains logic in the pulp role to install
|
|
>epel-release, however, this fails for me with Ansible 2.8.5 (Fedora
|
|
>30):
|
|
>
|
|
><pre>
|
|
>% vagrant up pulp3-sandbox-centos7 --provision
|
|
>Bringing machine 'pulp3-sandbox-centos7' up with 'libvirt' provider...
|
|
>=3D=3D> pulp3-sandbox-centos7: Checking if box 'centos/7' version '1905.=
|
|
1'
|
|
>is up to date...
|
|
>=3D=3D> pulp3-sandbox-centos7: Running provisioner: main0 (ansible)...
|
|
>Vagrant has automatically selected the compatibility mode '2.0'
|
|
>according to the Ansible version installed (2.8.5).
|
|
>
|
|
>Alternatively, the compatibility mode can be specified in your
|
|
>Vagrantfile:
|
|
>https://www.vagrantup.com/docs/provisioning/ansible_common.html#compatib=
|
|
ility_mode
|
|
>
|
|
> pulp3-sandbox-centos7: Running ansible-galaxy...
|
|
>- changing role geerlingguy.postgresql from 2.0.1 to unspecified
|
|
>- downloading role 'postgresql', owned by geerlingguy
|
|
>- downloading role from
|
|
>https://github.com/geerlingguy/ansible-role-postgresql/archive/2.0.1.tar=
|
|
.gz
|
|
>- extracting geerlingguy.postgresql to
|
|
>/home/egolov/Devel/pulp/pulplift/playbooks/roles/geerlingguy.postgresql
|
|
>- geerlingguy.postgresql (2.0.1) was installed successfully
|
|
> pulp3-sandbox-centos7: Running ansible-playbook...
|
|
>
|
|
>PLAY [all]
|
|
>*********************************************************************
|
|
>
|
|
>TASK [Gathering Facts]
|
|
>*********************************************************
|
|
>ok: [pulp3-sandbox-centos7]
|
|
>
|
|
>TASK [include_vars]
|
|
>************************************************************
|
|
>ok: [pulp3-sandbox-centos7] =3D>
|
|
>(item=3D/home/egolov/Devel/pulp/pulplift/playbooks/../example.user-confi=
|
|
g.yml)
|
|
>
|
|
>TASK [Verify Ansible meets min required version]
|
|
>*******************************
|
|
>ok: [pulp3-sandbox-centos7] =3D> {
|
|
> "changed": false
|
|
>}
|
|
>
|
|
>MSG:
|
|
>
|
|
>All assertions passed
|
|
>
|
|
>
|
|
>TASK [Update Fedora 30 dnf stack]
|
|
>**********************************************
|
|
>skipping: [pulp3-sandbox-centos7]
|
|
>
|
|
>TASK [pulp : Fail when pulp_secret_key is not set]
|
|
>*****************************
|
|
>ok: [pulp3-sandbox-centos7] =3D> {
|
|
> "changed": false
|
|
>}
|
|
>
|
|
>MSG:
|
|
>
|
|
>All assertions passed
|
|
>
|
|
>
|
|
>TASK [pulp : Load OS specific variables]
|
|
>***************************************
|
|
>ok: [pulp3-sandbox-centos7]
|
|
>
|
|
>TASK [pulp : Enumerate default system PATH]
|
|
>************************************
|
|
>skipping: [pulp3-sandbox-centos7]
|
|
>
|
|
>TASK [pulp : set the default system PATH as a fact]
|
|
>****************************
|
|
>ok: [pulp3-sandbox-centos7]
|
|
>
|
|
>TASK [pulp : include_tasks]
|
|
>****************************************************
|
|
>skipping: [pulp3-sandbox-centos7] =3D>
|
|
>(item=3Drhui-rhel-7-server-rhui-optional-rpms) =
|
|
|
|
>skipping: [pulp3-sandbox-centos7] =3D> (item=3Drhel-7-server-optional-rp=
|
|
ms)
|
|
>
|
|
>skipping: [pulp3-sandbox-centos7] =3D>
|
|
>(item=3Drhel-7-workstation-optional-rpms) =
|
|
|
|
>
|
|
>TASK [pulp : Update apt package index]
|
|
>*****************************************
|
|
>skipping: [pulp3-sandbox-centos7]
|
|
>
|
|
>TASK [pulp : Install EPEL Release]
|
|
>*********************************************
|
|
>ok: [pulp3-sandbox-centos7] =3D> (item=3D['epel-release',
|
|
>'https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm'=
|
|
])
|
|
>
|
|
>TASK [pulp : Install prerequisites]
|
|
>********************************************
|
|
>fatal: [pulp3-sandbox-centos7]: FAILED! =3D> {
|
|
> "changed": false,
|
|
> "rc": 126,
|
|
> "results": [
|
|
>"libselinux-python-2.5-14.1.el7.x86_64 providing libselinux-python is
|
|
>already installed",
|
|
>"No package matching 'python-contextlib2' found available, installed or
|
|
>updated"
|
|
> ]
|
|
>}
|
|
>
|
|
>MSG:
|
|
>
|
|
>No package matching 'python-contextlib2' found available, installed or
|
|
>updated
|
|
>
|
|
>
|
|
>PLAY RECAP
|
|
>*********************************************************************
|
|
>pulp3-sandbox-centos7 : ok=3D7 changed=3D0 unreachable=3D0 =
|
|
|
|
>failed=3D1 skipped=3D4 rescued=3D0 ignored=3D0 =
|
|
|
|
>
|
|
>Ansible failed to complete successfully. Any error output should be
|
|
>visible above. Please fix these errors and try again.
|
|
></pre>
|
|
>
|
|
>See how the install step says no changes?
|
|
>
|
|
>
|
|
>
|
|
>--
|
|
>You have received this notification because you have either subscribed
|
|
>to or are involved in a project on Pulp Planio.
|
|
>To change your notification preferences, please click here:
|
|
>https://pulp.plan.io/my/account?tour=3Dmail_preferences
|
|
>
|
|
>This notification was cheerfully delivered by https://plan.io
|
|
>=C2=A0
|
|
|
|
-- =
|
|
|
|
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
|