175 Commits

Author SHA1 Message Date
Alex Kavanagh
8c4c1a23d0 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: I69fab5d73305dfe1eb0563d5e570ef76b64e5d64
2021-02-02 17:04:49 +00:00
David Ames
096c6b5c59 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: I06b9deae0bc7376c8ba3c6705cba9ec5ed6d94c5
2021-02-01 14:06:46 -08:00
Aurelien Lourot
0b3b075eec Add Groovy to the test gate
Change-Id: I2a7fa371702f2e78838f5a90b8688b3a3b5dbce8
2021-01-29 14:11:07 +00:00
Alex Kavanagh
746e7f88a4 Fix missing auto DB creation on Victoria
Also updates for testing period for 20.01 release.
All these changes are needed together in order to have passing
functional tests.

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: Ieff90482f0acfac735c1ed69fc0593bd44913bac
Closes-Bug: #1903725
2021-01-27 18:18:52 +01:00
Aurelien Lourot
c9b7a01e84 Remove Disco and Eoan bits
Change-Id: I7be89404b640c06345611a4794f467802f3d651c
2021-01-12 13:49:47 +01:00
Aurelien Lourot
f70cbf41ea Sync release-tools
Sync release-tools boilerplate containing these changes
in order to pin pip < 20.3:
https://github.com/openstack-charmers/release-tools/pull/125
https://github.com/openstack-charmers/release-tools/pull/126

Change-Id: Ib977225e1dcb651dd9d98ab67edaa76545621451
2020-12-11 13:52:41 +01:00
Zuul
b5060d6dfe Merge "Switch to python3-apt in Victoria" 2020-10-16 12:59:46 +00:00
Corey Bryant
f6fbcd82a9 Switch to python3-apt in Victoria
The python-apt binary package is removed in Ubuntu Groovy.
Switch the charm to python3-apt.

Change-Id: Ib3da731b3e649bf99d63229c376eb8c8354a72d7
Closes-Bug: #1899680
2020-10-15 12:37:02 +00:00
Alex Kavanagh
3768debc33 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: Ia6d12ef586678867e2fa183942f8d0b131fbd2d3
2020-10-14 16:07:25 +01:00
Alex Kavanagh
f4ed57fc08 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

Change-Id: Ic9b019feec791d33f45e71264f4649d60b75f958
2020-09-26 18:28:48 +01:00
Zuul
a87991f606 Merge "Enable worker-multiplier for wsgi" 2020-09-17 09:06:34 +00:00
Aurelien Lourot
64300e7be3 Add focal-victoria to the test gate
Change-Id: I284411405cfab0d789f56d41774309d11ced257b
2020-08-28 14:24:00 +02:00
Nobuto Murata
3ba2652b10 Enable worker-multiplier for wsgi
So that users can have a control over the number of processes to be
spawend and database connections to be consumed.

Change-Id: I7ffdafb807a604d89381a2fecaba8300f00e9691
Closes-Bug: #1677543
2020-08-04 12:16:21 +09:00
Alex Kavanagh
22017a5a8f Release sync for 20.08
- Classic charms: sync charm-helpers.
- Classic ceph based charms:  also sync charms.ceph
- Reactive charms: trigger a rebuild

Change-Id: If9861704a9cc5eacca1ba1042b124f6f5620b981
2020-07-27 20:48:25 +01:00
Zuul
ae19d829dc Merge "Switch to using openstack-python3-charm-jobs" 2020-07-17 15:02:12 +00:00
Corey Bryant
044d8f50da Add victoria package version
Change-Id: I4858414736c65e51d8f796bf0e101dc06f4d5cc5
2020-07-13 18:37:06 +00:00
James Page
3baea3523e Switch to using openstack-python3-charm-jobs
Change-Id: I69ffbb9274a352c784db634e40a936e7aca7b5f5
Depends-On: Ib9ed240aef6680be7c972088ca5337b5740b9c36
2020-07-13 08:36:27 +01:00
Zuul
0ff400137d Merge "Stop to use the __future__ module." 2020-07-13 05:38:54 +00:00
Aurelien Lourot
099e195e9e Add Victoria test bundles
Change-Id: Ibb0bd976463c8c88eaf6f577af4399452ebe24a7
2020-07-08 14:27:20 +02:00
Liam Young
1999476e1b CH Sync for rabbit relation bug fix
Charmhelper sync to pick up the fix to the AMQP context.

Also remove jinja2 from wheelhouse.txt as is a duplicate
and due to improvements in charm build it now causes the
build to fail.

