Created
March 18, 2016 17:39
-
-
Save djazayeri/ed43212061b2cfe0d033 to your computer and use it in GitHub Desktop.
failure for endtb 1.0 with newer db dump
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TASK: [bahmni-web | Check if bahmni-web rpm needs an update] ****************** | |
<localhost> REMOTE_MODULE command yum list installed bahmni-web | |
<localhost> EXEC ['/bin/sh', '-c', 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1458322206.16-84569702859029 && echo $HOME/.ansible/tmp/ansible-tmp-1458322206.16-84569702859029'] | |
<localhost> PUT /tmp/tmpv5eMMc TO /root/.ansible/tmp/ansible-tmp-1458322206.16-84569702859029/command | |
<localhost> EXEC /bin/sh -c 'sudo -k && sudo -H -S -p "[sudo via ansible, key=ctcjhexfztakavtkimdxfycvgssgyovq] password: " -u root /bin/sh -c '"'"'echo BECOME-SUCCESS-ctcjhexfztakavtkimdxfycvgssgyovq; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1458322206.16-84569702859029/command; rm -rf /root/.ansible/tmp/ansible-tmp-1458322206.16-84569702859029/ >/dev/null 2>&1'"'"'' | |
failed: [localhost] => {"changed": true, "cmd": ["yum", "list", "installed", "bahmni-web"], "delta": "0:00:02.111244", "end": "2016-03-18 23:00:08.458928", "rc": 1, "start": "2016-03-18 23:00:06.347684", "warnings": ["Consider using yum module rather than running yum"]} | |
stderr: Error: No matching Packages to list | |
stdout: Loaded plugins: fastestmirror | |
...ignoring |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TASK: [bahmni-web | Install bahmni-web from bahmni repo] ********************** | |
<localhost> REMOTE_MODULE yum name="bahmni-web-0.80-325" state=present | |
<localhost> EXEC ['/bin/sh', '-c', 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1458322213.49-150058880080286 && echo $HOME/.ansible/tmp/ansible-tmp-1458322213.49-150058880080286'] | |
<localhost> PUT /tmp/tmp9dhOuN TO /root/.ansible/tmp/ansible-tmp-1458322213.49-150058880080286/yum | |
<localhost> EXEC /bin/sh -c 'sudo -k && sudo -H -S -p "[sudo via ansible, key=yhjrliogvivgmqvssmicpchhrjalqmou] password: " -u root /bin/sh -c '"'"'echo BECOME-SUCCESS-yhjrliogvivgmqvssmicpchhrjalqmou; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python -tt /root/.ansible/tmp/ansible-tmp-1458322213.49-150058880080286/yum; rm -rf /root/.ansible/tmp/ansible-tmp-1458322213.49-150058880080286/ >/dev/null 2>&1'"'"'' | |
failed: [localhost] => {"changed": true, "rc": 1, "results": ["Loaded plugins: fastestmirror\nSetting up Install Process\nLoading mirror speeds from cached hostfile\n * base: mirrors.usc.edu\n * epel: linux.mirrors.es.net\n * extras: mirror.web-ster.com\n * updates: repos.forethought.net\nResolving Dependencies\n--> Running transaction check\n---> Package bahmni-web.noarch 0:0.80-325 will be installed\n--> Processing Dependency: python-flask for package: bahmni-web-0.80-325.noarch\n--> Processing Dependency: mod_wsgi for package: bahmni-web-0.80-325.noarch\n--> Processing Dependency: mod_ssl for package: bahmni-web-0.80-325.noarch\n--> Processing Dependency: httpd for package: bahmni-web-0.80-325.noarch\n--> Running transaction check\n---> Package httpd.x86_64 0:2.2.15-47.el6.centos.3 will be installed\n--> Processing Dependency: httpd-tools = 2.2.15-47.el6.centos.3 for package: httpd-2.2.15-47.el6.centos.3.x86_64\n--> Processing Dependency: apr-util-ldap for package: httpd-2.2.15-47.el6.centos.3.x86_64\n--> Processing Dependency: /etc/mime.types for package: httpd-2.2.15-47.el6.centos.3.x86_64\n--> Processing Dependency: libaprutil-1.so.0()(64bit) for package: httpd-2.2.15-47.el6.centos.3.x86_64\n--> Processing Dependency: libapr-1.so.0()(64bit) for package: httpd-2.2.15-47.el6.centos.3.x86_64\n---> Package mod_ssl.x86_64 1:2.2.15-47.el6.centos.3 will be installed\n---> Package mod_wsgi.x86_64 0:3.2-7.el6 will be installed\n---> Package python-flask.noarch 1:0.9-7.el6 will be installed\n--> Processing Dependency: python-werkzeug for package: 1:python-flask-0.9-7.el6.noarch\n--> Processing Dependency: python-jinja2-26 for package: 1:python-flask-0.9-7.el6.noarch\n--> Running transaction check\n---> Package apr.x86_64 0:1.3.9-5.el6_2 will be installed\n---> Package apr-util.x86_64 0:1.3.9-3.el6_0.1 will be installed\n---> Package apr-util-ldap.x86_64 0:1.3.9-3.el6_0.1 will be installed\n---> Package httpd-tools.x86_64 0:2.2.15-47.el6.centos.3 will be installed\n---> Package mailcap.noarch 0:2.1.31-2.el6 will be installed\n---> Package python-jinja2-26.noarch 0:2.6-3.el6 will be installed\n--> Processing Dependency: python-markupsafe for package: python-jinja2-26-2.6-3.el6.noarch\n---> Package python-werkzeug.noarch 0:0.8.3-2.el6 will be installed\n--> Running transaction check\n---> Package python-markupsafe.x86_64 0:0.9.2-4.el6 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n bahmni-web noarch 0.80-325 bahmni 13 M\nInstalling for dependencies:\n apr x86_64 1.3.9-5.el6_2 base 123 k\n apr-util x86_64 1.3.9-3.el6_0.1 base 87 k\n apr-util-ldap x86_64 1.3.9-3.el6_0.1 base 15 k\n httpd x86_64 2.2.15-47.el6.centos.3 updates 831 k\n httpd-tools x86_64 2.2.15-47.el6.centos.3 updates 77 k\n mailcap noarch 2.1.31-2.el6 base 27 k\n mod_ssl x86_64 1:2.2.15-47.el6.centos.3 updates 95 k\n mod_wsgi x86_64 3.2-7.el6 base 66 k\n python-flask noarch 1:0.9-7.el6 epel 190 k\n python-jinja2-26 noarch 2.6-3.el6 epel 527 k\n python-markupsafe x86_64 0.9.2-4.el6 base 22 k\n python-werkzeug noarch 0.8.3-2.el6 epel 552 k\n\nTransaction Summary\n================================================================================\nInstall 13 Package(s)\n\nTotal download size: 15 M\nInstalled size: 68 M\nDownloading Packages:\n--------------------------------------------------------------------------------\nTotal 795 kB/s | 15 MB 00:19 \nRunning rpm_check_debug\nRunning Transaction Test\nTransaction Test Succeeded\nRunning Transaction\n\r Installing : apr-1.3.9-5.el6_2.x86_64 1/13 \n\r Installing : apr-util-1.3.9-3.el6_0.1.x86_64 2/13 \n\r Installing : apr-util-ldap-1.3.9-3.el6_0.1.x86_64 3/13 \n\r Installing : httpd-tools-2.2.15-47.el6.centos.3.x86_64 4/13 \n\r Installing : python-werkzeug-0.8.3-2.el6.noarch 5/13 \n\r Installing : mailcap-2.1.31-2.el6.noarch 6/13 \n\r Installing : httpd-2.2.15-47.el6.centos.3.x86_64 7/13 \n\r Installing : 1:mod_ssl-2.2.15-47.el6.centos.3.x86_64 8/13 \n\r Installing : mod_wsgi-3.2-7.el6.x86_64 9/13 \n\r Installing : python-markupsafe-0.9.2-4.el6.x86_64 10/13 \n\r Installing : python-jinja2-26-2.6-3.el6.noarch 11/13 \n\r Installing : 1:python-flask-0.9-7.el6.noarch 12/13 \n\r Installing : bahmni-web-0.80-325.noarch 13/13 \nerror: Couldn't fork %post(bahmni-web-0:0.80-325.noarch): Cannot allocate memory\nerror: Couldn't fork %posttrans(httpd-2.2.15-47.el6.centos.3.x86_64): Cannot allocate memory\n\r Verifying : 1:python-flask-0.9-7.el6.noarch 1/13 \n\r Verifying : python-markupsafe-0.9.2-4.el6.x86_64 2/13 \n\r Verifying : apr-util-ldap-1.3.9-3.el6_0.1.x86_64 3/13 \n\r Verifying : apr-1.3.9-5.el6_2.x86_64 4/13 \n\r Verifying : httpd-tools-2.2.15-47.el6.centos.3.x86_64 5/13 \n\r Verifying : apr-util-1.3.9-3.el6_0.1.x86_64 6/13 \n\r Verifying : 1:mod_ssl-2.2.15-47.el6.centos.3.x86_64 7/13 \n\r Verifying : python-jinja2-26-2.6-3.el6.noarch 8/13 \n\r Verifying : mailcap-2.1.31-2.el6.noarch 9/13 \n\r Verifying : mod_wsgi-3.2-7.el6.x86_64 10/13 \n\r Verifying : python-werkzeug-0.8.3-2.el6.noarch 11/13 \n\r Verifying : bahmni-web-0.80-325.noarch 12/13 \n\r Verifying : httpd-2.2.15-47.el6.centos.3.x86_64 13/13 \n\nDependency Installed:\n apr.x86_64 0:1.3.9-5.el6_2 \n apr-util.x86_64 0:1.3.9-3.el6_0.1 \n apr-util-ldap.x86_64 0:1.3.9-3.el6_0.1 \n httpd-tools.x86_64 0:2.2.15-47.el6.centos.3 \n mailcap.noarch 0:2.1.31-2.el6 \n mod_ssl.x86_64 1:2.2.15-47.el6.centos.3 \n mod_wsgi.x86_64 0:3.2-7.el6 \n python-flask.noarch 1:0.9-7.el6 \n python-jinja2-26.noarch 0:2.6-3.el6 \n python-markupsafe.x86_64 0:0.9.2-4.el6 \n python-werkzeug.noarch 0:0.8.3-2.el6 \n\nFailed:\n bahmni-web.noarch 0:0.80-325 httpd.x86_64 0:2.2.15-47.el6.centos.3 \n\nComplete!\n"]} | |
msg: Error in POSTIN scriptlet in rpm package bahmni-web-0.80-325.noarch | |
Error in POSTTRANS scriptlet in rpm package httpd-2.2.15-47.el6.centos.3.x86_64 | |
FATAL: all hosts have already failed -- aborting | |
PLAY RECAP ******************************************************************** | |
to retry, use: --limit @/root/all.retry | |
localhost : ok=94 changed=51 unreachable=0 failed=1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment