Skip to content

Instantly share code, notes, and snippets.

TASK [nova : Create cell0 mappings] **************************************************************************************************************************************
ok: [localhost -> localhost]
TASK [nova : include_tasks] **********************************************************************************************************************************************
skipping: [localhost]
TASK [Bootstrap upgrade] *************************************************************************************************************************************************
skipping: [localhost]
sd@aio1:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.3 LTS"
A. Install dependencies
A.1
sd@aio1:~$ sudo apt-get update
root@noc:/srv/zabbix-docker# docker-compose up zabbix-server
WARNING: Some services (zabbix-agent, zabbix-java-gateway, zabbix-proxy-mysql, zabbix-proxy-sqlite3, zabbix-server, zabbix-snmptraps, zabbix-web-apache-mysql, zabbix-web-nginx-mysql) use the 'deploy' key, which will be ignored. Compose does not support 'deploy' configuration - use `docker stack deploy` to deploy to a swarm.
Pulling zabbix-server (zabbix/zabbix-server-mysql:ubuntu-5.0-latest)...
ubuntu-5.0-latest: Pulling from zabbix/zabbix-server-mysql
23884877105a: Already exists
bc38caa0f5b9: Already exists
2910811b6c42: Already exists
36505266dcc6: Already exists
4ff5cb6fd948: Pull complete
(kolla-setup) root@aio1:/home/sd/kolla-setup# kolla-ansible -i ./all-in-one bootstrap-servers
Bootstrapping servers : ansible-playbook -i ./all-in-one -e @/etc/kolla/globals.yml -e @/etc/kolla/passwords.yml -e C
ONFIG_DIR=/etc/kolla -e kolla_action=bootstrap-servers /home/sd/kolla-setup/share/kolla-ansible/ansible/kolla-host.y
ml
[DEPRECATION WARNING]: The TRANSFORM_INVALID_GROUP_CHARS settings is set to allow bad characters in group names by
default, this will change, but still be user configurable on deprecation. This feature will be removed in version
2.10. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
[WARNING]: Invalid characters were found in group names but not replaced, use -vvvv to see details
## this is all-in-one install on localhost .. so being root# from start
# apt-get update
# apt-get install python-dev libffi-dev gcc libssl-dev python-selinux python-setuptools
## using virtualenv to setup the environment
apt-get install python-virtualenv
virtualenv kolla-setup
cd kolla-setup
set nat destination rule 101 destination port '500'
set nat destination rule 101 inbound-interface 'eth0'
set nat destination rule 101 protocol 'udp'
set nat destination rule 101 translation address '10.110.0.12'
set nat destination rule 102 destination port '4500'
set nat destination rule 102 inbound-interface 'eth0'
set nat destination rule 102 protocol 'udp'
set nat destination rule 102 translation address '10.110.0.12'
set nat destination rule 103 destination port '1194'
set nat destination rule 103 inbound-interface 'eth0'
---
# Copyright 2014, Rackspace US, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
---
cidr_networks:
container: 172.29.236.0/22
tunnel: 172.29.240.0/22
storage: 172.29.244.0/22
used_ips:
- "172.29.236.1,172.29.236.30"
- "172.29.239.231,172.29.239.254"
#
# https://wiki.debian.org/NetworkConfiguration
#
# The loopback network interface.
auto lo
iface lo inet loopback
# Additional network interfaces go below.
auto em49
# controllers
#
# https://wiki.debian.org/NetworkConfiguration
#
# The loopback network interface.
auto lo
iface lo inet loopback
# The two gigabit interfaces will be controller by OVS