contiv-experimental / demo

Easy cut demos to try contiv [DEPRECATED]
Other
6 stars 25 forks source link

epel-release repo is also installing ansible 2.1.1.0 now #109

Closed gaurav-dalvi closed 7 years ago

gaurav-dalvi commented 8 years ago

Reference issue : https://github.com/contiv/ansible/issues/259 and https://github.com/contiv/ansible/issues/264

epel-testing to epel-release repo transition wont work now. ansible 2.1.1.1 version gets installed and then our ansible scripts will fail because of this error :

TASK [include] ***** included: /home/admin/ansible/roles/ucarp/tasks/cleanup.yml for node1, node2 fatal: [node1]: FAILED! => {"failed": true, "reason": "'item' is undefined"} ...ignoring fatal: [node2]: FAILED! => {"failed": true, "reason": "'item' is undefined"}

gaurav-dalvi commented 8 years ago

This line in net_demo_installer script : https://github.com/contiv/demo/blob/master/net/net_demo_installer#L215

Installs ansible from epel repo. Currently it installs 2.1.1 and hence our ansible scripts fail with the error mentioned above.

Workaround. (for Centos) 1: Remove current ansible sudo yum remove ansible

2: Install ansible 2.1.0

sudo easy_install pip
sudo pip install ansible==2.1.0.0

3: Remove this line from net_demo_installer script

https://github.com/contiv/demo/blob/master/net/net_demo_installer#L215

gaurav-dalvi commented 8 years ago

cc @mapuri and @vvb

gaurav-dalvi commented 7 years ago

Not seeing the issue with ansible 2.2.0.0. Closing this.