Commit Graph

19 Commits

Author SHA1 Message Date
Alex Kavanagh 4c69d8ceb1 Migrate unit tests from testr to stestr
Note: there aren't any unit tests, but this at least migrates away from
the deprecated testr module.

Change-Id: Ib95f7631c8ee5b2e00fcf146d6ab7ac43b81c795
2021-02-10 10:59:39 +00:00
James Page 129240c190 Add egress_subnets helper
Collate all presented egress_subnets into a list of cidrs
for the remote designate servers.

This will be used by the designate-bind charm to configure
BIND with a full list of permitted CIDRs if allowed_nets is
configured.

Change-Id: Icdb525c9886937597e35ab8126237a2850604832
Related-Bug: 1806485
2020-07-21 10:02:20 +01:00
Ghanshyam Mann a2a34c0020 [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, tox.ini etc.

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: I5b119106f5f1eb41077959fe21d3ce090e70614c
2020-03-24 17:32:31 +00:00
Camille Rodriguez 92ffebddf4 Avoid pollution and false positives with tox.ini
- 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.

Change-Id: Ie0fcbc56c0b33ef2abba47a282ffc60d62e9e236
2019-08-27 08:36:25 -04:00
OpenDev Sysadmins 4b9ef12b97 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:32:44 +00:00
zhulingjie 7d6993adc3 Change openstack-dev to openstack-discuss
Change-Id: Iab0f95ac143e6ccc855cfbc76e3e15ca692e79fc
2018-11-18 03:08:50 -05:00
Zuul f46a25d676 Merge "fix tox python3 overrides" 2018-10-12 10:48:22 +00:00
Doug Hellmann 33824e9e37 fix tox python3 overrides
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.

We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.

We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.

Change-Id: I4e2bf5a2cb77e304500b6d3c4f600117b8623d54
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-10-04 12:44:45 +00:00
Doug Hellmann 06164c1920 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: I95dea6ab95af6c45cefca1f3e9b24a1d7029523b
Story: #2002586
Task: #24317
2018-10-04 12:44:37 +00:00
Andreas Jaeger d4bf6e5612 Update tox to remove deprecated pip option
The job --allow-unverified is obsolete, also python-apt cannot be
installed and is unneeded for current jobs.

Remove so that python installation works.

Change-Id: Iee2bf644ebcb9846b8c4629f9ce8a2a884c1ec12
2018-10-04 12:14:50 +02:00
Tytus Kurek 086a3a7b25 Implement "dns-backend" binding
This patchset implements "dns-backend" binding which is required to
properly handle DNS zone transfers between designate and
desigante-bind applications. If "dns-backend" binding is provided
when deploying designate and designate-bind applications, DNZ zone
transfers will now take place over the subnet which belongs to the
provided space.

Change-Id: I927e3958cf929ace9d43f8b3d9509b90b9eab60f
Partial-Bug: #1722794
2017-10-17 14:40:22 +02:00
Alex Kavanagh d794839e71 Fix requires so that broken,departed removes available
The {relation-name}.available state persisted even though the
conversation had departed.  This led code to think the connection was
still valid, try to use it, and then crash.

Change-Id: I523fecff4e80734772872a8a6d2507f1e2162ae3
2017-05-31 12:33:47 +01:00
Liam Young eb3b2968e8 Change Require to unit scope + bug fixes
* Remove logic for getting rndc info from interface. How the rndc
  secret is derived is not really a function of the  interface, so
  remove it.

* Move slave_ips to use reactive framework rather than dropping down
  to relation_* tools

* Switch to unit scope. Switch interface to UNIT scope so information
  can be collected from individual units.

* Add method for collecting unit and address information

Change-Id: Id9ddb8b6bce8044da160672988492415689616b4
2016-07-13 12:19:35 +00:00
James Page dc26f9a155 Add support for verification process
Add required configuration files and generally update the interface
after move to OpenStack git/gerrit.

Also add required copyright and README files to ensure that basic
linting in UOSCI passes.

Change-Id: Ie1a9c801844e4acd0a7e16c9dc1e251cbcd36fc5
2016-07-08 13:56:48 +01:00
James Page dc7c8a6063 Fixup summary 2016-02-11 11:28:51 +00:00
Liam Young 61121d07a8 Update provides.py 2016-01-16 18:36:08 +00:00
Liam Young 9c360b9df4 Update requires 2016-01-16 18:31:24 +00:00
Liam Young c88b9a904c Update 2016-01-16 16:22:51 +00:00
Liam Young fca5880f58 initial version 2016-01-15 13:28:42 +00:00