[trivial] more config cleanup
This commit is contained in:
parent
fef3a73141
commit
29e532c163
198
config.yaml
198
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,97 +13,77 @@ 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
|
||||||
or a supported Cloud Archive release pocket.
|
supported Ubuntu Cloud Archive (UCA) release pocket.
|
||||||
|
.
|
||||||
Supported Cloud Archive sources include:
|
Supported UCA 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:
|
For series=Precise we support UCA for openstack-release=
|
||||||
* icehouse
|
* icehouse
|
||||||
|
.
|
||||||
For series=Trusty we support cloud archives for openstack-release:
|
For series=Trusty we support UCA for openstack-release=
|
||||||
* juno
|
* juno
|
||||||
* kilo
|
* 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.
|
||||||
|
.
|
||||||
NOTE: when openstack-origin-git is specified, openstack specific
|
NOTE: when openstack-origin-git is specified, openstack specific
|
||||||
packages will be installed from source rather than from the
|
packages will be installed from source rather than from the
|
||||||
openstack-origin repository.
|
openstack-origin repository.
|
||||||
openstack-origin-git:
|
openstack-origin-git:
|
||||||
default:
|
|
||||||
type: string
|
type: string
|
||||||
|
default:
|
||||||
description: |
|
description: |
|
||||||
Specifies a YAML-formatted dictionary listing the git
|
Specifies a YAML-formatted dictionary listing the git repositories and
|
||||||
repositories and branches from which to install OpenStack and
|
branches from which to install OpenStack and its dependencies.
|
||||||
its dependencies.
|
.
|
||||||
|
|
||||||
Note that the installed config files will be determined based on
|
Note that the installed config files will be determined based on
|
||||||
the OpenStack release of the openstack-origin option.
|
the OpenStack release of the openstack-origin option.
|
||||||
|
.
|
||||||
For more details see README.md.
|
For more details see README.md.
|
||||||
nova-config:
|
nova-config:
|
||||||
|
type: string
|
||||||
default: /etc/nova/nova.conf
|
default: /etc/nova/nova.conf
|
||||||
type: string
|
description: Full path to Nova configuration file.
|
||||||
description: Full path to nova.conf
|
|
||||||
rabbit-user:
|
rabbit-user:
|
||||||
default: nova
|
|
||||||
type: string
|
type: string
|
||||||
description: Username used to access rabbitmq queue
|
default: nova
|
||||||
|
description: Username used to access rabbitmq queue.
|
||||||
rabbit-vhost:
|
rabbit-vhost:
|
||||||
|
type: string
|
||||||
default: openstack
|
default: openstack
|
||||||
type: string
|
description: Rabbitmq vhost.
|
||||||
description: Rabbitmq vhost
|
|
||||||
database-user:
|
|
||||||
default: nova
|
|
||||||
type: string
|
|
||||||
description: Username for database access
|
|
||||||
database:
|
|
||||||
default: nova
|
|
||||||
type: string
|
|
||||||
description: Database name
|
|
||||||
neutron-database-user:
|
|
||||||
default: neutron
|
|
||||||
type: string
|
|
||||||
description: Username for Neutron database access (if enabled)
|
|
||||||
neutron-database:
|
|
||||||
default: neutron
|
|
||||||
type: string
|
|
||||||
description: Database name for Neutron (if enabled)
|
|
||||||
virt-type:
|
virt-type:
|
||||||
|
type: string
|
||||||
default: kvm
|
default: kvm
|
||||||
type: string
|
|
||||||
description: |
|
description: |
|
||||||
Virtualization flavor. Supported types are: kvm, xen, uml, lxc, qemu, lxd
|
Virtualization flavor. Supported flavors are: kvm, xen, uml, lxc, qemu,
|
||||||
multi-host:
|
lxd.
|
||||||
default: "yes"
|
|
||||||
type: string
|
|
||||||
description: Whether to run nova-api and nova-network on the compute nodes.
|
|
||||||
disk-cachemodes:
|
disk-cachemodes:
|
||||||
default:
|
|
||||||
type: string
|
type: string
|
||||||
|
default:
|
||||||
description: |
|
description: |
|
||||||
Specific cachemodes to use for different disk types e.g:
|
Specific cachemodes to use for different disk types e.g:
|
||||||
file=directsync,block=none
|
file=directsync,block=none
|
||||||
enable-resize:
|
enable-resize:
|
||||||
default: False
|
|
||||||
type: boolean
|
type: boolean
|
||||||
|
default: False
|
||||||
description: Enable instance resizing, which requires that passwordless SSH
|
description: Enable instance resizing, which requires that passwordless SSH
|
||||||
access be setup between compute hosts.
|
access be setup between compute hosts.
|
||||||
enable-live-migration:
|
enable-live-migration:
|
||||||
default: False
|
|
||||||
type: boolean
|
type: boolean
|
||||||
|
default: False
|
||||||
description: Configure libvirt for live migration.
|
description: Configure libvirt for live migration.
|
||||||
migration-auth-type:
|
migration-auth-type:
|
||||||
type: string
|
type: string
|
||||||
@ -112,63 +92,95 @@ options:
|
|||||||
TCP authentication scheme for libvirt live migration. Available options
|
TCP authentication scheme for libvirt live migration. Available options
|
||||||
include ssh.
|
include ssh.
|
||||||
authorized-keys-path:
|
authorized-keys-path:
|
||||||
default: '{homedir}/.ssh/authorized_keys'
|
|
||||||
type: string
|
type: string
|
||||||
|
default: '{homedir}/.ssh/authorized_keys'
|
||||||
description: |
|
description: |
|
||||||
Only used when migration-auth-type is set to ssh.
|
Only used when migration-auth-type is set to ssh.
|
||||||
|
.
|
||||||
Full path to authorized_keys file, can be useful for systems with
|
Full path to authorized_keys file, can be useful for systems with
|
||||||
non-default AuthorizedKeysFile location. It will be formatted using the
|
non-default AuthorizedKeysFile location. It will be formatted using the
|
||||||
following variables:
|
following variables:
|
||||||
|
.
|
||||||
homedir - user's home directory
|
homedir - user's home directory
|
||||||
username - username
|
username - username
|
||||||
|
.
|
||||||
# needed if using flatmanager
|
|
||||||
bridge-interface:
|
|
||||||
default: br100
|
|
||||||
type: string
|
|
||||||
description: Bridge interface to be configured
|
|
||||||
bridge-ip:
|
|
||||||
default: 11.0.0.1
|
|
||||||
type: string
|
|
||||||
description: IP to be assigned to bridge interface
|
|
||||||
bridge-netmask:
|
|
||||||
default: 255.255.255.0
|
|
||||||
type: string
|
|
||||||
description: Netmask to be assigned to bridge interface
|
|
||||||
# needed if using flatdhcpmanager
|
|
||||||
flat-interface:
|
|
||||||
default: eth1
|
|
||||||
type: string
|
|
||||||
description: Network interface on which to build bridge
|
|
||||||
instances-path:
|
instances-path:
|
||||||
type: string
|
type: string
|
||||||
default:
|
default:
|
||||||
description: |
|
description: |
|
||||||
Instance path to use - empty means default of /var/lib/nova/instances
|
Path used for storing Nova instances data - empty means default of
|
||||||
|
/var/lib/nova/instances.
|
||||||
config-flags:
|
config-flags:
|
||||||
type: string
|
type: string
|
||||||
default:
|
default:
|
||||||
description: |
|
description: |
|
||||||
Comma-separated list of key=value config flags. These values will be
|
Comma-separated list of key=value config flags. These values will be
|
||||||
placed in the nova.conf [DEFAULT] section.
|
placed in the nova.conf [DEFAULT] section.
|
||||||
nagios_context:
|
database-user:
|
||||||
default: "juju"
|
|
||||||
type: string
|
type: string
|
||||||
|
default: nova
|
||||||
|
description: Username for database access.
|
||||||
|
database:
|
||||||
|
type: string
|
||||||
|
default: nova
|
||||||
|
description: Nova database name.
|
||||||
|
neutron-database-user:
|
||||||
|
type: string
|
||||||
|
default: neutron
|
||||||
|
description: Username for Neutron database access (if enabled).
|
||||||
|
neutron-database:
|
||||||
|
type: string
|
||||||
|
default: neutron
|
||||||
|
description: Database name for Neutron (if enabled).
|
||||||
|
multi-host:
|
||||||
|
type: string
|
||||||
|
default: 'yes'
|
||||||
|
description: Whether to run nova-api and nova-network on the compute nodes.
|
||||||
|
# Required if using FlatManager (nova-network)
|
||||||
|
bridge-interface:
|
||||||
|
type: string
|
||||||
|
default: br100
|
||||||
|
description: Bridge interface to be configured
|
||||||
|
bridge-ip:
|
||||||
|
type: string
|
||||||
|
default: 11.0.0.1
|
||||||
|
description: IP to be assigned to bridge interface
|
||||||
|
bridge-netmask:
|
||||||
|
type: string
|
||||||
|
default: 255.255.255.0
|
||||||
|
description: Netmask to be assigned to bridge interface
|
||||||
|
# Required if using FlatDHCPManager (nova-network)
|
||||||
|
flat-interface:
|
||||||
|
type: string
|
||||||
|
default: eth1
|
||||||
|
description: Network interface on which to build bridge
|
||||||
|
# Nagios configuration options
|
||||||
|
nagios_context:
|
||||||
|
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 be
|
||||||
A string that will be prepended to instance name to set the host name
|
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
|
.
|
||||||
|
juju-myservice-0
|
||||||
|
.
|
||||||
If you're 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:
|
||||||
default: ""
|
|
||||||
type: string
|
type: string
|
||||||
|
default:
|
||||||
description: |
|
description: |
|
||||||
A comma-separated list of nagios servicegroups.
|
A comma-separated list of nagios servicegroups. If left empty, the
|
||||||
If left empty, the nagios_context will be used as the servicegroup
|
nagios_context will be used as the servicegroup.
|
||||||
|
# Network configuration options
|
||||||
|
# NOTE: by default all access is over 'private-address'
|
||||||
|
network-device-mtu:
|
||||||
|
type: int
|
||||||
|
default:
|
||||||
|
description: |
|
||||||
|
The MTU size for the interfaces managed by neutron. If unset or set to
|
||||||
|
0, no mtu will be applied.
|
||||||
disable-neutron-security-groups:
|
disable-neutron-security-groups:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: False
|
default: False
|
||||||
@ -177,9 +189,7 @@ options:
|
|||||||
will override any settings configured via the nova-cloud-controller charm.
|
will override any settings configured via the nova-cloud-controller charm.
|
||||||
.
|
.
|
||||||
BE CAREFUL - this option allows you to disable all port level security
|
BE CAREFUL - this option allows you to disable all port level security
|
||||||
within and OpenStack cloud.
|
within an OpenStack cloud.
|
||||||
# Network configuration options
|
|
||||||
# by default all access is over 'private-address'
|
|
||||||
os-data-network:
|
os-data-network:
|
||||||
type: string
|
type: string
|
||||||
default:
|
default:
|
||||||
@ -201,29 +211,23 @@ 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.
|
||||||
network-device-mtu:
|
|
||||||
type: int
|
|
||||||
default:
|
|
||||||
description: |
|
|
||||||
The MTU size for the interfaces managed by neutron. If unset or set to
|
|
||||||
0, no value will be applied.
|
|
||||||
# Storage configuration options
|
# Storage configuration options
|
||||||
libvirt-image-backend:
|
libvirt-image-backend:
|
||||||
default:
|
|
||||||
type: string
|
type: string
|
||||||
|
default:
|
||||||
description: |
|
description: |
|
||||||
Tell Nova which libvirt image backend to use. Supported backends are rbd,
|
Tell Nova which libvirt image backend to use. Supported backends are rbd,
|
||||||
lvm and qcow2. If no backend is specified, the Nova default (qcow2) is
|
lvm and qcow2. If no backend is specified, the Nova default (qcow2) is
|
||||||
used. Note that rbd imagebackend is only supported with >= Juno.
|
used. Note that rbd imagebackend is only supported with >= Juno.
|
||||||
rbd-pool:
|
rbd-pool:
|
||||||
default: "nova"
|
|
||||||
type: string
|
type: string
|
||||||
|
default: 'nova'
|
||||||
description: |
|
description: |
|
||||||
RBD pool to use with Nova RBD image backend. Required when
|
RBD pool to use with Nova libvirt RBDImageBackend. Only required when you
|
||||||
libvirt_image_backend is rbd.
|
have libvirt-image-backend set to 'rbd'.
|
||||||
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 withing the nova rbd pool. Of course, this only
|
object it stores withing the nova rbd pool. Of course, this only
|
||||||
|
Loading…
Reference in New Issue
Block a user