From 7cf8184eca909dc4d4cddff38ae457ab7e01f053 Mon Sep 17 00:00:00 2001 From: Stepan Andrushko Date: Fri, 16 Mar 2018 20:53:06 +0200 Subject: OpenStack deployment using kolla OpenStack deployment using Kolla installer for all-in-one mode and multinode inside VMs which are already created. Two types of OpenStack nodes are supported as input in sample files, like infra_deploy_two.yaml.sample: controller and compute. JIRA: YARDSTICK-1078 Change-Id: I51616a7a17ac565a01ec6da57b589290237d18ee Signed-off-by: Stepan Andrushko --- etc/infra/infra_deploy.yaml.sample | 41 -------------- etc/infra/infra_deploy_multi.yaml.sample | 97 ++++++++++++++++++++++++++++++++ etc/infra/infra_deploy_one.yaml.sample | 46 +++++++++++++++ etc/infra/infra_deploy_two.yaml.sample | 63 +++++++++++++++++++++ 4 files changed, 206 insertions(+), 41 deletions(-) delete mode 100644 etc/infra/infra_deploy.yaml.sample create mode 100644 etc/infra/infra_deploy_multi.yaml.sample create mode 100644 etc/infra/infra_deploy_one.yaml.sample create mode 100644 etc/infra/infra_deploy_two.yaml.sample (limited to 'etc/infra') diff --git a/etc/infra/infra_deploy.yaml.sample b/etc/infra/infra_deploy.yaml.sample deleted file mode 100644 index 8ed793622..000000000 --- a/etc/infra/infra_deploy.yaml.sample +++ /dev/null @@ -1,41 +0,0 @@ -nodes: - - name: Yardstick VM - hostname: yardstickvm - interfaces: - - network: management - ip: 192.168.1.10 - netmask: 255.255.255.0 - user: ubuntu - password: password - image: /tmp/image1.qcow - disk: 50000 - ram: 8192 - vcpus: 4 - - - name: Controller_Compute VM - openstack_node: controller_compute - hostname: controller_compute - interfaces: - - network: management - ip: 192.168.1.20 - netmask: 255.255.255.0 - - network: traffic - ip: 192.20.1.20 - netmask: 255.255.255.0 - user: ubuntu - password: password - image: /tmp/image_2.qcow - disk: 40000 - ram: 32768 - vcpus: 4 - -networks: - - name: management - default_gateway: True - host_ip: 192.168.1.1 - netmask: 255.255.255.0 - - - name: traffic - default_gateway: False # This parameter is not mandatory, default value: False - host_ip: 192.20.1.1 - netmask: 255.255.255.0 diff --git a/etc/infra/infra_deploy_multi.yaml.sample b/etc/infra/infra_deploy_multi.yaml.sample new file mode 100644 index 000000000..aa27b735a --- /dev/null +++ b/etc/infra/infra_deploy_multi.yaml.sample @@ -0,0 +1,97 @@ +nodes: + - name: Deployment and Controller node number 1 VM + openstack_node: controller + hostname: control-01 + interfaces: + - network: management + ip: 192.168.1.10 + netmask: 255.255.255.0 + - network: traffic + ip: 192.20.1.10 + netmask: 255.255.255.0 + user: ubuntu + password: password + image: /tmp/image_cntrl_1.img + disk: 13000 + ram: 9000 + vcpus: 4 + + - name: Controller node number 2 VM + openstack_node: controller + hostname: control-02 + interfaces: + - network: management + ip: 192.168.1.11 + netmask: 255.255.255.0 + - network: traffic + ip: 192.20.1.11 + netmask: 255.255.255.0 + user: ubuntu + password: password + image: /tmp/image_cntrl_2.img + disk: 11000 + ram: 6000 + vcpus: 2 + + - name: Compute node number 1 VM + openstack_node: compute + hostname: compute-01 + interfaces: + - network: management + ip: 192.168.1.12 + netmask: 255.255.255.0 + - network: traffic + ip: 192.20.1.12 + netmask: 255.255.255.0 + user: ubuntu + password: password + image: /tmp/image_comp_1.img + disk: 30000 + ram: 16000 + vcpus: 12 + + - name: Compute node number 2 VM + openstack_node: compute + hostname: compute-02 + interfaces: + - network: management + ip: 192.168.1.13 + netmask: 255.255.255.0 + - network: traffic + ip: 192.20.1.13 + netmask: 255.255.255.0 + user: ubuntu + password: password + image: /tmp/image_comp_2.img + disk: 12000 + ram: 6000 + vcpus: 4 + + - name: Jump host + hostname: yardstickvm + interfaces: + - network: management + ip: 192.168.1.14 + netmask: 255.255.255.0 + - network: traffic + ip: 192.20.1.14 + netmask: 255.255.255.0 + user: ubuntu + password: password + image: /tmp/image_yardstick.img + disk: 28000 + ram: 12000 + vcpus: 4 + +networks: + - name: management + default_gateway: True + host_ip: 192.168.1.1 + netmask: 255.255.255.0 + + - name: traffic + default_gateway: False # This parameter is not mandatory, default value: False + host_ip: 192.20.1.1 + netmask: 255.255.255.0 + dhcp_ip_start: 192.20.1.200 + dhcp_ip_stop: 192.20.1.250 diff --git a/etc/infra/infra_deploy_one.yaml.sample b/etc/infra/infra_deploy_one.yaml.sample new file mode 100644 index 000000000..f8759d42e --- /dev/null +++ b/etc/infra/infra_deploy_one.yaml.sample @@ -0,0 +1,46 @@ +nodes: + - name: Deployment, Controller and Compute single VM + openstack_node: controller # if no compute nodes are defined means a standalone deployment + hostname: allinone + interfaces: + - network: management + ip: 192.168.1.21 + netmask: 255.255.255.0 + - network: traffic + ip: 192.20.1.21 + netmask: 255.255.255.0 + user: ubuntu + password: password + image: /tmp/image_one.img + disk: 22000 + ram: 14000 + vcpus: 12 + + - name: Jump host + hostname: yardstickvm + interfaces: + - network: management + ip: 192.168.1.22 + netmask: 255.255.255.0 + - network: traffic + ip: 192.20.1.22 + netmask: 255.255.255.0 + user: ubuntu + password: password + image: /tmp/image_yardstick.img + disk: 22000 + ram: 10000 + vcpus: 4 + +networks: + - name: management + default_gateway: True + host_ip: 192.168.1.1 + netmask: 255.255.255.0 + + - name: traffic + default_gateway: False # This parameter is not mandatory, default value: False + host_ip: 192.20.1.1 + netmask: 255.255.255.0 + dhcp_ip_start: 192.20.1.200 + dhcp_ip_stop: 192.20.1.250 diff --git a/etc/infra/infra_deploy_two.yaml.sample b/etc/infra/infra_deploy_two.yaml.sample new file mode 100644 index 000000000..a29f75453 --- /dev/null +++ b/etc/infra/infra_deploy_two.yaml.sample @@ -0,0 +1,63 @@ +nodes: + - name: Deployment and Controller node number 1 VM + openstack_node: controller + hostname: control-01 + interfaces: + - network: management + ip: 192.168.1.118 + netmask: 255.255.255.0 + - network: traffic + ip: 192.20.1.118 + netmask: 255.255.255.0 + user: ubuntu + password: password + image: /tmp/image_cntrl_1.img + disk: 12000 + ram: 10000 + vcpus: 6 + + - name: Compute node number 1 VM + openstack_node: compute + hostname: compute-01 + interfaces: + - network: management + ip: 192.168.1.119 + netmask: 255.255.255.0 + - network: traffic + ip: 192.20.1.119 + netmask: 255.255.255.0 + user: ubuntu + password: password + image: /tmp/image_comp_1.img + disk: 44000 + ram: 30000 + vcpus: 14 + + - name: Jump host + hostname: yardstickvm + interfaces: + - network: management + ip: 192.168.1.120 + netmask: 255.255.255.0 + - network: traffic + ip: 192.20.1.120 + netmask: 255.255.255.0 + user: ubuntu + password: password + image: /tmp/image_yardstick.img + disk: 22000 + ram: 10000 + vcpus: 4 + +networks: + - name: management + default_gateway: True + host_ip: 192.168.1.1 + netmask: 255.255.255.0 + + - name: traffic + default_gateway: False # This parameter is not mandatory, default value: False + host_ip: 192.20.1.1 + netmask: 255.255.255.0 + dhcp_ip_start: 192.20.1.200 + dhcp_ip_stop: 192.20.1.250 -- cgit 1.2.3-korg