
When nova compute is deployed with multiple network interfaces configured. It may be necessary to specify which interface to use for the cloud-compute relation. Do not use unit_get('private-address') which gives unpredictable results. Instead, leverage network-get for network spaces aware address selection. Charm helpers sync to pull in generalized get_relation_ip() used in other charms which checks network-get after checking for all of the edge cases including IPv6 and config overrides. Use get_relation_ip() for address selection. This allows for specifying a network space in a bundle when using MAAS 2.x. This guarantees the charm will select the correct interface and IP for the network space. nova-compute: bindings: cloud-compute: internal-space Closes-bug: #1670866 Change-Id: Ib43a7a52acf5a07b68dea808082da0ba6eb237c1
Overview
This directory provides Amulet tests to verify basic deployment functionality from the perspective of this charm, its requirements and its features, as exercised in a subset of the full OpenStack deployment test bundle topology.
For full details on functional testing of OpenStack charms please refer to the functional testing section of the OpenStack Charm Guide.