On a virgin system CentOS 7.5 can, unfortunately, after the command
#yum install centos-release-openshift-origin"
the following command not be executed without error.
# yum install openshift-ansible
There is a dependency to Ansible 2.4.3 in Openshift 3.10, which unfortunately is not in the repo (Only Ansible 2.4.2).
Can you please include Ansible 2.4.3 in the rpm repo?
Thanks.
Robert
There is no such package as "*openshift-ansible*". It is simply a Playbook for Ansible.
Essentially, all you need is *sudo yum install ansible*
And then *git clone https://github.com/openshift/openshift-ansible https://github.com/openshift/openshift-ansiblecd openshift-ansiblesudo ansible-playbook -i inventory/hosts.localhost playbooks/prerequisites.ymlsudo ansible-playbook -i inventory/hosts.localhost playbooks/deploy_cluster.yml*
On Thu, Aug 23, 2018 at 10:47 AM Robert.Grumann@t-online.de < Robert.Grumann@t-online.de> wrote:
On a virgin system CentOS 7.5 can, unfortunately, after the command
#yum install centos-release-openshift-origin"
the following command not be executed without error.
# yum install openshift-ansible
There is a dependency to Ansible 2.4.3 in Openshift 3.10, which unfortunately is not in the repo (Only Ansible 2.4.2).
Can you please include Ansible 2.4.3 in the rpm repo?
Thanks.
Robert
_______________________________________________ CentOS-devel mailing list CentOS-devel@centos.org https://lists.centos.org/mailman/listinfo/centos-devel
I agree with you that there is no standard package "openshift-ansible" in the normal repo.
But if you run "yum install centos-release-openshift-origin", a new repo will be entered in the yum.client. look here:
# ll /etc/yum.repos.d
rw-r - r--. 1 root root 1664 Aug 13 10:34 CentOS-Base.repo rw-r - r--. 1 root root 1309 Aug 13 10:34 CentOS-CR.repo rw-r - r--. 1 root root 649 Aug 13 10:34 CentOS-Debuginfo.repo rw-r - r--. 1 root root 314 Aug 13 10:34 CentOS-fasttrack.repo rw-r - r--. 1 root root 630 Aug 13 10:34 CentOS-Media.repo rw-r - r--. 1 root root 870 May 25 2016 CentOS OpenShift Origin.repo
# cat /etc/yum.repos.d/CentOS-OpenShift-Origin.repo
[Centos-open shift-origin] name = CentOS OpenShift Origin baseurl = http: //mirror.centos.org/centos/7/paas/x86_64/openshift-origin/ enabled = 1 gpgcheck = 1 gpgkey = file: /// etc / pki / rpm-gpg / RPM-GPG-KEY-CentOS-SIG PaaS ...
Then "yum install openshift-ansible" can be resolved, because there is the reference to it in the repo "http://mirror.centos.org/centos/7/paas/x86_64/openshift-origin/".
But that's not what this is about. The problem is that then the yum install fails because there is no ansible 2.4.3 in the repo.
Robert
-----Original-Nachricht----- Betreff: Re: [CentOS-devel] Missing Dependency of Openshift 3.10 (Ansible 2.4.3) in repo Datum: 2018-08-23T10:57:59+0200 Von: "Lucian Maly" lucky@senior.cz An: "The CentOS developers mailing list." centos-devel@centos.org
There is no such package as "openshift-ansible". It is simply a Playbook for Ansible.
Essentially, all you need is sudo yum install ansible
And then git clone https://github.com/openshift/openshift-ansible https://github.com/openshift/openshift-ansible cd openshift-ansible sudo ansible-playbook -i inventory/hosts.localhost playbooks/prerequisites.yml sudo ansible-playbook -i inventory/hosts.localhost playbooks/deploy_cluster.yml
On Thu, Aug 23, 2018 at 10:47 AM Robert.Grumann@t-online.de mailto:Robert.Grumann@t-online.de <Robert.Grumann@t-online.de mailto:Robert.Grumann@t-online.de > wrote: On a virgin system CentOS 7.5 can, unfortunately, after the command
#yum install centos-release-openshift-origin"
the following command not be executed without error.
# yum install openshift-ansible
There is a dependency to Ansible 2.4.3 in Openshift 3.10, which unfortunately is not in the repo (Only Ansible 2.4.2).
Can you please include Ansible 2.4.3 in the rpm repo?
Thanks.
Robert
_______________________________________________ CentOS-devel mailing list CentOS-devel@centos.org mailto:CentOS-devel@centos.org https://lists.centos.org/mailman/listinfo/centos-devel https://lists.centos.org/mailman/listinfo/centos-devel
Unfortunately, we started facing the problem of not shipping Ansible in the PaaS SIG repo because there are other SIGs doing the same. However, we are working to solve this dependency issue.
For now I'd recommend that you install Ansible 2.6 from the ovirt repos:
https://cbs.centos.org/koji/buildinfo?buildID=23936 On Thu, Aug 23, 2018 at 5:48 AM Robert.Grumann@t-online.de Robert.Grumann@t-online.de wrote:
On a virgin system CentOS 7.5 can, unfortunately, after the command
#yum install centos-release-openshift-origin"
the following command not be executed without error.
# yum install openshift-ansible
There is a dependency to Ansible 2.4.3 in Openshift 3.10, which unfortunately is not in the repo (Only Ansible 2.4.2).
Can you please include Ansible 2.4.3 in the rpm repo?
Thanks.
Robert
_______________________________________________ CentOS-devel mailing list CentOS-devel@centos.org https://lists.centos.org/mailman/listinfo/centos-devel
2018-08-23 11:24 GMT+02:00 Ricardo Martinelli Oliveira < ricardo.martinelli.oliveira@gmail.com>:
Unfortunately, we started facing the problem of not shipping Ansible in the PaaS SIG repo because there are other SIGs doing the same. However, we are working to solve this dependency issue.
For now I'd recommend that you install Ansible 2.6 from the ovirt repos:
Feel free to cross-tag to PaaS SIG while we reach a decision on creating an ansible repo common to everyone.
On Thu, Aug 23, 2018 at 5:48 AM Robert.Grumann@t-online.de Robert.Grumann@t-online.de wrote:
On a virgin system CentOS 7.5 can, unfortunately, after the command
#yum install centos-release-openshift-origin"
the following command not be executed without error.
# yum install openshift-ansible
There is a dependency to Ansible 2.4.3 in Openshift 3.10, which
unfortunately is not in the repo (Only Ansible 2.4.2).
Can you please include Ansible 2.4.3 in the rpm repo?
Thanks.
Robert
_______________________________________________ CentOS-devel mailing list CentOS-devel@centos.org https://lists.centos.org/mailman/listinfo/centos-devel
CentOS-devel mailing list CentOS-devel@centos.org https://lists.centos.org/mailman/listinfo/centos-devel
On Thu, Aug 23, 2018 at 11:58:32AM +0200, Sandro Bonazzola wrote:
2018-08-23 11:24 GMT+02:00 Ricardo Martinelli Oliveira < ricardo.martinelli.oliveira@gmail.com>:
Unfortunately, we started facing the problem of not shipping Ansible in the PaaS SIG repo because there are other SIGs doing the same. However, we are working to solve this dependency issue.
For now I'd recommend that you install Ansible 2.6 from the ovirt repos:
Feel free to cross-tag to PaaS SIG while we reach a decision on creating an ansible repo common to everyone.
We have the config-mgmt SIG[1].
Ideally, we'd have ansible there. I see there is a tag to include Ansible 2.0, but nothing more recent: configmanagement7-ansible-20-el7: Ansible 2.0.y
Maybe a member of the Config-Management SIG would be able to comment?
I know, the Cloud SIG and also the Opstools SIG are using Ansible in a more recent version as well, like the virt sig.
Having it only in config management would avoid cross-tagging and stuff.
Matthias
This has been discussed among the SIGs. the idea is to have only ansible available through config-mgmt SIG where the other SIGs consume the package from there. At least, I can tell that from the PaaS SIG perspective and I understand this is how we are moving with the issue of having ansible in our repos. On Fri, Aug 24, 2018 at 7:13 AM Matthias Runge mrunge@matthias-runge.de wrote:
On Thu, Aug 23, 2018 at 11:58:32AM +0200, Sandro Bonazzola wrote:
2018-08-23 11:24 GMT+02:00 Ricardo Martinelli Oliveira < ricardo.martinelli.oliveira@gmail.com>:
Unfortunately, we started facing the problem of not shipping Ansible in the PaaS SIG repo because there are other SIGs doing the same. However, we are working to solve this dependency issue.
For now I'd recommend that you install Ansible 2.6 from the ovirt repos:
Feel free to cross-tag to PaaS SIG while we reach a decision on creating an ansible repo common to everyone.
We have the config-mgmt SIG[1].
Ideally, we'd have ansible there. I see there is a tag to include Ansible 2.0, but nothing more recent: configmanagement7-ansible-20-el7: Ansible 2.0.y
Maybe a member of the Config-Management SIG would be able to comment?
I know, the Cloud SIG and also the Opstools SIG are using Ansible in a more recent version as well, like the virt sig.
Having it only in config management would avoid cross-tagging and stuff.
Matthias
-- Matthias Runge mrunge@matthias-runge.de _______________________________________________ CentOS-devel mailing list CentOS-devel@centos.org https://lists.centos.org/mailman/listinfo/centos-devel
On Fri, Aug 24, 2018 at 6:20 AM Ricardo Martinelli Oliveira ricardo.martinelli.oliveira@gmail.com wrote:
This has been discussed among the SIGs. the idea is to have only ansible available through config-mgmt SIG where the other SIGs consume the package from there. At least, I can tell that from the PaaS SIG perspective and I understand this is how we are moving with the issue of having ansible in our repos.
Is there a yum repository associated with that work? Because I don't see it. Even if a yum channel is made available, it could get messy with EPEL still publishing ansible.
ansible 2.6, without ansible-tower, is available in EPEL and should be able to resolve this dependency for this OpenShift channel. Unfortunately, as has come up before, ansible is also in the commercial, not the public, RHEL channels. A SIG that doesn't actually have a working yum channel doesn't seem to part of a normal solution for this, and expecting ansible managers to build their RPM's personally, locally does not seem to be a robust solution to the issue, especially as long as EPEL keeps publishing workable releases. (Good ones!!)
If we like, I could write some time about how critical EPEL is to providing robust, usable RHEL and CentOS environments. But for getting ansible in the short term, I've found it's the way to go.