everpeace / vagrant-mesos

Spin up your Mesos Cluster with Vagrant! (VirtualBox and AWS)
https://github.com/everpeace/vagrant-mesos
MIT License
432 stars 139 forks source link

vagrant status zk1 is super slow #62

Open davideuler opened 9 years ago

davideuler commented 9 years ago

it cost about 15sec - 2minutes. Also vagrant ssh xxx cost lots of time(more than 6seconds) too. While ssh master1-ip, ssh zk-ip is super fast (less than 1secs)

davideuler commented 9 years ago

I've no clue why it cost more than 3 seconds between configuration loading and find active machines.

I inserted some debug code in vagrant script, got the log as bellow: The time between "push: finalizing" and "Active machine found with" logged is longer than 30 seconds sometimes.

INFO loader: Loading configuration in order: [:home, :root]26/05/2015 21:33 52 DEBUG loader: Loading from: root (evaluating) INFO vagrantfile: hello world 1 26/05/2015 21:33 52 DEBUG loader: Configuration loaded successfully, finalizing and returning26/05/2015 21:33 52 DEBUG push: finalizing 26/05/2015 21:33 52 DEBUG push: finalized: 26/05/2015 21:33 52 INFO command: Active machine found with name zk1. Using provider: virtualbox26/05/2015 21:33 55 INFO environment: Getting machine: zk1 (virtualbox) INFO environment: Uncached load of machine. INFO base: ###################initializing:26/05/2015 21:33 55 INFO base: VBoxManage path: VBoxManage26/05/2015 21:33 55

everpeace commented 9 years ago

@davideuler could you provide your cluster.yml for my digging the issue??