charm-nova-compute/metadata.yaml
Jorge Niedbalski 0905a447ad Allows to configure a dedicated migration network.
This commits adds a new extra binding (migration) and
its corresponding fallback configuration flag (libvirt-
migration-network) that allows to specify a space or an
existing CIDR formatted network (if the config flag is pre-
ferred) that will be seleced as the inbound address to be used
as a the live migration target.

For the case of any openstack release >= ocata,
the live_migration_inbound_addr variable will be set
as well as the libvirt_migration_scheme (set to SSH
by default).

For older releases, the behavior remains as before,
as the only remaining option is to setup libvirt
to bind in a insecure tcp connection, so we keep it
as the current live_migration_uri.

The reason of not using an extra-binding exclusively relies
on the back-compability of the change, this needs
to be applied on existing clouds where updating
the bindings on deployed application
isn't possible due to LP: #1796653.

For fresh/new deployments, the migration extra-binding
has been defined and used with precedence over the
libvirt-migration-network variable.

Change-Id: I2f8c0a1e822ad6a90e23cd8009e181b8f86d765a
Closes-Bug: #1680531
Signed-off-by: Jorge Niedbalski <jnr@metaklass.org>
2019-10-22 19:34:40 +00:00

62 lines
1.3 KiB
YAML

name: nova-compute
summary: OpenStack Compute - Nova compute hypervisor
maintainer: OpenStack Charmers <openstack-charmers@lists.ubuntu.com>
description: |
OpenStack Compute, codenamed Nova, is a cloud computing fabric controller. In
addition to its "native" API (the OpenStack API), it also supports the Amazon
EC2 API.
.
This charm provides the Nova Compute hypervisor service and should be deployed
directly to physical servers.
tags:
- openstack
series:
- xenial
- bionic
- eoan
- disco
- trusty
provides:
cloud-compute:
interface: nova-compute
nrpe-external-master:
interface: nrpe-external-master
scope: container
extra-bindings:
internal:
migration:
requires:
amqp:
interface: rabbitmq
image-service:
interface: glance
ceph:
interface: ceph-client
lxd:
interface: containers
scope: container
nova-ceilometer:
interface: nova-ceilometer
scope: container
neutron-plugin:
interface: neutron-plugin
scope: container
ephemeral-backend:
interface: ephemeral-backend
scope: container
ceph-access:
interface: cinder-ceph-key
cloud-credentials:
interface: keystone-credentials
secrets-storage:
interface: vault-kv
peers:
compute-peer:
interface: nova
storage:
ephemeral-device:
type: block
multiple:
range: 0-1
minimum-size: 10G