charm-cinder-purestorage:stable/yoga

Last commit made on 2024-03-25
Get this branch:
git clone -b stable/yoga https://git.launchpad.net/charm-cinder-purestorage

Branch merges

Branch information

Name:
stable/yoga
Repository:
lp:charm-cinder-purestorage

Recent commits

29a0224... by Edward Hope-Morley

Add backend-availability-zone config option

Add support for configuring a backend availability zone.

Closes-Bug: #2058407
Change-Id: I1c6620b72923260a52e288911649c2e0e5ec3c61
(cherry picked from commit 7df1d81f924f8013faa2f6476a3584e775276a4b)
(cherry picked from commit e5ea85ab62fe60aa6f7dc7a74014096c30ffff83)
(cherry picked from commit 0560ac4f6608772b54c23e0299a176a9ecc1a7c4)
(cherry picked from commit 72774a34f7d307a4ba483c9eea91d287ab7f1678)

1fabc7b... by Trent Lloyd

Build separately for each supported series again

This charm is currently configured to build binary wheels which only
work on the series they are built for (--binary-wheels-from-source in
tox.ini or charmcraft.yaml).

This change was made alongside the charmcraft.yaml changes to always
build-on/run-on the same series in the following commit: b0acd923b725
("Build separately for each supported series and use binary builds")

However the charmcraft.yaml changes to build separately were incorrectly
reverted in: 75c1b2a978c5 ("Add Kinetic and Zed support")

This results in failed installations on Jammy-Yoga with the error:
Could not find a version that satisfies the requirement MarkupSafe==2.1.3

Switch charmcraft.yaml back to again build-on/run-on the same series.

Additional build fixes:
- Change series focal->yoga in src/tests/bundles/jammy-yoga.yaml

Closes-Bug: #1999200
Change-Id: I3a07abca124fca7f90b36f82e065a4fddc25be87
(cherry picked from commit e24fb340bf1e7f6850ead7bfd59d286795077d4d)

cf31f0d... by Nobuto Murata

Make sure sysfsutils (for systool) is available up to Yoga

The systool command is necessary for the FC scenario, but Ubuntu
packages do not pull it as a dependency. It has to be installed by each
storage backend charm when:

- cinder-volume service is not co-located with nova-compute
- nova-compute charm doesn't have the `use-multipath` option enabled
  even when it's co-located

However, systool is only necessary up to Yoga so no need to merge this
for zed onwards:
https://opendev.org/openstack/os-brick/src/branch/master/releasenotes/notes/no-systool-use-b7bc430de1033670.yaml

Closes-Bug: #1947063
Change-Id: I366bf71161e275638403a5a815c98341da7d4f6f

1cdee6d... by Alex Kavanagh

Add pkg-config to charmcraft.yaml for binary builds

Depending on the build platform (e.g. s390x, ppc64el), sometimes
pkg-config is required, and sometimes it isn't. Add it to make sure it
is available depending on the availability of binary wheels for
architectures.

Closes-Bug: #2023777
Change-Id: I3cdcea3a6bcadd38680a30553649dc6ed5202dd5
(cherry picked from commit c2a17eb5c137f3431c322a6cc47a71cd5071e6e3)

29a3a22... by Corey Bryant

Pin tox to < 4.0.0

Tox 4.0.0 was recently released and it has several breaking changes.
We pin to < 4.0.0 here. We are planning to move forward only on the
master charm branches.

Tox is also pinned to < 4.0.0 for stable branches in upstream
openstack-zuul-jobs as well as in zosci-config. However, the
requires= section in the charm's tox.ini file ends up installing
tox>4, wiping out the zuul-pinned tox<4 that was already installed
installed. This patch fixes that.

Related-Bug: #2002788
Change-Id: Ia44465a90c3ba882b091129c8126b41c71b99ffb

c393309... by Liam Young

Setup stable yoga branch

Change-Id: Iaa2860de764b0dbae2d661cca2eb1e865bc0a7fa

ee5c5d9... by Nishant Dash

Added default value for allowed_direct_url_schemes

Included 'allowed_direct_url_schemes' in driver options of
cinder configuration with a default value of 'cinder'
Also, added to unit test and functional test as part of change.

- modified cinder_purestorage.py
- modified tests_cinder_purestorage.py to include a functional test
- modified test_lib_charm_openstack_cinder_purestorage.py to
  extend the unit tests

- rebased

Closes-Bug: #1957848
Change-Id: I26a033b03f6d03fa5e68d9e26aa741c6529ecac2

f004c6a... by Corey Bryant

Fix s390x and pp64el builds

Without this change s390x and pp64el fail to build cryptography.

Change-Id: I1932245da4fa27ef0c1783727847635ee5bfc96e

75c1b2a... by Corey Bryant

Add Kinetic and Zed support

* sync charm-helpers to classic charms
* change openstack-origin/source default to zed
* align testing with zed
* add new zed bundles
* add zed bundles to tests.yaml
* add zed tests to osci.yaml and .zuul.yaml
* update build-on and run-on bases
* add bindep.txt for py310
* sync tox.ini and requirements.txt for ruamel
* use charmcraft_channel 2.0/stable
* drop reactive plugin overrides
* move interface/layer env vars to charmcraft.yaml

Change-Id: I485eecdb85a2cb035cc548a9a1cf36697a452808

b0acd92... by Corey Bryant

Build separately for each supported series and use binary builds

Charms for OpenStack Yoga supports both Ubuntu Focal and Jammy
which means Python 3.8 and Python 3.10. Managing dependencies
across those two versions is non-trivial and we need to build
the charm on the series the charm is supposed to support.

Switch to using a binary build which allows pip's dependency
resolution to work.

This patch also drops the impish bundle.

Change-Id: I251f0715dd4cff68cba22ffe7d793878317bbef5