Add Antelope support
* sync charm-helpers to classic charms * change openstack-origin/source default to antelope * align testing with antelope * add new antelope bundles * add antelope bundles to tests.yaml * add antelope tests to osci.yaml and .zuul.yaml * update build-on and run-on bases Change-Id: I2df3dc8ec86a5e41fab7e5bd463a9d708d95fe88
This commit is contained in:
parent
a557ef0ec7
commit
83f29f5f89
@ -1,4 +1,4 @@
|
|||||||
- project:
|
- project:
|
||||||
templates:
|
templates:
|
||||||
- openstack-python3-charm-zed-jobs
|
- openstack-python3-charm-jobs
|
||||||
- openstack-cover-jobs
|
- openstack-cover-jobs
|
||||||
|
@ -23,3 +23,6 @@ bases:
|
|||||||
- name: ubuntu
|
- name: ubuntu
|
||||||
channel: "22.10"
|
channel: "22.10"
|
||||||
architectures: [amd64, s390x, ppc64el, arm64]
|
architectures: [amd64, s390x, ppc64el, arm64]
|
||||||
|
- name: ubuntu
|
||||||
|
channel: "23.04"
|
||||||
|
architectures: [amd64, s390x, ppc64el, arm64]
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
- project:
|
- project:
|
||||||
templates:
|
templates:
|
||||||
- charm-unit-jobs-py310
|
- charm-unit-jobs-py310
|
||||||
- charm-zed-functional-jobs
|
- charm-functional-jobs
|
||||||
vars:
|
vars:
|
||||||
needs_charm_build: true
|
needs_charm_build: true
|
||||||
charm_build_name: aodh
|
charm_build_name: aodh
|
||||||
|
@ -22,4 +22,4 @@ options:
|
|||||||
description: |
|
description: |
|
||||||
Comma separated list of nagios servicegroups for the service checks.
|
Comma separated list of nagios servicegroups for the service checks.
|
||||||
openstack-origin:
|
openstack-origin:
|
||||||
default: zed
|
default: antelope
|
||||||
|
@ -15,6 +15,7 @@ tags:
|
|||||||
series:
|
series:
|
||||||
- jammy
|
- jammy
|
||||||
- kinetic
|
- kinetic
|
||||||
|
- lunar
|
||||||
subordinate: false
|
subordinate: false
|
||||||
requires:
|
requires:
|
||||||
mongodb:
|
mongodb:
|
||||||
|
180
src/tests/bundles/jammy-antelope.yaml
Normal file
180
src/tests/bundles/jammy-antelope.yaml
Normal file
@ -0,0 +1,180 @@
|
|||||||
|
local_overlay_enabled: False
|
||||||
|
|
||||||
|
variables:
|
||||||
|
openstack-origin: &openstack-origin cloud:jammy-antelope
|
||||||
|
|
||||||
|
series: jammy
|
||||||
|
|
||||||
|
machines:
|
||||||
|
0:
|
||||||
|
constraints: "mem=3072M"
|
||||||
|
1:
|
||||||
|
constraints: "mem=3072M"
|
||||||
|
2:
|
||||||
|
constraints: "mem=3072M"
|
||||||
|
3:
|
||||||
|
4:
|
||||||
|
5:
|
||||||
|
6:
|
||||||
|
7:
|
||||||
|
8:
|
||||||
|
9:
|
||||||
|
10:
|
||||||
|
11:
|
||||||
|
12:
|
||||||
|
13:
|
||||||
|
14:
|
||||||
|
series: focal
|
||||||
|
|
||||||
|
# We specify machine placements for these to improve iteration
|
||||||
|
# time, given that machine "0" comes up way before machine "7"
|
||||||
|
applications:
|
||||||
|
|
||||||
|
keystone-mysql-router:
|
||||||
|
charm: ch:mysql-router
|
||||||
|
channel: latest/edge
|
||||||
|
aodh-mysql-router:
|
||||||
|
charm: ch:mysql-router
|
||||||
|
channel: latest/edge
|
||||||
|
gnocchi-mysql-router:
|
||||||
|
charm: ch:mysql-router
|
||||||
|
channel: latest/edge
|
||||||
|
|
||||||
|
mysql-innodb-cluster:
|
||||||
|
charm: ch:mysql-innodb-cluster
|
||||||
|
num_units: 3
|
||||||
|
options:
|
||||||
|
source: *openstack-origin
|
||||||
|
to:
|
||||||
|
- '0'
|
||||||
|
- '1'
|
||||||
|
- '2'
|
||||||
|
channel: latest/edge
|
||||||
|
|
||||||
|
aodh:
|
||||||
|
charm: ../../../aodh.charm
|
||||||
|
num_units: 1
|
||||||
|
options:
|
||||||
|
openstack-origin: *openstack-origin
|
||||||
|
to:
|
||||||
|
- '3'
|
||||||
|
|
||||||
|
rabbitmq-server:
|
||||||
|
charm: ch:rabbitmq-server
|
||||||
|
num_units: 1
|
||||||
|
to:
|
||||||
|
- '4'
|
||||||
|
channel: latest/edge
|
||||||
|
|
||||||
|
keystone:
|
||||||
|
charm: ch:keystone
|
||||||
|
num_units: 1
|
||||||
|
options:
|
||||||
|
openstack-origin: *openstack-origin
|
||||||
|
to:
|
||||||
|
- '5'
|
||||||
|
channel: latest/edge
|
||||||
|
|
||||||
|
ceilometer:
|
||||||
|
charm: ch:ceilometer
|
||||||
|
num_units: 1
|
||||||
|
options:
|
||||||
|
openstack-origin: *openstack-origin
|
||||||
|
to:
|
||||||
|
- '6'
|
||||||
|
channel: latest/edge
|
||||||
|
|
||||||
|
ceph-osd:
|
||||||
|
charm: ch:ceph-osd
|
||||||
|
num_units: 3
|
||||||
|
storage:
|
||||||
|
osd-devices: 'cinder,10G'
|
||||||
|
to:
|
||||||
|
- '7'
|
||||||
|
- '8'
|
||||||
|
- '9'
|
||||||
|
channel: latest/edge
|
||||||
|
|
||||||
|
ceph-mon:
|
||||||
|
charm: ch:ceph-mon
|
||||||
|
num_units: 3
|
||||||
|
options:
|
||||||
|
expected-osd-count: 3
|
||||||
|
monitor-count: '3'
|
||||||
|
to:
|
||||||
|
- '10'
|
||||||
|
- '11'
|
||||||
|
- '12'
|
||||||
|
channel: latest/edge
|
||||||
|
|
||||||
|
gnocchi:
|
||||||
|
charm: ch:gnocchi
|
||||||
|
num_units: 1
|
||||||
|
options:
|
||||||
|
openstack-origin: *openstack-origin
|
||||||
|
to:
|
||||||
|
- '13'
|
||||||
|
channel: latest/edge
|
||||||
|
|
||||||
|
memcached:
|
||||||
|
charm: ch:memcached
|
||||||
|
num_units: 1
|
||||||
|
# Note that holding memcached at focal as it's not available at jammy yet.
|
||||||
|
series: focal
|
||||||
|
to:
|
||||||
|
- '14'
|
||||||
|
|
||||||
|
nrpe:
|
||||||
|
charm: ch:nrpe
|
||||||
|
channel: latest/edge
|
||||||
|
|
||||||
|
relations:
|
||||||
|
|
||||||
|
- - 'keystone:shared-db'
|
||||||
|
- 'keystone-mysql-router:shared-db'
|
||||||
|
- - 'keystone-mysql-router:db-router'
|
||||||
|
- 'mysql-innodb-cluster:db-router'
|
||||||
|
|
||||||
|
|
||||||
|
- - 'ceph-osd:mon'
|
||||||
|
- 'ceph-mon:osd'
|
||||||
|
|
||||||
|
- - 'aodh:shared-db'
|
||||||
|
- 'aodh-mysql-router:shared-db'
|
||||||
|
- - 'aodh-mysql-router:db-router'
|
||||||
|
- 'mysql-innodb-cluster:db-router'
|
||||||
|
|
||||||
|
- - 'aodh:amqp'
|
||||||
|
- 'rabbitmq-server:amqp'
|
||||||
|
|
||||||
|
- - 'aodh:identity-service'
|
||||||
|
- 'keystone:identity-service'
|
||||||
|
|
||||||
|
- - 'ceilometer:amqp'
|
||||||
|
- 'rabbitmq-server:amqp'
|
||||||
|
|
||||||
|
- - 'ceilometer:identity-credentials'
|
||||||
|
- 'keystone:identity-credentials'
|
||||||
|
|
||||||
|
- - 'ceilometer:identity-notifications'
|
||||||
|
- 'keystone:identity-notifications'
|
||||||
|
|
||||||
|
- - 'ceilometer:metric-service'
|
||||||
|
- 'gnocchi:metric-service'
|
||||||
|
|
||||||
|
- - 'gnocchi:identity-service'
|
||||||
|
- 'keystone:identity-service'
|
||||||
|
|
||||||
|
- - 'gnocchi:shared-db'
|
||||||
|
- 'gnocchi-mysql-router:shared-db'
|
||||||
|
- - 'gnocchi-mysql-router:db-router'
|
||||||
|
- 'mysql-innodb-cluster:db-router'
|
||||||
|
|
||||||
|
- - 'gnocchi:storage-ceph'
|
||||||
|
- 'ceph-mon:client'
|
||||||
|
|
||||||
|
- - 'gnocchi:coordinator-memcached'
|
||||||
|
- 'memcached:cache'
|
||||||
|
|
||||||
|
- - 'aodh:nrpe-external-master'
|
||||||
|
- 'nrpe:nrpe-external-master'
|
@ -3,7 +3,7 @@ local_overlay_enabled: False
|
|||||||
variables:
|
variables:
|
||||||
openstack-origin: &openstack-origin distro
|
openstack-origin: &openstack-origin distro
|
||||||
|
|
||||||
series: jammy
|
series: lunar
|
||||||
|
|
||||||
machines:
|
machines:
|
||||||
0:
|
0:
|
||||||
@ -62,8 +62,6 @@ applications:
|
|||||||
rabbitmq-server:
|
rabbitmq-server:
|
||||||
charm: ch:rabbitmq-server
|
charm: ch:rabbitmq-server
|
||||||
num_units: 1
|
num_units: 1
|
||||||
options:
|
|
||||||
source: *openstack-origin
|
|
||||||
to:
|
to:
|
||||||
- '4'
|
- '4'
|
||||||
channel: latest/edge
|
channel: latest/edge
|
||||||
@ -91,8 +89,6 @@ applications:
|
|||||||
num_units: 3
|
num_units: 3
|
||||||
storage:
|
storage:
|
||||||
osd-devices: 'cinder,10G'
|
osd-devices: 'cinder,10G'
|
||||||
options:
|
|
||||||
source: *openstack-origin
|
|
||||||
to:
|
to:
|
||||||
- '7'
|
- '7'
|
||||||
- '8'
|
- '8'
|
||||||
@ -105,7 +101,6 @@ applications:
|
|||||||
options:
|
options:
|
||||||
expected-osd-count: 3
|
expected-osd-count: 3
|
||||||
monitor-count: '3'
|
monitor-count: '3'
|
||||||
source: *openstack-origin
|
|
||||||
to:
|
to:
|
||||||
- '10'
|
- '10'
|
||||||
- '11'
|
- '11'
|
||||||
@ -124,7 +119,7 @@ applications:
|
|||||||
memcached:
|
memcached:
|
||||||
charm: ch:memcached
|
charm: ch:memcached
|
||||||
num_units: 1
|
num_units: 1
|
||||||
# Note that holding memcached at focal as it's not available at jammy yet.
|
# Note that holding memcached at focal as it's not available at lunar yet.
|
||||||
series: focal
|
series: focal
|
||||||
to:
|
to:
|
||||||
- '14'
|
- '14'
|
@ -1,11 +1,11 @@
|
|||||||
charm_name: aodh
|
charm_name: aodh
|
||||||
|
|
||||||
gate_bundles:
|
gate_bundles:
|
||||||
- jammy-yoga
|
|
||||||
dev_bundles:
|
|
||||||
- jammy-yoga
|
|
||||||
- jammy-zed
|
- jammy-zed
|
||||||
|
dev_bundles:
|
||||||
|
- jammy-antelope
|
||||||
- kinetic-zed
|
- kinetic-zed
|
||||||
|
- lunar-antelope
|
||||||
smoke_bundles:
|
smoke_bundles:
|
||||||
- jammy-yoga
|
- jammy-yoga
|
||||||
tests:
|
tests:
|
||||||
@ -26,6 +26,7 @@ tests_options:
|
|||||||
force_deploy:
|
force_deploy:
|
||||||
# nrpe charm doesn't support jammy+ and needs to be force installed
|
# nrpe charm doesn't support jammy+ and needs to be force installed
|
||||||
# https://bugs.launchpad.net/charm-nrpe/+bug/1968008
|
# https://bugs.launchpad.net/charm-nrpe/+bug/1968008
|
||||||
- jammy-yoga
|
|
||||||
- jammy-zed
|
- jammy-zed
|
||||||
|
- jammy-antelope
|
||||||
- kinetic-zed
|
- kinetic-zed
|
||||||
|
- lunar-antelope
|
||||||
|
Loading…
Reference in New Issue
Block a user