Distribute direct charm dependencies

Do not rely on system installed Python packages but distribute the
direct charm dependencies as part of the charms wheelhouse.

As the span of distributions we need to support with reactive
charms widens we will run into compability problems with the
current model.

For further reference see juju/charm-helpers#341 and
juju-solutions/layer-basic#135

Fix charm locations in functional test bundles.

Change-Id: I7ad4b548669989f778c604addb1aa873f958a5f9
This commit is contained in:
Frode Nordahl 2019-04-24 09:31:02 +02:00
parent 7d5991845b
commit 75bda77ab6
No known key found for this signature in database
GPG Key ID: 6A5D59A3BA48373F
5 changed files with 14 additions and 12 deletions

View File

@ -2,4 +2,3 @@ includes: ['layer:openstack', 'interface:keystone-credentials']
options:
basic:
use_venv: True
include_system_packages: True

View File

@ -104,7 +104,7 @@ applications:
block-device: "None"
glance-api-version: 2
keystone:
charm: cs:~gnuoy/keystone-36
charm: cs:~openstack-charmers-next/keystone
series: bionic
num_units: 1
options:
@ -160,7 +160,7 @@ applications:
charm: cs:~openstack-charmers-next/rabbitmq-server
num_units: 1
masakari:
charm: cs:~gnuoy/masakari-4
charm: cs:~openstack-charmers-next/masakari
series: bionic
num_units: 3
options:
@ -183,12 +183,12 @@ applications:
charm: masakari-monitors
series: bionic
hacluster:
charm: cs:~gnuoy/hacluster-28
charm: cs:~openstack-charmers-next/hacluster
options:
corosync_transport: unicast
cluster_count: 3
pacemaker-remote:
charm: cs:~gnuoy/pacemaker-remote-8
charm: cs:~openstack-charmers-next/pacemaker-remote
options:
enable-stonith: False
enable-resources: False

View File

@ -90,7 +90,7 @@ applications:
block-device: "None"
glance-api-version: 2
keystone:
charm: cs:~gnuoy/keystone-36
charm: cs:~openstack-charmers-next/keystone
series: bionic
num_units: 1
options:
@ -146,7 +146,7 @@ applications:
charm: cs:~openstack-charmers-next/rabbitmq-server
num_units: 1
masakari:
charm: cs:~gnuoy/masakari-4
charm: cs:~openstack-charmers-next/masakari
series: bionic
num_units: 3
options:
@ -169,12 +169,12 @@ applications:
charm: masakari-monitors
series: bionic
hacluster:
charm: cs:~gnuoy/hacluster-17
charm: cs:~openstack-charmers-next/hacluster
options:
corosync_transport: unicast
cluster_count: 3
pacemaker-remote:
charm: cs:~gnuoy/pacemaker-remote-7
charm: cs:~openstack-charmers-next/pacemaker-remote
options:
enable-stonith: False
enable-resources: False

View File

@ -86,7 +86,7 @@ applications:
block-device: "None"
glance-api-version: 2
keystone:
charm: cs:~gnuoy/keystone-36
charm: cs:~openstack-charmers-next/keystone
series: bionic
num_units: 1
options:
@ -142,7 +142,7 @@ applications:
charm: cs:~openstack-charmers-next/rabbitmq-server
num_units: 1
masakari:
charm: cs:~gnuoy/masakari-2
charm: cs:~openstack-charmers-next/masakari
series: bionic
num_units: 1
options:
@ -164,7 +164,7 @@ applications:
charm: masakari-monitors
series: bionic
hacluster:
charm: cs:~gnuoy/hacluster-7
charm: cs:~openstack-charmers-next/hacluster
options:
corosync_transport: unicast
cluster_count: 3

3
src/wheelhouse.txt Normal file
View File

@ -0,0 +1,3 @@
jinja2
psutil