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
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
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
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
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
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
- Turn on Zesty-Ocata Amulet test definitions.
- Standardize test-requirements.txt
- Sync charm helpers for various fixes
Change-Id: Ia14e1c4f73397a1228846fae75cffbefad96bf21
- 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
- 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
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
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
Modified this charm to supprot Broron version fot Opendaylight for
Mitaka integration and also SFC enablement.
Change-Id: Ic0d2949b139d6aa8c9989dfa45d76257f82bf979
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
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
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
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
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
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
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
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
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
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
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