Commit Graph

99 Commits

Author SHA1 Message Date
Johannes Zellner 30e0cb6515 Upload box tarballs with public acl 2016-01-02 15:29:20 +01:00
Johannes Zellner b4bef44135 Do not put docker images into te btrfs volume 2016-01-01 16:10:16 +01:00
Johannes Zellner 3ee1487985 We might support more than just caas and selfhosted 2015-12-29 17:57:11 +01:00
Johannes Zellner 3eb1fe5e4b Ensure we reload the systemd daemon to pickup the new service files 2015-12-23 13:58:35 +01:00
Johannes Zellner 08ba6ac831 Docker does not have a -d option anymore
This was depricated in 1.8 and is now gone
https://github.com/docker/docker/blob/master/CHANGELOG.md#cli
2015-12-23 13:32:37 +01:00
Johannes Zellner 87e0876cce Only pull infra images if we have an INFRA_VERSION file 2015-12-23 13:27:33 +01:00
Johannes Zellner 05af56defc Fix typo 2015-12-20 14:58:05 +01:00
Johannes Zellner ce48a2fc12 Some small fixes for selfhost 2015-12-20 12:01:18 +01:00
Johannes Zellner a2d0ac7ee3 Run installer with selfhost flag 2015-12-20 10:22:55 +01:00
Johannes Zellner 20ac2ff6e7 Do not move ssh port in selfhosting case 2015-12-19 21:56:00 +01:00
Johannes Zellner 0c2fb7c0d9 Use multipart upload for s3 by reducing the chunk size
This avoids file upload issues for larger files
2015-12-19 17:50:54 +01:00
Girish Ramakrishnan 72cc318607 install docker 1.9.1
We hit this error:
https://github.com/docker/docker/issues/18283
https://github.com/docker/docker/issues/17083
2015-12-15 17:17:28 -08:00
Girish Ramakrishnan b533d325a4 Creating containers fails sporadically
HTTP code is 500 which indicates error: server error - Cannot start container redis-9d0ae0eb-a08f-4d0d-a980-ac6fa15d1a3d: [8] System error: write /sys/fs/cgroup/memory/system.slice/docker-fa6d6f3fce88f15844710e6ce4a8ac4d3a42e329437501416991b4c55ea3d078.scope/memory.memsw.limit_in_bytes: invalid argument

https://github.com/docker/docker/issues/16256
https://github.com/docker/docker/pull/17704
https://github.com/docker/docker/issues/17653
2015-12-15 15:02:45 -08:00
Girish Ramakrishnan 9dad7ff563 Fix sed 2015-12-15 14:43:01 -08:00
Girish Ramakrishnan 606885b23c fix typo 2015-11-23 13:51:14 -08:00
Girish Ramakrishnan bc7b8aadc4 vultr: fix waitForSnapshot call 2015-11-23 13:39:02 -08:00
Girish Ramakrishnan d136b2065f ignore vultr transfer image call 2015-11-23 13:35:36 -08:00
Girish Ramakrishnan 3b2683463d localize transfer logic for DO 2015-11-23 13:35:05 -08:00
Girish Ramakrishnan 989730d402 wait for snapshot 2015-11-23 13:19:23 -08:00
Girish Ramakrishnan 50f7209ba2 print the provider 2015-11-23 12:46:08 -08:00
Girish Ramakrishnan 44b728c660 remove get_image_id api 2015-11-23 12:45:09 -08:00
Girish Ramakrishnan 9abc5bbf96 better error handling 2015-11-23 12:37:30 -08:00
Girish Ramakrishnan 56dd936e9c create systemd log dir if needed 2015-11-23 12:33:45 -08:00
Girish Ramakrishnan e982281cd4 install acl 2015-11-23 11:32:05 -08:00
Girish Ramakrishnan a6b7b5fa94 complete vultr backend 2015-11-23 11:30:24 -08:00
Girish Ramakrishnan ef00114aab rename arg box to name 2015-11-23 11:20:21 -08:00
Girish Ramakrishnan ba4edc5c0e implement some vultr api 2015-11-23 11:01:52 -08:00
Girish Ramakrishnan dae2d81764 remove image_region as well 2015-11-23 10:49:09 -08:00
Girish Ramakrishnan cee9cd14c0 hardcode the box size to smallest 2015-11-23 10:46:16 -08:00
Girish Ramakrishnan f1ec110673 vultr: getSshKeyId 2015-11-23 10:27:27 -08:00
Girish Ramakrishnan 7104a3b738 use debug to put messages in stderr 2015-11-23 10:14:40 -08:00
Girish Ramakrishnan 114951b18c add get_image_id command 2015-11-23 09:31:42 -08:00
Girish Ramakrishnan 3c85a602a4 add vultr backend 2015-11-23 09:22:43 -08:00
Girish Ramakrishnan a6415b8689 remove droplet from command names 2015-11-23 09:13:30 -08:00
Girish Ramakrishnan b37670de84 make DO backend a binary 2015-11-23 08:59:45 -08:00
Girish Ramakrishnan c9053bb0bc rename image creation schript 2015-11-23 08:39:21 -08:00
Girish Ramakrishnan 5362102be6 add --provider 2015-11-23 08:38:56 -08:00
Girish Ramakrishnan bf4601470b remove functions not part of vps api 2015-11-23 08:33:57 -08:00
Girish Ramakrishnan bd6274282b s/droplet/server 2015-11-23 08:32:54 -08:00
Girish Ramakrishnan 331b4d8524 use docker 1.9.0 2015-11-18 18:28:28 -08:00
Girish Ramakrishnan 1e19f68cb5 Install docker binaries instead of apt
The apt binaries lxc-* are obsolete and replaced with 'docker-engine'
packages. The new repos however do not allow pinning to a specific version.

so brain dead.

https://docs.docker.com/engine/installation/binaries/#get-the-linux-binary
2015-11-18 13:02:51 -08:00
Girish Ramakrishnan c286b491d6 Fix debug output 2015-11-16 16:43:53 -08:00
Girish Ramakrishnan 87d109727a fix path to secrets 2015-11-16 15:08:26 -08:00
Girish Ramakrishnan 47b6819ec8 scp does not require this option 2015-11-16 14:48:05 -08:00
Girish Ramakrishnan 00ee89a693 fix paths 2015-11-16 14:31:39 -08:00
Girish Ramakrishnan ac14b08af4 we have to use 4.1.1 2015-11-16 14:31:39 -08:00
Girish Ramakrishnan db97d7e836 Fix options usage 2015-11-16 13:15:12 -08:00
Girish Ramakrishnan 5a0c80611e better error message 2015-11-16 12:15:44 -08:00
Girish Ramakrishnan 4e872865a3 use different keys for different env 2015-11-16 12:15:15 -08:00
Girish Ramakrishnan aea39a83b6 change yellowtent key to caas 2015-11-16 12:12:07 -08:00