Repository: aurora Updated Branches: refs/heads/master 655105d3e -> 1a72438f0
Improve docker perf in the Vagrant vm. Use the aufs storage driver for better disk io perf and eliminate a high timeout workaround for slow container image copies. Bugs closed: AURORA-1784 Reviewed at https://reviews.apache.org/r/52422/ Project: http://git-wip-us.apache.org/repos/asf/aurora/repo Commit: http://git-wip-us.apache.org/repos/asf/aurora/commit/1a72438f Tree: http://git-wip-us.apache.org/repos/asf/aurora/tree/1a72438f Diff: http://git-wip-us.apache.org/repos/asf/aurora/diff/1a72438f Branch: refs/heads/master Commit: 1a72438f0c1122879ea44bef6696c993626fe3c0 Parents: 655105d Author: John Sirois <[email protected]> Authored: Fri Sep 30 08:54:03 2016 -0600 Committer: John Sirois <[email protected]> Committed: Fri Sep 30 08:54:03 2016 -0600 ---------------------------------------------------------------------- .../mesos_config/etc_mesos-slave/executor_registration_timeout | 1 - examples/vagrant/provision-dev-cluster.sh | 5 +++-- 2 files changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/aurora/blob/1a72438f/examples/vagrant/mesos_config/etc_mesos-slave/executor_registration_timeout ---------------------------------------------------------------------- diff --git a/examples/vagrant/mesos_config/etc_mesos-slave/executor_registration_timeout b/examples/vagrant/mesos_config/etc_mesos-slave/executor_registration_timeout deleted file mode 100644 index 108b54e..0000000 --- a/examples/vagrant/mesos_config/etc_mesos-slave/executor_registration_timeout +++ /dev/null @@ -1 +0,0 @@ -1mins http://git-wip-us.apache.org/repos/asf/aurora/blob/1a72438f/examples/vagrant/provision-dev-cluster.sh ---------------------------------------------------------------------- diff --git a/examples/vagrant/provision-dev-cluster.sh b/examples/vagrant/provision-dev-cluster.sh index 7a35971..66b99cf 100755 --- a/examples/vagrant/provision-dev-cluster.sh +++ b/examples/vagrant/provision-dev-cluster.sh @@ -51,8 +51,9 @@ EOF chown vagrant:vagrant /home/vagrant/.netrc } -function sudoless_docker_setup { +function docker_setup { gpasswd -a vagrant docker + echo 'DOCKER_OPTS="--storage-driver=aufs"' | sudo tee --append /etc/default/docker service docker restart } @@ -93,5 +94,5 @@ install_cluster_config install_ssh_config start_services configure_netrc -sudoless_docker_setup +docker_setup su vagrant -c "aurorabuild all"
