For Origin 3.9, use the openshift-ansible code from github release-3.9
branch
"NOTE as of 2018-07-24, the openshift-ansible RPM packages for Origin
available from the CentOS repos do not work with recent versions of
ansible. You will need to follow the instructions below for cloning and
using openshift-ansible from github."
I've confirmed that the latest release-3.9 branch code works with recent
versions of ansible.
On 07/24/2018 05:56 AM, Shirly Radco wrote:
I believe these issues should be opened and tracked on github
OpenShift Origin
https://github.com/openshift/origin/issues.
Best,
--
SHIRLY RADCO
BI SENIOR SOFTWARE ENGINEER
Red Hat Israel <
https://www.redhat.com/>
<
https://red.ht/sig>
TRIED. TESTED. TRUSTED. <
https://redhat.com/trusted>
On Mon, Jul 23, 2018 at 6:44 PM, Rich Megginson <rmeggins(a)redhat.com
<mailto:rmeggins@redhat.com>> wrote:
We're working on it. Not sure what the problem is, but it looks
like openshift origin 3.9 is just broken right now - due to a
combination of ansible and openshift-ansible problems.
Shirly, where should bugs be filed in order to track this?
On 07/23/2018 09:29 AM, suporte(a)logicworks.pt
<mailto:suporte@logicworks.pt> wrote:
Hi,
When I Run Ansible using the prerequisites.yml playbookI get
this error:
fatal: [localhost]: FAILED! => {
"attempts": 3,
"changed": false,
"invocation": {
"module_args": {
"allow_downgrade": false,
"conf_file": null,
"disable_gpg_check": false,
"disable_plugin": [],
"disablerepo": null,
"enable_plugin": [],
"enablerepo": null,
"exclude": null,
"install_repoquery": true,
"installroot": "/",
"list": null,
"name": [
"atomic-openshift-docker-excluder*"
],
"security": false,
"skip_broken": false,
"state": "present",
"update_cache": false,
"update_only": false,
"validate_certs": true
}
},
"msg": "No package matching
'atomic-openshift-docker-excluder*' found available, installed
or updated",
"rc": 126,
"results": [
"No package matching 'atomic-openshift-docker-excluder*' found
available, installed or updated"
]
}
to retry, use: --limit
@/usr/share/ansible/openshift-ansible/playbooks/prerequisites.retry
PLAY RECAP
**********************************************************************************************************************************************************
localhost : ok=58 changed=2 unreachable=0 failed=1
INSTALLER STATUS
****************************************************************************************************************************************************
Initialization : Complete (0:00:22)
Can I live with this error or is something I need to correct?
Thanks
------------------------------------------------------------------------
*De: *suporte(a)logicworks.pt <mailto:suporte@logicworks.pt>
*Para: *"Shirly Radco" <sradco(a)redhat.com
<mailto:sradco@redhat.com>>
*Cc: *"Rich Megginson" <rmeggins(a)redhat.com
<mailto:rmeggins@redhat.com>>, "users" <users(a)ovirt.org
<mailto:users@ovirt.org>>
*Enviadas: *Sexta-feira, 20 De Julho de 2018 13:19:37
*Assunto: *[ovirt-users] Re: metrics
Hi,
Still the same error after installing ansible 2.5.5 and repo:
1. Hosts: localhost
Play: Determine openshift_version to configure on
first master
Task: openshift_version : fail
Message: Package 'atomic-openshift-3.9*' not found
# yum search atomic-openshift
...
======================== N/S matched: atomic-openshift
=========================
atomic-openshift-utils.noarch : Atomic OpenShift Utilities
# rpm -q atomic-openshift-utils
atomic-openshift-utils-3.9.32-1.git.1.970d147.el7.noarch
# rpm -q ansible
ansible-2.5.5-1.el7.noarch
openshift-ansible-3.9.32-1.git.1.970d147.el7.noarch
# cat /etc/yum.repos.d/centos7-viaq.repo
[centos-openshift-origin]
name=CentOS OpenShift Origin
baseurl=http://mirror.centos.org/centos/7/paas/x86_64/openshift-origin/
<
http://mirror.centos.org/centos/7/paas/x86_64/openshift-origin/>
enabled=1
gpgcheck=1
gpgkey=https://tdawson.fedorapeople.org/centos/RPM-GPG-KEY-CentOS-SIG-PaaS
<
https://tdawson.fedorapeople.org/centos/RPM-GPG-KEY-CentOS-SIG-PaaS>
[centos-openshift-common-candidate]
name=CentOS OpenShift Common Candidate
baseurl=https://cbs.centos.org/repos/paas7-openshift-common-candidate/x86...
<
https://cbs.centos.org/repos/paas7-openshift-common-candidate/x86_64/os/>
enabled=0
gpgcheck=0
[centos-openshift-origin14-candidate]
name=CentOS OpenShift Origin14 Candidate
baseurl=http://cbs.centos.org/repos/paas7-openshift-origin14-candidate/x8...
<
http://cbs.centos.org/repos/paas7-openshift-origin14-candidate/x86_64/os/...
enabled=1
gpgcheck=0
gpgkey=https://tdawson.fedorapeople.org/centos/RPM-GPG-KEY-CentOS-SIG-PaaS
<
https://tdawson.fedorapeople.org/centos/RPM-GPG-KEY-CentOS-SIG-PaaS>
[centos-openshift-origin15-candidate]
name=CentOS OpenShift Origin15 Candidate
baseurl=http://cbs.centos.org/repos/paas7-openshift-origin15-candidate/x8...
<
http://cbs.centos.org/repos/paas7-openshift-origin15-candidate/x86_64/os/...
enabled=1
gpgcheck=0
gpgkey=https://tdawson.fedorapeople.org/centos/RPM-GPG-KEY-CentOS-SIG-PaaS
<
https://tdawson.fedorapeople.org/centos/RPM-GPG-KEY-CentOS-SIG-PaaS>
[centos-openshift-origin36-candidate]
name=CentOS OpenShift Origin36 Candidate
baseurl=http://cbs.centos.org/repos/paas7-openshift-origin36-candidate/x8...
<
http://cbs.centos.org/repos/paas7-openshift-origin36-candidate/x86_64/os>
enabled=1
gpgcheck=0
[centos-openshift-origin37-candidate]
name=CentOS OpenShift Origin37 Candidate
baseurl=http://cbs.centos.org/repos/paas7-openshift-origin37-candidate/x8...
<
http://cbs.centos.org/repos/paas7-openshift-origin37-candidate/x86_64/os>
enabled=1
gpgcheck=0
[centos-openshift-origin38-candidate]
name=CentOS OpenShift Origin38 Candidate
baseurl=http://cbs.centos.org/repos/paas7-openshift-origin38-candidate/x8...
<
http://cbs.centos.org/repos/paas7-openshift-origin38-candidate/x86_64/os>
enabled=1
gpgcheck=0
[centos-openshift-origin39-candidate]
name=CentOS OpenShift Origin39 Candidate
baseurl=http://cbs.centos.org/repos/paas7-openshift-origin39-candidate/x8...
<
http://cbs.centos.org/repos/paas7-openshift-origin39-candidate/x86_64/os>
enabled=1
gpgcheck=0
------------------------------------------------------------------------
*De: *suporte(a)logicworks.pt <mailto:suporte@logicworks.pt>
*Para: *"Shirly Radco" <sradco(a)redhat.com
<mailto:sradco@redhat.com>>
*Cc: *"Rich Megginson" <rmeggins(a)redhat.com
<mailto:rmeggins@redhat.com>>, "users" <users(a)ovirt.org
<mailto:users@ovirt.org>>
*Enviadas: *Quinta-feira, 19 De Julho de 2018 16:15:12
*Assunto: *[ovirt-users] Re: metrics
Sorry, wrong server
# yum search atomic-openshift
...
=================================== N/S matched:
atomic-openshift ====================================
atomic-openshift-utils.noarch : Atomic OpenShift Utilities
# yum repolist
repo id repo name status
base/7/x86_64 CentOS-7 - Base 9911
centos-gluster312/7/x86_64 CentOS-7 - Gluster
3.12 214
centos-openshift-origin CentOS OpenShift
Origin 185
centos-opstools-release/7/x86_64 CentOS-7 - OpsTools -
release 623
centos-ovirt42/7/x86_64 CentOS-7 - oVirt
4.2 446
centos-qemu-ev/7/x86_64 CentOS-7 - QEMU EV 59
extras/7/x86_64 CentOS-7 - Extras 363
origin-repo Origin RPMs 12
updates/7/x86_64 CentOS-7 - Updates 970
------------------------------------------------------------------------
*De: *suporte(a)logicworks.pt <mailto:suporte@logicworks.pt>
*Para: *"Shirly Radco" <sradco(a)redhat.com
<mailto:sradco@redhat.com>>
*Cc: *"Rich Megginson" <rmeggins(a)redhat.com
<mailto:rmeggins@redhat.com>>, "users" <users(a)ovirt.org
<mailto:users@ovirt.org>>
*Enviadas: *Quinta-feira, 19 De Julho de 2018 16:09:48
*Assunto: *Re: [ovirt-users] metrics
# yum search atomic-openshift
Warning: No matches found for: atomic-openshift
No matches found
# yum repolist
repo id repo
name status
!base/7/x86_64 CentOS-7 - Base 9911
!centos-sclo-rh-release/x86_64 CentOS-7 - SCLo
rh 7514
!extras/7/x86_64 CentOS-7 -
Extras 313
!ovirt-4.2/7 Latest oVirt 4.2 Release 1670+101
!ovirt-4.2-centos-gluster312/x86_64 CentOS-7 - Gluster
3.12 189
!ovirt-4.2-centos-opstools/x86_64 CentOS-7 - OpsTools -
release 493
!ovirt-4.2-centos-ovirt42/x86_64 CentOS-7 - oVirt
4.2 379
!ovirt-4.2-centos-qemu-ev/x86_64 CentOS-7 - QEMU
EV 55
!ovirt-4.2-epel/x86_64 Extra Packages for Enterprise Li
12585+12335
!ovirt-4.2-virtio-win-latest virtio-win builds roughly
matchi 37
!updates/7/x86_64 CentOS-7 -
Updates 695
------------------------------------------------------------------------
*De: *"Shirly Radco" <sradco(a)redhat.com
<mailto:sradco@redhat.com>>
*Para: *"Rich Megginson" <rmeggins(a)redhat.com
<mailto:rmeggins@redhat.com>>
*Cc: *suporte(a)logicworks.pt <mailto:suporte@logicworks.pt>,
"users" <users(a)ovirt.org <mailto:users@ovirt.org>>
*Enviadas: *Quinta-feira, 19 De Julho de 2018 16:02:52
*Assunto: *Re: [ovirt-users] metrics
Also, I believe that you need for now to install ansible 2.5.5
or 2.5.6 due to OpenShift bug.
--
SHIRLY RADCO
BI SENIOR SOFTWARE ENGINEER
Red Hat Israel <
https://www.redhat.com/>
<
https://red.ht/sig>
TRIED. TESTED. TRUSTED. <
https://redhat.com/trusted>
On Thu, Jul 19, 2018 at 5:37 PM, Rich Megginson
<rmeggins(a)redhat.com <mailto:rmeggins@redhat.com>
<mailto:rmeggins@redhat.com <mailto:rmeggins@redhat.com>>> wrote:
do you have
http://cbs.centos.org/repos/paas7-openshift-origin39-candidate/x86_64/os/...
<
http://cbs.centos.org/repos/paas7-openshift-origin39-candidate/x86_64/os/...
as one of your yum repos?
What does "yum search atomic-openshift" show?
On 07/19/2018 08:06 AM, suporte(a)logicworks.pt
<mailto:suporte@logicworks.pt>
<mailto:suporte@logicworks.pt
<mailto:suporte@logicworks.pt>> wrote:
Hi,
I'm still facing this issue
Still this error:
1. Hosts: localhost
Play: Determine openshift_version to configure on
first master
Task: openshift_version : fail
Message: Package atomic-openshift not found
What i have installed:
openshift-ansible-3.9.0-0.53.0.git.1.af49d87.el7.noarch
ansible-2.6.1-1.el7.noarch
atomic-openshift-utils-3.9.0-0.53.0.git.1.af49d87.el7.noarch
CentOS Linux release 7.5.1804 (Core)
Any help?
Thanks
José
------------------------------------------------------------------------
*De: *"Rich Megginson" <rmeggins(a)redhat.com
<mailto:rmeggins@redhat.com>
<mailto:rmeggins@redhat.com
<mailto:rmeggins@redhat.com>>>
*Para: *"Shirly Radco" <sradco(a)redhat.com
<mailto:sradco@redhat.com>
<mailto:sradco@redhat.com
<mailto:sradco@redhat.com>>>, suporte(a)logicworks.pt
<mailto:suporte@logicworks.pt>
<mailto:suporte@logicworks.pt
<mailto:suporte@logicworks.pt>>
*Cc: *"users" <users(a)ovirt.org
<mailto:users@ovirt.org> <mailto:users@ovirt.org
<mailto:users@ovirt.org>>>
*Enviadas: *Segunda-feira, 25 De Junho de 2018 22:02:59
*Assunto: *Re: [ovirt-users] metrics
On 06/24/2018 01:10 AM, Shirly Radco wrote:
> Hi,
>
> I see there is an OpenShift bug about this issue
>
https://bugzilla.redhat.com/show_bug.cgi?id=1589629
<
https://bugzilla.redhat.com/show_bug.cgi?id=1589629>
> "Bug 1589629 - Install logging/metrics failed at
TASK [Validate
> openshift_node_groups and openshift_node_group_name]"
AFAIK, this only affects OpenShift 3.10 and later.
>
>
> I see there is a workaround
>
https://bugzilla.redhat.com/show_bug.cgi?id=1589629#c2
<
https://bugzilla.redhat.com/show_bug.cgi?id=1589629#c2>
>
> to add to ansible-inventory-origin-39-aio that is in
your
metrics
> store machine at the root directory
> skip_sanity_checks=true
>
> Are you experiencing this in 3.9 ? The bug is open
on 3.10.
>
> Bset,
>
> --
>
> SHIRLY RADCO
>
> BI SeNIOR SOFTWARE ENGINEER
>
> Red Hat Israel <
https://www.redhat.com/>
>
> <
https://red.ht/sig>
> TRIED. TESTED. TRUSTED. <
https://redhat.com/trusted>
>
>
> On Thu, Jun 21, 2018 at 7:15 PM,
<suporte(a)logicworks.pt <mailto:suporte@logicworks.pt>
<mailto:suporte@logicworks.pt
<mailto:suporte@logicworks.pt>>
> <mailto:suporte@logicworks.pt
<mailto:suporte@logicworks.pt>
<mailto:suporte@logicworks.pt
<mailto:suporte@logicworks.pt>>>> wrote:
>
> Hi,
>
> I'm trying to configure oVirt metrics but when i run
>
> # ANSIBLE_LOG_PATH=/tmp/ansible.log
ansible-playbook -vvv -e
> @/root/vars.yaml -i
/root/ansible-inventory-origin-39-aio
> playbooks/deploy_cluster.yml
>
> i always get this error:
>
> Failure summary:
>
>
> 1. Hosts: localhost
> Play: Verify Requirements
> Task: Validate openshift_node_groups and
openshift_node_group_name
> Message: last_checked_host: localhost,
last_checked_var:
> openshift_node_group_name;openshift_node_group_name
must be
> defined for all nodes
>
>
> What am I missing here?
>
> Thanks
>
>
>
> --
>
------------------------------------------------------------------------
> Jose Ferradeira
>
http://www.logicworks.pt
>
> _______________________________________________
> Users mailing list -- users(a)ovirt.org
<mailto:users@ovirt.org>
<mailto:users@ovirt.org <mailto:users@ovirt.org>>
<mailto:users@ovirt.org <mailto:users@ovirt.org>
<mailto:users@ovirt.org <mailto:users@ovirt.org>>>
> To unsubscribe send an email to
users-leave(a)ovirt.org <mailto:users-leave@ovirt.org>
<mailto:users-leave@ovirt.org
<mailto:users-leave@ovirt.org>>
> <mailto:users-leave@ovirt.org
<mailto:users-leave@ovirt.org>
<mailto:users-leave@ovirt.org
<mailto:users-leave@ovirt.org>>>
> Privacy Statement:
https://www.ovirt.org/site/privacy-policy/
<
https://www.ovirt.org/site/privacy-policy/>
> <
https://www.ovirt.org/site/privacy-policy/
<
https://www.ovirt.org/site/privacy-policy/>>
> oVirt Code of Conduct:
>
https://www.ovirt.org/community/about/community-guidelines/
<
https://www.ovirt.org/community/about/community-guidelines/>
>
<
https://www.ovirt.org/community/about/community-guidelines/
<
https://www.ovirt.org/community/about/community-guidelines/>>
> List Archives:
>
https://lists.ovirt.org/archives/list/users@ovirt.org/message/QQMEHPYZUWZ...
<
https://lists.ovirt.org/archives/list/users@ovirt.org/message/QQMEHPYZUWZ...
>
<
https://lists.ovirt.org/archives/list/users@ovirt.org/message/QQMEHPYZUWZ...
<
https://lists.ovirt.org/archives/list/users@ovirt.org/message/QQMEHPYZUWZ...
>
>
_______________________________________________
Users mailing list -- users(a)ovirt.org <mailto:users@ovirt.org>
To unsubscribe send an email to users-leave(a)ovirt.org
<mailto:users-leave@ovirt.org>
Privacy Statement:
https://www.ovirt.org/site/privacy-policy/
<
https://www.ovirt.org/site/privacy-policy/>
oVirt Code of Conduct:
https://www.ovirt.org/community/about/community-guidelines/
<
https://www.ovirt.org/community/about/community-guidelines/>
List Archives:
https://lists.ovirt.org/archives/list/users@ovirt.org/message/XAIDG47HY2O...
<
https://lists.ovirt.org/archives/list/users@ovirt.org/message/XAIDG47HY2O...
_______________________________________________
Users mailing list -- users(a)ovirt.org <mailto:users@ovirt.org>
To unsubscribe send an email to users-leave(a)ovirt.org
<mailto:users-leave@ovirt.org>
Privacy Statement:
https://www.ovirt.org/site/privacy-policy/
<
https://www.ovirt.org/site/privacy-policy/>
oVirt Code of Conduct:
https://www.ovirt.org/community/about/community-guidelines/
<
https://www.ovirt.org/community/about/community-guidelines/>
List Archives:
https://lists.ovirt.org/archives/list/users@ovirt.org/message/URPIN27PL3Y...
<
https://lists.ovirt.org/archives/list/users@ovirt.org/message/URPIN27PL3Y...