Change-Id: I1c41ccedfbe453180b4c7835b47028ff7604711a
Closes-Bug: #1796886
2020-06-30 11:56:51 +00:00
Hervé Beraud
7da1f26398 Stop to use the __future__ module.
The __future__ module [1] was used in this context to ensure compatibility
between python 2 and python 3.

We previously dropped the support of python 2.7 [2] and now we only support
python 3 so we don't need to continue to use this module and the imports
listed below.

Imports commonly used and their related PEPs:
- `division` is related to PEP 238 [3]
- `print_function` is related to PEP 3105 [4]
- `unicode_literals` is related to PEP 3112 [5]
- `with_statement` is related to PEP 343 [6]
- `absolute_import` is related to PEP 328 [7]

[1] https://docs.python.org/3/library/__future__.html
[2] https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html
[3] https://www.python.org/dev/peps/pep-0238
[4] https://www.python.org/dev/peps/pep-3105
[5] https://www.python.org/dev/peps/pep-3112
[6] https://www.python.org/dev/peps/pep-0343
[7] https://www.python.org/dev/peps/pep-0328

Change-Id: Iea37866cb1e319b443acf66e593d8f37bf692b50
2020-06-02 19:36:47 +02:00
Alex Kavanagh
254c7908b8 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: I51482cc30f21cb03710655f08b93171d6f3bf8d8
2020-06-02 14:26:59 +01:00
Alex Kavanagh
f5fa98bc07 Rebuild for sync charm-helpers for 20.05 release
Change-Id: I7b740a140b57bc869c66e6e1f3a2d1dc69b64da2
2020-05-11 12:59:05 +01:00
Alex Kavanagh
4aad32ab39 Enable focal and ussuri for the charm
Change-Id: I646e0169c8ffd43484ea537ee7a1c8e4e893019c
2020-05-07 12:18:15 +01:00
David Ames
7b30cea486 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: I193337bbf53d0f5d396eee6b630ccc5d692b33cd
2020-04-28 14:16:18 -07:00
Aurelien Lourot
cccfdc343a Porting tests from Amulet to Zaza
Change-Id: I84fe9bbb195871f2e2a9caffc2c32253616ffd33
Func-Test-PR: https://github.com/openstack-charmers/zaza-openstack-tests/pull/240
Closes-Bug: #1828424
2020-04-20 14:46:34 +02:00
David Ames
6d6cb5040b Update peers with API addresses
Use default_update_peers which will publish admin, internal and public
addresses to peers.

Change-Id: Icf242fefbae99682aae2e666c246ac94edeb3f39
Closes-Bug: #1858132
2020-04-01 15:55:42 +01:00
James Page
426f636ad8 Drop use of admin-token in tests
The keystone charm no longer supports the use of the admin-token;
drop its use in the barbican charm functional test suite.

Lowercase domain names when matching to deal with 'Default' as
setup by the new keystone bootstrap process.

Change-Id: Iee2091941d614aa803366e6f5c04d00909f7b1b3
TODO: rewrite tests using Zaza
2020-04-01 15:54:49 +01:00
Frode Nordahl
f87010e246 Rebuild for updates to charms.openstack
Change-Id: I87b8a6492e927becea890459b1ea5878e29bcd54
2020-03-11 09:24:39 +01:00
Frode Nordahl
5f1d651969 Update charm build requirements
Change-Id: I8b55c684ae8b547a46f45024a2c08d398cc622c8
2020-03-03 09:52:56 +01:00
José Pekkarinen
ef5a997c8c
Restoring support for tls endpoint configuration
Closes-bug: #1864805
Change-Id: I6bf879693f1a2a4d8df27cb47a7d1c446af4596e
Signed-off-by: José Pekkarinen <jose.pekkarinen@canonical.com>
2020-02-26 11:38:14 +02:00
Alex Kavanagh
29a0cb0b69 Remove disco support from the charm
Change-Id: Iaf4ffea14f0c8a97648d6036f9c1de32ed82df68
2020-02-18 15:43:02 +00:00
Liam Young
8c40794869 Rebuild for 20.02 release
Change-Id: I41e42ee1c3c2363127235ce8a5b01c38694cecbb
2020-02-05 16:52:17 +00:00
Corey Bryant
8f9f260d34 Add new major package versions and drop disco test
Add the stein/train/ussuri major package versions.
Drop the disco functional test now that disco is EOL.

Change-Id: I4b4ec23cfb698732df7a467dc88b79e3dd6e07b1
2020-01-30 21:02:20 +00:00
kangyufei
5c3978a6c5 Switch to Ussuri jobs
Change-Id: I6306f941d0abdf8a56850244c4da6d5f1d1f376f
2019-10-23 09:54:00 +08:00
Sahid Orentino Ferdjaoui
707369c37d Enable functional tests for train
This patch also updates the smoke test to run train.

