~tribaal/charms/trusty/nova-compute/enable-api-rate-limiting

« back to all changes in this revision

Viewing changes to config.yaml

  • Committer: Edward Hope-Morley
  • Date: 2015-03-16 15:38:04 UTC
  • mto: This revision was merged to the branch mainline in revision 108.
  • Revision ID: edward.hope-morley@canonical.com-20150316153804-du1szvv0gwfve4g6
cleanup

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
options:
2
 
  debug:
3
 
    type: boolean
4
 
    default: False
5
 
    description: Enable debug logging.
6
 
  verbose:
7
 
    type: boolean
8
 
    default: False
9
 
    description: Enable verbose logging.
10
 
  use-syslog:
11
 
    type: boolean
12
 
    default: False
13
 
    description: |
14
 
      Setting this to True will allow supporting services to log to syslog.
15
2
  openstack-origin:
16
 
    type: string
17
3
    default: distro
 
4
    type: string
18
5
    description: |
19
6
      Repository from which to install.  May be one of the following:
20
 
      distro (default), ppa:somecustom/ppa, a deb url sources entry or a
21
 
      supported Ubuntu Cloud Archive (UCA) release pocket.
22
 
      .
23
 
      Supported UCA sources include:
24
 
      .
25
 
      cloud:<series>-<openstack-release>
26
 
      cloud:<series>-<openstack-release>/updates
27
 
      cloud:<series>-<openstack-release>/staging
28
 
      cloud:<series>-<openstack-release>/proposed
29
 
      .
30
 
      For series=Precise we support UCA for openstack-release=
31
 
         * icehouse
32
 
      .
33
 
      For series=Trusty we support UCA for openstack-release=
34
 
         * juno
35
 
         * kilo
36
 
         * ...
37
 
      .
38
 
      NOTE: updating this setting to a source that is known to provide
39
 
      a later version of OpenStack will trigger a software upgrade.
40
 
      .
41
 
      NOTE: when openstack-origin-git is specified, openstack specific
42
 
      packages will be installed from source rather than from the
43
 
      openstack-origin repository.
44
 
  openstack-origin-git:
45
 
    type: string
46
 
    default:
47
 
    description: |
48
 
      Specifies a YAML-formatted dictionary listing the git repositories and
49
 
      branches from which to install OpenStack and its dependencies.
50
 
      .
51
 
      Note that the installed config files will be determined based on
52
 
      the OpenStack release of the openstack-origin option.
53
 
      .
54
 
      For more details see README.md.
 
7
      distro (default), ppa:somecustom/ppa, a deb url sources entry,
 
8
      or a supported Cloud Archive release pocket.
 
9
 
 
10
      Supported Cloud Archive sources include: cloud:precise-folsom,
 
11
      cloud:precise-folsom/updates, cloud:precise-folsom/staging,
 
12
      cloud:precise-folsom/proposed.
 
13
 
 
14
      Note that updating this setting to a source that is known to
 
15
      provide a later version of OpenStack will trigger a software
 
16
      upgrade.
55
17
  nova-config:
56
 
    type: string
57
18
    default: /etc/nova/nova.conf
58
 
    description: Full path to Nova configuration file.
 
19
    type: string
 
20
    description: Full path to nova.conf
59
21
  rabbit-user:
 
22
    default: nova
60
23
    type: string
61
 
    default: nova
62
 
    description: Username used to access rabbitmq queue.
 
24
    description: Username used to access rabbitmq queue
63
25
  rabbit-vhost:
64
 
    type: string
65
26
    default: openstack
66
 
    description: Rabbitmq vhost.
 
27
    type: string
 
28
    description: Rabbitmq vhost
 
29
  use-syslog:
 
30
    type: boolean
 
31
    default: False
 
32
    description: |
 
33
      By default, all services will log into their corresponding log files.
 
34
      Setting this to True will force all services to log to the syslog.
 
35
  database-user:
 
36
    default: nova
 
37
    type: string
 
38
    description: Username for database access
 
39
  database:
 
40
    default: nova
 
41
    type: string
 
42
    description: Database name
 
43
  neutron-database-user:
 
44
    default: neutron
 
45
    type: string
 
46
    description: Username for Neutron database access (if enabled)
 
47
  neutron-database:
 
48
    default: neutron
 
49
    type: string
 
50
    description: Database name for Neutron (if enabled)
67
51
  virt-type:
68
 
    type: string
69
52
    default: kvm
70
 
    description: |
71
 
      Virtualization flavor. Supported flavors are: kvm, xen, uml, lxc, qemu,
72
 
      lxd.
 
53
    type: string
 
54
    description: "Virtualization flavor. Supported: kvm, xen, uml, lxc. qemu"
 
