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: I6d455b8101e338ce108a07551257e0f276f5346e
This commit is contained in:
Corey Bryant 2023-02-14 21:26:00 +00:00
parent f15d6ac25e
commit 3801b7e86f
9 changed files with 351 additions and 9 deletions

View File

@ -1,4 +1,4 @@
- project:
templates:
- openstack-python3-charm-zed-jobs
- openstack-python3-charm-jobs
- openstack-cover-jobs

View File

@ -31,6 +31,9 @@ bases:
- name: ubuntu
channel: "22.10"
architectures: [amd64]
- name: ubuntu
channel: "23.04"
architectures: [amd64]
- build-on:
- name: ubuntu
channel: "22.04"
@ -42,6 +45,9 @@ bases:
- name: ubuntu
channel: "22.10"
architectures: [arm64]
- name: ubuntu
channel: "23.04"
architectures: [arm64]
- build-on:
- name: ubuntu
channel: "22.04"
@ -53,6 +59,9 @@ bases:
- name: ubuntu
channel: "22.10"
architectures: [ppc64el]
- name: ubuntu
channel: "23.04"
architectures: [ppc64el]
- build-on:
- name: ubuntu
channel: "22.04"
@ -64,3 +73,6 @@ bases:
- name: ubuntu
channel: "22.10"
architectures: [s390x]
- name: ubuntu
channel: "23.04"
architectures: [s390x]

View File

@ -1,7 +1,7 @@
- project:
templates:
- charm-unit-jobs-py310
- charm-zed-functional-jobs
- charm-functional-jobs
vars:
needs_charm_build: true
charm_build_name: cinder-backup-swift-proxy

View File

@ -10,6 +10,7 @@ tags:
series:
- jammy
- kinetic
- lunar
subordinate: true
provides:
backup-backend:

View File

@ -0,0 +1,328 @@
variables:
openstack-origin: &openstack-origin cloud:jammy-antelope
local_overlay_enabled: False
series: jammy
comment:
- 'machines section to decide order of deployment. database sooner = faster'
machines:
'0':
constraints: mem=3072M
'1':
constraints: mem=3072M
'2':
constraints: mem=3072M
'3':
constraints: mem=3072M
'4':
constraints: mem=3072M
'5':
constraints: mem=3072M
'6':
'7':
'8':
'9':
'10':
'11':
'12':
'13':
'14':
'15':
'16':
'17':
'18':
'19':
'20':
'21':
applications:
keystone-mysql-router:
charm: ch:mysql-router
channel: latest/edge
glance-mysql-router:
charm: ch:mysql-router
channel: latest/edge
nova-cloud-controller-mysql-router:
charm: ch:mysql-router
channel: latest/edge
cinder-mysql-router:
charm: ch:mysql-router
channel: latest/edge
placement-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
ceph-mon:
charm: ch:ceph-mon
num_units: 3
options:
source: *openstack-origin
monitor-count: '3'
to:
- '6'
- '7'
- '8'
channel: latest/edge
ceph-osd:
charm: ch:ceph-osd
num_units: 3
storage:
osd-devices: 'cinder,10G'
options:
source: *openstack-origin
osd-devices: '/dev/test-non-existent'
to:
- '9'
- '10'
- '11'
channel: latest/edge
cinder:
charm: ch:cinder
num_units: 1
options:
block-device: None
openstack-origin: *openstack-origin
glance-api-version: 2
to:
- '12'
channel: latest/edge
cinder-ceph:
charm: ch:cinder-ceph
num_units: 0
channel: latest/edge
cinder-backup-swift-proxy:
charm: ../../../cinder-backup-swift-proxy_ubuntu-22.04-amd64_ubuntu-22.10-amd64_ubuntu-23.04-amd64.charm
num_units: 0
options:
auth-version: 3
swift-user: admin
swift-key: openstack
user-domain: admin_domain
project-domain: admin_domain
project-name: admin
glance:
charm: ch:glance
num_units: 1
options:
openstack-origin: *openstack-origin
to:
- '13'
channel: latest/edge
keystone:
charm: ch:keystone
num_units: 1
options:
openstack-origin: *openstack-origin
to:
- '14'
channel: latest/edge
nova-cloud-controller:
charm: ch:nova-cloud-controller
num_units: 1
options:
openstack-origin: *openstack-origin
to:
- '15'
channel: latest/edge
rabbitmq-server:
charm: ch:rabbitmq-server
num_units: 1
to:
- '16'
channel: latest/edge
nova-compute:
charm: ch:nova-compute
num_units: 1
options:
openstack-origin: *openstack-origin
to:
- '17'
channel: latest/edge
placement:
charm: ch:placement
num_units: 1
constraints: mem=1G
options:
openstack-origin: *openstack-origin
to:
- '18'
channel: latest/edge
# external swift
swift-keystone-mysql-router:
charm: ch:mysql-router
channel: latest/edge
swift-mysql-innodb-cluster:
charm: ch:mysql-innodb-cluster
num_units: 3
options:
source: *openstack-origin
to:
- '3'
- '4'
- '5'
channel: latest/edge
swift-keystone:
charm: ch:keystone
num_units: 1
options:
openstack-origin: *openstack-origin
admin-password: openstack
preferred-api-version: 3
to:
- '19'
channel: latest/edge
swift-proxy:
charm: ch:swift-proxy
num_units: 1
options:
openstack-origin: *openstack-origin
zone-assignment: manual
replicas: 1
to:
- '20'
channel: latest/edge
swift-storage:
charm: ch:swift-storage
num_units: 1
options:
openstack-origin: *openstack-origin
zone: 1
storage:
block-devices: 'cinder,10G'
to:
- '21'
channel: latest/edge
relations:
- - 'nova-compute:amqp'
- 'rabbitmq-server:amqp'
- - 'keystone:shared-db'
- 'keystone-mysql-router:shared-db'
- - 'keystone-mysql-router:db-router'
- 'mysql-innodb-cluster:db-router'
- - 'nova-cloud-controller:identity-service'
- 'keystone:identity-service'
- - 'glance:identity-service'
- 'keystone:identity-service'
- - 'glance:shared-db'
- 'glance-mysql-router:shared-db'
- - 'glance-mysql-router:db-router'
- 'mysql-innodb-cluster:db-router'
- - 'glance:amqp'
- 'rabbitmq-server:amqp'
- - 'nova-cloud-controller:image-service'
- 'glance:image-service'
- - 'nova-compute:image-service'
- 'glance:image-service'
- - 'nova-cloud-controller:cloud-compute'
- 'nova-compute:cloud-compute'
- - 'nova-cloud-controller:amqp'
- 'rabbitmq-server:amqp'
- - 'nova-cloud-controller:shared-db'
- 'nova-cloud-controller-mysql-router:shared-db'
- - 'nova-cloud-controller-mysql-router:db-router'
- 'mysql-innodb-cluster:db-router'
- - 'placement:shared-db'
- 'placement-mysql-router:shared-db'
- - 'placement-mysql-router:db-router'
- 'mysql-innodb-cluster:db-router'
- - 'placement:identity-service'
- 'keystone:identity-service'
- - 'placement:placement'
- 'nova-cloud-controller:placement'
- - 'cinder:image-service'
- 'glance:image-service'
- - 'cinder:amqp'
- 'rabbitmq-server:amqp'
- - 'cinder:identity-service'
- 'keystone:identity-service'
- - 'cinder:cinder-volume-service'
- 'nova-cloud-controller:cinder-volume-service'
- - 'cinder-ceph:storage-backend'
- 'cinder:storage-backend'
- - 'cinder'
- 'cinder-backup-swift-proxy'
- - 'ceph-mon:client'
- 'nova-compute:ceph'
- - 'nova-compute:ceph-access'
- 'cinder-ceph:ceph-access'
- - 'cinder:shared-db'
- 'cinder-mysql-router:shared-db'
- - 'cinder-mysql-router:db-router'
- 'mysql-innodb-cluster:db-router'
- - 'ceph-mon:client'
- 'cinder-ceph:ceph'
- - 'ceph-mon:client'
- 'glance:ceph'
- - 'ceph-osd:mon'
- 'ceph-mon:osd'
# external swift service
- - 'swift-keystone:shared-db'
- 'swift-keystone-mysql-router:shared-db'
- - 'swift-keystone-mysql-router:db-router'
- 'swift-mysql-innodb-cluster:db-router'
- - 'swift-proxy:identity-service'
- 'swift-keystone:identity-service'
- - 'swift-proxy:swift-storage'
- 'swift-storage:swift-storage'

