Commit Graph

101 Commits

Author SHA1 Message Date
OpenDev Sysadmins b07c326762 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:43:51 +00:00
Ryan Beisner 51b76b3cb8
Retire project
Leave README around for those that follow.

http://lists.openstack.org/pipermail/openstack-discuss/2019-February/003186.html
http://lists.openstack.org/pipermail/openstack-discuss/2018-November/000057.html

Change-Id: I02a34115c6c3d6e9c4b9152af0c96f2fe79866b9
2019-02-27 10:31:57 +01:00
melissaml e625b1a881 fix typos in the docstring
Change-Id: I81eba4ce350614f7cb1eb6ec62f036e26d8fd0eb
2018-12-22 03:58:19 +08:00
Ryan Beisner 132f1b98ce
Fix lint in unit test
Change-Id: Ie4a1276ff8fcbab6ed6da8f0ec20593e7cf121a7
2018-11-01 14:57:55 -05:00
Liam Young 87c2b075f5 Tests dir no longer need copy of charmhelpers
Charmhelpers is now installed via pip for unit tests so stop
'Make sync' from pulling it down.

Change-Id: I5ca6aaf1db17ef6d6a1d89aacabd92b88e730e11
2018-10-10 12:41:14 +00:00
Ryan Beisner 9c8238f6f6 Update requirements
Also remove tests/charm-helpers if present, in favor
of the pip-installed charm-helpers.

Change-Id: Iad02c5831a187e6d50cc6c570c465afff9fab1b6
2018-10-04 16:22:29 -05:00
Ryan Beisner 19ebb97bd2 Add cosmic
Add a tactical change which is already merged into charm-helpers.

This needs to go into all charms to solve the chicken:egg issue
where cosmic is untestable until this change exists.

Reference:

4835c6c167

Change-Id: I3f65b7d1b448301cb96cae240e797ed53415035d
2018-09-19 13:32:37 +02:00
Doug Hellmann c34aa4da76 import zuul job settings from project-config
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.

Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.

Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: Iea3cd20e21ad92a066d2264ceef27dfc058367cd
Story: #2002586
Task: #24317
2018-09-11 13:18:44 -04:00
Chris MacNaughton d64d4ae496 Sync charm-helpers to ensure Rocky support
Change-Id: I2f0303371e73e48c58de71cb901192460209ccce
2018-07-19 06:41:24 +00:00
Ryan Beisner 866a352bb6 Update functional test definitions
Change-Id: I3ed76b06b0f705ee9d376b5066b5b30e24e59c61
2018-07-18 18:37:54 -04:00
Chris MacNaughton 18326375bd Remove old nova-compute / mysql relation
Change-Id: I41630fa316d1ea24a9fa067179764bf7c72b8693
Closes-Bug: #1713807
2018-07-18 10:29:24 +02:00
Ryan Beisner e97433703a 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: I0f19559ecd7dd1c08d05a3cf81bfda835b7cbba7
2018-07-11 14:07:05 -05:00
Ryan Beisner a950070254 Remove deprecated functional test targets
Change-Id: I302df852709279190b18bea6a90fa0b9d0767838
2018-05-09 16:37:27 -05:00
Ryan Beisner ecdb7714b5 Update tox.ini to stop using unverified package
As of pip 10.0, --allow-unverified is not permitted.

Use of the flag in this repo was previously used to force
installation of python-apt to accommodate certain unit tests.

The unverified package, python-apt, is no longer necessary
for test execution.

Related-Bug: #1760720

Change-Id: I5d06c577c872eec678555413725ab2a311dd560e
2018-04-03 16:33:04 +00:00
Ryan Beisner 2183ec0332 Sync charm-helpers
Change-Id: I271d5f583bd4a0a5b6bba175c1e696cdc0b955f9
2018-02-21 14:10:12 -06:00
Ryan Beisner 148e291b2a Sync charm-helpers
Notable issues resolved:

openstack_upgrade_available() broken for swift
https://bugs.launchpad.net/charm-swift-proxy/+bug/1743847

haproxy context doesn't consider bindings
https://bugs.launchpad.net/charm-helpers/+bug/1735421

regression in haproxy check
https://bugs.launchpad.net/charm-helpers/+bug/1743287