55
  multi-host:
 
56
    default: "yes"
 
57
    type: string
 
58
    description: Whether to run nova-api and nova-network on the compute nodes.
73
59
  disk-cachemodes:
 
60
    default:
74
61
    type: string
75
 
    default:
76
62
    description: |
77
63
      Specific cachemodes to use for different disk types e.g:
78
64
      file=directsync,block=none
79
65
  enable-resize:
 
66
    default: False
80
67
    type: boolean
81
 
    default: False
82
68
    description: Enable instance resizing, which requires that passwordless SSH
83
69
      access be setup between compute hosts.
84
70
  enable-live-migration:
 
71
    default: False
85
72
    type: boolean
86
 
    default: False
87
73
    description: Configure libvirt for live migration.
88
74
  migration-auth-type:
89
75
    type: string
92
78
      TCP authentication scheme for libvirt live migration.  Available options
93
79
      include ssh.
94
80
  authorized-keys-path:
95
 
    type: string
96
81
    default: '{homedir}/.ssh/authorized_keys'
 
82
    type: string
97
83
    description: |
98
84
      Only used when migration-auth-type is set to ssh.
99
 
      .
100
 
      Full path to authorized_keys file, can be useful for systems with
101
 
      non-default AuthorizedKeysFile location. It will be formatted using the
102
 
      following variables:
103
 
      .
104
 
        homedir - user's home directory
105
 
        username - username
106
 
      .
107
 
  instances-path:
108
 
    type: string
109
 
    default:
110
 
    description: |
111
 
      Path used for storing Nova instances data - empty means default of
112
 
      /var/lib/nova/instances.
113
 
  config-flags:
114
 
    type: string
115
 
    default:
116
 
    description: |
117
 
      Comma-separated list of key=value config flags. These values will be
118
 
      placed in the nova.conf [DEFAULT] section.
119
 
  database-user:
120
 
    type: string
121
 
    default: nova
122
 
    description: Username for database access.
123
 
  database:
124
 
    type: string
125
 
    default: nova
126
 
    description: Nova database name.
127
 
  neutron-database-user:
128
 
    type: string
129
 
    default: neutron
130
 
    description: Username for Neutron database access (if enabled).
131
 
  neutron-database:
132
 
    type: string
133
 
    default: neutron
134
 
    description: Database name for Neutron (if enabled).
135
 
  multi-host:
136
 
    type: string
137
 
    default: 'yes'
138
 
    description: Whether to run nova-api and nova-network on the compute nodes.
139
 
  # Required if using FlatManager (nova-network)
 
85
      Full path to authorized_keys file, can be useful for systems with non default
 
86
      AuthorizedKeysFile location. It will be formatted using the following variables:
 
87
          homedir - user's home directory
 
88
          username - username
 
89
  # needed if using flatmanager
140
90
  bridge-interface:
141
 
    type: string
142
91
    default: br100
 
92
    type: string
143
93
    description: Bridge interface to be configured
144
94
  bridge-ip:
145
 
    type: string
146
95
    default: 11.0.0.1
 
96
    type: string
147
97
    description: IP to be assigned to bridge interface
148
98
  bridge-netmask:
149
 
    type: string
150
99
    default: 255.255.255.0
 
100
    type: string
151
101
    description: Netmask to be assigned to bridge interface
152
 
  # Required if using FlatDHCPManager (nova-network)
 
102
  # needed if using flatdhcpmanager
153
103
  flat-interface:
154
 
    type: string
155
104
    default: eth1
 
105
    type: string
156
106
    description: Network interface on which to build bridge
157
 
  # Nagios configuration options
 
107
  instances-path:
 
108
    type: string
 
109
    default:
 
110
    description: Instance path to use - empty means default of /var/lib/nova/instances
 
111
  config-flags:
 
112
    type: string
 
113
    default:
 
114
    description: Comma separated list of key=value config flags to be set in nova.conf.
158
115
  nagios_context:
 
116
    default: "juju"
159
117
    type: string
160
 
    default: 'juju'
161
118
    description: |
162
 
      Used by the nrpe-external-master subordinate charm. A string that will be
163
 
      prepended to instance name to set the host name in nagios. So for
164
 
      instance the hostname would be something like:
165
 
      .
166
 
        juju-myservice-0
167
 
      .
 
119
      Used by the nrpe-external-master subordinate charm.
 
120
      A string that will be prepended to instance name to set the host name
 
121
      in nagios. So for instance the hostname would be something like:
 
122
          juju-myservice-0
168
123
      If you're running multiple environments with the same services in them
169
124
      this allows you to differentiate between them.
170
125
  nagios_servicegroups:
 