View File

@ -109,7 +109,7 @@ applications:
channel: latest/edge
cinder-backup-swift-proxy:
charm: ../../../cinder-backup-swift-proxy_ubuntu-22.04-amd64_ubuntu-22.10-amd64.charm
charm: ../../../cinder-backup-swift-proxy_ubuntu-22.04-amd64_ubuntu-22.10-amd64_ubuntu-23.04-amd64.charm
num_units: 0
options:
auth-version: 3

View File

@ -109,7 +109,7 @@ applications:
channel: latest/edge
cinder-backup-swift-proxy:
charm: ../../../cinder-backup-swift-proxy_ubuntu-22.04-amd64_ubuntu-22.10-amd64.charm
charm: ../../../cinder-backup-swift-proxy_ubuntu-22.04-amd64_ubuntu-22.10-amd64_ubuntu-23.04-amd64.charm
num_units: 0
options:
auth-version: 3

View File

@ -3,7 +3,7 @@ variables:
local_overlay_enabled: False
series: jammy
series: lunar
comment:
- 'machines section to decide order of deployment. database sooner = faster'
@ -109,7 +109,7 @@ applications:
channel: latest/edge
cinder-backup-swift-proxy:
charm: ../../../cinder-backup-swift-proxy_ubuntu-22.04-amd64_ubuntu-22.10-amd64.charm
charm: ../../../cinder-backup-swift-proxy_ubuntu-22.04-amd64_ubuntu-22.10-amd64_ubuntu-23.04-amd64.charm
num_units: 0
options:
auth-version: 3

View File

@ -1,10 +1,10 @@
charm_name: cinder-backup-swift-proxy
gate_bundles:
- jammy-yoga
dev_bundles:
- jammy-yoga
- jammy-zed
dev_bundles:
- jammy-antelope
- kinetic-zed
- lunar-antelope
smoke_bundles:
- jammy-yoga
configure:
@ -14,3 +14,4 @@ tests:
tests_options:
force_deploy:
- kinetic-zed
- lunar-antelope