Last active
March 9, 2020 09:27
-
-
Save ytooyama/5258b806cd9e1c44facdb745e80ee2a4 to your computer and use it in GitHub Desktop.
Minimal 2Node OpenStack Example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#2Node Minimai OpenStack | |
#OpenStack Base rev.59+ | |
#Deploy successful: Using Juju 2.6.3 and MAAS 2.5.3 | |
#Update Note: Change the settings,l2-population=no | |
machines: | |
'0': | |
constraints: "tags=bay11" | |
'1': | |
constraints: "tags=bay12" | |
relations: | |
- - nova-compute:amqp | |
- rabbitmq-server:amqp | |
- - neutron-gateway:amqp | |
- rabbitmq-server:amqp | |
- - keystone:shared-db | |
- mysql:shared-db | |
- - nova-cloud-controller:identity-service | |
- keystone:identity-service | |
- - glance:identity-service | |
- keystone:identity-service | |
- - neutron-api:identity-service | |
- keystone:identity-service | |
- - neutron-openvswitch:neutron-plugin-api | |
- neutron-api:neutron-plugin-api | |
- - neutron-api:shared-db | |
- mysql:shared-db | |
- - neutron-api:amqp | |
- rabbitmq-server:amqp | |
- - neutron-gateway:neutron-plugin-api | |
- neutron-api:neutron-plugin-api | |
- - glance:shared-db | |
- mysql:shared-db | |
- - glance:amqp | |
- rabbitmq-server:amqp | |
- - nova-cloud-controller:image-service | |
- glance:image-service | |
- - nova-compute:image-service | |
- glance:image-service | |
- - nova-cloud-controller:cloud-compute | |
- nova-compute:cloud-compute | |
- - nova-cloud-controller:amqp | |
- rabbitmq-server:amqp | |
- - nova-cloud-controller:quantum-network-service | |
- neutron-gateway:quantum-network-service | |
- - nova-compute:neutron-plugin | |
- neutron-openvswitch:neutron-plugin | |
- - neutron-openvswitch:amqp | |
- rabbitmq-server:amqp | |
- - openstack-dashboard:identity-service | |
- keystone:identity-service | |
- - openstack-dashboard:shared-db | |
- mysql:shared-db | |
- - nova-cloud-controller:shared-db | |
- mysql:shared-db | |
- - nova-cloud-controller:neutron-api | |
- neutron-api:neutron-api | |
- - ntp:juju-info | |
- nova-compute:juju-info | |
- - ntp:juju-info | |
- neutron-gateway:juju-info | |
services: | |
ntp: | |
annotations: | |
gui-x: '1000' | |
gui-y: '0' | |
charm: cs:bionic/ntp | |
num_units: 0 | |
rabbitmq-server: | |
annotations: | |
gui-x: '500' | |
gui-y: '250' | |
bindings: | |
? '' | |
: public-space | |
charm: cs:bionic/rabbitmq-server | |
num_units: 1 | |
options: | |
access-network: 172.17.28.0/24 | |
min-cluster-size: 1 | |
to: | |
- lxd:1 | |
mysql: | |
annotations: | |
gui-x: '0' | |
gui-y: '250' | |
bindings: | |
? '' | |
: public-space | |
charm: cs:bionic/percona-cluster | |
num_units: 1 | |
options: | |
access-network: 172.17.28.0/24 | |
min-cluster-size: 1 | |
ha-bindiface: eth0 | |
vip_iface: eth0 | |
max-connections: 5000 | |
to: | |
- lxd:0 | |
keystone: | |
annotations: | |
gui-x: '500' | |
gui-y: '0' | |
bindings: | |
? '' | |
: public-space | |
charm: cs:bionic/keystone | |
num_units: 1 | |
options: | |
token-provider: fernet | |
openstack-origin: cloud:bionic-stein | |
admin-password: password | |
admin-token: ubuntuopenstack | |
os-public-network: 172.17.28.0/24 | |
os-admin-network: 172.17.28.0/24 | |
preferred-api-version: 3 | |
worker-multiplier: 0.25 | |
to: | |
- lxd:0 | |
glance: | |
annotations: | |
gui-x: '250' | |
gui-y: '0' | |
bindings: | |
? '' | |
: public-space | |
charm: cs:bionic/glance | |
num_units: 1 | |
options: | |
openstack-origin: cloud:bionic-stein | |
worker-multiplier: 0.25 | |
to: | |
- lxd:0 | |
openstack-dashboard: | |
annotations: | |
gui-x: '500' | |
gui-y: '-250' | |
bindings: | |
? '' | |
: public-space | |
charm: cs:bionic/openstack-dashboard | |
num_units: 1 | |
options: | |
openstack-origin: cloud:bionic-stein | |
default-domain: admin_domain | |
default-create-volume: false | |
to: | |
- lxd:0 | |
neutron-api: | |
annotations: | |
gui-x: '500' | |
gui-y: '500' | |
bindings: | |
? '' | |
: public-space | |
charm: cs:bionic/neutron-api | |
num_units: 1 | |
options: | |
openstack-origin: cloud:bionic-stein | |
flat-network-providers: physnet1 | |
neutron-security-groups: true | |
worker-multiplier: 0.25 | |
l2-population: false | |
to: | |
- lxd:0 | |
neutron-gateway: | |
annotations: | |
gui-x: '0' | |
gui-y: '0' | |
bindings: | |
? '' | |
: public-space | |
charm: cs:bionic/neutron-gateway | |
num_units: 1 | |
options: | |
openstack-origin: cloud:bionic-stein | |
bridge-mappings: physnet1:br-ex | |
#Set the Neutron-gateway Nodes NIC port 2. | |
data-port: br-ex:eno2 | |
worker-multiplier: 0.25 | |
to: | |
- 0 | |
neutron-openvswitch: | |
annotations: | |
gui-x: '250' | |
gui-y: '500' | |
charm: cs:bionic/neutron-openvswitch | |
num_units: 0 | |
nova-cloud-controller: | |
annotations: | |
gui-x: '0' | |
gui-y: '500' | |
bindings: | |
? '' | |
: public-space | |
charm: cs:bionic/nova-cloud-controller | |
num_units: 1 | |
options: | |
openstack-origin: cloud:bionic-stein | |
console-access-protocol: novnc | |
network-manager: Neutron | |
worker-multiplier: 0.25 | |
to: | |
- lxd:0 | |
nova-compute: | |
annotations: | |
gui-x: '250' | |
gui-y: '250' | |
bindings: | |
? '' | |
: public-space | |
charm: cs:bionic/nova-compute | |
num_units: 1 | |
options: | |
openstack-origin: cloud:bionic-stein | |
config-flags: default_ephemeral_format=ext4 | |
enable-live-migration: true | |
enable-resize: true | |
migration-auth-type: ssh | |
to: | |
- 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment