Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
prerequisites: go-1.6.2 binary (go-1.6.2-ppc64le.tar.gz) | |
cd ~ | |
sudo tar xvfz go-1.6.2-ppc64le.tar.gz -C /usr/local | |
sudo ln -s /usr/local/go/bin/go /usr/local/bin | |
gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 | |
\curl -sSL https://get.rvm.io | bash -s stable --ruby=2.3.1 |
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
--- | |
name: bosh | |
releases: | |
- name: bosh | |
url: http://ftp.unicamp.br/pub/ppc64el/ubuntu/14_04/cloud-foundry/bosh-release.tgz | |
sha1: 3e828b4a47876c8065c1d28a0c24ec19f612efa2 | |
- name: bosh-openstack-cpi | |
url: http://ftp.unicamp.br/pub/ppc64el/ubuntu/14_04/cloud-foundry/cpi-release.tgz | |
sha1: 4b5613c7b4cf00fcd20a214a7b6689921a85ec6b |
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
cd ~ | |
mkdir -p ~/releases | |
sudo apt-get update | |
sudo apt-get install -y git libmysqlclient-dev libpq-dev libxml2-dev libxslt1-dev | |
gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 | |
\curl -sSL https://get.rvm.io | bash -s stable --ruby=2.3.1 | |
source ~/.rvm/scripts/rvm | |
gem install bundler -v 1.11 |
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
ubuntu@dance:~$ cf update-buildpack nodejsbp -p buildpack/ -i 1 --enable | |
Updating buildpack nodejsbp... | |
Done uploading | |
OK | |
ubuntu@dance:~$ cf buildpacks | |
Getting buildpacks... | |
buildpack position enabled locked filename | |
nodejsbp 1 true false buildpack.zip | |
nullbp 2 true false null-buildpack.zip |
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
root@f8e28372-a6f2-4828-bfef-82dd60a1d955:/var/vcap/sys/log/dea_next# cat dea_nextcfpushnullbperror.txt | |
{"timestamp":1441300178.7677147,"message":"nats.message.received","log_level":"debug","source":"Dea::Nats","data":{"subject":"staging.0-7c9872cd407e4178a707e7ed51cdf47f.start","data":{"app_id":"852e9f27-5ffe-4045-bb8d-6491cc38b163","stack":"trustyppc64le","task_id":"1a469d1b174240d3a25bf7d76510885b","properties":{"services":[],"resources":{"memory":512,"disk":1024,"fds":16384},"environment":["CF_STACK=trustyppc64le"],"meta":{"command":"./simple-go-web-app --port $PORT","console":false},"buildpack_key":"ac75f1e8-5ec6-4bfe-8e91-a6820522d928_6e8cca841eeae5ed9971745c7cc88d31978b1bfc"},"download_uri":"http://admin:admin@10.0.1.62:9022/staging/apps/852e9f27-5ffe-4045-bb8d-6491cc38b163","upload_uri":"http://admin:admin@10.0.1.62:9022/staging/droplets/852e9f27-5ffe-4045-bb8d-6491cc38b163/upload","buildpack_cache_download_uri":null,"buildpack_cache_upload_uri":"http://admin:admin@10.0.1.62:9022/staging/buildpack_cac |
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
root@f8e28372-a6f2-4828-bfef-82dd60a1d955:/var/vcap/sys/log/warden# tail -67 warden.log | |
{"timestamp":1441300179.67319,"message":"Container started","log_level":"debug","source":"Warden::Container::Linux","data":{"handle":"18up1lj60kp"},"thread_id":550160478920,"fiber_id":550166268140,"process_id":30147,"file":"/var/vcap/data/packages/warden/cfc2bf519afa88d1d093f47233a0568f139de744.1-dd65ea2bdb9a22becd6b39e033b8093ce88d347f/warden/lib/warden/container/linux.rb","lineno":108,"method":"do_create"} | |
{"timestamp":1441300179.6738367,"message":"Wrote snapshot in 0.000373","log_level":"debug","source":"Warden::Container::Linux","data":{"handle":"18up1lj60kp"},"thread_id":550160478920,"fiber_id":550166268140,"process_id":30147,"file":"/var/vcap/data/packages/warden/cfc2bf519afa88d1d093f47233a0568f139de744.1-dd65ea2bdb9a22becd6b39e033b8093ce88d347f/warden/lib/warden/container/base.rb","lineno":334,"method":"write_snapshot"} | |
{"timestamp":1441300179.6739779,"message":"create (took 0.882635)","log_level":"debug","source":" |
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
ubuntu@dance:~/go/src/github.com/allomov/simple-go-web-app$ cf push | |
Using manifest file /home/ubuntu/go/src/github.com/allomov/simple-go-web-app/manifest.yml | |
FAILED | |
Server error, status code: 0, error code: rest_client_error, message: I/O error on POST request for "http://uaa.10.0.1.57.xip.io/oauth/token":uaa.10.0.1.57.xip.io: Name or service not known; nested exception is java.net.UnknownHostException: uaa.10.0.1.57.xip.io: Name or service not known | |
ubuntu@dance:~/go/src/github.com/allomov/simple-go-web-app$ cf push -s trustyppc64le -b nullbp | |
Using manifest file /home/ubuntu/go/src/github.com/allomov/simple-go-web-app/manifest.yml | |
Using stack trustyppc64le... | |
OK |
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
root@f8e28372-a6f2-4828-bfef-82dd60a1d955:/var/vcap/sys/log/warden# cat warden.log | |
{"timestamp":1440690807.9646275,"message":"Configuration","log_level":"info","source":"Warden::Server","data":{"server":{"unix_domain_path":"/var/vcap/data/warden/warden.sock","unix_domain_permissions":511,"container_klass":"Warden::Container::Linux","container_grace_time":300,"job_output_limit":10485760,"quota":{"disk_quota_enabled":true},"allow_nested_warden":false,"container_rootfs_path":"/var/vcap/packages/rootfs_cflinuxfs2","container_depot_path":"/var/vcap/data/warden/depot","container_rlimits":{"core":0},"pidfile":"/var/vcap/sys/run/warden/warden.pid"},"logging":{"level":"debug","file":"/var/vcap/sys/log/warden/warden.log","syslog":"vcap.warden"},"network":{"pool_network":"10.254.0.0/22","deny_networks":[],"allow_networks":["172.16.0.0/24","192.168.111.0/24","140.211.168.0/24","10.0.1.0/24"],"allow_host_access":false,"mtu":1500},"port":{"pool_start_port":61001,"pool_size":4000},"user":{"pool_start_uid":20000,"pool_size": |
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
ubuntu@dance:~$ bosh vms | |
[WARNING] Loading the cli took 38.9 seconds, consider cleaning your gem environment | |
Acting as user 'admin' on 'my-bosh' | |
Deployment `cf' | |
Director task 53 | |
Task 53 done |