From dd141c87e0c5ca38b727760d70fa2956d83d03b2 Mon Sep 17 00:00:00 2001 From: ramamani yeleswarapu Date: Wed, 1 Aug 2018 18:23:01 -0700 Subject: [stor4nfv] Add os-stor4nfv role for OpenStack deploy Adds os-stor4nfv role for OpenStack deploy which installs OpenSDS and Cindercompatibleapi. Disables Cinder service and configures cindercompatibleapi to work with 'lvm' backend. Adds os-nosdn-stor4nfv-ha scenario file. Adds os-nosdn-stor4nfv-noha scenario file. Change-Id: Ie4b6a874beb3f61aa2fd08ebc6c97ab737c012ee Signed-off-by: ramamani yeleswarapu --- .../ansible/openstack/HA-ansible-multinodes.yml | 6 +++ .../conf/vm_environment/os-nosdn-stor4nfv-ha.yml | 45 ++++++++++++++++++++++ .../conf/vm_environment/os-nosdn-stor4nfv-noha.yml | 28 ++++++++++++++ 3 files changed, 79 insertions(+) create mode 100644 deploy/conf/vm_environment/os-nosdn-stor4nfv-ha.yml create mode 100644 deploy/conf/vm_environment/os-nosdn-stor4nfv-noha.yml (limited to 'deploy') diff --git a/deploy/adapters/ansible/openstack/HA-ansible-multinodes.yml b/deploy/adapters/ansible/openstack/HA-ansible-multinodes.yml index c14f958e..1d4ec9ef 100644 --- a/deploy/adapters/ansible/openstack/HA-ansible-multinodes.yml +++ b/deploy/adapters/ansible/openstack/HA-ansible-multinodes.yml @@ -120,3 +120,9 @@ remote_user: root roles: - moon + +- hosts: + - ceph_adm + remote_user: root + roles: + - os-stor4nfv diff --git a/deploy/conf/vm_environment/os-nosdn-stor4nfv-ha.yml b/deploy/conf/vm_environment/os-nosdn-stor4nfv-ha.yml new file mode 100644 index 00000000..1ef4bdd9 --- /dev/null +++ b/deploy/conf/vm_environment/os-nosdn-stor4nfv-ha.yml @@ -0,0 +1,45 @@ +############################################################################## +# Copyright (c) 2016 HUAWEI TECHNOLOGIES CO.,LTD and others. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## + +--- +TYPE: virtual +FLAVOR: cluster + +plugins: + - stor4nfv: "Enable" + +hosts: + - name: host1 + roles: + - controller + - ha + - ceph-adm + - ceph-mon + + - name: host2 + roles: + - controller + - ha + - ceph-mon + + - name: host3 + roles: + - controller + - ha + - ceph-mon + + - name: host4 + roles: + - compute + - ceph-osd + + - name: host5 + roles: + - compute + - ceph-osd diff --git a/deploy/conf/vm_environment/os-nosdn-stor4nfv-noha.yml b/deploy/conf/vm_environment/os-nosdn-stor4nfv-noha.yml new file mode 100644 index 00000000..e03a4d4d --- /dev/null +++ b/deploy/conf/vm_environment/os-nosdn-stor4nfv-noha.yml @@ -0,0 +1,28 @@ +############################################################################## +# Copyright (c) 2016 HUAWEI TECHNOLOGIES CO.,LTD and others. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## + +--- +TYPE: virtual +FLAVOR: cluster + +plugins: + - stor4nfv: "Enable" + +hosts: + - name: host1 + roles: + - controller + - ha + - ceph-adm + - ceph-mon + + - name: host2 + roles: + - compute + - ceph-osd -- cgit 1.2.3-korg