* Update charm-heat from branch 'master'
to 16f8bc201eddded32436d4a176c5531fca36daf1
- 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: Icdefacaadb7f03d7241a0e0d88c09fcbac668530
* Update charm-heat from branch 'master'
to ea0ef6d32ebabfd02cef8a29da9560d59cc1844c
- Improve platform mocking
Patch out charmhelpers.osplatform.get_platform() and
charmhelpers.core.host.lsb_release() globally in the unit tests to
insulate the unit tests from the platform that the unit tests are being
run on.
Change-Id: I27979aaeec8040b8cd5c07e5ad12a6ca8544278c
* Update charm-heat from branch 'master'
to af1bfc7eda22984978801dd8b0b439b6c49e8067
- 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: I6f907d439585dbcc87efdeec55c329303eca0d6a
* Update charm-heat from branch 'master'
to 75ed04915ae0acbccdf6b151efaf5ea3acf5c5d0
- 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: I01b2164017b21b64fc6858368dfb3b0694243970
* Update charm-heat from branch 'master'
to c09949a4df5966e0c1e831d3ba9a12a09d54e6e9
- 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
Change-Id: I4e2f6e5d763b6fe216082b063d5dcc12e1aa3f62
* Update charm-heat from branch 'master'
to 19cf71dc79bcba91132dcd769eeb99e18b09b754
- Add support for HAProxy L7 checks
This change add several configuration options to enable HTTP checks
to the HAProxy configuration, instead of the default TCP connection
checks (which continue to be the default). It also enables /healthcheck
endpoint for heat-api and heat-cfn-api on openstack releases >= queens.
Closes-Bug: #1880610
Change-Id: I94c9418c82cdddd5a5d9ed400ab47889bfb225b1
* Update charm-heat from branch 'master'
to f5a61e7c784e48772fdb07aac4782e74b9e09951
- Ensure openstack-release package is correct after install hook
The linked bug shows the install of the charm with openstack-origin set
to zed. This happens because configure_installation_source() causes the
openstack-release package to be installed *before* the zed cloud archive
sources are configured into /etc/apt and an apt update done. This means
that the openstack-release package says "yoga" despite the zed packages
actually being installed.
Then, on the config-changed hook, it sees that the installed version is
showing as yoga and tries to do an upgrade. This fails, as the charm
hasn't yet bootstrapped, and the charm tries to bootstrap after
upgrading the packages.
There's a few bugs here which are exposed, but the tactical fix is to
force the openstack-release to match the installed packages.
Closes-Bug: #1989538
Change-Id: I501aae7f7d818211deaeda945648dfdf63c21d7a
* Update charm-heat from branch 'master'
to bfe6eb7da6181e11727373b393fc2a8e539cfc42
- 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: I58a1e0335e4d5003c922129c39e1a553c836694b
* Update charm-heat from branch 'master'
to ef5f2f417e0c30fe13e72b209bbde4c1d52bf3d4
- 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: I68434d15a68d087a4fd704d9dde6e5a878d5cdca
* Update charm-heat from branch 'master'
to 906218c1d36fcd9872ef324ff9e282a69038ff28
- 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
- charm-helpers-sync
Change-Id: I27bba777156f162331b0be992d2eec4259b4d23f
* Update charm-heat from branch 'master'
to acb184283298440199665f0a2b9383288ce1f635
- Update to classic charms to build using charmcraft in CI
This update is to ensure that the Zuul Canonical CI builds the charm
before functional tests and ensure that that artifact is used for the
functional tests. This is to try to ensure that the charm that gets
landed to the charmhub is the same charm that was tested with.
Change-Id: I563a3af2895ddf2eb5d8e61006eb8eb2cb8d8d37
* Update charm-heat from branch 'master'
to d337e71a288ead3fb2dd335e22146e8a36d15f3b
- Merge "Additional test updates"
- Additional test updates
* drop trusty/xenial metadata and function tests
* switch to release-specific zosci functional tests
* switch to yoga zosci unit test job
* add py39
Change-Id: Ib6109d01bcbff405d025e1ace671debef0ae7c59
* Update charm-heat from branch 'master'
to ee1ae1a8b373e87d5feeafcf627a75919d34be9b
- Merge "Number of heat queues will keep growing forever after heat-engine restarts"
- Number of heat queues will keep growing forever after heat-engine restarts
Set TTL as a solution for topic queue engine_worker and heat-engine-listener
to avoid them growing all the time after heat-engin restarts.
This is heat part.
Closes-Bug: 1925436
Change-Id: I196346e4ca869efab45d1c2aafb1420b2a917d39
* Update charm-heat from branch 'master'
to d84213577fbbfa32351bf12f3bee71e5f22856a8
- c-h sync - restore proxy env vars for add-apt-repository
Change-Id: I3d4b84cd8de6fa61b06e9dc065c8018601859545
* Update charm-heat from branch 'master'
to c7cb7bb4afdbb981ff466e48f8d937d834884a79
- Test bundles for focal-wallaby and hirsute-wallaby
These are the test bundles (and any associated changes) for
focal-wallaby and hirsute-wallaby support.
Libraries sync.
hisute-wallaby test is disabled (moved to dev) due to [1] as bundle may
reference a reactive charm.
[1] https://github.com/juju-solutions/layer-basic/issues/194
Change-Id: I812173ba3ac085fcd1e0d2b4635b29c8b5a377e6
* Update charm-heat from branch 'master'
to 0c480b198f90a87841c3598a374ecefbfaca908f
- 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: I94ca1393e0a565e4595022564660194d9fd44ce2
* Update charm-heat from branch 'master'
to 9e6a9679f5fa8eae2b4e5f8e49ba4159240a3163
- 21.04 sync - add 'hirsute' in UBUNTU_RELEASES
The 'hirsute' key in c-h/core/host_factory/ubuntu.py:
UBUNTU_RELEASES had been missed out, and is needed for
hirsute support in many of the charms. This sync is to
add just that key. See also [1]
Note that this sync is only for classic charms.
[1] https://github.com/juju/charm-helpers/pull/598
Change-Id: I49901a38f32e8b5ec180c01be5940cd6731edf27
* Update charm-heat from branch 'master'
to c93b67b11e8f65f556f3e0751fa75b6791d6f878
- 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: Iffe53a0a9feb59e0d94f08ee152e6f5d7107192c
* Update charm-heat from branch 'master'
to fe4994b64b151d1c8b068f0d348f214e30e7ed68
- Update worker-multiplier config description
Based on the change in charm-helpers:
https://github.com/juju/charm-helpers/pull/553
Related-Bug: #1843011
Change-Id: I0744413fb948de941ac22b71a6cb37206ed4f4ac
* Update charm-heat from branch 'master'
to a7b930c928a323d06297532e7f29bb81b0c9585a
- 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: I9c48ece92d87bce80404d696c87a2c160ffd5277
* Update charm-heat from branch 'master'
to 8e5149b739c38fa53a389a269ff52e8ce26949fc
- Merge "Add new osci.yaml"
- Add new osci.yaml
This change is preparatory to migration Ubuntu OpenStack CI
from Jenkins to Zuul
Change-Id: I16e82e0f295a9c0f6f21e4ff343e2f1afda1d82d
* Update charm-heat from branch 'master'
to 29be9de9ea499745eef2f912cc837f693cc397d1
- Hotfix charmhelpers sync for local_address() fix
The network-get --primary-address juju-info fails on pre-2.8.?
versions of juju. This results in a NoNetworkBinding error.
Fallback to unit_get() if that occurs for local_address().
Change-Id: I8e7f6a5c19daca65b0561a4ea2e85b8e8adbfff9
* Update charm-heat from branch 'master'
to c81858c248c1963d134ac1db1ddf0312a86f897d
- 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
* Fix unit tests due to changes in core subordinate context lib.
Change-Id: I61d51dc65ba29390df1c057535a2065e205d32b2
* Update charm-heat from branch 'master'
to 8df7b7a0a64e1fc73d370f644c72926be32c8622
- Remove Disco and Eoan bits
Change-Id: I4f139f98df217040e8f163fb4914caf79f9c0bfe
* Update charm-heat from branch 'master'
to 7fff0b68176e37f65fe1e4bc8685258b91096713
- Add Groovy to the test gate
Change-Id: I72f7d3821f95ac2ff6bb998935e92833fa50622f
* Update charm-heat from branch 'master'
to 213a6a8c95226f3a445b50e341ead3bbdabf634f
- Add nrpe support
Parses services() available, and uses charmhelpers' haproxy checks to
set default checks for Heat. By enabling nrpe-external-master interface,
we also allow hacluster subordinate application to be monitored for
check_crm and pacemakerd.
Change-Id: I4ad2b1c514099f9b6fe352cdab65587780915e5c
Closes-Bug: 1664745
Signed-off-by: Alvaro Uria <alvaro.uria@canonical.com>
* Update charm-heat from branch 'master'
- Batch update to land Ubuntu Groovy support into the charms
Cherry-Pick from 09752a1527
Change-Id: I335386f181b8302674c8364d62b7620ddba6db4a
* Update charm-heat 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 is needed for py35 compatibility - test to ensure that zaza
change works.
func-test-pr: https://github.com/openstack-charmers/zaza/pull/390
Change-Id: Id729d01b6f2e41ccb3f605638a1837fc2b3c626d
* Update charm-heat from branch 'master'
- Merge "Switch to using openstack-python3-charm-jobs"
- Switch to using openstack-python3-charm-jobs
Change-Id: Ia5e17a750135060b16ffb5d5d5d8dcac8264272f
Depends-On: Ib9ed240aef6680be7c972088ca5337b5740b9c36
* Update charm-heat from branch 'master'
- Sync charm-helpers for Victoria/Groovy updates
This sync picks up the release and version details for Victoria/Groovy.
Change-Id: I04df0f41f6237a4889935cc57f8dd0f1617de3cb
* Update charm-heat from branch 'master'
- Merge "Use unittest.mock instead of mock"
- 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: Ic61aac57ab757e555be0eef818052c58b8cf03dd
* Update charm-heat from branch 'master'
- CH Sync for rabbit relation bug fix
Charmhelper sync to pick up the fix to the AMQP context.
Change-Id: Iadf51f05375ea58dd1fc7e557001ee4edfb803f7
Closes-Bug: #1796886
* Update charm-heat 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: Ia822ff2ce73ff46526e74ccc84976ba7a4b0bff5
* Update charm-heat from branch 'master'
- Add max-stacks-per-tenant config option
This configuration option allows operators to change the default of
how many stacks a project can have in parallel.
This key has been available since Mitaka:
https://docs.openstack.org/mitaka/config-reference/orchestration.html
Closes-Bug: #1871772
Change-Id: I4dc0008c1098a969d62ee4a8afe76de4bfb5c235
* Update charm-heat from branch 'master'
- Enable focal and ussuri as part of the gate tests
Add bionic-ussuri and focal-ussuri (with mysql8 support) bundles.
Change-Id: I7505e685511b7230d671669d7b5cc84243177155