From 5718356eb23e614b27f0115e8e9ce4d96d4cb7ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Andr=C3=A9?= Date: Fri, 17 Jun 2016 14:46:58 +0200 Subject: [PATCH] Set internal vip to vagrant private network In vagrant environments, the kolla_internal_vip_address didn't belong to the private network provisioned on the machine and was failing the prechecks. TrivialFix Change-Id: I0e7e4d134e350c49ef7510c7262677754a83bcbf --- dev/vagrant/bootstrap.sh | 2 ++ doc/vagrant-dev-env.rst | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/dev/vagrant/bootstrap.sh b/dev/vagrant/bootstrap.sh index e4a982a641..70d129de4d 100644 --- a/dev/vagrant/bootstrap.sh +++ b/dev/vagrant/bootstrap.sh @@ -154,6 +154,8 @@ function configure_kolla { # Set network interfaces sed -i -r "s,^[# ]*network_interface:.+$,network_interface: \"eth1\"," /etc/kolla/globals.yml sed -i -r "s,^[# ]*neutron_external_interface:.+$,neutron_external_interface: \"eth2\"," /etc/kolla/globals.yml + # Set VIP address to be on the vagrant private network + sed -i -r "s,^[# ]*kolla_internal_vip_address:.+$,kolla_internal_vip_address: \"172.28.128.254\"," /etc/kolla/globals.yml } # Configure the operator node and install some additional packages. diff --git a/doc/vagrant-dev-env.rst b/doc/vagrant-dev-env.rst index 53726e4c33..f77b8b81f9 100644 --- a/doc/vagrant-dev-env.rst +++ b/doc/vagrant-dev-env.rst @@ -141,7 +141,7 @@ Validate OpenStack is operational:: source /etc/kolla/admin-openrc.sh openstack user list -Or navigate to http://10.10.10.254/ with a web browser. +Or navigate to http://172.28.128.254/ with a web browser. Further Reading ===============