- 论坛徽章:
- 0
|
本帖最后由 softiger 于 2015-10-23 10:33 编辑
同问,也是遇到相同的问题,这个问题解决了吗
日志如下:
[root@server ansible-tower-setup-bundle-2.3.1-1.el6]# ./setup.sh -p
/usr/local/lib/python2.7/site-packages/Crypto/Util/number.py:57: PowmInsecureWarning: Not using mpz_powm_sec. You should rebuild using libgmp >= 5 to avoid timing attack vulnerability.
_warn("Not using mpz_powm_sec. You should rebuild using libgmp >= 5 to avoid timing attack vulnerability.", PowmInsecureWarning)
SSH password:
PLAY [all] ********************************************************************
GATHERING FACTS ***************************************************************
ok: [server.ita.com]
TASK: [group hosts by distribution] *******************************************
ok: [server.ita.com] => {"changed": false, "groups": {"RedHat-6.4": ["server.ita.com"]}}
PLAY [RedHat-7*:RedHat-6*:CentOS-7*:CentOS-6*:Ubuntu-12.04:Ubuntu-14.04] ******
TASK: [group hosts for supported distributions] *******************************
ok: [server.ita.com] => {"changed": false, "groups": {"supported": ["server.ita.com"]}}
PLAY [!supported] *************************************************************
skipping: no hosts matched
PLAY [all] ********************************************************************
TASK: [preflight | Preflight check - Fail if this machine lacks sufficient RAM.] ***
skipping: [server.ita.com]
TASK: [preflight | Preflight check - Does the system have a standard umask?] ***
ok: [server.ita.com] => {"changed": false, "cmd": "umask", "delta": "0:00:00.003266", "end": "2015-10-23 10:23:59.406428", "failed": false, "failed_when_result": false, "rc": 0, "start": "2015-10-23 10:23:59.403162", "stderr": "", "stdout": "0022", "stdout_lines": ["0022"], "warnings": []}
TASK: [preflight | Determine which mountpoint /var exists on] *****************
ok: [server.ita.com] => {"changed": false, "cmd": "df /var | tail -n1 | awk '{print $NF}'", "delta": "0:00:00.006536", "end": "2015-10-23 10:24:00.158414", "rc": 0, "start": "2015-10-23 10:24:00.151878", "stderr": "", "stdout": "/", "stdout_lines": ["/"], "warnings": []}
TASK: [preflight | Preflight check - Does /var meet minimum disk space requirement] ***
skipping: [server.ita.com] => (item={'options': 'rw', 'uuid': '577a87e8-cc11-4a3a-af18-de4b8dcdf36f', 'size_total': 35512868864, 'device': '/dev/mapper/VolGroup-lv_root', 'mount': '/', 'size_available': 23939420160, 'fstype': 'ext4'})
skipping: [server.ita.com] => (item={'options': 'rw', 'uuid': '1b731fc8-f643-4a35-91f5-9ad53f232e3f', 'size_total': 507744256, 'device': '/dev/sda1', 'mount': '/boot', 'size_available': 441583616, 'fstype': 'ext4'})
skipping: [server.ita.com] => (item={'options': 'ro,loop=/dev/loop0', 'uuid': 'NA', 'size_total': 3719962624, 'device': '/mnt/hgfs/E/tivoliMedia/os/rhel-server-6.4-x86_64-dvd.iso', 'mount': '/mnt/iso', 'size_available': 0, 'fstype': 'iso9660'})
TASK: [migrations | Check to see if /etc/awx/ exists (Tower < 2.1).] **********
ok: [server.ita.com] => {"changed": false, "stat": {"exists": false}}
TASK: [migrations | rsync /etc/awx/ to /etc/tower/.] **************************
skipping: [server.ita.com]
TASK: [migrations | Remove the /etc/awx/ directory.] **************************
skipping: [server.ita.com]
TASK: [migrations | Temporarily sync /etc/awx/ to /etc/tower/, giving later configuration a chance to update.] ***
skipping: [server.ita.com]
TASK: [migrations | Update awx-http-443.conf to use the /etc/tower/ location for the cert.] ***
skipping: [server.ita.com] => (item={'key': 'SSLCertificateFile', 'filename': 'awx.cert'})
skipping: [server.ita.com] => (item={'key': 'SSLCertificateKeyFile', 'filename': 'awx.key'})
TASK: [migrations | Update the settings.py file to point to the new SECRET_KEY.] ***
skipping: [server.ita.com]
TASK: [migrations | Check to see if /var/log/awx/ exists (Tower < 2.1).] ******
ok: [server.ita.com] => {"changed": false, "stat": {"exists": false}}
TASK: [migrations | rsync /var/log/awx/ to /var/log/tower/.] ******************
skipping: [server.ita.com]
TASK: [migrations | Remove the /var/log/awx/ directory.] **********************
skipping: [server.ita.com]
TASK: [migrations | Temporarily sync /var/log/awx/ to /var/log/tower/, giving later configuration a chance to update.] ***
skipping: [server.ita.com]
TASK: [migrations | Check to see if DATABASES is defined in the main settings file.] ***
failed: [server.ita.com] => {"changed": false, "cmd": "grep \"DATABASES = {\" /etc/tower/settings.py", "delta": "0:00:00.004142", "end": "2015-10-23 10:24:02.466956", "rc": 2, "start": "2015-10-23 10:24:02.462814", "stdout_lines": [], "warnings": []}
stderr: grep: /etc/tower/settings.py: No such file or directory
...ignoring
TASK: [migrations | Place a scaffolding script that knows how to migrate database settings.] ***
skipping: [server.ita.com]
TASK: [migrations | Create a separate postgres.py settings file in conf.d.] ***
skipping: [server.ita.com]
TASK: [migrations | Remove the scaffolding script.] ***************************
skipping: [server.ita.com]
TASK: [migrations | Check to see if celery is already configured for RabbitMQ.] ***
failed: [server.ita.com] => {"changed": false, "cmd": "grep \"amqp://\" /etc/tower/conf.d/celeryd.py", "delta": "0:00:00.003849", "end": "2015-10-23 10:24:03.274050", "rc": 2, "start": "2015-10-23 10:24:03.270201", "stdout_lines": [], "warnings": []}
stderr: grep: /etc/tower/conf.d/celeryd.py: No such file or directory
...ignoring
TASK: [migrations | Remove the celeryd configuration.] ************************
skipping: [server.ita.com]
TASK: [migrations | Check to see if the old awx SSL files exist.] *************
ok: [server.ita.com] => {"changed": false, "stat": {"exists": false}}
TASK: [migrations | Move awx.cert and awx.key to tower.cert and tower.key.] ***
skipping: [server.ita.com] => (item=cert)
skipping: [server.ita.com] => (item=key)
TASK: [migrations | Update awx-http-443.conf to use the new filenames.] *******
skipping: [server.ita.com] => (item={'ext': 'cert', 'key': 'SSLCertificateFile'})
skipping: [server.ita.com] => (item={'ext': 'key', 'key': 'SSLCertificateKeyFile'})
TASK: [migrations | Check to see if LDAP is defined in the main settings file.] ***
failed: [server.ita.com] => {"changed": false, "cmd": "grep \"import ldap\" /etc/tower/settings.py", "delta": "0:00:00.003966", "end": "2015-10-23 10:24:04.852553", "rc": 2, "start": "2015-10-23 10:24:04.848587", "stdout_lines": [], "warnings": []}
stderr: grep: /etc/tower/settings.py: No such file or directory
...ignoring
TASK: [migrations | Place a scaffolding script that knows how to migrate LDAP settings.] ***
skipping: [server.ita.com]
TASK: [migrations | Create a separate ldap.py settings file in conf.d.] *******
skipping: [server.ita.com]
TASK: [migrations | Remove the scaffolding script.] ***************************
skipping: [server.ita.com]
TASK: [migrations | Check to see if PostgreSQL is installed and not on 9.4.] ***
ok: [server.ita.com] => {"changed": false, "cmd": "psql --version", "delta": "0:00:00.005386", "end": "2015-10-23 10:24:05.688337", "rc": 0, "start": "2015-10-23 10:24:05.682951", "stderr": "", "stdout": "psql (PostgreSQL) 8.4.13\ncontains support for command-line editing", "stdout_lines": ["psql (PostgreSQL) 8.4.13", "contains support for command-line editing"], "warnings": []}
TASK: [migrations | include_vars {{ item }}] **********************************
ok: [server.ita.com] => (item=/opt/ansible/download/ansible-tower-setup-bundle-2.3.1-1.el6/roles/packages_el/vars/RedHat-6.yml) => {"ansible_facts": {"el_dependencies": "{{ el6_dependencies }}", "pg_release_url": "http://yum.postgresql.org/9.4/redhat/rhel-6-x86_64/pgdg-centos94-9.4-1.noarch.rpm", "tower_bundle_file": "tower_bundle_el6.j2", "yum_online_repo_files": ["epel-6.repo", "pgdg-94-centos.repo", "mongodb-org.repo", "cedric-vincent-centos-6.repo", "jlaska-supervisor-3-epel-6.repo", "jlaska-redis-28-epel-6.repo"], "yum_repo_keys": ["10gen-gpg-key.asc", "RPM-GPG-KEY-EPEL-6", "RPM-GPG-KEY-PGDG-94", "RPM-GPG-KEY-ansible-release", "cedric-vincent-centos6.xml.key", "jlaska-supervisor-3-epel-6.gpg", "jlaska-redis-28-epel-6.gpg"]}, "item": "/opt/ansible/download/ansible-tower-setup-bundle-2.3.1-1.el6/roles/packages_el/vars/RedHat-6.yml"}
TASK: [migrations | Stop Web Services (RH)] ***********************************
ok: [server.ita.com] => {"changed": false, "name": "httpd", "state": "stopped"}
TASK: [migrations | Stop Web Services (Ubuntu)] *******************************
skipping: [server.ita.com]
TASK: [migrations | Include supervisor variables.] ****************************
ok: [server.ita.com] => {"ansible_facts": {"sup_conf_location": "/etc/supervisord.d/awx.ini", "sup_init_name": "supervisord"}}
TASK: [migrations | Stop supervisor] ******************************************
failed: [server.ita.com] => {"failed": true}
msg: no service or tool found for: supervisord
FATAL: all hosts have already failed -- aborting
PLAY RECAP ********************************************************************
to retry, use: --limit @/root/install.retry
server.ita.com : ok=19 changed=0 unreachable=0 failed=1
[error] Oops! An error occured while running setup.
[warn] /var/log/tower does not exist.
Setup log saved to setup.log. |
|