Change-Id: Icfdec6c8b1c5ea90d8a6af97c9764ef9a0557e2d
2018-01-19 12:10:32 +00:00
Ryan Beisner 9a8f03f1d2 Add Bionic and remove Zesty series and tests
Bionic, being the next LTS, is important to enable for dev
and test as early as possible ahead of 18.02.

Zesty goes EOL in Jan 2018. The next stable charms release (18.02)
will not provide Zesty series support, as it was an interim
(non-LTS) release.

Change-Id: Id8429912709810c485e943be89e42087f4c24120
2017-12-05 05:29:55 +00:00
Ryan Beisner 7fb6c4e6fe Sync charm-helpers
Change-Id: Ib3520afd04dfbcbc76d3d40687586bfc30137a01
2017-11-22 18:49:20 +00:00
Ryan Beisner ea3bef1609 Add Artful dev series metadata
Change-Id: I709e823ba865837c53a1b4beff9c82f7d2db744a
2017-09-26 14:44:36 -04:00
Frode Nordahl 30784994ba Update repo to do ch-sync from Git
Change-Id: I62d7aac06e191afd6876633a11b79b11f697d9b0
2017-09-26 10:27:11 +02:00
Ryan Beisner 94b89b42d9 Sync charm-helpers
Change-Id: I6e6c358a3428aec0b9e4a18cb2ec1b0a6e34ff61
2017-08-24 17:13:53 -05:00
Ryan Beisner 9f9ce8b6e7 Remove deprecated series metadata and tests
Change-Id: I4a7d5b6588f6ee9b1b06464c32d7053f0f51ef80
2017-08-23 09:55:19 -05:00
Andrew McLeod bf3fe49a84 Modify tests.yaml which specifies bundletester config params
with the following key:value pairs:

- reset_timeout: 600

Change-Id: Idd7757d2bc400f279238be74e7340feeec4ea795
2017-08-09 14:28:33 -06:00
Alex Kavanagh 20132c09e9 Update charm icon
Change-Id: I0bf06ebd0015c1f1df502fa80badf81a64bdee5e
Closes-Bug: #1686689
2017-08-02 18:33:28 +01:00
David Ames 877863e5a3 Update tests to use keystoneauth1
With keystoneauth1 sessions the service catalog search function,
url_for takes argument interface, no longer named endpoint_type.
This change updates tests to use this argument name.

Change-Id: I03d569dbfd0d71d9b9068222810923132c2af65e
2017-07-24 15:52:42 -07:00
James Page 7f296d69dc Updates for pike b1
Resync charmhelpers for Pike support.

Add amulet tests for pike, but leave disabled for now.

Change-Id: Ifa8a57d33b7bcb2f2c5258596c8d7947f658504c
2017-05-24 15:15:49 +01:00
David Ames 090bdb030b Enable Zesty-Ocata Amulet Tests
- Turn on Zesty-Ocata Amulet test definitions.
- Standardize test-requirements.txt
- Sync charm helpers for various fixes

Change-Id: Ia14e1c4f73397a1228846fae75cffbefad96bf21
2017-04-28 08:42:56 -07:00
David Ames 18c46fa524 Enable Ocata Amulet Tests
- Add Zesty as a supported series to metadata.yaml.
- Turn on Xenial-Ocata Amulet test definitions.
- Sync charm helpers to get Juju 2.x amulet compatibility.
- Keeping Zesty-Ocata Amulet test definitions turned off until the
  metadata.yaml changes propagate to the charm store.
- Resync tox.ini to resolve amulet test failures.

Change-Id: Ice6856ed8e9be2b9ecb677fe81aee593ac4a6b76
2017-03-23 11:16:34 +00:00
David Ames 8f890ac84e Pre-release charm-helpers sync 17.02
Get each charm up to date with lp:charm-helpers for release testing.

Change-Id: I7da8173028ee482fdd84ac08414102314deb5738
2017-02-14 14:55:04 -08:00
Ryan Beisner 93d7a0403a Update Amulet defs, series metadata and c-h sync
- Sync charm helpers if applicable.

- Fix test executable hashbags for virtualenv prep.

- Add Yakkety-Newton Amulet test definitions.

