Browse Source

KAFKA-8344; Fix vagrant-up.sh to work with AWS properly

For now, `vagrant/vagrant-up.sh --aws` fails because
the `vagrant hostmanager` command in that script lacks
the `--aws` option. This PR adds it.

I ran `vagrant/vagrant-up.sh --aws` with and without
`--no-parallel` option and confirmed both worked
as expected.

Author: Kengo Seki <sekikn@apache.org>

Reviewers: Gwen Shapira

Closes #6703 from sekikn/KAFKA-8344
pull/6708/head
Kengo Seki 6 years ago committed by Gwen Shapira
parent
commit
c638235dbc
  1. 6
      vagrant/vagrant-up.sh

6
vagrant/vagrant-up.sh

@ -220,7 +220,7 @@ function bring_up_aws { @@ -220,7 +220,7 @@ function bring_up_aws {
# We still have to bring up zookeeper/broker nodes serially
echo "Bringing up zookeeper/broker machines serially"
vagrant up --provider=aws --no-parallel --no-provision $zk_broker_machines $debug
vagrant hostmanager
vagrant hostmanager --provider=aws
vagrant provision
fi
@ -231,11 +231,11 @@ function bring_up_aws { @@ -231,11 +231,11 @@ function bring_up_aws {
local vagrant_rsync_temp_dir=$(mktemp -d);
TMPDIR=$vagrant_rsync_temp_dir vagrant_batch_command "vagrant up $debug --provider=aws" "$worker_machines" "$max_parallel"
rm -rf $vagrant_rsync_temp_dir
vagrant hostmanager
vagrant hostmanager --provider=aws
fi
else
vagrant up --provider=aws --no-parallel --no-provision $debug
vagrant hostmanager
vagrant hostmanager --provider=aws
vagrant provision
fi

Loading…
Cancel
Save