Commit Graph

135 Commits

Author SHA1 Message Date
Ghanshyam Mann 999d831580 Moving IRC network reference to OFTC
Change-Id: I28edd181bf3c2e39150f060e6d7d5b853b85fd0f
2021-07-08 18:27:30 -05:00
Aurelien Lourot 06905fee08 THIS CHARM IS DEPRECATED
See https://review.opendev.org/c/openstack/charm-guide/+/797034

Its functional tests are written with the deprecated
Amulet framework (replaced by Zaza). Our CI system
zOSCI can't run Amulet tests.

Change-Id: Ie65f9714ca80ae8e4a13e9785c5e6afc997934d3
Related-Bug: #1828424
2021-06-18 11:36:34 +02:00
David Ames 6e19511813 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: I8eb39e6c135aadb5e5892fee62d4745389228079
2021-02-01 14:13:08 -08:00
Alex Kavanagh 13c19b54ca 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: I3cd3f94458e1e5b00d003f867549e898f4cf6ec7
2021-01-15 16:09:48 +00:00
Zuul f006d9cb52 Merge "Updates for testing period for 20.01 release" 2021-01-13 20:30:30 +00:00
Alex Kavanagh 0b76ccec42 Updates for testing period for 20.01 release
* 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: Ib6e8c132b2a86541599313419ff6c02dde516055
2021-01-12 15:44:37 +00:00
Aurelien Lourot 86130b2721 Remove Disco and Eoan bits
Change-Id: I93a45ade84a2e6cba5f0fe6c4bc8270bf344322b
2021-01-12 14:04:54 +01:00
Aurelien Lourot 24508b210d 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: I98d180d686400c0452a58f54b4438c3ec39a99f9
2020-12-10 22:37:48 +01:00
Zuul 6285ffe1ee Merge "Remove deprecated scenario image option" 2020-10-27 13:44:30 +00:00
Alex Kavanagh bb88b6f4d6 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: Ifef74f899025bca3a414ffe792148596be22e8c4
2020-10-14 16:39:45 +01:00
Alex Kavanagh 823f79feb9 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: Ie91548167daa588d34ea55b9fa2d8d78ad5270e2
2020-09-26 18:40:24 +01:00
Alex Kavanagh 64cc0c998a Release sync for 20.08
- Classic charms: sync charm-helpers.
- Classic ceph based charms:  also sync charms.ceph
- Reactive charms: trigger a rebuild
- sync tox.ini
- sync requirements.txt and test-requirements.txt

Change-Id: I623f452d966bd27d826322b784b32d6b20fdf5b0
2020-07-27 21:00:04 +01:00
Zuul 1026f9f686 Merge "Stop to use the __future__ module." 2020-07-13 05:44:30 +00:00
Zuul c08f1d2f60 Merge "Reformat README to 79chars" 2020-06-19 13:39:36 +00:00
Alvaro Uria b22128752a Reformat README to 79chars
Change-Id: Ia8f90f8f5c0362f571a4c632d316d072f8c8a44b
2020-06-10 15:27:46 +02:00
Hervé Beraud 336f71083e 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: I0461cbe800396d5406a28db50ee03aeb9468f923
2020-06-02 20:05:28 +02:00
Alex Kavanagh 4046e6f1fb 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: Ieea550be6df21bbe8a7d5fdfa760101de1aee625
2020-06-02 14:37:48 +01:00
Ryan Beisner c1d1732079
Add focal series metadata
Change-Id: I751ca201cb204976554663b4ba5a7c5f48d8952a
2020-05-19 14:54:54 -05:00
Alex Kavanagh 2425fba246 Rebuild for sync charm-helpers for 20.05 release
Change-Id: I253f657e95657d280d0c958ad110475e88b2a1c7
2020-05-11 13:05:02 +01:00
Martin Kopec de1daf16b8 Remove deprecated scenario image option
Let's remove deprecated CONF.scenario.img_dir which has been
deprecated for more than 4 years.

Related-Bug: #1393881
Depends-On: https://review.opendev.org/#/c/710996/
Change-Id: Iafdebf8946272a433c740e3992607031e64ac05e
2020-04-15 23:05:30 +00:00
Ghanshyam Mann 7263125aad [ussuri][goal] Updates for python 2.7 drop
OpenStack is dropping the py2.7 support in ussuri cycle.

charm repos need few updates on either py2 drop or updating
ussuri python template.

Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Change-Id: I7f9b189f1d4a36e676d5db1614b5233f79ba8f03
2020-03-25 06:43:48 +00:00
Frode Nordahl 52fa714930 Remove use of admin-token in functional test
Change-Id: I3e0f8a40c111aa837cc809c3ffd5e0d472118549
2020-03-25 07:42:52 +01:00
Frode Nordahl e7e6e8033e Rebuild for updates to charms.openstack
Change-Id: Ic83a3effd9f71c39c55d222d113603cf290919ce
2020-03-11 09:24:41 +01:00
Frode Nordahl 2fda13ea18 Update charm build requirements
Change-Id: I2c3d167be35833877c04c3a711bdd40e6a8727b2
2020-03-03 09:58:37 +01:00
Liam Young 166c4694a1 Rebuild for 20.02 release
Remove disco

Change-Id: Ic1d32a082498727f8673436144a3149044f86c4d
2020-02-06 09:00:16 +00:00
Liam Young a9a5a2e5fa Change openstack clients install directive
This change switches to using the python_packages *1 layer.yaml
directive for installing the openstack clients for use by the
charm. This is primarily to work around *2

*1 https://charmsreactive.readthedocs.io/en/latest/layer-basic.html#layer-configuration
*2 https://github.com/juju-solutions/layer-basic/issues/149