Change-Id: I3112cf697922237ba719d183f2d94b6f92237ebc
Signed-off-by: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@canonical.com>
2019-10-18 14:15:22 +02:00
Ryan Beisner
1b6e560404
Sync charm/ceph helpers, tox, and requirements
Change-Id: Ib116be42e6ddebb747324470339c0f85b7fb0dbd
2019-09-30 22:41:22 -05:00
Zuul
a374844898 Merge "Add disco-stein bundle to gate tests" 2019-09-03 21:07:26 +00:00
Frode Nordahl
5deb9b8712
Enable default certificates handler
Previously the default ``certificates.available`` handler was
enabled without the charm authors intervention, this was changed
in I12f45236632b608e07fdd35d31b90b84ca92eb1f.

Change-Id: I85e82273f9a423ce0fe9d8462c82de608e3922f7
2019-09-03 08:56:57 +02:00
Camille Rodriguez
2f65734249 Add disco-stein bundle to gate tests
The bundle disco-stein was in the dev bundles because
a bug with the Python 3.7 syntax prevented the success of
the deployment of HA clusters. This bug is fixed, we can
reintegrate disco-stein in the gate bundles.

Other small additions:
- removing sitepackages in tox.ini to avoid test env pollution
- skip_missing_interpreters in tox.ini set to False to avoid false
positives by skipping missing interpreters.

LP Related-Bug: #1823718

Change-Id: Ie3d970ffde85b8f447ec7d2a95041ef59a747d8c
2019-09-02 10:47:23 -04:00
Frode Nordahl
1be0e5bce4
Rebuild for sync layer-openstack
Also explicitly set ``include_system_packages`` to False.

While that setting is now the a default we consume from
``layer-basic`` it is more clear for the causual reader
of the charm source code.

Remove redundant entries from ``wheelhouse.txt``.

Change-Id: Ibc2d91afd0e49eb9120eacbb1d6260a159c5f2db
2019-08-22 09:00:19 +02:00
Chris MacNaughton
e966de6f64
Update series metadata
Ensure that EOL releases are removed from metadata
and tests, and that the current dev release is enabled
in metadata.  Dev release tests are enabled separately
because of chickens and eggs.

Change-Id: I855e6e2565e0898974c13c4ee4a8e956482154b0
2019-08-19 11:44:56 -04:00
Frode Nordahl
3ea35e3396
Distribute direct charm dependencies
Do not rely on system installed Python packages but distribute the
direct charm dependencies as part of the charms wheelhouse.

As the span of distributions we need to support with reactive
charms widens we will run into compability problems with the
current model.

For further reference see juju/charm-helpers#341 and
juju-solutions/layer-basic#135

Change-Id: I0f136f7c1e0e5509f5f2aa5904f89dbd4a227682
2019-08-14 16:51:36 +02:00
Zuul
11b70f156e Merge "Add Python 3 Train unit tests" 2019-08-13 17:41:54 +00:00
David Ames
c0b11b8671 Rebuild for sync charms.openstack
Change-Id: I5f0b7508c54eb16d7a6ed4a10104ca78478f70ab
Partial-Bug: #1838783
2019-08-02 10:54:02 -07:00
Corey Bryant
6d5218137f Add Python 3 Train unit tests
This is a mechanically generated patch to ensure unit testing is in place
for all of the Tested Runtimes for Train.

See the Train python3-updates goal document for details:
https://governance.openstack.org/tc/goals/train/python3-updates.html

Note that python35-charm-jobs is retained since this charm is supported
on Xenial.

Change-Id: I62dabc049b8730ad6a22e863c65136a82cc8e62c
Story: #2005924
Task: #34228
2019-07-30 10:17:00 -04:00
Frode Nordahl
5df112c40f Update functional test definitions
Change-Id: I1fa1f53e8d3da40dc8a17ed6496c8f60eea4c282
2019-07-17 15:27:13 +02:00
OpenDev Sysadmins
269e4299ef OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:29:32 +00:00
Zuul
9a58c6331a Merge "Enable bionic/stein and disco/stein functional tests" 2019-04-09 14:46:15 +00:00
James Page
d1f1499304 Rebuild with new charmhelpers release
0.19.13 supports use of Ubuntu Disco.

Change-Id: Ib81f3c5ed73c3458c6a06d933fa59c2c9d437867
2019-04-09 10:37:46 +01:00