Cleanup config.yaml
Change-Id: I5e42168cd74ebe973912db2003c242c9eb534fc2
This commit is contained in:
parent
fba74d6aef
commit
3531601714
185
config.yaml
185
config.yaml
@ -1,11 +1,11 @@
|
|||||||
options:
|
options:
|
||||||
debug:
|
debug:
|
||||||
default: False
|
|
||||||
type: boolean
|
type: boolean
|
||||||
|
default: False
|
||||||
description: Enable debug logging.
|
description: Enable debug logging.
|
||||||
verbose:
|
verbose:
|
||||||
default: False
|
|
||||||
type: boolean
|
type: boolean
|
||||||
|
default: False
|
||||||
description: Enable verbose logging.
|
description: Enable verbose logging.
|
||||||
use-syslog:
|
use-syslog:
|
||||||
type: boolean
|
type: boolean
|
||||||
@ -13,44 +13,38 @@ options:
|
|||||||
description: |
|
description: |
|
||||||
Setting this to True will allow supporting services to log to syslog.
|
Setting this to True will allow supporting services to log to syslog.
|
||||||
openstack-origin:
|
openstack-origin:
|
||||||
default: distro
|
|
||||||
type: string
|
type: string
|
||||||
|
default: distro
|
||||||
description: |
|
description: |
|
||||||
Repository from which to install. May be one of the following:
|
Repository from which to install. May be one of the following:
|
||||||
distro (default), ppa:somecustom/ppa, a deb url sources entry,
|
distro (default), ppa:somecustom/ppa, a deb url sources entry,
|
||||||
or a supported Cloud Archive release pocket.
|
or a supported Ubuntu Cloud Archive e.g.
|
||||||
|
.
|
||||||
Supported Cloud Archive sources include:
|
|
||||||
|
|
||||||
cloud:<series>-<openstack-release>
|
cloud:<series>-<openstack-release>
|
||||||
cloud:<series>-<openstack-release>/updates
|
cloud:<series>-<openstack-release>/updates
|
||||||
cloud:<series>-<openstack-release>/staging
|
cloud:<series>-<openstack-release>/staging
|
||||||
cloud:<series>-<openstack-release>/proposed
|
cloud:<series>-<openstack-release>/proposed
|
||||||
|
.
|
||||||
For series=Precise we support cloud archives for openstack-release:
|
See https://wiki.ubuntu.com/OpenStack/CloudArchive for info on which
|
||||||
* icehouse
|
cloud archives are available and supported.
|
||||||
|
.
|
||||||
For series=Trusty we support cloud archives for openstack-release:
|
|
||||||
* juno
|
|
||||||
* kilo
|
|
||||||
* ...
|
|
||||||
|
|
||||||
NOTE: updating this setting to a source that is known to provide
|
NOTE: updating this setting to a source that is known to provide
|
||||||
a later version of OpenStack will trigger a software upgrade.
|
a later version of OpenStack will trigger a software upgrade unless
|
||||||
|
action-managed-upgrade is set to True.
|
||||||
openstack-origin-git:
|
openstack-origin-git:
|
||||||
default:
|
|
||||||
type: string
|
type: string
|
||||||
|
default:
|
||||||
description: |
|
description: |
|
||||||
Specifies a default OpenStack release name, or a YAML dictionary
|
Specifies a default OpenStack release name, or a YAML dictionary
|
||||||
listing the git repositories to install from.
|
listing the git repositories to install from.
|
||||||
|
.
|
||||||
The default Openstack release name may be one of the following, where
|
The default Openstack release name may be one of the following, where
|
||||||
the corresponding OpenStack github branch will be used:
|
the corresponding OpenStack github branch will be used:
|
||||||
* liberty
|
* liberty
|
||||||
* mitaka
|
* mitaka
|
||||||
* newton
|
* newton
|
||||||
* master
|
* master
|
||||||
|
.
|
||||||
The YAML must minimally include requirements and glance repositories,
|
The YAML must minimally include requirements and glance repositories,
|
||||||
and may also include repositories for other dependencies:
|
and may also include repositories for other dependencies:
|
||||||
repositories:
|
repositories:
|
||||||
@ -61,13 +55,29 @@ options:
|
|||||||
repository: 'git://github.com/openstack/glance',
|
repository: 'git://github.com/openstack/glance',
|
||||||
branch: master}
|
branch: master}
|
||||||
release: master
|
release: master
|
||||||
database-user:
|
action-managed-upgrade:
|
||||||
default: glance
|
type: boolean
|
||||||
|
default: False
|
||||||
|
description: |
|
||||||
|
If True enables openstack upgrades for this charm via juju actions.
|
||||||
|
You will still need to set openstack-origin to the new repository but
|
||||||
|
instead of an upgrade running automatically across all units, it will
|
||||||
|
wait for you to execute the openstack-upgrade action for this charm on
|
||||||
|
each unit. If False it will revert to existing behavior of upgrading
|
||||||
|
all units on config change.
|
||||||
|
harden:
|
||||||
type: string
|
type: string
|
||||||
|
default:
|
||||||
|
description: |
|
||||||
|
Apply system hardening. Supports a space-delimited list of modules
|
||||||
|
to run. Supported modules currently include os, ssh, apache and mysql.
|
||||||
|
database-user:
|
||||||
|
type: string
|
||||||
|
default: glance
|
||||||
description: Database username
|
description: Database username
|
||||||
database:
|
database:
|
||||||
default: glance
|
|
||||||
type: string
|
type: string
|
||||||
|
default: glance
|
||||||
description: Glance database name.
|
description: Glance database name.
|
||||||
api-config-flags:
|
api-config-flags:
|
||||||
type: string
|
type: string
|
||||||
@ -84,19 +94,19 @@ options:
|
|||||||
glance-registry.conf where 'value' may itself be a comma-separated list
|
glance-registry.conf where 'value' may itself be a comma-separated list
|
||||||
of values to be assigned to the 'key'.
|
of values to be assigned to the 'key'.
|
||||||
region:
|
region:
|
||||||
default: RegionOne
|
|
||||||
type: string
|
type: string
|
||||||
|
default: RegionOne
|
||||||
description: OpenStack Region
|
description: OpenStack Region
|
||||||
use-internal-endpoints:
|
use-internal-endpoints:
|
||||||
default: False
|
|
||||||
type: boolean
|
type: boolean
|
||||||
|
default: False
|
||||||
description: |
|
description: |
|
||||||
Openstack mostly defaults to using public endpoints for
|
Openstack mostly defaults to using public endpoints for
|
||||||
internal communication between services. If set to True this option will
|
internal communication between services. If set to True this option will
|
||||||
configure services to use internal endpoints where possible.
|
configure services to use internal endpoints where possible.
|
||||||
ceph-osd-replication-count:
|
ceph-osd-replication-count:
|
||||||
default: 3
|
|
||||||
type: int
|
type: int
|
||||||
|
default: 3
|
||||||
description: |
|
description: |
|
||||||
This value dictates the number of replicas ceph must make of any
|
This value dictates the number of replicas ceph must make of any
|
||||||
object it stores within the images rbd pool. Of course, this only
|
object it stores within the images rbd pool. Of course, this only
|
||||||
@ -120,17 +130,41 @@ options:
|
|||||||
only be increased, never decreased - so it is important to identify the
|
only be increased, never decreased - so it is important to identify the
|
||||||
percent of data that will likely reside in the pool.
|
percent of data that will likely reside in the pool.
|
||||||
restrict-ceph-pools:
|
restrict-ceph-pools:
|
||||||
default: False
|
|
||||||
type: boolean
|
type: boolean
|
||||||
|
default: False
|
||||||
description: |
|
description: |
|
||||||
Optionally restrict Ceph key permissions to access pools as required.
|
Optionally restrict Ceph key permissions to access pools as required.
|
||||||
|
worker-multiplier:
|
||||||
|
type: float
|
||||||
|
default:
|
||||||
|
description: |
|
||||||
|
The CPU core multiplier to use when configuring worker processes for
|
||||||
|
Glance. By default, the number of workers for each daemon is set to
|
||||||
|
twice the number of CPU cores a service unit has. When deployed in
|
||||||
|
a LXD container, this default value will be capped to 4 workers
|
||||||
|
unless this configuration option is set.
|
||||||
|
expose-image-locations:
|
||||||
|
type: boolean
|
||||||
|
default: True
|
||||||
|
description: |
|
||||||
|
Expose underlying image locations via the API when using Ceph for image
|
||||||
|
storage. Only disable this option if you do not wish to use
|
||||||
|
copy-on-write clones of RAW format images with Ceph in Cinder and Nova.
|
||||||
|
rabbit-user:
|
||||||
|
type: string
|
||||||
|
default: glance
|
||||||
|
description: Username to request access on rabbitmq-server.
|
||||||
|
rabbit-vhost:
|
||||||
|
type: string
|
||||||
|
default: openstack
|
||||||
|
description: RabbitMQ virtual host to request access on rabbitmq-server.
|
||||||
# HA configuration settings
|
# HA configuration settings
|
||||||
dns-ha:
|
dns-ha:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: False
|
default: False
|
||||||
description: |
|
description: |
|
||||||
Use DNS HA with MAAS 2.0. Note if this is set do not set vip
|
Use DNS HA with MAAS 2.0. Note if this is set do not set vip
|
||||||
settings below.
|
settings below.
|
||||||
vip:
|
vip:
|
||||||
type: string
|
type: string
|
||||||
default:
|
default:
|
||||||
@ -167,33 +201,33 @@ options:
|
|||||||
type: int
|
type: int
|
||||||
default:
|
default:
|
||||||
description: |
|
description: |
|
||||||
Server timeout configuration in ms for haproxy, used in HA configurations.
|
Server timeout configuration in ms for haproxy, used in HA
|
||||||
If not provided, default value of 30000ms is used.
|
configurations. If not provided, default value of 30000ms is used.
|
||||||
haproxy-client-timeout:
|
haproxy-client-timeout:
|
||||||
type: int
|
type: int
|
||||||
default:
|
default:
|
||||||
description: |
|
description: |
|
||||||
Client timeout configuration in ms for haproxy, used in HA
|
Client timeout configuration in ms for haproxy, used in HA
|
||||||
configurations. If not provided, default value of 30000ms is used.
|
configurations. If not provided, default value of 30000ms is used.
|
||||||
haproxy-queue-timeout:
|
haproxy-queue-timeout:
|
||||||
type: int
|
type: int
|
||||||
default:
|
default:
|
||||||
description: |
|
description: |
|
||||||
Queue timeout configuration in ms for haproxy, used in HA
|
Queue timeout configuration in ms for haproxy, used in HA
|
||||||
configurations. If not provided, default value of 5000ms is used.
|
configurations. If not provided, default value of 5000ms is used.
|
||||||
haproxy-connect-timeout:
|
haproxy-connect-timeout:
|
||||||
type: int
|
type: int
|
||||||
default:
|
default:
|
||||||
description: |
|
description: |
|
||||||
Connect timeout configuration in ms for haproxy, used in HA
|
Connect timeout configuration in ms for haproxy, used in HA
|
||||||
configurations. If not provided, default value of 5000ms is used.
|
configurations. If not provided, default value of 5000ms is used.
|
||||||
ssl_cert:
|
ssl_cert:
|
||||||
type: string
|
type: string
|
||||||
default:
|
default:
|
||||||
description: |
|
description: |
|
||||||
SSL certificate to install and use for API ports. Setting this value
|
SSL certificate to install and use for API ports. Setting this value
|
||||||
and ssl_key will enable reverse proxying, point Glance's entry in the
|
and ssl_key will enable reverse proxying, point Glance's entry in the
|
||||||
Keystone catalog to use https, and override any certficiate and key
|
Keystone catalog to use https, and override any certificate and key
|
||||||
issued by Keystone (if it is configured to do so).
|
issued by Keystone (if it is configured to do so).
|
||||||
ssl_key:
|
ssl_key:
|
||||||
type: string
|
type: string
|
||||||
@ -205,21 +239,12 @@ options:
|
|||||||
description: |
|
description: |
|
||||||
SSL CA to use with the certificate and key provided - this is only
|
SSL CA to use with the certificate and key provided - this is only
|
||||||
required if you are providing a privately signed ssl_cert and ssl_key.
|
required if you are providing a privately signed ssl_cert and ssl_key.
|
||||||
rabbit-user:
|
# Network config (by default all access is over 'private-address')
|
||||||
default: glance
|
|
||||||
type: string
|
|
||||||
description: Username to request access on rabbitmq-server.
|
|
||||||
rabbit-vhost:
|
|
||||||
default: openstack
|
|
||||||
type: string
|
|
||||||
description: RabbitMQ virtual host to request access on rabbitmq-server.
|
|
||||||
# Network configuration options
|
|
||||||
# by default all access is over 'private-address'
|
|
||||||
os-admin-network:
|
os-admin-network:
|
||||||
type: string
|
type: string
|
||||||
default:
|
default:
|
||||||
description: |
|
description: |
|
||||||
The IP address and netmask of the OpenStack Admin network (e.g.,
|
The IP address and netmask of the OpenStack Admin network (e.g.
|
||||||
192.168.0.0/24)
|
192.168.0.0/24)
|
||||||
.
|
.
|
||||||
This network will be used for admin endpoints.
|
This network will be used for admin endpoints.
|
||||||
@ -227,7 +252,7 @@ options:
|
|||||||
type: string
|
type: string
|
||||||
default:
|
default:
|
||||||
description: |
|
description: |
|
||||||
The IP address and netmask of the OpenStack Internal network (e.g.,
|
The IP address and netmask of the OpenStack Internal network (e.g.
|
||||||
192.168.0.0/24)
|
192.168.0.0/24)
|
||||||
.
|
.
|
||||||
This network will be used for internal endpoints.
|
This network will be used for internal endpoints.
|
||||||
@ -235,7 +260,7 @@ options:
|
|||||||
type: string
|
type: string
|
||||||
default:
|
default:
|
||||||
description: |
|
description: |
|
||||||
The IP address and netmask of the OpenStack Public network (e.g.,
|
The IP address and netmask of the OpenStack Public network (e.g.
|
||||||
192.168.0.0/24)
|
192.168.0.0/24)
|
||||||
.
|
.
|
||||||
This network will be used for public endpoints.
|
This network will be used for public endpoints.
|
||||||
@ -259,8 +284,8 @@ options:
|
|||||||
in the keystone identity provider.
|
in the keystone identity provider.
|
||||||
.
|
.
|
||||||
This value will be used for internal endpoints. For example, an
|
This value will be used for internal endpoints. For example, an
|
||||||
os-internal-hostname set to 'glance.internal.example.com' with ssl enabled will
|
os-internal-hostname set to 'glance.internal.example.com' with ssl
|
||||||
create a internal endpoint for glance of:
|
enabled will create a internal endpoint for glance of:
|
||||||
.
|
.
|
||||||
https://glance.internal.example.com:9292/
|
https://glance.internal.example.com:9292/
|
||||||
os-admin-hostname:
|
os-admin-hostname:
|
||||||
@ -287,51 +312,19 @@ options:
|
|||||||
order for this charm to function correctly, the privacy extension must be
|
order for this charm to function correctly, the privacy extension must be
|
||||||
disabled and a non-temporary address must be configured/available on
|
disabled and a non-temporary address must be configured/available on
|
||||||
your network interface.
|
your network interface.
|
||||||
worker-multiplier:
|
# Monitoring config
|
||||||
type: float
|
|
||||||
default:
|
|
||||||
description: |
|
|
||||||
The CPU core multiplier to use when configuring worker processes for
|
|
||||||
Glance. By default, the number of workers for each daemon is set to
|
|
||||||
twice the number of CPU cores a service unit has. When deployed in
|
|
||||||
a LXD container, this default value will be capped to 4 workers
|
|
||||||
unless this configuration option is set.
|
|
||||||
nagios_context:
|
nagios_context:
|
||||||
default: "juju"
|
|
||||||
type: string
|
type: string
|
||||||
|
default: "juju"
|
||||||
description: |
|
description: |
|
||||||
Used by the nrpe-external-master subordinate charm.
|
Used by the nrpe-external-master subordinate charm. A string that will
|
||||||
A string that will be prepended to instance name to set the host name
|
be prepended to instance name to set the host name in nagios. So for
|
||||||
in nagios. So for instance the hostname would be something like:
|
instance the hostname would be something like 'juju-myservice-0'. If
|
||||||
juju-myservice-0
|
you are running multiple environments with the same services in them
|
||||||
If you're running multiple environments with the same services in them
|
|
||||||
this allows you to differentiate between them.
|
this allows you to differentiate between them.
|
||||||
nagios_servicegroups:
|
nagios_servicegroups:
|
||||||
|
type: string
|
||||||
default: ""
|
default: ""
|
||||||
type: string
|
|
||||||
description: |
|
description: |
|
||||||
A comma-separated list of nagios servicegroups.
|
A comma-separated list of nagios service groups.
|
||||||
If left empty, the nagios_context will be used as the servicegroup
|
If left empty, the nagios_context will be used as the servicegroup
|
||||||
action-managed-upgrade:
|
|
||||||
type: boolean
|
|
||||||
default: False
|
|
||||||
description: |
|
|
||||||
If True enables openstack upgrades for this charm via juju actions.
|
|
||||||
You will still need to set openstack-origin to the new repository but
|
|
||||||
instead of an upgrade running automatically across all units, it will
|
|
||||||
wait for you to execute the openstack-upgrade action for this charm on
|
|
||||||
each unit. If False it will revert to existing behavior of upgrading
|
|
||||||
all units on config change.
|
|
||||||
expose-image-locations:
|
|
||||||
type: boolean
|
|
||||||
default: True
|
|
||||||
description: |
|
|
||||||
Expose underlying image locations via the API when using Ceph for image
|
|
||||||
storage. Only disable this option if you do not wish to use copy-on-write
|
|
||||||
clones of RAW format images with Ceph in Cinder and Nova.
|
|
||||||
harden:
|
|
||||||
default:
|
|
||||||
type: string
|
|
||||||
description: |
|
|
||||||
Apply system hardening. Supports a space-delimited list of modules
|
|
||||||
to run. Supported modules currently include os, ssh, apache and mysql.
|
|
||||||
|
Loading…
Reference in New Issue
Block a user