Change-Id: I618235384164c03776bd25bf669543fbd99794ad
2019-12-04 14:52:00 +00:00
Alex Kavanagh 1e546550f2 Fix python3 invocation for charm to charm-env
Closes bug: #1760949

Change-Id: I739835fe71da6a727f51b3c42389372ac139d039
2019-11-08 17:55:34 +00:00
Sahid Orentino Ferdjaoui 1866b5461c Enable functional tests for train
This patch also updates the smoke test to run train.

Change-Id: I0a5c2a42d34bd4df209996a136c87dd04cd1d0d6
Signed-off-by: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@canonical.com>
2019-10-24 06:45:25 +00:00
Zuul 7ca8eaea0a Merge "Update series metadata" 2019-10-08 19:14:59 +00:00
Ryan Beisner 65e767eac3
Sync charm/ceph helpers, tox, and requirements
Change-Id: I2d69a0b69eaf518b3bc0630cfc196d2bc6c3e7da
2019-09-30 22:42:08 -05:00
Camille Rodriguez 5b41c38d4e 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: Ie13fc4dcc8e815893d2f9b6c7e61e912d8300bb5
2019-08-27 15:16:07 -04:00
Chris MacNaughton f029ab035a 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: I01e882311877a2537397327560c7669a9005dd0b
2019-08-26 20:54:36 +00:00
Frode Nordahl f13f18df38
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.

Add some missing dependencies.

Drop Trusty support as one of the downstream dependencies
(``cmd2``) have dropped Python 3.4 support.

Change-Id: I05de745fac2f0685fddebb8709b7226a2f6617ad
2019-08-26 17:50:28 +02:00
Zuul dc8f902ba3 Merge "Add Python 3 Train unit tests" 2019-08-13 18:02:53 +00:00
David Ames 728ab29a5d Rebuild for sync charms.openstack
Change-Id: I84cb2fcc194b123c643cb648e8014e77d428a706
Partial-Bug: #1838783
2019-08-02 10:57:32 -07:00
Corey Bryant 949a4e5a92 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: I41a456b4ffc97cc7d92cd59c1bfbdc7df8002ce2
Story: #2005924
Task: #34228
2019-07-30 10:17:31 -04:00
Frode Nordahl d967d7d7df Update functional test definitions
Change-Id: I01158ec2dcdd3d70de5ebb8c68e3cb0d68fa6539
2019-07-17 15:33:33 +02:00
OpenDev Sysadmins 1e6bda4d04 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:37:02 +00:00
Zuul e0815ab30a Merge "Enable bionic/stein and disco/stein functional tests" 2019-04-09 18:57:59 +00:00
James Page 53b09b16bb Rebuild with new charmhelpers release
0.19.13 supports use of Ubuntu Disco.

Change-Id: I94c60c6c39b7481669968f3c83e246c54359dbc2
2019-04-09 10:41:13 +01:00
Frode Nordahl f84894819d Enable bionic/stein and disco/stein functional tests
Change-Id: I9fd6a0a0774f30f8409f6f17b81cc9d268e3b714
2019-04-09 06:29:36 +02:00
Frode Nordahl 0a7eef7ac7 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: I22c762193937afdfa81c79ae5f63330022d65ea5
2019-04-05 08:04:00 +02:00
Chris MacNaughton f0bcaf7c43 Sync charm-helpers for Stein release
As a part of the Stein release, we need to ensure
that charmhelpers is up to date.

Change-Id: I2a4d0fe216e20e302b4a77e3270be21404122e37
2019-04-04 16:32:04 +02:00
Pete Vander Giessen 4dfc5158a0 Replace ostestr with stestr in testing framework.
A system upgrade broke ostestr. We can fix it by just calling stestr
directly.

Change-Id: Ib9a1cd1dfc2aac961f61177ee757c7e6a548807f
2019-03-08 10:26:04 -05:00
Zuul 944954621d Merge "Added tox environment for gathering coverage" 2019-03-04 08:37:23 +00:00
Paul Goins 8f921c84fb Added tox environment for gathering coverage
This technique was borrowed from the tox "cover" environment in
openstack/nova's tox.ini.  This leverages the fact that stestr lets
you override the python executable via the PYTHON environment
variable.  Doing this allows us to easily generate coverage for our
unit tests.

An important caveat is that this does not provide any coverage for
tests via zaza, amulet, etc.  It is purely focused on the unit tests.

Note that this replaces the previous .coveragerc; coverage
configuration is instead pulled from tox.ini.

Change-Id: If784b5a78fa237eb380a0635ce8fbcc0f6b9590e
2019-03-01 14:43:57 +01:00
Ryan Beisner faa0249481
Update readme to clarify charm intent
Change-Id: I6dd5724c9e18bd7f603b7de094e159574772e45c
2019-03-01 11:54:24 +01:00
Zuul 5e86d70e71 Merge "Update pre-install hooks to fail on error" 2019-02-12 22:19:34 +00:00
David Ames d889d2ef26 Update pre-install hooks to fail on error
The pre-install operations may fail, yet that failure is not
elevated to the user. This masks the failure and makes early
package install issues difficult to troubleshoot.

If the basic pre-install script fails, the charm should not
proceed to later hooks as the requirements may not be met.

Hashbangs for bash should specify -e (errexit) on all of the
pre-install bash scripts.

Change-Id: I3a404f8a4d1be24e3a16e8240ebe72371579f528
Closes-bug: #1815243
Partial-bug: #1815231
2019-02-12 11:06:56 -08:00
Ryan Beisner 93f812057c
Update functional test definitions
Remove trusty-icehouse test combo from gate, leaving trusty-mitaka
if/where it exists.

Change-Id: I2a0b9e6e6ba5466e10fb46b08dd3bbc1afd732fa
2019-02-06 14:50:35 -06:00