Add virtual-mcp11-aio-manila model
This patch adds AIO model with manila enabled.
Change-Id: Ib695a052ff19ce1fc1ee48bb9ecc2ec0ec25d6a4
diff --git a/classes/cluster/virtual-mcp11-aio-manila/.env b/classes/cluster/virtual-mcp11-aio-manila/.env
new file mode 100644
index 0000000..b63c1b9
--- /dev/null
+++ b/classes/cluster/virtual-mcp11-aio-manila/.env
@@ -0,0 +1 @@
+FORMULAS_SALT_MASTER+=(java openssh ntp nginx collectd sensu heka sphinx mysql galera grafana libvirt rsyslog glusterfs postfix xtrabackup freeipa prometheus telegraf elasticsearch kibana rundeck devops-portal libvirt rsyslog memcached rabbitmq apache keystone glance nova neutron cinder heat horizon ironic tftpd-hpa bind powerdns designate barbican iptables manila)
diff --git a/classes/cluster/virtual-mcp11-aio-manila/infra/config.yml b/classes/cluster/virtual-mcp11-aio-manila/infra/config.yml
new file mode 100644
index 0000000..7108728
--- /dev/null
+++ b/classes/cluster/virtual-mcp11-aio-manila/infra/config.yml
@@ -0,0 +1,3 @@
+classes:
+- cluster.virtual-mcp11-aio-manila
+- cluster.virtual-mcp11-aio.infra.config
diff --git a/classes/cluster/virtual-mcp11-aio-manila/infra/init.yml b/classes/cluster/virtual-mcp11-aio-manila/infra/init.yml
new file mode 100644
index 0000000..219ed8d
--- /dev/null
+++ b/classes/cluster/virtual-mcp11-aio-manila/infra/init.yml
@@ -0,0 +1,2 @@
+classes:
+ - cluster.virtual-mcp11-aio.infra
diff --git a/classes/cluster/virtual-mcp11-aio-manila/init.yml b/classes/cluster/virtual-mcp11-aio-manila/init.yml
new file mode 100755
index 0000000..0d382b8
--- /dev/null
+++ b/classes/cluster/virtual-mcp11-aio-manila/init.yml
@@ -0,0 +1,5 @@
+classes:
+- cluster.virtual-mcp11-aio-manila.infra
+- cluster.virtual-mcp11-aio-manila.openstack
+- cluster.virtual-mcp11-aio
+- cluster.overrides
diff --git a/classes/cluster/virtual-mcp11-aio-manila/openstack/init.yml b/classes/cluster/virtual-mcp11-aio-manila/openstack/init.yml
new file mode 100755
index 0000000..7bcf20c
--- /dev/null
+++ b/classes/cluster/virtual-mcp11-aio-manila/openstack/init.yml
@@ -0,0 +1,40 @@
+classes:
+- system.linux.storage.loopback_manila
+- system.galera.server.database.manila
+- system.apache.server.site.manila
+- system.keystone.client.service.manila
+- system.keystone.client.service.manila2
+- system.manila.common.single
+- system.manila.share.backend.lvm
+- cluster.virtual-mcp11-aio.openstack
+parameters:
+ _param:
+ keystone_manila_password: workshop
+ manila_service_host: ${_param:single_address}
+ mysql_manila_password: workshop
+ # loop0 is used by cinder lvm
+ manila_lvm_devices:
+ - /dev/loop1
+ loopback_device1_size: 20
+ manila:
+ common:
+ dhss: false
+ api:
+ version: ${_param:openstack_version}
+ enabled: true
+ data:
+ version: ${_param:openstack_version}
+ enabled: true
+ scheduler:
+ version: ${_param:openstack_version}
+ enabled: true
+ share:
+ version: ${_param:openstack_version}
+ enabled: true
+ enabled_share_backends:
+ lvm:
+ name: lvm
+ type: lvm
+ enabled: true
+ dhss: false
+ share_driver: manila.share.drivers.lvm.LVMShareDriver