- Prep Xenial-Ocata Amulet test definitions (not yet enabled).

- Prep Zesty-Ocata Amulet test definitions (not yet enabled).

- Remove Precise charm series metadata if present.

- Remove Precise Amulet test definitions if present.

Change-Id: I5c7667a3934243d8a610a232d84f72f6ff73b964
2016-12-03 16:45:14 +00:00
Ryan Beisner 49acd2f3f3 Update amulet test definitions for Newton
- Remove Precise-Icehouse Amulet test definitions if they exist.

- Add Xenial-Newton Amulet test definitions, using ODL BE.

- Add Yakkety-Newton Amulet test definitions, using ODL BE.

- Use the percona-cluster charm in tests instead of the mysql charm.

- Also adjust py hash bangs to use env python.

Closes-Bug: 1632533

Change-Id: If10e49a9c45bc7fcd1eb073dcdccabed6c37a958
2016-10-13 01:59:41 +00:00
James Page 608be92d73 Add basic juju status support
Add a basic assess_status helper to evaluate the current state of
the unit; this is currently just a check to ensure that the
odl-controller service is running.

Closes-Bug: 1632032

Change-Id: I008cdf0da04f2ad68291a53ae6a8cb7334979cf6
2016-10-13 01:29:37 +00:00
David Ames 9d8e489229 Pre-release charm-helpers sync 16.10
Get each charm up to date with lp:charm-helpers for release testing.

Change-Id: If2b9560864f7cf5b2db2d21ea1c75261f5e068b3
2016-09-30 10:31:19 -07:00
James Page 7b1cf03bc1 Add charm series data to metadata.yaml
This optimizes the publication process to the charm store, and
ensures that the charm code and version is consistent across all
supported Ubuntu series.

Change-Id: I8dc96a31b361c3197f6ce5a315b8775179c05756
2016-09-14 09:42:24 +01:00
Narinder Gupta 09ebd3fd68 modify charm to support Boron Opendaylight
Modified this charm to supprot Broron version fot Opendaylight for
Mitaka integration and also SFC enablement.

Change-Id: Ic0d2949b139d6aa8c9989dfa45d76257f82bf979
2016-09-09 22:07:01 +00:00
Ryan Beisner c156c54dc0 Update tox.ini files from release-tools gold copy
All OpenStack Charms now contain identical tox.ini files,
not to be modified or made unique within each charm repo.

This is to ensure consistency across charm repos in tox
target naming, approach and purpose, also giving the
charm dev and test experience additional consistency.

Also create empty dirs with .keep files where necessary.
Some classic charms have actions and/or lib dirs, and some
do not. In all classic charms, flake will now check those
dirs to ensure lint coverage of existing or future content.

Change-Id: Ie4f916b01506dba1491d0fa5072cd9d4dac66043
2016-09-09 19:22:13 +00:00
Liam Young 8d2b6e5126 Pre 1607 release charm-helpers sync
Sync charmhelpers to pick up bug fixes for 1607 release

Change-Id: I58dbe8293e3a8c193200149cd097b5426b172adc
2016-07-21 14:24:42 +00:00
James Page 8130e9067c Use bundletester for amulet test execution
Switch to using bundletester for execution of functional tests,
leveraging tox to build out test virtualenvs.

Rename amulet tests inline with gate-* and dfs-* naming standards.

Update README to refer to functional testing section of the charm
guide.

Change-Id: I133987f6ccdd7402ef5d9adf0967f262d47d28a6
2016-07-19 10:08:14 +01:00
David Ames 1be7a5060c Pre-release charm-helpers sync
To begin release testing get each charm up to date with lp:charm-helpers

Change-Id: I1b463d997e802cb89f728b63f0859cbfa408a886
2016-07-15 10:44:01 -07:00
James Page 644fc4d063 Resync charmhelpers for licensing change
The charm-helpers project have re-licensed to Apache 2.0
inline with the agreed licensing approach to intefaces,
layers and charms generally.

Resync helpers to bring charmhelpers inline with charm
codebase.

