Will try it next time [😊]

I found the 2.1 ansible package in another repo and than everything seemed to 
work.


Thanks

________________________________
Van: Andrew Butcher <[email protected]>
Verzonden: donderdag 17 november 2016 19:59:07
Aan: Den Cowboy
CC: Rich Megginson; [email protected]
Onderwerp: Re: Ansible installation OpenShift origin 1.2.0 failed

You're right, there's no ansible-2.1 package in EPEL. The latest ansible will 
work with openshift-ansible's release-1.2 branch where we've fixed these 
templating issues. I'd recommend using that if you can.

Be sure to set the following inventory variables to get the right packages if 
you go the release-1.2 branch route.

openshift_release=1.2
openshift_pkg_version=-1.2.1-1.el7

On Thu, Nov 17, 2016 at 1:04 PM, Den Cowboy 
<[email protected]<mailto:[email protected]>> wrote:

Seems not to help. If you list the possible packages it only shows the newest:


yum -y --enablerepo=epel --showduplicates list ansible
shows only ansible.noarch 2.2.0.0-3.el7 epel

________________________________
Van: 
[email protected]<mailto:[email protected]>
 
<[email protected]<mailto:[email protected]>>
 namens Rich Megginson <[email protected]<mailto:[email protected]>>
Verzonden: donderdag 17 november 2016 17:54:26
Aan: [email protected]<mailto:[email protected]>
Onderwerp: Re: Ansible installation OpenShift origin 1.2.0 failed

On 11/17/2016 10:36 AM, Den Cowboy wrote:
>
> Thanks. This could probably be the issue.
>
>
> # yum -y --enablerepo=epel --showduplicates list ansible
> Failed to set locale, defaulting to C
> Loaded plugins: fastestmirror
> Loading mirror speeds from cached hostfile
>  * base: mirror2.hs-esslingen.de<http://mirror2.hs-esslingen.de>
>  * epel: epel.mirrors.ovh.net<http://epel.mirrors.ovh.net>
>  * extras: it.centos.contactlab.it<http://it.centos.contactlab.it>
>  * updates: mirror.netcologne.de<http://mirror.netcologne.de>
> Available Packages
> ansible.noarch 2.2.0.0-3.el7 epel
>
>
> I always installed 2.2 at the moment. Is there a way to install
> 2.1.0.0-1.el7 using yum?
>

You could try to yum downgrade ansible and see if that gets you an older
version.

>
> I found this website:
> https://www.rpmfind.net/linux/rpm2html/search.php?query=ansible but
> I'm not really familiar with rpm
>
> RPM resource ansible - Rpmfind mirror
> <https://www.rpmfind.net/linux/rpm2html/search.php?query=ansible>
> www.rpmfind.net<http://www.rpmfind.net>
> RPM resource ansible. Ansible is a radically simple model-driven
> configuration management, multi-node deployment, and remote task
> execution system.
>
>
> ------------------------------------------------------------------------
> *Van:* Andrew Butcher <[email protected]<mailto:[email protected]>>
> *Verzonden:* donderdag 17 november 2016 15:49:50
> *Aan:* Den Cowboy
> *CC:* 
> [email protected]<mailto:[email protected]>
> *Onderwerp:* Re: Ansible installation OpenShift origin 1.2.0 failed
> Hey,
>
> What version of ansible are you using? There is an untemplated
> with_items for g_all_hosts | default([]) which isn't being
> interpreted. Untemplated with_items would have been okay with previous
> ansible versions but not with the latest 2.2 packages.
>
> Like this line but without the jinja template wrapping "{{ }}".
>
> https://github.com/openshift/openshift-ansible/blob/cd922e0f4a1370118c0e2fd60230a68d74b47095/playbooks/byo/openshift-cluster/config.yml#L16
>
> On Thu, Nov 17, 2016 at 10:30 AM, Den Cowboy 
> <[email protected]<mailto:[email protected]>
> <mailto:[email protected]>> wrote:
>
>     Hi,
>
>
>     I forked the repo of openshift when it was version 1.2.0.
>
>     Now I did all the prerequisitions and I was able to ssh from my
>     master to itself and to every node (using the names I specified in
>     /etc/hosts).
>
>     I created my hosts file and I start the installation but it ends
>     pretty quick with this error. I don't understand why. I have some
>     experience with installating version 1.2.0 with ansible.
>
>
>     TASK [Evaluate oo_nodes_to_config]
>     *********************************************
>     changed: [localhost] => (item=master.xxx.com<http://master.xxx.com> 
> <http://master.xxx.com>)
>     changed: [localhost] => (item=node01.xxx.com<http://node01.xxx.com> 
> <http://node01.xxx.com>)
>     changed: [localhost] => (item=node02.xxx.com<http://node02.xxx.com> 
> <http://node02.xxx.com>)
>     changed: [localhost] => (item=node03.xxx.com<http://node03.xxx.com> 
> <http://node03.xxx.com>)
>     changed: [localhost] => (item=node04.xxx.com<http://node04.xxx.com> 
> <http://node04.xxx.com>)
>
>     TASK [Evaluate oo_nodes_to_config]
>     *********************************************
>     skipping: [localhost] => (item=master.xxx.com<http://master.xxx.com> 
> <http://master.xxx.com>)
>
>     TASK [Evaluate oo_first_etcd]
>     **************************************************
>     changed: [localhost]
>
>     TASK [Evaluate oo_first_master]
>     ************************************************
>     changed: [localhost]
>
>     TASK [Evaluate oo_lb_to_config]
>     ************************************************
>
>     TASK [Evaluate oo_nfs_to_config]
>     ***********************************************
>
>     PLAY [Initialize host facts]
>     ***************************************************
>
>     TASK [setup]
>     *******************************************************************
>     fatal: [g_all_hosts | default([])]: UNREACHABLE! => {"changed":
>     false, "msg": "Failed to connect to the host via ssh: ssh: Could
>     not resolve hostname g_all_hosts | default([]): Name or service
>     not known\r\n", "unreachable": true}
>
>     NO MORE HOSTS LEFT
>     *************************************************************
>         to retry, use: --limit
>     @/root/openshift-ansible/playbooks/byo/config.retry
>
>     PLAY RECAP
>     *********************************************************************
>     g_all_hosts                : ok=1    changed=0 unreachable=0
>     failed=0
>     g_all_hosts | default([])  : ok=0    changed=0 unreachable=1
>     failed=0
>     localhost                  : ok=9    changed=8 unreachable=0
>     failed=0
>
>
>     _______________________________________________
>     users mailing list
>     [email protected]<mailto:[email protected]>
>     <mailto:[email protected]>
>     http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>     <http://lists.openshift.redhat.com/openshiftmm/listinfo/users>
>
>
>
>
> _______________________________________________
> users mailing list
> [email protected]<mailto:[email protected]>
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users


_______________________________________________
users mailing list
[email protected]<mailto:[email protected]>
http://lists.openshift.redhat.com/openshiftmm/listinfo/users

_______________________________________________
users mailing list
[email protected]<mailto:[email protected]>
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


_______________________________________________
users mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/users

Reply via email to