126
    default: ""
171
127
    type: string
172
 
    default:
173
 
    description: |
174
 
      A comma-separated list of nagios servicegroups. If left empty, the
175
 
      nagios_context will be used as the servicegroup.
176
 
  # Network configuration options
177
 
  # NOTE: by default all access is over 'private-address'
178
 
  network-device-mtu:
179
 
    type: int
180
 
    default:
181
 
    description: |
182
 
      The MTU size for the interfaces managed by neutron. If unset or set to
183
 
      0, no mtu will be applied.
 
128
    description: |
 
129
      A comma-separated list of nagios servicegroups.
 
130
      If left empty, the nagios_context will be used as the servicegroup
184
131
  disable-neutron-security-groups:
185
132
    type: boolean
186
133
    default: False
188
135
      Disable neutron based security groups - setting this configuration option
189
136
      will override any settings configured via the nova-cloud-controller charm.
190
137
      .
191
 
      BE CAREFUL - this option allows you to disable all port level security
192
 
      within an OpenStack cloud.
 
138
      BE CAREFUL - this option allows you to disable all port level security within
 
139
      and OpenStack cloud.
 
140
  # Network configuration options
 
141
  # by default all access is over 'private-address'
193
142
  os-data-network:
194
143
    type: string
195
144
    default:
196
145
    description: |
197
146
      The IP address and netmask of the OpenStack Data network (e.g.,
198
147
      192.168.0.0/24)
199
 
 
 
148
      .
200
149
      This network will be used for tenant network traffic in overlay
201
150
      networks.
202
151
  prefer-ipv6:
206
155
      If True enables IPv6 support. The charm will expect network interfaces
207
156
      to be configured with an IPv6 address. If set to False (default) IPv4
208
157
      is expected.
209
 
 
 
158
      .
210
159
      NOTE: these charms do not currently support IPv6 privacy extension. In
211
160
      order for this charm to function correctly, the privacy extension must be
212
161
      disabled and a non-temporary address must be configured/available on
213
162
      your network interface.
 
163
  network-device-mtu:
 
164
    type: int
 
165
    default:
 
166
    description: |
 
167
      The MTU size for the interfaces managed by neutron.
214
168
  # Storage configuration options
215
169
  libvirt-image-backend:
 
170
    default:
216
171
    type: string
217
 
    default:
218
 
    description: |
219
 
      Tell Nova which libvirt image backend to use. Supported backends are rbd,
220
 
      lvm and qcow2. If no backend is specified, the Nova default (qcow2) is
221
 
      used. Note that rbd imagebackend is only supported with >= Juno.
 
172
    description:
 
173
      Tell Nova which libvirt image backend to use. Supported backends are rbd and lvm.
 
174
      If no backend is specified, the Nova default is used (probably qcow2).
222
175
  rbd-pool:
223
 
    type: string
224
 
    default: 'nova'
225
 
    description: |
226
 
      RBD pool to use with Nova libvirt RBDImageBackend. Only required when you
227
 
      have libvirt-image-backend set to 'rbd'.
228
 
  rbd-client-cache:
229
 
    type: string
230
 
    default:
231
 
    description: |
232
 
      Enable/disable rbd client cache. Leaving this value unset will result in
233
 
      default Ceph rbd client settings being used (rbd cache is enabled by
234
 
      default for Ceph >= Giant). Supported values here are "enabled" or
235
 
      "disabled".
 
176
    default: "nova"
 
177
    type: string
 
178
    description: |
 
179
      RBD pool to use with Nova RBD image backend. Required when
 
180
      libvirt_image_backend is rbd.
236
181
  ceph-osd-replication-count:
237
 
    type: int
238
182
    default: 3
 
183
    type: int
239
184
    description: |
240
185
      This value dictates the number of replicas ceph must make of any
241
186
      object it stores withing the nova rbd pool. Of course, this only
250
195
    description: |
251
196
      YAML formatted associative array of sysctl values, e.g.:
252
197
      '{ kernel.pid_max : 4194303 }'
253
 
  manage-neutron-plugin-legacy-mode:
254
 
    type: boolean
255
 
    default: True
256
 
    description: |
257
 
      If True nova-compute will install neutron packages for the plugin
258
 
      stipulated by nova-cloud-controller. The option is only available for
259
 
      backward compatibility for deployments which do not use the neutron-api
260
 
      charm. Please do not enable this on new deployments.
261
 
  # Huge page configuration - off by default
262
 
  hugepages:
263
 
    type: string
264
 
    default:
265
 
    description: |
266
 
      The pecentage of system memory to use for hugepages eg '10%' or the total
267
 
      number of 2M hugepages - eg "1024".