summaryrefslogtreecommitdiffstats
path: root/sample-env-generator/storage.yaml
blob: dc4fbb10c6240ae26ca0b99c8731fc13296e2360 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
environments:
  -
    name: storage/enable-ceph
    title: Enable Ceph Storage Backend
    files:
      puppet/services/cinder-volume.yaml:
        parameters:
          - CinderEnableIscsiBackend
          - CinderEnableRbdBackend
      puppet/services/cinder-backup.yaml:
        parameters:
          - CinderBackupBackend
      puppet/services/nova-compute.yaml:
        parameters:
          - NovaEnableRbdBackend
      puppet/services/glance-api.yaml:
        parameters:
          - GlanceBackend
      puppet/services/gnocchi-api.yaml:
        parameters:
          - GnocchiBackend
    sample_values:
      CinderEnableIscsiBackend: False
      CinderEnableRbdBackend: True
      CinderBackupBackend: rbd
      NovaEnableRbdBackend: True
      GlanceBackend: rbd
      GnocchiBackend: rbd
    resource_registry:
      OS::TripleO::Services::CephMon: ../../puppet/services/ceph-mon.yaml
      OS::TripleO::Services::CephOSD: ../../puppet/services/ceph-osd.yaml
      OS::TripleO::Services::CephClient: ../../puppet/services/ceph-client.yaml
    description: |
      Include this environment to enable Ceph as the backend for
      Cinder, Nova, Gnocchi, and Glance.
  -
    name: storage/cinder-nfs
    title: Enable Cinder NFS Backend
    files:
      puppet/services/cinder-volume.yaml:
        parameters:
          - CinderNfsMountOptions
          - CinderNfsServers
          - CinderEnableNfsBackend
          - CinderEnableIscsiBackend
    sample_values:
      CinderEnableNfsBackend: True
      CinderEnableIscsiBackend: False
      CinderNfsServers: '192.168.122.1:/export/cinder'
    description: |
      Configure and include this environment to enable the use of an NFS
      share as the backend for Cinder.
  -
    name: storage/glance-nfs
    title: Enable Glance NFS Backend
    files:
      puppet/services/glance-api.yaml:
        parameters:
          - GlanceBackend
          - GlanceNfsEnabled
          - GlanceNfsShare
          - GlanceNfsOptions
    sample_values:
      GlanceBackend: file
      GlanceNfsEnabled: True
    static:
      - GlanceBackend
      - GlanceNfsEnabled
    description: |
      Configure and include this environment to enable the use of an NFS
      share as the backend for Glance.
  -
    name: storage/external-ceph
    title: Deploy Using an External Ceph Cluster
    files:
      puppet/services/nova-compute.yaml:
        parameters:
          - NovaRbdPoolName
          - NovaEnableRbdBackend
          - CephClientUserName
      puppet/services/cinder-volume.yaml:
        parameters:
          - CinderRbdPoolName
          - CinderEnableIscsiBackend
          - CinderEnableRbdBackend
      puppet/services/glance-api.yaml:
        parameters:
          - GlanceRbdPoolName
          - GlanceBackend
      puppet/services/gnocchi-api.yaml:
        parameters:
          - GnocchiBackend
      puppet/services/gnocchi-base.yaml:
        parameters:
          - GnocchiRbdPoolName
      puppet/services/ceph-external.yaml:
        parameters:
          - CephClusterFSID
          - CephClientKey
          - CephExternalMonHost
          - RbdDefaultFeatures
      puppet/services/ceph-base.yaml:
        parameters:
          - CephAdminKey
    sample_values:
      CinderEnableIscsiBackend: False
      CinderEnableRbdBackend: True
      NovaEnableRbdBackend: True
      GlanceBackend: rbd
      GnocchiBackend: rbd
      NovaRbdPoolName: vms
      CinderRbdPoolName: volumes
      GlanceRbdPoolName: images
      GnocchiRbdPoolName: metrics
      CephClientUserName: openstack
      CephAdminKey: ''
    description: |
       A Heat environment file which can be used to enable the
       use of an externally managed Ceph cluster.
    resource_registry:
      OS::TripleO::Services::CephExternal: ../../puppet/services/ceph-external.yaml
      OS::TripleO::Services::CephMon: OS::Heat::None
      OS::TripleO::Services::CephClient: OS::Heat::None
      OS::TripleO::Services::CephOSD: OS::Heat::None
  -
    name: storage/cinder-netapp-config
    title: Enable the Cinder NetApp Backend
    description: |
      A Heat environment file which can be used to enable a
      a Cinder NetApp backend, configured via puppet
    files:
      puppet/services/cinder-backend-netapp.yaml:
        parameters: all
    static:
      - CinderEnableNetappBackend
    resource_registry:
      OS::TripleO::ControllerExtraConfigPre: ../../puppet/extraconfig/pre_deploy/controller/cinder-netapp.yaml