matsuu / ansible-isucon Goto Github PK
View Code? Open in Web Editor NEWAnsible playbooks for ISUCON
Home Page: http://d.hatena.ne.jp/tmatsuu/20150815/1439643715
License: MIT License
Ansible playbooks for ISUCON
Home Page: http://d.hatena.ne.jp/tmatsuu/20150815/1439643715
License: MIT License
https://github.com/matsuu/ansible-isucon/blob/master/isucon4-qualifier/01_qualifier.yml
の中に書いてある
http://nginx.org/packages/old/centos/6/x86_64/nginx-1.6.1-1.el6.ngx.x86_64.rpm
が404: not foundを返します。
==> default: TASK [yum] ********************************************************************* ==> default: fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "msg": "Failure downloading http://nginx.org/packages/old/centos/6/x86_64/nginx-1.6.1-1.el6.ngx.x86_64.rpm, HTTP Error 404: Not Found"} ==> default: to retry, use: --limit @/home/vagrant/ansible-isucon/isucon4-qualifier/playbook.retry ==> default: ==> default: PLAY RECAP ********************************************************************* ==> default: localhost : ok=34 changed=2 unreachable=0 failed=1 The SSH command responded with a non-zero exit status. Vagrant assumes that this means the command failed. The output for this command should be in the log above. Please read the output to determine what went wrong.
https://github.com/matsuu/azure-isucon-templates/tree/master/isucon5-qualifier のDeploy to Azure
でデプロイしようとするとprovisioningが失敗しました。
tail -f /var/log/cloud-init-output.log
fatal: [localhost]: FAILED! => {"changed": true, "cmd": ["/home/isucon/.xbuild/php-install", "5.6.13", "/home/isucon/.local/php", "--", "--with-pear", "--with-openssl"], "delta": "0:00:30.165388", "end": "2017-08-01 21:48:17.316274", "failed": true, "rc": 1, "start": "2017-08-01 21:47:47.150886", "stderr": "", "stdout": "Start to build php 5.6.13 ...\nphp-build failed. see log: /tmp/isucon-php-install.log", "stdout_lines": ["Start to build php 5.6.13 ...", "php-build failed. see log: /tmp/isucon-php-install.log"], "warnings": []}
/tmp/isucon-php-install.log
[Info]: Loaded extension plugin
[Info]: Loaded apc Plugin.
[Info]: Loaded composer Plugin.
[Info]: Loaded github Plugin.
[Info]: Loaded uprofiler Plugin.
[Info]: Loaded xdebug Plugin.
[Info]: Loaded xhprof Plugin.
[Info]: Loaded zendopcache Plugin.
[Info]: php.ini-production gets used as php.ini
[Info]: Building 5.6.13 into /home/isucon/.local/php
[Downloading]: https://secure.php.net/distributions/php-5.6.13.tar.bz2
[Preparing]: /tmp/php-build/source/5.6.13
-----------------
| BUILD ERROR |
-----------------
Here are the last 10 lines from the log:
-----------------------------------------
shtool:echo:Warning: unable to determine terminal sequence for bold mode
shtool:echo:Warning: unable to determine terminal sequence for bold mode
configure: WARNING: This bison version is not supported for regeneration of the Zend/PHP parsers (found: 3.0, min: 204, excluded: 3.0).
configure: error: Please reinstall the BZip2 distribution
-----------------------------------------
The full Log is available at '/tmp/php-build.5.6.13.20170801214748.log'.
[Warn]: Aborting build.
configure: error: Please reinstall the BZip2 distribution
と出ます。
00_devel.yml
に libbz2-dev
を追記することでprovisioningが成功することが確認できました。
正しい解決策なのか確信がないのでissueにしておきました。よろしくお願いします。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.