Ansible Tower installation Failed with error

548 views
Skip to first unread message

chetan...@gmail.com

unread,
Feb 9, 2017, 8:58:30 AM2/9/17
to Ansible Project
I am totally new to this ansible project. I tried the ansible tower installation on my RHEL 6.8 version but it failed during ./setup.sh

inventory file 

[primary]
localhost ansible_connection=local

[secondary]

[database]

[all:vars]
admin_password='password'
redis_password='password'

pg_host=''
pg_port=''

pg_database='awx'
pg_username='awx'
pg_password='password'


setup.log 


fatal: [localhost]: FAILED! => {"changed": true, "failed": true, "msg": "Repository epel is listed more than once in the configuration\nReposit
ory epel-source is listed more than once in the configuration\nError: Package: python27-ansible-tower-3.0.3-1.el6.x86_64 (python27-ansible-tower)\n
         Requires: httpd24\nError: Package: python27-ansible-tower-3.0.3-1.el6.x86_64 (python27-ansible-tower)\n           Requires: libpython2.7.so.
1.0()(64bit)\nError: Package: python27-ansible-tower-3.0.3-1.el6.x86_64 (python27-ansible-tower)\n           Requires: python27-mod_wsgi\nError: Pack
age: python27-ansible-tower-3.0.3-1.el6.x86_64 (python27-ansible-tower)\n           Requires: httpd24-mod_ssl\nError: Package: python27-ansible-tower
-3.0.3-1.el6.x86_64 (python27-ansible-tower)\n           Requires: /opt/rh/python27/enable\nError: Package: python27-ansible-tower-3.0.3-1.el6.x86_64
 (python27-ansible-tower)\n           Requires: python27-runtime\nError: Package: python27-ansible-tower-3.0.3-1.el6.x86_64 (python27-ansible-tower)\
n           Requires: python27-python-virtualenv\nError: Package: python27-ansible-tower-3.0.3-1.el6.x86_64 (python27-ansible-tower)\n           Requ
ires: httpd24-httpd\nError: Package: python27-ansible-tower-3.0.3-1.el6.x86_64 (python27-ansible-tower)\n           Requires: /opt/rh/httpd24/enable\
nError: Package: python27-ansible-tower-3.0.3-1.el6.x86_64 (python27-ansible-tower)\n           Requires: python27\n", "rc": 1, "results": ["Loaded p
lugins: product-id, search-disabled-repos, security, subscription-\n              : manager\nThis system is not registered to Red Hat Subscription Ma
nagement. You can use subscription-manager to register.\nSetting up Install Process\nResolving Dependencies\n--> Running transaction check\n---> Pack
age python27-ansible-tower.x86_64 0:3.0.3-1.el6 will be installed\n--> Processing Dependency: redis >= 2.8 for package: python27-ansible-tower-3.0.3-
1.el6.x86_64\n--> Processing Dependency: proot >= v5.1.0-1.9 for package: python27-ansible-tower-3.0.3-1.el6.x86_64\n--> Processing Dependency: zerom
q3 for package: python27-ansible-tower-3.0.3-1.el6.x86_64\n--> Processing Dependency: xmlsec1 for package: python27-ansible-tower-3.0.3-1.el6.x86_64\
n--> Processing Dependency: subversion for package: python27-ansible-tower-3.0.3-1.el6.x86_64\n--> Processing Dependency: python27-runtime for packag
e: python27-ansible-tower-3.0.3-1.el6.x86_64\n--> Processing Dependency: python27-python-virtualenv for package: python27-ansible-tower-3.0.3-1.el6.x
86_64\n--> Processing Dependency: python27-mod_wsgi for package: python27-ansible-tower-3.0.3-1.el6.x86_64\n--> Processing Dependency: python27 for p
ackage: python27-ansible-tower-3.0.3-1.el6.x86_64\n--> Processing Dependency: python-virtualenv for package: python27-ansible-tower-3.0.3-1.el6.x86_6
4\n--> Processing Dependency: policycoreutils-python for package: python27-ansible-tower-3.0.3-1.el6.x86_64\n--> Processing Dependency: policycoreuti
ls-python for package: python27-ansible-tower-3.0.3-1.el6.x86_64\n--> Processing Dependency: mercurial for package: python27-ansible-tower-3.0.3-1.el
6.x86_64\n--> Processing Dependency: httpd24-mod_ssl for package: python27-ansible-tower-3.0.3-1.el6.x86_64\n--> Processing Dependency: httpd24-httpd
 for package: python27-ansible-tower-3.0.3-1.el6.x86_64\n--> Processing Dependency: httpd24 for package: python27-ansible-tower-3.0.3-1.el6.x86_64\n-
-> Processing Dependency: git for package: python27-ansible-tower-3.0.3-1.el6.x86_64\n--> Processing Dependency: /opt/rh/python27/enable for package:
 python27-ansible-tower-3.0.3-1.el6.x86_64\n--> Processing Dependency: /opt/rh/httpd24/enable for package: python27-ansible-tower-3.0.3-1.el6.x86_64\
n--> Processing Dependency: libxmlsec1.so.1()(64bit) for package: python27-ansible-tower-3.0.3-1.el6.x86_64\n--> Processing Dependency: libxmlsec1-op
enssl.so.1()(64bit) for package: python27-ansible-tower-3.0.3-1.el6.x86_64\n--> Processing Dependency: libpython2.7.so.1.0()(64bit) for package: pyth
on27-ansible-tower-3.0.3-1.el6.x86_64\n--> Running transaction check\n---> Package git.x86_64 0:1.7.1-4.el6_7.1 will be installed\n--> Processing Dep
endency: perl-Git = 1.7.1-4.el6_7.1 for package: git-1.7.1-4.el6_7.1.x86_64\n--> Processing Dependency: perl(Git) for package: git-1.7.1-4.el6_7.1.x8
6_64\n--> Processing Dependency: perl(Error) for package: git-1.7.1-4.el6_7.1.x86_64\n---> Package mercurial.x86_64 0:1.4-4.el6 will be installed\n--
-> Package policycoreutils-python.x86_64 0:2.0.83-29.el6 will be installed\n--> Processing Dependency: libsemanage-python >= 2.0.43-4 for package: po
licycoreutils-python-2.0.83-29.el6.x86_64\n--> Processing Dependency: audit-libs-python >= 1.4.2-1 for package: policycoreutils-python-2.0.83-29.el6.
x86_64\n---> Package proot.x86_64 0:v5.1.0-1.9.el6 will be installed\n---> Package python-virtualenv.noarch 0:1.10.1-1.el6 will be installed\n--> Pro
cessing Dependency: python2-devel for package: python-virtualenv-1.10.1-1.el6.noarch\n---> Package python27-ansible-tower.x86_64 0:3.0.3-1.el6 will b
e installed\n--> Processing Dependency: python27-runtime for package: python27-ansible-tower-3.0.3-1.el6.x86_64\n--> Processing Dependency: python27-
python-virtualenv for package: python27-ansible-tower-3.0.3-1.el6.x86_64\n--> Processing Dependency: python27-mod_wsgi for package: python27-ansible-
tower-3.0.3-1.el6.x86_64\n--> Processing Dependency: python27 for package: python27-ansible-tower-3.0.3-1.el6.x86_64\n--> Processing Dependency: http
d24-mod_ssl for package: python27-ansible-tower-3.0.3-1.el6.x86_64\n--> Processing Dependency: httpd24-httpd for package: python27-ansible-tower-3.0.
3-1.el6.x86_64\n--> Processing Dependency: httpd24 for package: python27-ansible-tower-3.0.3-1.el6.x86_64\n--> Processing Dependency: /opt/rh/python2
7/enable for package: python27-ansible-tower-3.0.3-1.el6.x86_64\n--> Processing Dependency: /opt/rh/httpd24/enable for package: python27-ansible-towe
r-3.0.3-1.el6.x86_64\n--> Processing Dependency: libpython2.7.so.1.0()(64bit) for package: python27-ansible-tower-3.0.3-1.el6.x86_64\n---> Package re
dis.x86_64 0:2.8.19-2.el6 will be installed\n--> Processing Dependency: libjemalloc.so.1()(64bit) for package: redis-2.8.19-2.el6.x86_64\n---> Packag
e subversion.x86_64 0:1.6.11-15.el6_7 will be installed\n--> Processing Dependency: libneon.so.27()(64bit) for package: subversion-1.6.11-15.el6_7.x8
6_64\n---> Package xmlsec1.x86_64 0:1.2.20-4.el6 will be installed\n---> Package xmlsec1-openssl.x86_64 0:1.2.20-4.el6 will be installed\n---> Packag
e zeromq3.x86_64 0:3.2.5-1.el6 will be installed\n--> Processing Dependency: libpgm-5.1.so.0()(64bit) for package: zeromq3-3.2.5-1.el6.x86_64\n--> Ru
nning transaction check\n---> Package audit-libs-python.x86_64 0:2.4.5-3.el6 will be installed\n---> Package jemalloc.x86_64 0:3.6.0-1.el6 will be in
stalled\n---> Package libsemanage-python.x86_64 0:2.0.43-5.1.el6 will be installed\n---> Package neon.x86_64 0:0.29.3-3.el6_4 will be installed\n-->
Processing Dependency: libpakchois.so.0()(64bit) for package: neon-0.29.3-3.el6_4.x86_64\n---> Package openpgm.x86_64 0:5.1.118-3.el6 will be install
ed\n---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed\n---> Package perl-Git.noarch 0:1.7.1-4.el6_7.1 will be installed\n---> Package
python-devel.x86_64 0:2.6.6-64.el6 will be installed\n---> Package python27-ansible-tower.x86_64 0:3.0.3-1.el6 will be installed\n--> Processing Depe
ndency: python27-runtime for package: python27-ansible-tower-3.0.3-1.el6.x86_64\n--> Processing Dependency: python27-python-virtualenv for package: p
ython27-ansible-tower-3.0.3-1.el6.x86_64\n--> Processing Dependency: python27-mod_wsgi for package: python27-ansible-tower-3.0.3-1.el6.x86_64\n--> Pr
ocessing Dependency: python27 for package: python27-ansible-tower-3.0.3-1.el6.x86_64\n--> Processing Dependency: httpd24-mod_ssl for package: python2
7-ansible-tower-3.0.3-1.el6.x86_64\n--> Processing Dependency: httpd24-httpd for package: python27-ansible-tower-3.0.3-1.el6.x86_64\n--> Processing D
ependency: httpd24 for package: python27-ansible-tower-3.0.3-1.el6.x86_64\n--> Processing Dependency: /opt/rh/python27/enable for package: python27-a
nsible-tower-3.0.3-1.el6.x86_64\n--> Processing Dependency: /opt/rh/httpd24/enable for package: python27-ansible-tower-3.0.3-1.el6.x86_64\n--> Proces
sing Dependency: libpython2.7.so.1.0()(64bit) for package: python27-ansible-tower-3.0.3-1.el6.x86_64\n--> Running transaction check\n---> Package pak
chois.x86_64 0:0.4-3.2.el6 will be installed\n---> Package python27-ansible-tower.x86_64 0:3.0.3-1.el6 will be installed\n--> Processing Dependency:
python27-runtime for package: python27-ansible-tower-3.0.3-1.el6.x86_64\n--> Processing Dependency: python27-python-virtualenv for package: python27-
ansible-tower-3.0.3-1.el6.x86_64\n--> Processing Dependency: python27-mod_wsgi for package: python27-ansible-tower-3.0.3-1.el6.x86_64\n--> Processing
 Dependency: python27 for package: python27-ansible-tower-3.0.3-1.el6.x86_64\n--> Processing Dependency: httpd24-mod_ssl for package: python27-ansibl
e-tower-3.0.3-1.el6.x86_64\n--> Processing Dependency: httpd24-httpd for package: python27-ansible-tower-3.0.3-1.el6.x86_64\n--> Processing Dependenc
y: httpd24 for package: python27-ansible-tower-3.0.3-1.el6.x86_64\n--> Processing Dependency: /opt/rh/python27/enable for package: python27-ansible-t
ower-3.0.3-1.el6.x86_64\n--> Processing Dependency: /opt/rh/httpd24/enable for package: python27-ansible-tower-3.0.3-1.el6.x86_64\n--> Processing Dep
endency: libpython2.7.so.1.0()(64bit) for package: python27-ansible-tower-3.0.3-1.el6.x86_64\n--> Processing Dependency: /opt/rh/httpd24/enable for p
ackage: python27-ansible-tower-3.0.3-1.el6.x86_64\n--> Processing Dependency: /opt/rh/python27/enable for package: python27-ansible-tower-3.0.3-1.el6
.x86_64\n--> Finished Dependency Resolution\n You could try using --skip-broken to work around the problem\n You could try running: rpm -Va --nofiles
 --nodigest\n"]}
        to retry, use: --limit @/root/ansible-tower-setup-3.0.3/install.retry

PLAY RECAP *********************************************************************
localhost                  : ok=39   changed=0    unreachable=0    failed=1

Kean Loong Mak

unread,
Jul 10, 2017, 11:46:52 AM7/10/17
to Ansible Project
Have you managed to solve this? I went through the repositories on /etc/yum.repos.d/, and it turns out Ansible had installed its own repos inside as part of setup - which clashed with the repos already in there. You'll have to identify which, and rename the affected repos for the time being.

Andrew Latham

unread,
Jul 14, 2017, 10:54:52 AM7/14/17
to ansible...@googlegroups.com
For tower questions and support please utilize https://access.redhat.com/products/ansible-tower-red-hat

This mailing list is for the open source ansible project.

--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscribe@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/d7da3122-3bc8-4dba-938c-3cfae7c92a2c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



Reply all
Reply to author
Forward
0 new messages