* Update charm-nova-cell-controller from branch 'master'
to 052d651226d33d5d3f34c8a6ea9c738356c0585b
- 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: Iffc97e7963469742439da25040e204fd27000976
* Update charm-nova-cell-controller from branch 'master'
to 476fd69e6b8f13f4d1a6eebcc581b3d289d9a5e2
- Merge "Ensure get_requests_for_local_unit doesn't fail on incomplete relation"
- Ensure get_requests_for_local_unit doesn't fail on incomplete relation
This is a rebuild/make sync for charms to pickup the fix in charmhelpers to fix
any inadvertant accesses of ['ca'] in the relation data before it is available
from vault in the certificates relation. Fix in charmhelpers is in [1].
[1] https://github.com/juju/charm-helpers/pull/824
Closes-Bug: #2028683
Change-Id: Icb53c57de58571635ff575d9c23e7f9858be236e
* Update charm-nova-cell-controller from branch 'master'
to adb8ed35f3718fa2caa590b6dd93ebcd75b6c191
- Add 2023.2 Bobcat support
* sync charm-helpers to classic charms
* change openstack-origin/source default to bobcat
* add mantic to metadata series
* align testing with bobcat
* add new bobcat bundles
* add bobcat bundles to tests.yaml
* add bobcat tests to osci.yaml
* update build-on and run-on bases
* drop kinetic
* update charmcraft_channel to 2.x/stable
Change-Id: I042526888114c46c8b4e2828fed0a6965428dcbf
* Update charm-nova-cell-controller from branch 'master'
to ea96987f114be44d5d0fac2fb80692245b601ee7
- Enable jammy-antelope voting and drop kinetic-zed tests
* Voting was turned on for jammy-antelope in the
project-template for charm-functional-jobs in zosci-config
* Voting for jammy-antelope bundles with non-standard names
is turned on in individual charms
* Kinetic-zed bundles/tests are removed
* Add libpython3-dev to allow the charm to be built. This
fixes a missing dependency with Cython
Change-Id: I83b97c35b6e64050feaa94a2eee2b80fa49c2555
* Update charm-nova-cell-controller from branch 'master'
to 973d16e72af21e4046e812dacee9f519f5de1ab4
- Ensure that kinetic/22.10 is enabled
This patch adds kinetic to the metadata.yaml and ensures
that a run-on base for 22.10 is added in the
charmcraft.yaml
Change-Id: I3f2ed3df8cc5f076402f68b18e9f2de66ae23007
* Update charm-nova-cell-controller from branch 'master'
to 36425a7add2af28936199db0449478a936321247
- Merge "Add Kinetic and Zed support"
- 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: I2cb698f719106e54b06009f24ea47259419e9cad
* Update charm-nova-cell-controller from branch 'master'
to d668de8aa5bba642015d817f3272df43a955a1ff
- Fix database connection section
Using the sql_connection option in the default section appears to
cause CONF.api_database.connection to be populated with the
connection uri. This in turn causes nova to think this is an
api cell and to do an api lookup *1 which fails. This change moves
the database connection string into its own section as per *2
*1 https://opendev.org/openstack/nova/src/branch/master/nova/utils.py#L1060
*2 https://docs.openstack.org/nova/latest/admin/cells.html
Closes-Bug: #1982071
Change-Id: I49859235d408598535173c8bb87ce65f66fb3ca8
* Update charm-nova-cell-controller from branch 'master'
to c9f9802fdda5565df7e7dc9ea2e4c21706e0b9b3
- Updates to enable jammy and finalise charmcraft builds
- Add 22.04 to charmcraft.yaml
- Update metadata to include jammy
- Remove impish from metadata
- Update osci.yaml to include py3.10 default job
- Modify tox.ini to remove py35,py36,py37 tox target and add py310
target.
- ensure that the openstack-origin is yoga
- Remove overlay as no longer needed in charmhub with explicit .charm
- Pin setuptools < 50.0 in src/wheelhouse.txt
Change-Id: Ie15e3e0530345f488565454e673e40981f606bdd
* Update charm-nova-cell-controller from branch 'master'
to 3e4eee4215d38eb76719828fcdf53cda8f9fdc86
- Update to build using charmcraft
Due to a build problem with the reactive plugin, this change falls back
on overriding the steps and doing a manual build, but it also ensures
the CI system builds the charm using charmcraft. Changes:
- add a build-requirements.txt
- modify charmcraft.yaml
- modify osci.yaml
-> indicate build with charmcraft
- modify tox.ini
-> tox -e build does charmcraft build/rename
-> tox -e build-reactive does the reactive build
- modify bundles to use the <charm>.charm artifact in tests.
and fix deprecation warning re: prefix
- tox inception to enable tox -e func-test in the CI
Depends-On: https://review.opendev.org/c/openstack/charm-nova-cell-controller/+/830520
Change-Id: I47fd77c67776817f7b8d8918f0ec29d420f1763a
* Update charm-nova-cell-controller from branch 'master'
to f70e186285b17ad5363af2dfe0014504af1c958d
- Use [database]/connection in templates
nova-manage uses the [database]/connection to determine the
database connection. This change updates the nova.conf
template to use the parts/section-database template,
switching away from using [DEFAULT]/sql_connection to use
[database]/connection instead.
[DEFAULT/sql_connection has been deprecated since at least
mitaka:
https://docs.openstack.org/nova/mitaka/sample_config.html
This change also re-enables the gate tests for Xena.
Closes-Bug: #1951874
Change-Id: I9d77b44ad3c40f3ee60fedc3f211f3ac085fcbb2
* Update charm-nova-cell-controller from branch 'master'
to ff9280d24d09502414af3e7d8d2fd4c250133075
- Use unittest.mock instead of mock
The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we can use the
standard lib unittest.mock module instead.
Note that https://github.com/openstack/charms.openstack is used during tests
and he need `mock`, unfortunatelly it doesn't declare `mock` in its
requirements so it retrieve mock from other charm project (cross dependency).
So we depend on charms.openstack first and when
Ib1ed5b598a52375e29e247db9ab4786df5b6d142 will be merged then CI
will pass without errors.
Depends-On: Ib1ed5b598a52375e29e247db9ab4786df5b6d142
Change-Id: I821bf39f976be059f6e7e03b337d6f323787dcb0
* Update charm-nova-cell-controller from branch 'master'
to 464bbb7d5925879de0b95d132f214f43b7ddce2d
- Add yoga bundles and release-tool syncs
* charm-helpers sync for classic charms
* sync from release-tools
* switch to release-specific zosci functional tests
* run focal-ussuri as smoke tests
* remove trusty, xenial, and groovy metadata/tests
* drop py35 and add py39
Change-Id: I6d7d32dd016e436d8463f88331682f53c4741e8d
* Update charm-nova-cell-controller from branch 'master'
to 38e030fee1233c270522970a4469cd467e779788
- rebuild - restore c-h proxy env vars for add-apt-repository
Change-Id: I1d61c7c7e2c6bca16434924a628a6a8871c6be83
* Update charm-nova-cell-controller from branch 'master'
to f1fc48218d3e98e1e8cf11d46979acac4e0a4e40
- Test bundles for focal-wallaby and hirsute-wallaby
These are the test bundles (and any associated changes) for
focal-wallaby and hirsute-wallaby support.
hisute-wallaby test is disabled (moved to dev) due to [1].
[1] https://github.com/juju-solutions/layer-basic/issues/194
Change-Id: I259256fedb52f424535cba3c5e78ac53516989f2
* Update charm-nova-cell-controller from branch 'master'
to b198544f31bdae8510de06034032134ba9bfe9b7
- Updates to flip all libraries back to master
This patchset updates all the requirements for charms.openstack,
charm-helpers, charms.ceph, zaza and zaza-openstack-tests back
to master branch.
Change-Id: I233ad706c70123a2613ba5ec6463f60ef82123cc
* Update charm-nova-cell-controller from branch 'master'
to b0339cf6728e5a0dcd643f0a648a8dbd9c24eaa8
- 21.04 libraries freeze for charms on master branch
* charm-helpers sync for classic charms
* build.lock file for reactive charms
* ensure tox.ini is from release-tools
* ensure requirements.txt files are from release-tools
* On reactive charms:
- ensure stable/21.04 branch for charms.openstack
- ensure stable/21.04 branch for charm-helpers
Change-Id: I0b89619963f796132356b174f7bd9f3a85a681f4
* Update charm-nova-cell-controller from branch 'master'
to 86c799ac2fa1cff00f38d22331917a1105b6adf0
- Add hirsute and remove trusty from metadata.yaml
This update adds the new hirsute Ubuntu release (21.04) and
removes trusty support (14.04 which is EOL at 21.04).
Change-Id: I306cd021e4038a50dc2763e65da93253edd87e9e
* Update charm-nova-cell-controller from branch 'master'
to 7768e3dea8f535876fa4eb4d7703dc808166adbf
- Merge "Add new osci.yaml"
- Add new osci.yaml
This change is preparatory to migration Ubuntu OpenStack CI
from Jenkins to Zuul
Change-Id: I996496c12e189257a27fdb39dd094ccb0a6df929
* Update charm-nova-cell-controller from branch 'master'
to e45a8f78067d0c3126197b73c7fcb477588bca12
- Updates to pin charm-tools to 2.8.3
* Update requirements.txt to pin charm-tools to 2.8.3
* Update tox.ini to change the build parameters.
* This upgrades from <2.7 which adds reproducible charms
* Bug was fixed that controlled the default output directory
doesn't get 'builds' appended. The tox change puts it
back so that stable & master both build to the same
directory. This may be reviewed in the future.
Change-Id: Ieae91b9ffda65f21741f742e03662cdaf73b3177
* Update charm-nova-cell-controller from branch 'master'
to 12a56051a086387726d83c30f64e693c60a19e7a
- Rebuild to use charm-tools pre 2.8 release
Reverting to an earlier version of charm-tools to
resolve some building issues seen with latest 2.8.2
version.
Change-Id: Idabe1d11d7410622aeb4455c0fe24503f8e502a9
* Update charm-nova-cell-controller from branch 'master'
to d6e714076d85a1b14d67df0697dc437d9f871d41
- Rebuild with udpated charm-tools 2.8.2
Validate the newest version of charm-tools: 2.8.2
https://github.com/juju/charm-tools/pull/598
Change-Id: If0132f6af4a78243f1683869f13da51678b9e20f
* Update charm-nova-cell-controller from branch 'master'
to e94a55a11a8321640a289f3057b61bbed482b27b
- Add Groovy to the test gate
Change-Id: I15770da6cfae46446c361cbff83940f4036c1cac
* Update charm-nova-cell-controller from branch 'master'
to f46c60c084d833dda1db9390b6fef59d7776ee89
- Updates for testing period for 20.01 release
Includes updates to charmhelpers/charms.openstack for cert_utils
and unit-get for the install hook error on Juju 2.9
* charm-helpers sync for classic charms
* rebuild for reactive charms
* ensure tox.ini is from release-tools
* ensure requirements.txt files are from release-tools
* On reactive charms:
- ensure master branch for charms.openstack
- ensure master branch for charm-helpers
Change-Id: Id9d36ae950300b1c3f461928908e56bd2d49b37a
* Update charm-nova-cell-controller from branch 'master'
to 72961a57fe8d0400eb5e30878ff52b18962b8783
- Remove Disco and Eoan bits
Change-Id: I621546d6b522a31c2b4b9abe53347ea386ee7c80
* Update charm-nova-cell-controller from branch 'master'
- Rebuild reactive charms to pick up latest charm-helpers release.
v0.20.18 has been released and needs incorporating into the reactive charms.
Change-Id: I5469fd80fcbfce01b1c6988b4b0e008139fd8a26
* Update charm-nova-cell-controller from branch 'master'
- Sync libraries & common files prior to freeze
* charm-helpers sync for classic charms
* charms.ceph sync for ceph charms
* rebuild for reactive charms
* sync tox.ini files as needed
* sync requirements.txt files to sync to standard
Func-Test-Pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/440
Change-Id: I10a6a748b8fee04a0395da37d599e0c50d28f01c
* Update charm-nova-cell-controller from branch 'master'
- Updates for 20.08 cycle start for groovy and libs
- Adds groovy to the series in the metadata
- Classic charms: sync charm-helpers.
- Classic ceph based charms: also sync charms.ceph
- Reactive charms: trigger a rebuild
Change-Id: I02183a592035b37bad6fa568bfcf9fdf20322b50
* Update charm-nova-cell-controller from branch 'master'
- Add README and icon
Populate README from description in metadata.yaml.
Change-Id: I57f41099428d4a6fdde3e7c44825145913ad498b
* Update charm-nova-cell-controller from branch 'master'
- Add focal-ussuri and bionic-ussuri bundle
This patch adds a focal-ussuri and bionic-ussuri bundles to the tests
for the charm.
Change-Id: I9061ac15b6ab0052090c6fe285eb2ccdc307f879
* Update charm-nova-cell-controller from branch 'master'
- Rebuild reactive APIs for layer-basic regression
Fix regression in layer-basic which failed to unpack new dependencies
properly during the upgrade-charm hook.
Github Issue: #166
Closes Bug: #1875496
Change-Id: I5df34b0439cb92db558db0cc9b1bcf620318aae4
* Update charm-nova-cell-controller from branch 'master'
- Update peers with API addresses
Use default_update_peers which will publish admin, internal and public
addresses to peers.
Change-Id: Ibb9d67095c85f0486d24bec01c356c7e7bfb008a
Closes-Bug: #1858132
* Update charm-nova-cell-controller from branch 'master'
- Rebuild for updates to charms.openstack
Change-Id: I2137ac37b530527e2bc258f8fb03ed0990961b2b
* Update charm-nova-cell-controller from branch 'master'
- Use absolute path for charm location.
For compatibility with Juju 2.7 use an absolute path to point at
the local charm. This is essentially the same fix as the one landed
in zaza by fnordahl *1. The local overlay needs to be retained here
because the deployed service has different name to the charm.
*1 af7f8d6ca3
Change-Id: Iff66b8c473f4d184982593f70fe9ca9769069006
* Update charm-nova-cell-controller from branch 'master'
- Add train template and train functional tests
A train template is added which pulls in sectional
placement config from charm-layer-openstack.
This requires adding identity-credentials as a required
interface for train and above.
This patch also updates the smoke test to run train.
Closes-Bug: 1850691
Depends-On: https://review.opendev.org/#/c/692426/
Change-Id: Ib3937915c5195b5e031d5056959932849012fc23
Signed-off-by: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@canonical.com>