Updates for caracal testing support
These updates, on the master branch, are to support testing the caracal packages and support of the charms for caracal. They do NOT lock the charms down, and don't change the testing branches to stable branches. Change-Id: If2944411e04d21448f518b701f74a35ae39cd20e
This commit is contained in:
parent
59efce8bc8
commit
e65eaf3151
@ -31,9 +31,3 @@ bases:
|
|||||||
- name: ubuntu
|
- name: ubuntu
|
||||||
channel: "22.04"
|
channel: "22.04"
|
||||||
architectures: [amd64, s390x, ppc64el, arm64]
|
architectures: [amd64, s390x, ppc64el, arm64]
|
||||||
- name: ubuntu
|
|
||||||
channel: "23.04"
|
|
||||||
architectures: [amd64, s390x, ppc64el, arm64]
|
|
||||||
- name: ubuntu
|
|
||||||
channel: "23.10"
|
|
||||||
architectures: [amd64, s390x, ppc64el, arm64]
|
|
||||||
|
@ -545,7 +545,7 @@ class IdentityServiceContext(OSContextGenerator):
|
|||||||
'internal_auth_url': internal_auth_url,
|
'internal_auth_url': internal_auth_url,
|
||||||
})
|
})
|
||||||
|
|
||||||
# we keep all veriables in ctxt for compatibility and
|
# we keep all variables in ctxt for compatibility and
|
||||||
# add nested dictionary for keystone_authtoken generic
|
# add nested dictionary for keystone_authtoken generic
|
||||||
# templating
|
# templating
|
||||||
if keystonemiddleware_os_release:
|
if keystonemiddleware_os_release:
|
||||||
@ -557,6 +557,7 @@ class IdentityServiceContext(OSContextGenerator):
|
|||||||
# NOTE(jamespage) this is required for >= icehouse
|
# NOTE(jamespage) this is required for >= icehouse
|
||||||
# so a missing value just indicates keystone needs
|
# so a missing value just indicates keystone needs
|
||||||
# upgrading
|
# upgrading
|
||||||
|
ctxt['admin_user_id'] = _resolve('service_user_id')
|
||||||
ctxt['admin_tenant_id'] = _resolve('service_tenant_id')
|
ctxt['admin_tenant_id'] = _resolve('service_tenant_id')
|
||||||
ctxt['admin_domain_id'] = _resolve('service_domain_id')
|
ctxt['admin_domain_id'] = _resolve('service_domain_id')
|
||||||
return ctxt
|
return ctxt
|
||||||
|
@ -161,6 +161,7 @@ OPENSTACK_CODENAMES = OrderedDict([
|
|||||||
('2022.2', 'zed'),
|
('2022.2', 'zed'),
|
||||||
('2023.1', 'antelope'),
|
('2023.1', 'antelope'),
|
||||||
('2023.2', 'bobcat'),
|
('2023.2', 'bobcat'),
|
||||||
|
('2024.1', 'caracal'),
|
||||||
])
|
])
|
||||||
|
|
||||||
# The ugly duckling - must list releases oldest to newest
|
# The ugly duckling - must list releases oldest to newest
|
||||||
@ -416,17 +417,6 @@ def get_os_version_codename(codename, version_map=OPENSTACK_CODENAMES,
|
|||||||
error_out(e)
|
error_out(e)
|
||||||
|
|
||||||
|
|
||||||
def get_os_version_codename_swift(codename):
|
|
||||||
'''Determine OpenStack version number of swift from codename.'''
|
|
||||||
# for k, v in six.iteritems(SWIFT_CODENAMES):
|
|
||||||
for k, v in SWIFT_CODENAMES.items():
|
|
||||||
if k == codename:
|
|
||||||
return v[-1]
|
|
||||||
e = 'Could not derive swift version for '\
|
|
||||||
'codename: %s' % codename
|
|
||||||
error_out(e)
|
|
||||||
|
|
||||||
|
|
||||||
def get_swift_codename(version):
|
def get_swift_codename(version):
|
||||||
'''Determine OpenStack codename that corresponds to swift version.'''
|
'''Determine OpenStack codename that corresponds to swift version.'''
|
||||||
codenames = [k for k, v in SWIFT_CODENAMES.items() if version in v]
|
codenames = [k for k, v in SWIFT_CODENAMES.items() if version in v]
|
||||||
@ -585,7 +575,6 @@ def get_installed_os_version():
|
|||||||
return openstack_release().get('OPENSTACK_CODENAME')
|
return openstack_release().get('OPENSTACK_CODENAME')
|
||||||
|
|
||||||
|
|
||||||
@cached
|
|
||||||
def openstack_release():
|
def openstack_release():
|
||||||
"""Return /etc/os-release in a dict."""
|
"""Return /etc/os-release in a dict."""
|
||||||
d = {}
|
d = {}
|
||||||
@ -847,10 +836,6 @@ def openstack_upgrade_available(package):
|
|||||||
if not cur_vers:
|
if not cur_vers:
|
||||||
# The package has not been installed yet do not attempt upgrade
|
# The package has not been installed yet do not attempt upgrade
|
||||||
return False
|
return False
|
||||||
if "swift" in package:
|
|
||||||
codename = get_os_codename_install_source(src)
|
|
||||||
avail_vers = get_os_version_codename_swift(codename)
|
|
||||||
else:
|
|
||||||
try:
|
try:
|
||||||
avail_vers = get_os_version_install_source(src)
|
avail_vers = get_os_version_install_source(src)
|
||||||
except Exception:
|
except Exception:
|
||||||
|
@ -246,6 +246,14 @@ CLOUD_ARCHIVE_POCKETS = {
|
|||||||
'bobcat/proposed': 'jammy-proposed/bobcat',
|
'bobcat/proposed': 'jammy-proposed/bobcat',
|
||||||
'jammy-bobcat/proposed': 'jammy-proposed/bobcat',
|
'jammy-bobcat/proposed': 'jammy-proposed/bobcat',
|
||||||
'jammy-proposed/bobcat': 'jammy-proposed/bobcat',
|
'jammy-proposed/bobcat': 'jammy-proposed/bobcat',
|
||||||
|
# caracal
|
||||||
|
'caracal': 'jammy-updates/caracal',
|
||||||
|
'jammy-caracal': 'jammy-updates/caracal',
|
||||||
|
'jammy-caracal/updates': 'jammy-updates/caracal',
|
||||||
|
'jammy-updates/caracal': 'jammy-updates/caracal',
|
||||||
|
'caracal/proposed': 'jammy-proposed/caracal',
|
||||||
|
'jammy-caracal/proposed': 'jammy-proposed/caracal',
|
||||||
|
'jammy-proposed/caracal': 'jammy-proposed/caracal',
|
||||||
|
|
||||||
# OVN
|
# OVN
|
||||||
'focal-ovn-22.03': 'focal-updates/ovn-22.03',
|
'focal-ovn-22.03': 'focal-updates/ovn-22.03',
|
||||||
@ -279,6 +287,7 @@ OPENSTACK_RELEASES = (
|
|||||||
'zed',
|
'zed',
|
||||||
'antelope',
|
'antelope',
|
||||||
'bobcat',
|
'bobcat',
|
||||||
|
'caracal',
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
@ -308,6 +317,7 @@ UBUNTU_OPENSTACK_RELEASE = OrderedDict([
|
|||||||
('kinetic', 'zed'),
|
('kinetic', 'zed'),
|
||||||
('lunar', 'antelope'),
|
('lunar', 'antelope'),
|
||||||
('mantic', 'bobcat'),
|
('mantic', 'bobcat'),
|
||||||
|
('noble', 'caracal'),
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
||||||
|
@ -13,8 +13,6 @@ tags:
|
|||||||
- misc
|
- misc
|
||||||
series:
|
series:
|
||||||
- jammy
|
- jammy
|
||||||
- lunar
|
|
||||||
- mantic
|
|
||||||
extra-bindings:
|
extra-bindings:
|
||||||
public:
|
public:
|
||||||
admin:
|
admin:
|
||||||
|
@ -62,7 +62,7 @@ applications:
|
|||||||
- '6'
|
- '6'
|
||||||
- '7'
|
- '7'
|
||||||
- '8'
|
- '8'
|
||||||
channel: latest/edge
|
channel: reef/edge
|
||||||
|
|
||||||
ceph-radosgw:
|
ceph-radosgw:
|
||||||
charm: ch:ceph-radosgw
|
charm: ch:ceph-radosgw
|
||||||
@ -71,7 +71,7 @@ applications:
|
|||||||
source: *openstack-origin
|
source: *openstack-origin
|
||||||
to:
|
to:
|
||||||
- '15'
|
- '15'
|
||||||
channel: latest/edge
|
channel: reef/edge
|
||||||
|
|
||||||
ceph-mon:
|
ceph-mon:
|
||||||
charm: ch:ceph-mon
|
charm: ch:ceph-mon
|
||||||
@ -83,7 +83,7 @@ applications:
|
|||||||
- '9'
|
- '9'
|
||||||
- '10'
|
- '10'
|
||||||
- '11'
|
- '11'
|
||||||
channel: latest/edge
|
channel: reef/edge
|
||||||
|
|
||||||
rabbitmq-server:
|
rabbitmq-server:
|
||||||
charm: ch:rabbitmq-server
|
charm: ch:rabbitmq-server
|
||||||
@ -100,7 +100,7 @@ applications:
|
|||||||
openstack-origin: *openstack-origin
|
openstack-origin: *openstack-origin
|
||||||
to:
|
to:
|
||||||
- '13'
|
- '13'
|
||||||
channel: latest/edge
|
channel: 2024.1/edge
|
||||||
|
|
||||||
glance:
|
glance:
|
||||||
expose: True
|
expose: True
|
||||||
@ -127,7 +127,7 @@ applications:
|
|||||||
block-device: None
|
block-device: None
|
||||||
to:
|
to:
|
||||||
- '16'
|
- '16'
|
||||||
channel: latest/edge
|
channel: 2024.1/edge
|
||||||
|
|
||||||
cinder-lvm:
|
cinder-lvm:
|
||||||
charm: ch:cinder-lvm
|
charm: ch:cinder-lvm
|
||||||
@ -138,7 +138,7 @@ applications:
|
|||||||
ephemeral-unmount: /mnt
|
ephemeral-unmount: /mnt
|
||||||
allocation-type: auto
|
allocation-type: auto
|
||||||
config-flags: target_helper=lioadm
|
config-flags: target_helper=lioadm
|
||||||
channel: latest/edge
|
channel: 2024.1/edge
|
||||||
|
|
||||||
relations:
|
relations:
|
||||||
- - 'keystone:shared-db'
|
- - 'keystone:shared-db'
|
||||||
|
@ -62,7 +62,7 @@ applications:
|
|||||||
- '6'
|
- '6'
|
||||||
- '7'
|
- '7'
|
||||||
- '8'
|
- '8'
|
||||||
channel: latest/edge
|
channel: reef/edge
|
||||||
|
|
||||||
ceph-radosgw:
|
ceph-radosgw:
|
||||||
charm: ch:ceph-radosgw
|
charm: ch:ceph-radosgw
|
||||||
@ -71,7 +71,7 @@ applications:
|
|||||||
source: *openstack-origin
|
source: *openstack-origin
|
||||||
to:
|
to:
|
||||||
- '15'
|
- '15'
|
||||||
channel: latest/edge
|
channel: reef/edge
|
||||||
|
|
||||||
ceph-mon:
|
ceph-mon:
|
||||||
charm: ch:ceph-mon
|
charm: ch:ceph-mon
|
||||||
@ -83,7 +83,7 @@ applications:
|
|||||||
- '9'
|
- '9'
|
||||||
- '10'
|
- '10'
|
||||||
- '11'
|
- '11'
|
||||||
channel: latest/edge
|
channel: reef/edge
|
||||||
|
|
||||||
rabbitmq-server:
|
rabbitmq-server:
|
||||||
charm: ch:rabbitmq-server
|
charm: ch:rabbitmq-server
|
||||||
@ -100,7 +100,7 @@ applications:
|
|||||||
openstack-origin: *openstack-origin
|
openstack-origin: *openstack-origin
|
||||||
to:
|
to:
|
||||||
- '13'
|
- '13'
|
||||||
channel: latest/edge
|
channel: 2024.1/edge
|
||||||
|
|
||||||
glance:
|
glance:
|
||||||
expose: True
|
expose: True
|
||||||
@ -127,7 +127,7 @@ applications:
|
|||||||
block-device: None
|
block-device: None
|
||||||
to:
|
to:
|
||||||
- '16'
|
- '16'
|
||||||
channel: latest/edge
|
channel: 2024.1/edge
|
||||||
|
|
||||||
cinder-lvm:
|
cinder-lvm:
|
||||||
charm: ch:cinder-lvm
|
charm: ch:cinder-lvm
|
||||||
@ -138,7 +138,7 @@ applications:
|
|||||||
ephemeral-unmount: /mnt
|
ephemeral-unmount: /mnt
|
||||||
allocation-type: auto
|
allocation-type: auto
|
||||||
config-flags: target_helper=lioadm
|
config-flags: target_helper=lioadm
|
||||||
channel: latest/edge
|
channel: 2024.1/edge
|
||||||
|
|
||||||
relations:
|
relations:
|
||||||
- - 'keystone:shared-db'
|
- - 'keystone:shared-db'
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
variables:
|
variables:
|
||||||
openstack-origin: &openstack-origin distro
|
openstack-origin: &openstack-origin cloud:jammy-caracal
|
||||||
|
|
||||||
series: mantic
|
series: jammy
|
||||||
|
|
||||||
comment:
|
comment:
|
||||||
- 'machines section to decide order of deployment. database sooner = faster'
|
- 'machines section to decide order of deployment. database sooner = faster'
|
||||||
@ -62,7 +62,7 @@ applications:
|
|||||||
- '6'
|
- '6'
|
||||||
- '7'
|
- '7'
|
||||||
- '8'
|
- '8'
|
||||||
channel: latest/edge
|
channel: reef/edge
|
||||||
|
|
||||||
ceph-radosgw:
|
ceph-radosgw:
|
||||||
charm: ch:ceph-radosgw
|
charm: ch:ceph-radosgw
|
||||||
@ -71,7 +71,7 @@ applications:
|
|||||||
source: *openstack-origin
|
source: *openstack-origin
|
||||||
to:
|
to:
|
||||||
- '15'
|
- '15'
|
||||||
channel: latest/edge
|
channel: reef/edge
|
||||||
|
|
||||||
ceph-mon:
|
ceph-mon:
|
||||||
charm: ch:ceph-mon
|
charm: ch:ceph-mon
|
||||||
@ -83,7 +83,7 @@ applications:
|
|||||||
- '9'
|
- '9'
|
||||||
- '10'
|
- '10'
|
||||||
- '11'
|
- '11'
|
||||||
channel: latest/edge
|
channel: reef/edge
|
||||||
|
|
||||||
rabbitmq-server:
|
rabbitmq-server:
|
||||||
charm: ch:rabbitmq-server
|
charm: ch:rabbitmq-server
|
||||||
@ -100,7 +100,7 @@ applications:
|
|||||||
openstack-origin: *openstack-origin
|
openstack-origin: *openstack-origin
|
||||||
to:
|
to:
|
||||||
- '13'
|
- '13'
|
||||||
channel: latest/edge
|
channel: 2024.1/edge
|
||||||
|
|
||||||
glance:
|
glance:
|
||||||
expose: True
|
expose: True
|
||||||
@ -127,7 +127,7 @@ applications:
|
|||||||
block-device: None
|
block-device: None
|
||||||
to:
|
to:
|
||||||
- '16'
|
- '16'
|
||||||
channel: latest/edge
|
channel: 2024.1/edge
|
||||||
|
|
||||||
cinder-lvm:
|
cinder-lvm:
|
||||||
charm: ch:cinder-lvm
|
charm: ch:cinder-lvm
|
||||||
@ -138,7 +138,7 @@ applications:
|
|||||||
ephemeral-unmount: /mnt
|
ephemeral-unmount: /mnt
|
||||||
allocation-type: auto
|
allocation-type: auto
|
||||||
config-flags: target_helper=lioadm
|
config-flags: target_helper=lioadm
|
||||||
channel: latest/edge
|
channel: 2024.1/edge
|
||||||
|
|
||||||
relations:
|
relations:
|
||||||
- - 'keystone:shared-db'
|
- - 'keystone:shared-db'
|
@ -1,7 +1,7 @@
|
|||||||
variables:
|
variables:
|
||||||
openstack-origin: &openstack-origin distro
|
openstack-origin: &openstack-origin distro
|
||||||
|
|
||||||
series: lunar
|
series: noble
|
||||||
|
|
||||||
comment:
|
comment:
|
||||||
- 'machines section to decide order of deployment. database sooner = faster'
|
- 'machines section to decide order of deployment. database sooner = faster'
|
||||||
@ -62,7 +62,7 @@ applications:
|
|||||||
- '6'
|
- '6'
|
||||||
- '7'
|
- '7'
|
||||||
- '8'
|
- '8'
|
||||||
channel: latest/edge
|
channel: reef/edge
|
||||||
|
|
||||||
ceph-radosgw:
|
ceph-radosgw:
|
||||||
charm: ch:ceph-radosgw
|
charm: ch:ceph-radosgw
|
||||||
@ -71,7 +71,7 @@ applications:
|
|||||||
source: *openstack-origin
|
source: *openstack-origin
|
||||||
to:
|
to:
|
||||||
- '15'
|
- '15'
|
||||||
channel: latest/edge
|
channel: reef/edge
|
||||||
|
|
||||||
ceph-mon:
|
ceph-mon:
|
||||||
charm: ch:ceph-mon
|
charm: ch:ceph-mon
|
||||||
@ -83,7 +83,7 @@ applications:
|
|||||||
- '9'
|
- '9'
|
||||||
- '10'
|
- '10'
|
||||||
- '11'
|
- '11'
|
||||||
channel: latest/edge
|
channel: reef/edge
|
||||||
|
|
||||||
rabbitmq-server:
|
rabbitmq-server:
|
||||||
charm: ch:rabbitmq-server
|
charm: ch:rabbitmq-server
|
||||||
@ -100,7 +100,7 @@ applications:
|
|||||||
openstack-origin: *openstack-origin
|
openstack-origin: *openstack-origin
|
||||||
to:
|
to:
|
||||||
- '13'
|
- '13'
|
||||||
channel: latest/edge
|
channel: 2024.1/edge
|
||||||
|
|
||||||
glance:
|
glance:
|
||||||
expose: True
|
expose: True
|
||||||
@ -127,7 +127,7 @@ applications:
|
|||||||
block-device: None
|
block-device: None
|
||||||
to:
|
to:
|
||||||
- '16'
|
- '16'
|
||||||
channel: latest/edge
|
channel: 2024.1/edge
|
||||||
|
|
||||||
cinder-lvm:
|
cinder-lvm:
|
||||||
charm: ch:cinder-lvm
|
charm: ch:cinder-lvm
|
||||||
@ -138,7 +138,7 @@ applications:
|
|||||||
ephemeral-unmount: /mnt
|
ephemeral-unmount: /mnt
|
||||||
allocation-type: auto
|
allocation-type: auto
|
||||||
config-flags: target_helper=lioadm
|
config-flags: target_helper=lioadm
|
||||||
channel: latest/edge
|
channel: 2024.1/edge
|
||||||
|
|
||||||
relations:
|
relations:
|
||||||
- - 'keystone:shared-db'
|
- - 'keystone:shared-db'
|
@ -4,16 +4,13 @@ comment:
|
|||||||
- 'the glance configure job validates operation of identity-service relation'
|
- 'the glance configure job validates operation of identity-service relation'
|
||||||
|
|
||||||
smoke_bundles:
|
smoke_bundles:
|
||||||
- jammy-antelope
|
- jammy-caracal
|
||||||
|
|
||||||
gate_bundles:
|
gate_bundles:
|
||||||
- jammy-antelope
|
- jammy-antelope
|
||||||
|
|
||||||
dev_bundles:
|
|
||||||
- jammy-bobcat
|
- jammy-bobcat
|
||||||
- lunar-antelope
|
- jammy-caracal
|
||||||
- mantic-bobcat
|
dev_bundles:
|
||||||
|
- noble-caracal
|
||||||
configure:
|
configure:
|
||||||
- zaza.openstack.charm_tests.glance.setup.add_lts_image
|
- zaza.openstack.charm_tests.glance.setup.add_lts_image
|
||||||
- zaza.openstack.charm_tests.glance.setup.configure_external_s3_backend
|
- zaza.openstack.charm_tests.glance.setup.configure_external_s3_backend
|
||||||
@ -40,9 +37,8 @@ tests:
|
|||||||
tests_options:
|
tests_options:
|
||||||
tempest:
|
tempest:
|
||||||
full_run:
|
full_run:
|
||||||
smoke: True
|
smoke: true
|
||||||
policyd:
|
policyd:
|
||||||
service: glance
|
service: glance
|
||||||
force_deploy:
|
force_deploy:
|
||||||
- lunar-antelope
|
- noble-caracal
|
||||||
- mantic-bobcat
|
|
||||||
|
Loading…
Reference in New Issue
Block a user