3.7 KiB
Install via Devstack
Overview
Tacker provides some examples, or templates, of
local.conf
used for Devstack. You can find them in
${TACKER_ROOT}/devstack
directory in the tacker
repository.
Devstack supports installation from different code branch by
specifying branch name in your local.conf
as described in
below. If you install the latest version, use master
branch. On the other hand, if you install specific release, suppose
ussuri
in this case, branch name must be
stable/ussuri
.
For installation, stack.sh
script in Devstack should be
run as a non-root user with sudo enabled. Add a separate user
stack
and granting relevant privileges is a good way to
install via Devstack1.
Install
Devstack expects to be provided local.conf
before
running install script. The first step of installing tacker is to clone
Devstack and prepare your local.conf
.
Download DevStack
Get Devstack via git, with specific branch optionally if you prefer, and go down to the directory.
$ git clone https://opendev.org/openstack-dev/devstack -b <branch-name> $ cd devstack
Enable tacker related Devstack plugins in
local.conf
filelocal.conf
needs to be created by manual, or copied from Tacker repo2 renamed aslocal.conf
. We have two choices for configuration basically. First one is theall-in-one
mode that installs full Devstack environment including Tacker in one PC or Laptop. Second, it isstandalone
mode which only will install only Tacker environment with some mandatory OpenStack services. Nova, Neutron or other essential components are not included in this mode.All-in-one mode
There are two examples for
all-in-one
mode, targetting OpenStack or Kubernetes as VIM.local.conf
forall-in-one
mode with OpenStack3 is shown as below.../../../devstack/local.conf.example
The difference between
all-in-one
mode with Kubernetes4 is to deploy kuryr-kubernetes and octavia.../../../devstack/local.conf.kubernetes
Standalone mode
The
local.conf
file of standalone mode from5 is shown as below.../../../devstack/local.conf.standalone
Installation
After saving the
local.conf
, we can runstack.sh
in the terminal to start setting up.$ ./stack.sh
Footnotes
https://opendev.org/openstack/tacker/src/branch/master/devstack↩︎
https://opendev.org/openstack/tacker/src/branch/master/devstack/local.conf.example↩︎
https://opendev.org/openstack/tacker/src/branch/master/devstack/local.conf.kubernetes↩︎
https://opendev.org/openstack/tacker/src/branch/master/devstack/local.conf.standalone↩︎