Change-Id: I20f9ea0c108a2e3849c5f9cfa5a074550af0a12f
2016-07-06 16:40:30 +01:00
James Page 31bd29717e Re-license charm as Apache-2.0
All contributions to this charm where made under Canonical
copyright; switch to Apache-2.0 license as agreed so we
can move forward with official project status.

Change-Id: Ibf6fa0c9554e852da885068c23ba06252745a14e
2016-07-01 17:56:44 +01:00
James Page 74bfbca864 Switch to using charm-store for amulet tests
All OpenStack charms are now directly published to the charm store
on landing; switch Amulet helper to resolve charms using the
charm store rather than bzr branches, removing the lag between
charm changes landing and being available for other charms to
use for testing.

This is also important for new layered charms where the charm must
be build and published prior to being consumable.

Change-Id: I60a0aaaa2b96a665f5083bd67c103d07c9e8e9fc
2016-06-17 11:54:57 +01:00
James Page 44201806a0 Resync charm helpers
Add support for OpenStack Newton and Ocata.

Rework version detection code to just match on major version for
OpenStack projects using semantic versioning.

Provide fallback version detection based on major.minor versions
for swift packages.

Rework config-flags support helpers.

Fix is_ip function to correctly detect both IPv4 and IPv6 addresses.

Change-Id: If6416eec20d6c00eafd1f68f65ef7b2a810584b8
2016-05-27 12:29:41 +01:00
James Page 0de06bc0ef Resync charm-helpers
Avoid use of 'service --status-all' which is currently
broken on trusty for upstart managed daemons; the change
moves to detecting how the daemon is managed, and then
using upstart status XXX or the return code of service XXX
status to determine whether a process is running.

Fixes for IPv6 network address detection under Ubuntu
16.04 which changes the output format of the ip commands
slightly.

Update the version map to include 8.1.x as a Neutron
version for Mitaka.

Change-Id: I53f71d81a89136c8c8b17de50c046ae4b8ee8018
Closes-Bug: 1581171
Closes-Bug: 1581598
Closes-Bug: 1580674
2016-05-18 14:10:29 +01:00
James Page 93efa99b5a Enable Mitaka amulet tests
Disable Juno tests (no longer supported).

Switch Xenial tests to use BE release of ODL, as the default
Helium release is not compatible with Java 8 (which is the
default in 16.04).

Update ovs bridge controller checks to validate against
legacy 6633 and IANA assigned 6653 ports; only check br-int
configuration for later ODL releases.

Drop wider service checks from amulet test.

Re-align with Neutron security group management.

Change-Id: Ic1e92b292c0276232a29695d02096ba1e3275236
2016-04-15 17:20:14 +01:00
Liam Young ab0ec1c2e6 Charmhelper sync before 1604 testing
Change-Id: I5d54597c842696d309cfbd5976836802791304d0
2016-04-12 14:14:37 +00:00
James Page 06f66cab8e Update to charm-tools >= 2.0.0
The new release of charm-tools no longer ships the charm
command; update minimum version requirement and switch
to using charm-proof instead, unblocking current pep8
failures across all charms.

Also pin the version of requests to 2.6.0 until theblues
(indirect dependency of charm-tools) sort out its
requirements versioning.

Change-Id: I280aa99f599103ba11e0d00a31c7efbacc60375e
2016-03-23 09:30:17 +00:00
Jenkins 10fda063d6 Merge "Add support for Ubuntu Xenial" 2016-03-18 16:10:08 +00:00
Billy Olsen 2a3da6884e Use tox in Makefile targets
Modify the Makefile to point at the appropriate tox targets
so that tox and Make output can be equivalent. This involves
mapping the lint target to the pep8 target and the test target
to the py27 target.

Change-Id: I40bf0c72416e8c9a9f079a7800c9c343872ee907
2016-03-15 20:13:36 -07:00
James Page a1cf699ee9 Add support for Ubuntu Xenial
Xenial does not install python2 by default; ensure that python2
and minimal module dependencies are installed prior to trying
to execute any python2 based hooks.

Update amulet tests to drop shared-db relation for n-gateway.

This change also includes a resync of charm-helpers to pickup
new changes for systemd support.

Change-Id: Icef9679cd1d1c96e8aa87bcedcf9735a41af8d52
Closes-Bug: #1555422
2016-03-11 11:41:32 +00:00