Last active
April 1, 2019 16:07
-
-
Save d34dh0r53/8ee8fed2a56657c69473cfec0cb089c4 to your computer and use it in GitHub Desktop.
K8S Multinode VMs
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
diff --git a/multi-node-aio/playbooks/group_vars/all.yml b/multi-node-aio/playbooks/group_vars/all.yml | |
index b3207c5..b9a5626 100644 | |
--- a/multi-node-aio/playbooks/group_vars/all.yml | |
+++ b/multi-node-aio/playbooks/group_vars/all.yml | |
@@ -127,25 +127,6 @@ mnaio_host_networks: | |
inet_type: 'static' | |
address: '10.0.248.1/22' | |
iface_port: none | |
- vlan: | |
- iface: 'vm-br-eth3' | |
- inet_type: 'manual' | |
- iface_port: none | |
- vxlan: | |
- iface: 'vm-br-eth4' | |
- inet_type: 'static' | |
- address: '10.0.240.1/22' | |
- iface_port: none | |
- storage: | |
- iface: 'vm-br-eth5' | |
- inet_type: 'static' | |
- address: '10.0.244.1/22' | |
- iface_port: none | |
- lbaas: | |
- iface: 'vm-br-eth6' | |
- inet_type: 'static' | |
- address: '10.0.232.1/22' | |
- iface_port: none | |
osa_enable_infra: true | |
osa_enable_identity: true | |
diff --git a/multi-node-aio/playbooks/group_vars/dhcp_hosts.yml b/multi-node-aio/playbooks/group_vars/dhcp_hosts.yml | |
index 79e3ca1..82e6fad 100644 | |
--- a/multi-node-aio/playbooks/group_vars/dhcp_hosts.yml | |
+++ b/multi-node-aio/playbooks/group_vars/dhcp_hosts.yml | |
@@ -27,4 +27,4 @@ dhcp_list: | |
max_lease_time: 43200 # Subnet Max lease time - The default is used if this is not defined | |
ipxe_boot_file: "boot.ipxe" # Path of initial iPXE bootloader to boot from first | |
tftp_server: "{{ tftp_server }}" # The server hosting the TFTP server - The default is used if this is not defined | |
- dhcp_default_domain_name: openstackci.local | |
+ dhcp_default_domain_name: gitlab.d34dh0r53.com | |
diff --git a/multi-node-aio/playbooks/group_vars/infra_hosts.yml b/multi-node-aio/playbooks/group_vars/infra_hosts.yml | |
index bc56e42..f58ff39 100644 | |
--- a/multi-node-aio/playbooks/group_vars/infra_hosts.yml | |
+++ b/multi-node-aio/playbooks/group_vars/infra_hosts.yml | |
@@ -15,7 +15,7 @@ | |
ansible_os_family: "{{ images[default_vm_image]['image_type'] }}" | |
-server_domain_name: 'openstack.local' # str - required, domain name of server | |
+server_domain_name: '<your name here>' # str - required, domain name of server | |
server_vm: true # bool - not required, used to specify a host is to become a VM | |
server_vm_ram: '{{ infra_vm_server_ram | default(16384) }}' # int - not required, used to specify ram when provisioning a VM | |
server_vm_vcpus: '{{ infra_vm_server_vcpus | default(4) }}' # int - not required, used to specify vcpus when provisioning a VM | |
diff --git a/multi-node-aio/playbooks/host_vars/ceph1.yml b/multi-node-aio/playbooks/host_vars/ceph1.yml | |
deleted file mode 100644 | |
index 0bdeb0a..0000000 | |
--- a/multi-node-aio/playbooks/host_vars/ceph1.yml | |
+++ /dev/null | |
@@ -1,50 +0,0 @@ | |
---- | |
-# Copyright 2018, 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 witing, software | |
-# distributed under the License is distributed on an "AS IS" BASIS, | |
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
-# See the License for the specific language governing permissions and | |
-# limitations under the License. | |
- | |
-ansible_os_family: "{{ images[default_vm_image]['image_type'] }}" | |
- | |
-server_hostname: 'ceph1' | |
-server_vm_fixed_addr: '10.0.2.145' | |
-server_mac_address: '52:54:00:bd:80:13' | |
- | |
-server_networks: | |
- dhcp: | |
- iface: 'eth0' | |
- inet_type: 'dhcp' | |
- vm_int_iface: vm-br-dhcp | |
- mgmt: | |
- iface: 'eth1' | |
- inet_type: 'static' | |
- address: '10.0.236.145/22' | |
- vm_int_iface: vm-br-eth1 | |
- flat: | |
- iface: 'eth2' | |
- inet_type: 'static' | |
- address: '10.0.248.145/22' | |
- vm_int_iface: vm-br-eth2 | |
- vlan: | |
- iface: 'eth3' | |
- inet_type: 'manual' | |
- vm_int_iface: vm-br-eth3 | |
- vxlan: | |
- iface: 'eth4' | |
- inet_type: 'static' | |
- address: '10.0.240.145/22' | |
- vm_int_iface: vm-br-eth4 | |
- storage: | |
- iface: 'eth5' | |
- inet_type: 'static' | |
- address: '10.0.244.145/22' | |
- vm_int_iface: vm-br-eth5 | |
diff --git a/multi-node-aio/playbooks/host_vars/ceph2.yml b/multi-node-aio/playbooks/host_vars/ceph2.yml | |
deleted file mode 100644 | |
index b1546b0..0000000 | |
--- a/multi-node-aio/playbooks/host_vars/ceph2.yml | |
+++ /dev/null | |
@@ -1,50 +0,0 @@ | |
---- | |
-# Copyright 2018, 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 witing, software | |
-# distributed under the License is distributed on an "AS IS" BASIS, | |
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
-# See the License for the specific language governing permissions and | |
-# limitations under the License. | |
- | |
-ansible_os_family: "{{ images[default_vm_image]['image_type'] }}" | |
- | |
-server_hostname: 'ceph2' | |
-server_vm_fixed_addr: '10.0.2.161' | |
-server_mac_address: '52:54:00:bd:80:14' | |
- | |
-server_networks: | |
- dhcp: | |
- iface: 'eth0' | |
- inet_type: 'dhcp' | |
- vm_int_iface: vm-br-dhcp | |
- mgmt: | |
- iface: 'eth1' | |
- inet_type: 'static' | |
- address: '10.0.236.146/22' | |
- vm_int_iface: vm-br-eth1 | |
- flat: | |
- iface: 'eth2' | |
- inet_type: 'static' | |
- address: '10.0.248.146/22' | |
- vm_int_iface: vm-br-eth2 | |
- vlan: | |
- iface: 'eth3' | |
- inet_type: 'manual' | |
- vm_int_iface: vm-br-eth3 | |
- vxlan: | |
- iface: 'eth4' | |
- inet_type: 'static' | |
- address: '10.0.240.146/22' | |
- vm_int_iface: vm-br-eth4 | |
- storage: | |
- iface: 'eth5' | |
- inet_type: 'static' | |
- address: '10.0.244.146/22' | |
- vm_int_iface: vm-br-eth5 | |
diff --git a/multi-node-aio/playbooks/host_vars/ceph3.yml b/multi-node-aio/playbooks/host_vars/ceph3.yml | |
deleted file mode 100644 | |
index be33529..0000000 | |
--- a/multi-node-aio/playbooks/host_vars/ceph3.yml | |
+++ /dev/null | |
@@ -1,50 +0,0 @@ | |
---- | |
-# Copyright 2018, 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 witing, software | |
-# distributed under the License is distributed on an "AS IS" BASIS, | |
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
-# See the License for the specific language governing permissions and | |
-# limitations under the License. | |
- | |
-ansible_os_family: "{{ images[default_vm_image]['image_type'] }}" | |
- | |
-server_hostname: 'ceph3' | |
-server_vm_fixed_addr: '10.0.2.162' | |
-server_mac_address: '52:54:00:bd:80:15' | |
- | |
-server_networks: | |
- dhcp: | |
- iface: 'eth0' | |
- inet_type: 'dhcp' | |
- vm_int_iface: vm-br-dhcp | |
- mgmt: | |
- iface: 'eth1' | |
- inet_type: 'static' | |
- address: '10.0.236.147/22' | |
- vm_int_iface: vm-br-eth1 | |
- flat: | |
- iface: 'eth2' | |
- inet_type: 'static' | |
- address: '10.0.248.147/22' | |
- vm_int_iface: vm-br-eth2 | |
- vlan: | |
- iface: 'eth3' | |
- inet_type: 'manual' | |
- vm_int_iface: vm-br-eth3 | |
- vxlan: | |
- iface: 'eth4' | |
- inet_type: 'static' | |
- address: '10.0.240.147/22' | |
- vm_int_iface: vm-br-eth4 | |
- storage: | |
- iface: 'eth5' | |
- inet_type: 'static' | |
- address: '10.0.244.147/22' | |
- vm_int_iface: vm-br-eth5 | |
diff --git a/multi-node-aio/playbooks/host_vars/cinder1.yml b/multi-node-aio/playbooks/host_vars/cinder1.yml | |
deleted file mode 100644 | |
index 58c35da..0000000 | |
--- a/multi-node-aio/playbooks/host_vars/cinder1.yml | |
+++ /dev/null | |
@@ -1,48 +0,0 @@ | |
---- | |
-# Copyright 2017, 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 witing, software | |
-# distributed under the License is distributed on an "AS IS" BASIS, | |
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
-# See the License for the specific language governing permissions and | |
-# limitations under the License. | |
- | |
-server_hostname: 'cinder1' | |
-server_vm_fixed_addr: '10.0.2.130' | |
-server_mac_address: '52:54:00:bd:80:07' | |
- | |
-server_networks: | |
- dhcp: | |
- iface: 'eth0' | |
- inet_type: 'dhcp' | |
- vm_int_iface: vm-br-dhcp | |
- mgmt: | |
- iface: 'eth1' | |
- inet_type: 'static' | |
- address: '10.0.236.130/22' | |
- vm_int_iface: vm-br-eth1 | |
- flat: | |
- iface: 'eth2' | |
- inet_type: 'static' | |
- address: '10.0.248.130/22' | |
- vm_int_iface: vm-br-eth2 | |
- vlan: | |
- iface: 'eth3' | |
- inet_type: 'manual' | |
- vm_int_iface: vm-br-eth3 | |
- vxlan: | |
- iface: 'eth4' | |
- inet_type: 'static' | |
- address: '10.0.240.130/22' | |
- vm_int_iface: vm-br-eth4 | |
- storage: | |
- iface: 'eth5' | |
- inet_type: 'static' | |
- address: '10.0.244.130/22' | |
- vm_int_iface: vm-br-eth5 | |
diff --git a/multi-node-aio/playbooks/host_vars/cinder2.yml b/multi-node-aio/playbooks/host_vars/cinder2.yml | |
deleted file mode 100644 | |
index 76a0948..0000000 | |
--- a/multi-node-aio/playbooks/host_vars/cinder2.yml | |
+++ /dev/null | |
@@ -1,48 +0,0 @@ | |
---- | |
-# Copyright 2017, 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 witing, software | |
-# distributed under the License is distributed on an "AS IS" BASIS, | |
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
-# See the License for the specific language governing permissions and | |
-# limitations under the License. | |
- | |
-server_hostname: 'cinder2' | |
-server_vm_fixed_addr: '10.0.2.131' | |
-server_mac_address: '52:54:00:bd:80:08' | |
- | |
-server_networks: | |
- dhcp: | |
- iface: 'eth0' | |
- inet_type: 'dhcp' | |
- vm_int_iface: vm-br-dhcp | |
- mgmt: | |
- iface: 'eth1' | |
- inet_type: 'static' | |
- address: '10.0.236.131/22' | |
- vm_int_iface: vm-br-eth1 | |
- flat: | |
- iface: 'eth2' | |
- inet_type: 'static' | |
- address: '10.0.248.131/22' | |
- vm_int_iface: vm-br-eth2 | |
- vlan: | |
- iface: 'eth3' | |
- inet_type: 'manual' | |
- vm_int_iface: vm-br-eth3 | |
- vxlan: | |
- iface: 'eth4' | |
- inet_type: 'static' | |
- address: '10.0.240.131/22' | |
- vm_int_iface: vm-br-eth4 | |
- storage: | |
- iface: 'eth5' | |
- inet_type: 'static' | |
- address: '10.0.244.131/22' | |
- vm_int_iface: vm-br-eth5 | |
diff --git a/multi-node-aio/playbooks/host_vars/compute1.yml b/multi-node-aio/playbooks/host_vars/compute1.yml | |
deleted file mode 100644 | |
index f81a0af..0000000 | |
--- a/multi-node-aio/playbooks/host_vars/compute1.yml | |
+++ /dev/null | |
@@ -1,53 +0,0 @@ | |
---- | |
-# Copyright 2017, 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 witing, software | |
-# distributed under the License is distributed on an "AS IS" BASIS, | |
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
-# See the License for the specific language governing permissions and | |
-# limitations under the License. | |
- | |
-server_hostname: 'compute1' | |
-server_vm_fixed_addr: '10.0.2.120' | |
-server_mac_address: '52:54:00:bd:80:05' | |
- | |
-server_networks: | |
- dhcp: | |
- iface: 'eth0' | |
- inet_type: 'dhcp' | |
- vm_int_iface: vm-br-dhcp | |
- mgmt: | |
- iface: 'eth1' | |
- inet_type: 'static' | |
- address: '10.0.236.120/22' | |
- vm_int_iface: vm-br-eth1 | |
- flat: | |
- iface: 'eth2' | |
- inet_type: 'static' | |
- address: '10.0.248.120/22' | |
- vm_int_iface: vm-br-eth2 | |
- vlan: | |
- iface: 'eth3' | |
- inet_type: 'manual' | |
- vm_int_iface: vm-br-eth3 | |
- vxlan: | |
- iface: 'eth4' | |
- inet_type: 'static' | |
- address: '10.0.240.120/22' | |
- vm_int_iface: vm-br-eth4 | |
- storage: | |
- iface: 'eth5' | |
- inet_type: 'static' | |
- address: '10.0.244.120/22' | |
- vm_int_iface: vm-br-eth5 | |
- lbaas: | |
- iface: 'eth6' | |
- inet_type: 'static' | |
- address: '10.0.232.120/22' | |
- vm_int_iface: vm-br-eth6 | |
\ No newline at end of file | |
diff --git a/multi-node-aio/playbooks/host_vars/compute2.yml b/multi-node-aio/playbooks/host_vars/compute2.yml | |
deleted file mode 100644 | |
index e650f1f..0000000 | |
--- a/multi-node-aio/playbooks/host_vars/compute2.yml | |
+++ /dev/null | |
@@ -1,53 +0,0 @@ | |
---- | |
-# Copyright 2017, 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 witing, software | |
-# distributed under the License is distributed on an "AS IS" BASIS, | |
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
-# See the License for the specific language governing permissions and | |
-# limitations under the License. | |
- | |
-server_hostname: 'compute2' | |
-server_vm_fixed_addr: '10.0.2.121' | |
-server_mac_address: '52:54:00:bd:80:06' | |
- | |
-server_networks: | |
- dhcp: | |
- iface: 'eth0' | |
- inet_type: 'dhcp' | |
- vm_int_iface: vm-br-dhcp | |
- mgmt: | |
- iface: 'eth1' | |
- inet_type: 'static' | |
- address: '10.0.236.121/22' | |
- vm_int_iface: vm-br-eth1 | |
- flat: | |
- iface: 'eth2' | |
- inet_type: 'static' | |
- address: '10.0.248.121/22' | |
- vm_int_iface: vm-br-eth2 | |
- vlan: | |
- iface: 'eth3' | |
- inet_type: 'manual' | |
- vm_int_iface: vm-br-eth3 | |
- vxlan: | |
- iface: 'eth4' | |
- inet_type: 'static' | |
- address: '10.0.240.121/22' | |
- vm_int_iface: vm-br-eth4 | |
- storage: | |
- iface: 'eth5' | |
- inet_type: 'static' | |
- address: '10.0.244.121/22' | |
- vm_int_iface: vm-br-eth5 | |
- lbaas: | |
- iface: 'eth6' | |
- inet_type: 'static' | |
- address: '10.0.232.121/22' | |
- vm_int_iface: vm-br-eth6 | |
\ No newline at end of file | |
diff --git a/multi-node-aio/playbooks/host_vars/example-host1.yml.example b/multi-node-aio/playbooks/host_vars/example-host1.yml.example | |
deleted file mode 100644 | |
index fae64f1..0000000 | |
--- a/multi-node-aio/playbooks/host_vars/example-host1.yml.example | |
+++ /dev/null | |
@@ -1,64 +0,0 @@ | |
---- | |
-# Copyright 2017, 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 witing, software | |
-# distributed under the License is distributed on an "AS IS" BASIS, | |
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
-# See the License for the specific language governing permissions and | |
-# limitations under the License. | |
- | |
-ansible_os_family: "{{ images[default_vm_image]['image_type'] }}" # str - Set the ansible os family | |
- | |
-server_hostname: 'host1' # str - required, hostname of server | |
-server_domain_name: 'openstack.local' # str - required, domain name of server | |
-server_vm: true # bool - not required, used to specify a host is to become a VM | |
-server_vm_ram: 8192 # int - not required, used to specify ram when provisioning a VM | |
-server_vm_vcpus: 4 # int - not required, used to specify vcpus when provisioning a VM | |
-server_vm_fixed_addr: '10.0.2.200' # str - not required, used to specify fixed address when using internal DHCPD | |
-server_vm_primary_network: 'dhcp' # str - not required, primary network used to kick the VM | |
-server_image: "{{ default_vm_image }}" # str - required, image name | |
-server_default_interface: 'eth0' # str - required, default interface | |
-server_mac_address: '52:54:00:bd:80:20' # str - required, mac address of default interface | |
-server_preseed_ks: 'vm' # str - required, name of preseed/kickstart file | |
-server_extra_options: '' # str - not required, added kernel options | |
- | |
-server_networks: # dict - required, hash of networks, can be empty, key is used to name the networks. | |
- dhcp: | |
- iface: 'eth0' # str - required, interface name | |
- inet_type: 'dhcp' # str - required, iface type [static, dhcp, manual] | |
- vm_int_iface: vm-br-dhcp # str - not Required, used to specify an integration networks interface when provisioning a VM | |
- mgmt: | |
- iface: 'eth1' # str - required, interface name | |
- inet_type: 'static' # str - required, iface type [static, dhcp, manual] | |
- address: '10.0.236.200/22' # str - not required, must be in CIDR format | |
- vm_int_iface: vm-br-eth1 # str - not Required, used to specify an integration networks interface when provisioning a VM | |
- flat: | |
- iface: 'eth2' # str - required, interface name | |
- inet_type: 'static' # str - required, iface type [static, dhcp, manual] | |
- address: '10.0.248.200/22' # str - not required, must be in CIDR format | |
- vm_int_iface: vm-br-eth2 # str - not Required, used to specify an integration networks interface when provisioning a VM | |
- vlan: | |
- iface: 'eth3' # str - required, interface name | |
- inet_type: 'manual' # str - required, iface type [static, dhcp, manual] | |
- vm_int_iface: vm-br-eth3 # str - not Required, used to specify an integration networks interface when provisioning a VM | |
- vxlan: | |
- iface: 'eth4' # str - required, interface name | |
- inet_type: 'manual' # str - required, iface type [static, dhcp, manual] | |
- address: '10.0.240.200/22' # str - not required, must be in CIDR format | |
- vm_int_iface: vm-br-eth4 # str - not Required, used to specify an integration networks interface when provisioning a VM | |
- storage: | |
- iface: 'eth5' # str - required, interface name | |
- inet_type: 'manual' # str - required, iface type [static, dhcp, manual] | |
- address: '10.0.244.200/22' # str - not required, must be in CIDR format | |
- vm_int_iface: vm-br-eth5 # str - not Required, used to specify an integration networks interface when provisioning a VM | |
- lbaas: | |
- iface: 'eth6' # str - required, interface name | |
- inet_type: 'static' # str - required, iface type [static, dhcp, manual] | |
- address: '10.0.232.200/22' # str - not required, must be in CIDR format | |
- vm_int_iface: vm-br-eth6 # str - not Required, used to specify an integration networks interface when provisioning a VM | |
\ No newline at end of file | |
diff --git a/multi-node-aio/playbooks/host_vars/infra1.yml b/multi-node-aio/playbooks/host_vars/infra1.yml | |
deleted file mode 100644 | |
index 5bd40a1..0000000 | |
--- a/multi-node-aio/playbooks/host_vars/infra1.yml | |
+++ /dev/null | |
@@ -1,53 +0,0 @@ | |
---- | |
-# Copyright 2017, 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 witing, software | |
-# distributed under the License is distributed on an "AS IS" BASIS, | |
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
-# See the License for the specific language governing permissions and | |
-# limitations under the License. | |
- | |
-server_hostname: 'infra1' # str - required, hostname of server | |
-server_vm_fixed_addr: '10.0.2.100' # str - not required, used to specify fixed address when using internal DHCPD | |
-server_mac_address: '52:54:00:bd:80:00' # str - required, mac address of default interface | |
- | |
-server_networks: # dict - required, hash of networks, can be empty, key is used to name the networks. | |
- dhcp: | |
- iface: 'eth0' # str - required, interface name | |
- inet_type: 'dhcp' # str - required, iface type [static, dhcp, manual] | |
- vm_int_iface: vm-br-dhcp # str - not Required, used to specify an integration networks interface when provisioning a VM | |
- mgmt: | |
- iface: 'eth1' # str - required, interface name | |
- inet_type: 'static' # str - required, iface type [static, dhcp, manual] | |
- address: '10.0.236.100/22' # str - not required, must be in CIDR format | |
- vm_int_iface: vm-br-eth1 # str - not Required, used to specify an integration networks interface when provisioning a VM | |
- flat: | |
- iface: 'eth2' # str - required, interface name | |
- inet_type: 'static' # str - required, iface type [static, dhcp, manual] | |
- address: '10.0.248.100/22' # str - not required, must be in CIDR format | |
- vm_int_iface: vm-br-eth2 # str - not Required, used to specify an integration networks interface when provisioning a VM | |
- vlan: | |
- iface: 'eth3' # str - required, interface name | |
- inet_type: 'manual' # str - required, iface type [static, dhcp, manual] | |
- vm_int_iface: vm-br-eth3 # str - not Required, used to specify an integration networks interface when provisioning a VM | |
- vxlan: | |
- iface: 'eth4' # str - required, interface name | |
- inet_type: 'static' # str - required, iface type [static, dhcp, manual] | |
- address: '10.0.240.100/22' # str - not required, must be in CIDR format | |
- vm_int_iface: vm-br-eth4 # str - not Required, used to specify an integration networks interface when provisioning a VM | |
- storage: | |
- iface: 'eth5' # str - required, interface name | |
- inet_type: 'static' # str - required, iface type [static, dhcp, manual] | |
- address: '10.0.244.100/22' # str - not required, must be in CIDR format | |
- vm_int_iface: vm-br-eth5 # str - not Required, used to specify an integration networks interface when provisioning a VM | |
- lbaas: | |
- iface: 'eth6' # str - required, interface name | |
- inet_type: 'static' # str - required, iface type [static, dhcp, manual] | |
- address: '10.0.232.100/22' # str - not required, must be in CIDR format | |
- vm_int_iface: vm-br-eth6 # str - not Required, used to specify an integration networks interface when provisioning a VM | |
diff --git a/multi-node-aio/playbooks/host_vars/infra2.yml b/multi-node-aio/playbooks/host_vars/infra2.yml | |
deleted file mode 100644 | |
index b5c2ccf..0000000 | |
--- a/multi-node-aio/playbooks/host_vars/infra2.yml | |
+++ /dev/null | |
@@ -1,53 +0,0 @@ | |
---- | |
-# Copyright 2017, 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 witing, software | |
-# distributed under the License is distributed on an "AS IS" BASIS, | |
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
-# See the License for the specific language governing permissions and | |
-# limitations under the License. | |
- | |
-server_hostname: 'infra2' | |
-server_vm_fixed_addr: '10.0.2.101' | |
-server_mac_address: '52:54:00:bd:80:01' | |
- | |
-server_networks: | |
- dhcp: | |
- iface: 'eth0' | |
- inet_type: 'dhcp' | |
- vm_int_iface: vm-br-dhcp | |
- mgmt: | |
- iface: 'eth1' | |
- inet_type: 'static' | |
- address: '10.0.236.101/22' | |
- vm_int_iface: vm-br-eth1 | |
- flat: | |
- iface: 'eth2' | |
- inet_type: 'static' | |
- address: '10.0.248.101/22' | |
- vm_int_iface: vm-br-eth2 | |
- vlan: | |
- iface: 'eth3' | |
- inet_type: 'manual' | |
- vm_int_iface: vm-br-eth3 | |
- vxlan: | |
- iface: 'eth4' | |
- inet_type: 'static' | |
- address: '10.0.240.101/22' | |
- vm_int_iface: vm-br-eth4 | |
- storage: | |
- iface: 'eth5' | |
- inet_type: 'static' | |
- address: '10.0.244.101/22' | |
- vm_int_iface: vm-br-eth5 | |
- lbaas: | |
- iface: 'eth6' | |
- inet_type: 'static' | |
- address: '10.0.232.101/22' | |
- vm_int_iface: vm-br-eth6 | |
diff --git a/multi-node-aio/playbooks/host_vars/node0.yml b/multi-node-aio/playbooks/host_vars/node0.yml | |
new file mode 100644 | |
index 0000000..10dc1d8 | |
--- /dev/null | |
+++ b/multi-node-aio/playbooks/host_vars/node0.yml | |
@@ -0,0 +1,29 @@ | |
+--- | |
+# Copyright 2017, 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 witing, software | |
+# distributed under the License is distributed on an "AS IS" BASIS, | |
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
+# See the License for the specific language governing permissions and | |
+# limitations under the License. | |
+ | |
+server_hostname: 'node0' # str - required, hostname of server | |
+server_vm_fixed_addr: '10.0.2.100' # str - not required, used to specify fixed address when using internal DHCPD | |
+server_mac_address: '52:54:00:bd:80:00' # str - required, mac address of default interface | |
+ | |
+server_networks: # dict - required, hash of networks, can be empty, key is used to name the networks. | |
+ dhcp: | |
+ iface: 'eth0' # str - required, interface name | |
+ inet_type: 'dhcp' # str - required, iface type [static, dhcp, manual] | |
+ vm_int_iface: vm-br-dhcp # str - not Required, used to specify an integration networks interface when provisioning a VM | |
+ mgmt: | |
+ iface: 'eth1' # str - required, interface name | |
+ inet_type: 'static' # str - required, iface type [static, dhcp, manual] | |
+ address: '10.0.236.100/22' # str - not required, must be in CIDR format | |
+ vm_int_iface: vm-br-eth1 # str - not Required, used to specify an integration networks interface when provisioning a VM | |
diff --git a/multi-node-aio/playbooks/host_vars/loadbalancer1.yml b/multi-node-aio/playbooks/host_vars/node1.yml | |
similarity index 84% | |
rename from multi-node-aio/playbooks/host_vars/loadbalancer1.yml | |
rename to multi-node-aio/playbooks/host_vars/node1.yml | |
index d9b61b1..b52d680 100644 | |
--- a/multi-node-aio/playbooks/host_vars/loadbalancer1.yml | |
+++ b/multi-node-aio/playbooks/host_vars/node1.yml | |
@@ -13,9 +13,9 @@ | |
# See the License for the specific language governing permissions and | |
# limitations under the License. | |
-server_hostname: 'loadbalancer1' | |
-server_vm_fixed_addr: '10.0.2.150' | |
-server_mac_address: '52:54:00:bd:80:12' | |
+server_hostname: 'node1' | |
+server_vm_fixed_addr: '10.0.2.101' | |
+server_mac_address: '52:54:00:bd:80:01' | |
server_networks: | |
dhcp: | |
@@ -25,6 +25,5 @@ server_networks: | |
mgmt: | |
iface: 'eth1' | |
inet_type: 'static' | |
- address: '10.0.236.150/22' | |
+ address: '10.0.236.101/22' | |
vm_int_iface: vm-br-eth1 | |
- | |
diff --git a/multi-node-aio/playbooks/host_vars/infra3.yml b/multi-node-aio/playbooks/host_vars/node2.yml | |
similarity index 61% | |
rename from multi-node-aio/playbooks/host_vars/infra3.yml | |
rename to multi-node-aio/playbooks/host_vars/node2.yml | |
index c2cab05..bf647ab 100644 | |
--- a/multi-node-aio/playbooks/host_vars/infra3.yml | |
+++ b/multi-node-aio/playbooks/host_vars/node2.yml | |
@@ -13,7 +13,7 @@ | |
# See the License for the specific language governing permissions and | |
# limitations under the License. | |
-server_hostname: 'infra3' | |
+server_hostname: 'node2' | |
server_vm_fixed_addr: '10.0.2.102' | |
server_mac_address: '52:54:00:bd:80:02' | |
@@ -27,27 +27,3 @@ server_networks: | |
inet_type: 'static' | |
address: '10.0.236.102/22' | |
vm_int_iface: vm-br-eth1 | |
- flat: | |
- iface: 'eth2' | |
- inet_type: 'static' | |
- address: '10.0.248.102/22' | |
- vm_int_iface: vm-br-eth2 | |
- vlan: | |
- iface: 'eth3' | |
- inet_type: 'manual' | |
- vm_int_iface: vm-br-eth3 | |
- vxlan: | |
- iface: 'eth4' | |
- inet_type: 'static' | |
- address: '10.0.240.102/22' | |
- vm_int_iface: vm-br-eth4 | |
- storage: | |
- iface: 'eth5' | |
- inet_type: 'static' | |
- address: '10.0.244.102/22' | |
- vm_int_iface: vm-br-eth5 | |
- lbaas: | |
- iface: 'eth6' | |
- inet_type: 'static' | |
- address: '10.0.232.102/22' | |
- vm_int_iface: vm-br-eth6 | |
\ No newline at end of file | |
diff --git a/multi-node-aio/playbooks/host_vars/logging1.yml b/multi-node-aio/playbooks/host_vars/node3.yml | |
similarity index 61% | |
rename from multi-node-aio/playbooks/host_vars/logging1.yml | |
rename to multi-node-aio/playbooks/host_vars/node3.yml | |
index b6db9a8..c9f5d3d 100644 | |
--- a/multi-node-aio/playbooks/host_vars/logging1.yml | |
+++ b/multi-node-aio/playbooks/host_vars/node3.yml | |
@@ -13,8 +13,8 @@ | |
# See the License for the specific language governing permissions and | |
# limitations under the License. | |
-server_hostname: 'logging1' | |
-server_vm_fixed_addr: '10.0.2.110' | |
+server_hostname: 'node3' | |
+server_vm_fixed_addr: '10.0.2.103' | |
server_mac_address: '52:54:00:bd:80:03' | |
server_networks: | |
@@ -25,24 +25,5 @@ server_networks: | |
mgmt: | |
iface: 'eth1' | |
inet_type: 'static' | |
- address: '10.0.236.110/22' | |
+ address: '10.0.236.103/22' | |
vm_int_iface: vm-br-eth1 | |
- flat: | |
- iface: 'eth2' | |
- inet_type: 'static' | |
- address: '10.0.248.110/22' | |
- vm_int_iface: vm-br-eth2 | |
- vlan: | |
- iface: 'eth3' | |
- inet_type: 'manual' | |
- vm_int_iface: vm-br-eth3 | |
- vxlan: | |
- iface: 'eth4' | |
- inet_type: 'static' | |
- address: '10.0.240.110/22' | |
- vm_int_iface: vm-br-eth4 | |
- storage: | |
- iface: 'eth5' | |
- inet_type: 'static' | |
- address: '10.0.244.110/22' | |
- vm_int_iface: vm-br-eth5 | |
diff --git a/multi-node-aio/playbooks/host_vars/swift2.yml b/multi-node-aio/playbooks/host_vars/node4.yml | |
similarity index 58% | |
rename from multi-node-aio/playbooks/host_vars/swift2.yml | |
rename to multi-node-aio/playbooks/host_vars/node4.yml | |
index d1ba1e7..b4967ba 100644 | |
--- a/multi-node-aio/playbooks/host_vars/swift2.yml | |
+++ b/multi-node-aio/playbooks/host_vars/node4.yml | |
@@ -13,9 +13,9 @@ | |
# See the License for the specific language governing permissions and | |
# limitations under the License. | |
-server_hostname: 'swift2' | |
-server_vm_fixed_addr: '10.0.2.141' | |
-server_mac_address: '52:54:00:bd:80:10' | |
+server_hostname: 'node4' | |
+server_vm_fixed_addr: '10.0.2.104' | |
+server_mac_address: '52:54:00:bd:80:04' | |
server_networks: | |
dhcp: | |
@@ -25,24 +25,5 @@ server_networks: | |
mgmt: | |
iface: 'eth1' | |
inet_type: 'static' | |
- address: '10.0.236.141/22' | |
+ address: '10.0.236.104/22' | |
vm_int_iface: vm-br-eth1 | |
- flat: | |
- iface: 'eth2' | |
- inet_type: 'static' | |
- address: '10.0.248.141/22' | |
- vm_int_iface: vm-br-eth2 | |
- vlan: | |
- iface: 'eth3' | |
- inet_type: 'manual' | |
- vm_int_iface: vm-br-eth3 | |
- vxlan: | |
- iface: 'eth4' | |
- inet_type: 'static' | |
- address: '10.0.240.141/22' | |
- vm_int_iface: vm-br-eth4 | |
- storage: | |
- iface: 'eth5' | |
- inet_type: 'static' | |
- address: '10.0.244.141/22' | |
- vm_int_iface: vm-br-eth5 | |
diff --git a/multi-node-aio/playbooks/host_vars/swift1.yml b/multi-node-aio/playbooks/host_vars/swift1.yml | |
deleted file mode 100644 | |
index f7c710d..0000000 | |
--- a/multi-node-aio/playbooks/host_vars/swift1.yml | |
+++ /dev/null | |
@@ -1,48 +0,0 @@ | |
---- | |
-# Copyright 2017, 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 witing, software | |
-# distributed under the License is distributed on an "AS IS" BASIS, | |
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
-# See the License for the specific language governing permissions and | |
-# limitations under the License. | |
- | |
-server_hostname: 'swift1' | |
-server_vm_fixed_addr: '10.0.2.140' | |
-server_mac_address: '52:54:00:bd:80:09' | |
- | |
-server_networks: | |
- dhcp: | |
- iface: 'eth0' | |
- inet_type: 'dhcp' | |
- vm_int_iface: vm-br-dhcp | |
- mgmt: | |
- iface: 'eth1' | |
- inet_type: 'static' | |
- address: '10.0.236.140/22' | |
- vm_int_iface: vm-br-eth1 | |
- flat: | |
- iface: 'eth2' | |
- inet_type: 'static' | |
- address: '10.0.248.140/22' | |
- vm_int_iface: vm-br-eth2 | |
- vlan: | |
- iface: 'eth3' | |
- inet_type: 'manual' | |
- vm_int_iface: vm-br-eth3 | |
- vxlan: | |
- iface: 'eth4' | |
- inet_type: 'static' | |
- address: '10.0.240.140/22' | |
- vm_int_iface: vm-br-eth4 | |
- storage: | |
- iface: 'eth5' | |
- inet_type: 'static' | |
- address: '10.0.244.140/22' | |
- vm_int_iface: vm-br-eth5 | |
diff --git a/multi-node-aio/playbooks/host_vars/swift3.yml b/multi-node-aio/playbooks/host_vars/swift3.yml | |
deleted file mode 100644 | |
index 45684b2..0000000 | |
--- a/multi-node-aio/playbooks/host_vars/swift3.yml | |
+++ /dev/null | |
@@ -1,48 +0,0 @@ | |
---- | |
-# Copyright 2017, 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 witing, software | |
-# distributed under the License is distributed on an "AS IS" BASIS, | |
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
-# See the License for the specific language governing permissions and | |
-# limitations under the License. | |
- | |
-server_hostname: 'swift3' | |
-server_vm_fixed_addr: '10.0.2.142' | |
-server_mac_address: '52:54:00:bd:80:11' | |
- | |
-server_networks: | |
- dhcp: | |
- iface: 'eth0' | |
- inet_type: 'dhcp' | |
- vm_int_iface: vm-br-dhcp | |
- mgmt: | |
- iface: 'eth1' | |
- inet_type: 'static' | |
- address: '10.0.236.142/22' | |
- vm_int_iface: vm-br-eth1 | |
- flat: | |
- iface: 'eth2' | |
- inet_type: 'static' | |
- address: '10.0.248.142/22' | |
- vm_int_iface: vm-br-eth2 | |
- vlan: | |
- iface: 'eth3' | |
- inet_type: 'manual' | |
- vm_int_iface: vm-br-eth3 | |
- vxlan: | |
- iface: 'eth4' | |
- inet_type: 'static' | |
- address: '10.0.240.142/22' | |
- vm_int_iface: vm-br-eth4 | |
- storage: | |
- iface: 'eth5' | |
- inet_type: 'static' | |
- address: '10.0.244.142/22' | |
- vm_int_iface: vm-br-eth5 | |
diff --git a/multi-node-aio/playbooks/inventory/hosts b/multi-node-aio/playbooks/inventory/hosts | |
index 851a753..659db16 100644 | |
--- a/multi-node-aio/playbooks/inventory/hosts | |
+++ b/multi-node-aio/playbooks/inventory/hosts | |
@@ -7,21 +7,12 @@ localhost ansible_connection=local | |
mnaio1 ansible_host=10.0.2.1 ansible_connection=local | |
# MNAIO VMs | |
-infra1 ansible_host=10.0.236.100 | |
-infra2 ansible_host=10.0.236.101 | |
-infra3 ansible_host=10.0.236.102 | |
-ceph1 ansible_host=10.0.236.145 | |
-ceph2 ansible_host=10.0.236.146 | |
-ceph3 ansible_host=10.0.236.147 | |
-cinder1 ansible_host=10.0.236.130 | |
-cinder2 ansible_host=10.0.236.131 | |
-compute1 ansible_host=10.0.236.120 | |
-compute2 ansible_host=10.0.236.121 | |
-loadbalancer1 ansible_host=10.0.236.150 | |
-logging1 ansible_host=10.0.236.110 | |
-swift1 ansible_host=10.0.236.140 | |
-swift2 ansible_host=10.0.236.141 | |
-swift3 ansible_host=10.0.236.142 | |
+node0 ansible_host=10.0.236.100 | |
+node1 ansible_host=10.0.236.101 | |
+node2 ansible_host=10.0.236.102 | |
+node3 ansible_host=10.0.236.103 | |
+node4 ansible_host=10.0.236.104 | |
+ | |
################################# MNAIO HOSTS ################################# | |
@@ -44,89 +35,33 @@ mnaio1 | |
# The group "pxe_servers" is used to create PXE specific configurations for | |
# each host machines. | |
[pxe_servers] | |
-ceph1 | |
-ceph2 | |
-ceph3 | |
-cinder1 | |
-cinder2 | |
-compute1 | |
-compute2 | |
-infra1 | |
-infra2 | |
-infra3 | |
-loadbalancer1 | |
-logging1 | |
-swift1 | |
-swift2 | |
-swift3 | |
+node0 | |
+node1 | |
+node2 | |
+node3 | |
+node4 | |
################################## OSA HOSTS ################################## | |
# The group "deploy_hosts" is used to define where an OSA deployment will | |
# originate from. | |
[deploy_hosts] | |
-infra1 | |
- | |
-[loadbalancer_hosts] | |
-loadbalancer1 | |
- | |
-[log_hosts] | |
-logging1 | |
+node0 | |
############################### OSA MNAIO HOSTS ############################### | |
# The group "infra_hosts" is used in the MNAIO setup to create the basic host | |
# layout for nova compute. | |
[infra_hosts] | |
-infra1 | |
-infra2 | |
-infra3 | |
- | |
-# The group "swift_hosts" is used in the MNAIO setup to create the basic drive | |
-# setup needed for a swift deployment. | |
-[swift_hosts] | |
-swift1 | |
-swift2 | |
-swift3 | |
- | |
-# The group "cinder_hosts" is used in the MNAIO setup to create the basic drive | |
-# setup needed for a cinder LVM deployment. | |
-[cinder_hosts] | |
-cinder1 | |
-cinder2 | |
- | |
-# The group "compute_hosts" is used in the MNAIO setup to create the basic host | |
-# layout for nova compute. | |
-[compute_hosts] | |
-compute1 | |
-compute2 | |
- | |
-# The group "ceph_hosts" is used in the MNAIO setup to create the basic drive | |
-# setup for a ceph deployment | |
-[ceph_hosts] | |
-ceph1 | |
-ceph2 | |
-ceph3 | |
- | |
-######################## CEPH-ANSIBLE RELATED GROUPINGS ######################## | |
- | |
-# Used by ceph-ansible to determine which hosts to deploy to | |
-[ceph] | |
-ceph1 monitor_address=10.0.244.145 | |
-ceph2 monitor_address=10.0.244.146 | |
-ceph3 monitor_address=10.0.244.147 | |
- | |
-# Where to install the ceph monitoring service for ceph-ansible | |
-[mons:children] | |
-infra_hosts | |
- | |
-# Where to install the osd services for ceph-ansible | |
-[osds:children] | |
-ceph | |
- | |
-# Where to install the radosgw services for ceph-ansible | |
-[rgws:children] | |
-ceph | |
- | |
-# Where to install the ceph metadata services if needed for ceph-ansible | |
-[mdss] | |
+node0 | |
+node1 | |
+node2 | |
+node3 | |
+node4 | |
+ | |
+[node_hosts] | |
+node0 | |
+node1 | |
+node2 | |
+node3 | |
+node4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment