Difference between revisions of "Ubuntu:Openstack install"
Jump to navigation
Jump to search
(Created page with "<pre> hostnamectl set-hostname openstack-1.dt.internal vim /etc/hosts/ setenforce 0 cat /etc/selinux/semanage.conf apt install yum apt install yum-utils yum-config-manager --a...") |
|||
| Line 58: | Line 58: | ||
ip addr add 192.168.17.14/24 broadcast 192.168.17.255 dev ens3 label ens3:1 | ip addr add 192.168.17.14/24 broadcast 192.168.17.255 dev ens3 label ens3:1 | ||
| + | |||
| + | openstack_release: "stein" | ||
| + | --- | ||
| + | kolla_internal_vip_address: "192.168.17.14" # <--- this needs to be the aio ip addr | ||
| + | --- | ||
| + | docker_registry: "registry.define-technology.com:5000" | ||
| + | docker_registry_username: "definetech" | ||
| + | --- | ||
| + | network_interface: "ens3" | ||
| + | neutron_external_interface: "eth1" | ||
| + | # these next two lines need to be added - not uncommented | ||
| + | neutron_type_drivers: "local,flat,vlan,vxlan" | ||
| + | neutron_tenant_network_types: "local" | ||
| + | --- | ||
| + | enable_haproxy: "no" | ||
| + | --- | ||
| + | # At the bottom of the file, add custom tag for our horizon interface | ||
| + | horizon_tag: "stein-definetech" | ||
Revision as of 16:20, 26 February 2021
hostnamectl set-hostname openstack-1.dt.internal
vim /etc/hosts/
setenforce 0
cat /etc/selinux/semanage.conf
apt install yum
apt install yum-utils
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo (failed: List index out of range)
apt-get install \
apt-transport-https \
ca-certificates \
curl \
gnupg-agent \
software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo apt-key fingerprint 0EBFCD88
sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"
apt-get update
apt-get install docker-ce docker-ce-cli containerd.io
systemctl enable docker
systemctl start docker
ip link set dev ens3 up
apt-get install tmux
tmux new-session -s my-installer
tmux list-sessions
tmux attach -t my-installer
# on deploy node, verify no existing images
docker ps -a
docker images
docker login registry.define-technology.com:5000 (definetech / dtpass)
docker pull registry.define-technology.com:5000/kolla/kolla-deploy:train
docker images
docker tag registry.define-technology.com:5000/kolla/kolla-deploy:train kolla-deploy
docker images
docker create --name kolla-deploy --hostname kolla-deploy kolla-deploy
docker ps -a
mkdir ~/kolla
docker cp kolla-deploy:/kolla/kolla-ansible/etc/kolla/passwords.yml ~/kolla
docker cp kolla-deploy:/kolla/kolla-ansible/etc/kolla/globals.yml ~/kolla
docker cp kolla-deploy:/kolla/kolla-ansible/ansible/inventory/all-in-one ~/kolla
ip addr add 192.168.17.14/24 broadcast 192.168.17.255 dev ens3 label ens3:1
openstack_release: "stein"
---
kolla_internal_vip_address: "192.168.17.14" # <--- this needs to be the aio ip addr
---
docker_registry: "registry.define-technology.com:5000"
docker_registry_username: "definetech"
---
network_interface: "ens3"
neutron_external_interface: "eth1"
# these next two lines need to be added - not uncommented
neutron_type_drivers: "local,flat,vlan,vxlan"
neutron_tenant_network_types: "local"
---
enable_haproxy: "no"
---
# At the bottom of the file, add custom tag for our horizon interface
horizon_tag: "stein-definetech"